@collabdt/core 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/components/AppSidebarContent.d.ts.map +1 -1
- package/dist/core/components/AppSidebarContent.js +0 -6
- package/dist/core/components/AppSidebarContent.js.map +1 -1
- package/dist/core/components/ConfirmDialog.d.ts.map +1 -1
- package/dist/core/components/ConfirmDialog.js +1 -1
- package/dist/core/components/ConfirmDialog.js.map +1 -1
- package/dist/core/components/Toolbar.d.ts.map +1 -1
- package/dist/core/components/Toolbar.js +0 -7
- package/dist/core/components/Toolbar.js.map +1 -1
- package/dist/core/components/ToolbarBody.d.ts.map +1 -1
- package/dist/core/components/ToolbarBody.js.map +1 -1
- package/dist/core/components/TopNavigationBar.d.ts.map +1 -1
- package/dist/core/components/TopNavigationBar.js +2 -7
- package/dist/core/components/TopNavigationBar.js.map +1 -1
- package/dist/core/components/organizationConfig/src/CountrySubdivisionFields.js +3 -3
- package/dist/core/components/organizationConfig/src/CountrySubdivisionFields.js.map +1 -1
- package/dist/core/components/ui/AppSidebar.d.ts.map +1 -1
- package/dist/core/components/ui/AppSidebar.js.map +1 -1
- package/dist/core/components/ui/CollapsibleSection.d.ts +7 -1
- package/dist/core/components/ui/CollapsibleSection.d.ts.map +1 -1
- package/dist/core/components/ui/CollapsibleSection.js +57 -8
- package/dist/core/components/ui/CollapsibleSection.js.map +1 -1
- package/dist/core/components/ui/FilesManager/index.d.ts +5 -0
- package/dist/core/components/ui/FilesManager/index.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/index.js +17 -1
- package/dist/core/components/ui/FilesManager/index.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/FileItemComponent.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/FileItemComponent.js +1 -1
- package/dist/core/components/ui/FilesManager/src/FileItemComponent.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/UploadProgressBar.d.ts +14 -0
- package/dist/core/components/ui/FilesManager/src/UploadProgressBar.d.ts.map +1 -0
- package/dist/core/components/ui/FilesManager/src/UploadProgressBar.js +39 -0
- package/dist/core/components/ui/FilesManager/src/UploadProgressBar.js.map +1 -0
- package/dist/core/components/ui/FilesManager/src/fileType.d.ts +9 -0
- package/dist/core/components/ui/FilesManager/src/fileType.d.ts.map +1 -0
- package/dist/core/components/ui/FilesManager/src/fileType.js +70 -0
- package/dist/core/components/ui/FilesManager/src/fileType.js.map +1 -0
- package/dist/core/components/ui/FilesManager/src/uploadProgress.d.ts +22 -0
- package/dist/core/components/ui/FilesManager/src/uploadProgress.d.ts.map +1 -0
- package/dist/core/components/ui/FilesManager/src/uploadProgress.js +89 -0
- package/dist/core/components/ui/FilesManager/src/uploadProgress.js.map +1 -0
- package/dist/core/components/ui/Progress.d.ts +3 -1
- package/dist/core/components/ui/Progress.d.ts.map +1 -1
- package/dist/core/components/ui/Progress.js +10 -3
- package/dist/core/components/ui/Progress.js.map +1 -1
- package/dist/core/components/ui/ShareFeature/ShareToolSubmenu.d.ts.map +1 -1
- package/dist/core/components/ui/ShareFeature/ShareToolSubmenu.js +2 -7
- package/dist/core/components/ui/ShareFeature/ShareToolSubmenu.js.map +1 -1
- package/dist/core/components/ui/Sidebar.d.ts +0 -1
- package/dist/core/components/ui/Sidebar.d.ts.map +1 -1
- package/dist/core/components/ui/Sidebar.js +2 -4
- package/dist/core/components/ui/Sidebar.js.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/index.d.ts +1 -2
- package/dist/core/components/ui/ViewerSidebar/index.d.ts.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/index.js +2 -7
- package/dist/core/components/ui/ViewerSidebar/index.js.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/useLongPressReorder.d.ts +30 -0
- package/dist/core/components/ui/ViewerSidebar/useLongPressReorder.d.ts.map +1 -0
- package/dist/core/components/ui/ViewerSidebar/useLongPressReorder.js +138 -0
- package/dist/core/components/ui/ViewerSidebar/useLongPressReorder.js.map +1 -0
- package/dist/core/components/ui/ViewerSidebar/useResizableSections.d.ts +22 -0
- package/dist/core/components/ui/ViewerSidebar/useResizableSections.d.ts.map +1 -0
- package/dist/core/components/ui/ViewerSidebar/useResizableSections.js +99 -0
- package/dist/core/components/ui/ViewerSidebar/useResizableSections.js.map +1 -0
- package/dist/core/components/ui/uploadFile.d.ts +5 -1
- package/dist/core/components/ui/uploadFile.d.ts.map +1 -1
- package/dist/core/components/ui/uploadFile.js +19 -7
- package/dist/core/components/ui/uploadFile.js.map +1 -1
- package/dist/core/components/viewers/Viewer.d.ts.map +1 -1
- package/dist/core/components/viewers/Viewer.js +4 -7
- package/dist/core/components/viewers/Viewer.js.map +1 -1
- package/dist/core/components/viewers/bim/BimViewer.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/BimViewer.js +2 -0
- package/dist/core/components/viewers/bim/BimViewer.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimLoadingState/index.js +1 -1
- package/dist/core/components/viewers/bim/src/BimLoadingState/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/index.js +97 -21
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/BimSection.d.ts +10 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/BimSection.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/BimSection.js +325 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/BimSection.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/FilesSection.d.ts +3 -2
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/FilesSection.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/FilesSection.js +81 -315
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/FilesSection.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/ModelsSection.d.ts +4 -3
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/ModelsSection.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/ModelsSection.js +86 -241
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/ModelsSection.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/PointCloudsSection.d.ts +3 -2
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/PointCloudsSection.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/PointCloudsSection.js +116 -15
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/PointCloudsSection.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/orderFileTabSections.d.ts +4 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/orderFileTabSections.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/orderFileTabSections.js +10 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/orderFileTabSections.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/partitionFileTab.d.ts +4 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/partitionFileTab.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/partitionFileTab.js +18 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/partitionFileTab.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/resolveOpenSections.d.ts +4 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/resolveOpenSections.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/resolveOpenSections.js +12 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/resolveOpenSections.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/sectionChrome.d.ts +11 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/sectionChrome.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/sectionChrome.js +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/sectionChrome.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/usePlaceableFileRows.d.ts +30 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/usePlaceableFileRows.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/usePlaceableFileRows.js +332 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/usePlaceableFileRows.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/LayersTab/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/LayersTab/index.js +12 -48
- package/dist/core/components/viewers/bim/src/BimSidebar/src/LayersTab/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/index.js +2 -4
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/CameraSettings.d.ts +4 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/CameraSettings.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/CameraSettings.js +24 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/CameraSettings.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/NavigationMode.d.ts +3 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/NavigationMode.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/NavigationMode.js +59 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/NavigationMode.js.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/PointCloudSettings.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/PointCloudSettings.js +12 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/PointCloudSettings.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/WalkSettings.d.ts +4 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/WalkSettings.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/WalkSettings.js +83 -0
- package/dist/core/components/viewers/bim/src/BimSidebar/src/SettingsTab/src/WalkSettings.js.map +1 -0
- package/dist/core/components/viewers/bim/src/CameraNavigation.d.ts +56 -0
- package/dist/core/components/viewers/bim/src/CameraNavigation.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/CameraNavigation.js +230 -0
- package/dist/core/components/viewers/bim/src/CameraNavigation.js.map +1 -0
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.d.ts +5 -3
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.js +6 -9
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.js.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/BimPointCloudSync.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/BimPointCloudSync.js +3 -1
- package/dist/core/components/viewers/bim/src/PointClouds/BimPointCloudSync.js.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/index.d.ts +6 -0
- package/dist/core/components/viewers/bim/src/PointClouds/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/index.js +17 -0
- package/dist/core/components/viewers/bim/src/PointClouds/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudFiles.d.ts +14 -1
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudFiles.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudFiles.js +33 -8
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudFiles.js.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/usePointCloudIntake.d.ts +12 -0
- package/dist/core/components/viewers/bim/src/PointClouds/usePointCloudIntake.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/PointClouds/usePointCloudIntake.js +120 -0
- package/dist/core/components/viewers/bim/src/PointClouds/usePointCloudIntake.js.map +1 -0
- package/dist/core/components/viewers/bim/src/SceneObjects/sceneObjectRegistry.d.ts +6 -0
- package/dist/core/components/viewers/bim/src/SceneObjects/sceneObjectRegistry.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/SceneObjects/sceneObjectRegistry.js +12 -0
- package/dist/core/components/viewers/bim/src/SceneObjects/sceneObjectRegistry.js.map +1 -1
- package/dist/core/components/viewers/bim/src/ViewportGizmo.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/ViewportGizmo.js +25 -3
- package/dist/core/components/viewers/bim/src/ViewportGizmo.js.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/disposeObject3D.d.ts +1 -1
- package/dist/core/components/viewers/bim/src/lib/disposeObject3D.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/disposeObject3D.js.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.d.ts +18 -0
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.js +78 -0
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.js.map +1 -0
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.js +12 -3
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileHandler.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileHandler.js +2 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileHandler.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.d.ts +5 -5
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.js +27 -103
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.js.map +1 -1
- package/dist/core/components/viewers/bim/src/useCameraNavigation.d.ts +8 -0
- package/dist/core/components/viewers/bim/src/useCameraNavigation.d.ts.map +1 -0
- package/dist/core/components/viewers/bim/src/useCameraNavigation.js +33 -0
- package/dist/core/components/viewers/bim/src/useCameraNavigation.js.map +1 -0
- package/dist/core/components/viewers/map/MapViewer.js +2 -2
- package/dist/core/components/viewers/map/MapViewer.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapFeaturePopoverMenu/src/DatabaseBuildingPopover/src/BuildingsTools.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapFeaturePopoverMenu/src/DatabaseBuildingPopover/src/BuildingsTools.js +1 -14
- package/dist/core/components/viewers/map/src/MapFeaturePopoverMenu/src/DatabaseBuildingPopover/src/BuildingsTools.js.map +1 -1
- package/dist/core/components/viewers/map/src/tools/AddTools/AddFile/utils/uploadToPresignedURLS.d.ts +1 -1
- package/dist/core/components/viewers/map/src/tools/AddTools/AddFile/utils/uploadToPresignedURLS.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/tools/AddTools/AddFile/utils/uploadToPresignedURLS.js +1 -1
- package/dist/core/components/viewers/map/src/tools/AddTools/AddFile/utils/uploadToPresignedURLS.js.map +1 -1
- package/dist/core/components/viewers/map/src/tools/mapTools.d.ts +1 -1
- package/dist/core/components/viewers/map/src/tools/mapTools.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/tools/mapTools.js.map +1 -1
- package/dist/core/components/viewers/plugins/src/PluginCard.d.ts.map +1 -1
- package/dist/core/components/viewers/plugins/src/PluginCard.js +0 -1
- package/dist/core/components/viewers/plugins/src/PluginCard.js.map +1 -1
- package/dist/core/components/viewers/shared/pointcloud/pointCloudAppearance.d.ts +1 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudAppearance.d.ts.map +1 -1
- package/dist/core/components/viewers/shared/pointcloud/pointCloudAppearance.js +4 -2
- package/dist/core/components/viewers/shared/pointcloud/pointCloudAppearance.js.map +1 -1
- package/dist/core/components/viewers/shared/pointcloud/pointCloudConversion.d.ts +34 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudConversion.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudConversion.js +78 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudConversion.js.map +1 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudRegistry.d.ts +2 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudRegistry.d.ts.map +1 -1
- package/dist/core/components/viewers/shared/pointcloud/pointCloudRegistry.js.map +1 -1
- package/dist/core/components/viewers/useCoordinateSystem.js.map +1 -1
- package/dist/core/hooks/ports/apiAdapter.d.ts +1 -1
- package/dist/core/hooks/ports/apiAdapter.d.ts.map +1 -1
- package/dist/core/hooks/provider.d.ts +1 -1
- package/dist/core/hooks/provider.js +1 -1
- package/dist/core/hooks/provider.js.map +1 -1
- package/dist/core/hooks/useCaptureScreenshot.d.ts.map +1 -1
- package/dist/core/hooks/useCaptureScreenshot.js +1 -2
- package/dist/core/hooks/useCaptureScreenshot.js.map +1 -1
- package/dist/core/hooks/useCurrentViewerPosition.d.ts +1 -1
- package/dist/core/hooks/useCurrentViewerPosition.d.ts.map +1 -1
- package/dist/core/hooks/useCurrentViewerPosition.js +2 -18
- package/dist/core/hooks/useCurrentViewerPosition.js.map +1 -1
- package/dist/core/hooks/useShareUrl.d.ts.map +1 -1
- package/dist/core/hooks/useShareUrl.js +2 -20
- package/dist/core/hooks/useShareUrl.js.map +1 -1
- package/dist/core/i18n/messages/en.json +25 -87
- package/dist/core/i18n/messages/es.json +25 -87
- package/dist/core/i18n/messages/fr.json +25 -87
- package/dist/core/plugins/host/context.d.ts.map +1 -1
- package/dist/core/plugins/host/context.js +1 -2
- package/dist/core/plugins/host/context.js.map +1 -1
- package/dist/core/plugins/host/usePluginToolbarTools.d.ts +2 -2
- package/dist/core/plugins/host/usePluginToolbarTools.d.ts.map +1 -1
- package/dist/core/plugins/host/usePluginToolbarTools.js +58 -3
- package/dist/core/plugins/host/usePluginToolbarTools.js.map +1 -1
- package/dist/core/plugins/sdk/types.d.ts +2 -4
- package/dist/core/plugins/sdk/types.d.ts.map +1 -1
- package/dist/core/plugins/sdk/types.js +0 -1
- package/dist/core/plugins/sdk/types.js.map +1 -1
- package/dist/core/plugins/sdk/viewer.d.ts +1 -2
- package/dist/core/plugins/sdk/viewer.d.ts.map +1 -1
- package/dist/core/plugins/sdk/viewer.js +0 -1
- package/dist/core/plugins/sdk/viewer.js.map +1 -1
- package/dist/core/store/CombineProviders.d.ts.map +1 -1
- package/dist/core/store/CombineProviders.js +0 -2
- package/dist/core/store/CombineProviders.js.map +1 -1
- package/dist/core/store/Menus/context.d.ts.map +1 -1
- package/dist/core/store/Menus/context.js +4 -3
- package/dist/core/store/Menus/context.js.map +1 -1
- package/dist/core/store/Menus/reducer.d.ts +5 -0
- package/dist/core/store/Menus/reducer.d.ts.map +1 -1
- package/dist/core/store/Menus/reducer.js +12 -0
- package/dist/core/store/Menus/reducer.js.map +1 -1
- package/dist/core/store/index.d.ts +0 -1
- package/dist/core/store/index.d.ts.map +1 -1
- package/dist/core/store/index.js +0 -1
- package/dist/core/store/index.js.map +1 -1
- package/dist/core/types/dbTypes.d.ts +0 -1
- package/dist/core/types/dbTypes.d.ts.map +1 -1
- package/dist/core/types/dbTypes.js +0 -1
- package/dist/core/types/dbTypes.js.map +1 -1
- package/dist/core/types/tools.d.ts +1 -2
- package/dist/core/types/tools.d.ts.map +1 -1
- package/dist/core/utils/appContent.d.ts.map +1 -1
- package/dist/core/utils/appContent.js +0 -1
- package/dist/core/utils/appContent.js.map +1 -1
- package/dist/core/utils/getFileIcon.d.ts.map +1 -1
- package/dist/core/utils/getFileIcon.js +11 -13
- package/dist/core/utils/getFileIcon.js.map +1 -1
- package/package.json +1 -3
- package/dist/core/components/viewers/pointcloud/PointCloudToolbar.d.ts +0 -3
- package/dist/core/components/viewers/pointcloud/PointCloudToolbar.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/PointCloudToolbar.js +0 -13
- package/dist/core/components/viewers/pointcloud/PointCloudToolbar.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.d.ts +0 -5
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.js +0 -228
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/define.d.ts +0 -64
- package/dist/core/components/viewers/pointcloud/define.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/define.js +0 -75
- package/dist/core/components/viewers/pointcloud/define.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudLoadingState/index.d.ts +0 -6
- package/dist/core/components/viewers/pointcloud/src/PointCloudLoadingState/index.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudLoadingState/index.js +0 -316
- package/dist/core/components/viewers/pointcloud/src/PointCloudLoadingState/index.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/index.d.ts +0 -7
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/index.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/index.js +0 -22
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/index.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/index.d.ts +0 -5
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/index.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/index.js +0 -38
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/index.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/FilesSection.d.ts +0 -8
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/FilesSection.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/FilesSection.js +0 -130
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/FilesSection.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.d.ts +0 -10
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.js +0 -419
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/index.d.ts +0 -3
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/index.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/index.js +0 -19
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/index.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/CameraSettings.d.ts +0 -3
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/CameraSettings.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/CameraSettings.js +0 -199
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/CameraSettings.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/GridManagement.d.ts +0 -3
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/GridManagement.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/GridManagement.js +0 -101
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/GridManagement.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/PerformanceSettings.d.ts +0 -7
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/PerformanceSettings.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/PerformanceSettings.js +0 -262
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/SettingsTab/src/PerformanceSettings.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/ViewportGizmo.d.ts +0 -27
- package/dist/core/components/viewers/pointcloud/src/ViewportGizmo.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/ViewportGizmo.js +0 -165
- package/dist/core/components/viewers/pointcloud/src/ViewportGizmo.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/ClippingTools/ClippingTool.d.ts +0 -8
- package/dist/core/components/viewers/pointcloud/src/tools/ClippingTools/ClippingTool.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/ClippingTools/ClippingTool.js +0 -64
- package/dist/core/components/viewers/pointcloud/src/tools/ClippingTools/ClippingTool.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/FitToScreen.d.ts +0 -6
- package/dist/core/components/viewers/pointcloud/src/tools/FitToScreen.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/FitToScreen.js +0 -37
- package/dist/core/components/viewers/pointcloud/src/tools/FitToScreen.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AngleMeasurement.d.ts +0 -7
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AngleMeasurement.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AngleMeasurement.js +0 -41
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AngleMeasurement.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AreaMeasurement.d.ts +0 -7
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AreaMeasurement.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AreaMeasurement.js +0 -37
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/AreaMeasurement.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/LineMeasurement.d.ts +0 -7
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/LineMeasurement.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/LineMeasurement.js +0 -44
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/LineMeasurement.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/MeasurePointCloudTool.d.ts +0 -8
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/MeasurePointCloudTool.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/MeasurePointCloudTool.js +0 -93
- package/dist/core/components/viewers/pointcloud/src/tools/MeasureTools/MeasurePointCloudTool.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PCSearchTool.d.ts +0 -7
- package/dist/core/components/viewers/pointcloud/src/tools/PCSearchTool.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PCSearchTool.js +0 -67
- package/dist/core/components/viewers/pointcloud/src/tools/PCSearchTool.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/NodeSizeSelectionTool.d.ts +0 -23
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/NodeSizeSelectionTool.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/NodeSizeSelectionTool.js +0 -158
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/NodeSizeSelectionTool.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PerformanceSettingTools.d.ts +0 -8
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PerformanceSettingTools.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PerformanceSettingTools.js +0 -47
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PerformanceSettingTools.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PointBudgetTool.d.ts +0 -8
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PointBudgetTool.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PointBudgetTool.js +0 -45
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/PointBudgetTool.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/ShowOctreeBoxTool.d.ts +0 -12
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/ShowOctreeBoxTool.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/ShowOctreeBoxTool.js +0 -48
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/ShowOctreeBoxTool.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/SplatQualitySelection.d.ts +0 -12
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/SplatQualitySelection.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/SplatQualitySelection.js +0 -62
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/SplatQualitySelection.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/SetCameraOption.d.ts +0 -6
- package/dist/core/components/viewers/pointcloud/src/tools/SetCameraOption.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/SetCameraOption.js +0 -145
- package/dist/core/components/viewers/pointcloud/src/tools/SetCameraOption.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/index.d.ts +0 -8
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/index.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/index.js +0 -49
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/index.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/src/getCameraPosition.d.ts +0 -20
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/src/getCameraPosition.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/src/getCameraPosition.js +0 -30
- package/dist/core/components/viewers/pointcloud/src/tools/SharePointCloudTool/src/getCameraPosition.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/index.d.ts +0 -5
- package/dist/core/components/viewers/pointcloud/src/tools/index.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/index.js +0 -12
- package/dist/core/components/viewers/pointcloud/src/tools/index.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/pointcloudToolbarTools.d.ts +0 -13
- package/dist/core/components/viewers/pointcloud/src/tools/pointcloudToolbarTools.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/tools/pointcloudToolbarTools.js +0 -30
- package/dist/core/components/viewers/pointcloud/src/tools/pointcloudToolbarTools.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/utils/potreeLoader.d.ts +0 -4
- package/dist/core/components/viewers/pointcloud/utils/potreeLoader.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/utils/potreeLoader.js +0 -43
- package/dist/core/components/viewers/pointcloud/utils/potreeLoader.js.map +0 -1
- package/dist/core/components/viewers/pointcloud/utils/restoreCameraFromUrl.d.ts +0 -10
- package/dist/core/components/viewers/pointcloud/utils/restoreCameraFromUrl.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/utils/restoreCameraFromUrl.js +0 -26
- package/dist/core/components/viewers/pointcloud/utils/restoreCameraFromUrl.js.map +0 -1
- package/dist/core/plugins/sdk/pointCloudViewer.d.ts +0 -14
- package/dist/core/plugins/sdk/pointCloudViewer.d.ts.map +0 -1
- package/dist/core/plugins/sdk/pointCloudViewer.js +0 -17
- package/dist/core/plugins/sdk/pointCloudViewer.js.map +0 -1
- package/dist/core/store/PointCloud/context.d.ts +0 -16
- package/dist/core/store/PointCloud/context.d.ts.map +0 -1
- package/dist/core/store/PointCloud/context.js +0 -31
- package/dist/core/store/PointCloud/context.js.map +0 -1
- package/dist/core/store/PointCloud/reducer.d.ts +0 -59
- package/dist/core/store/PointCloud/reducer.d.ts.map +0 -1
- package/dist/core/store/PointCloud/reducer.js +0 -78
- package/dist/core/store/PointCloud/reducer.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/types/dbTypes.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\nimport { CountrySubdivision } from './datasetTypes';\n\nimport type { Position } from './global'\n\nexport enum BuildingOccupantType { Adults = 'Adults', Families = 'Families', Seniors = 'Seniors', Seniors_50_Plus = 'Seniors_50_Plus', Seniors_55_Plus = 'Seniors_55_Plus', Seniors_65_Plus = 'Seniors_65_Plus', Seniors_60_Plus = 'Seniors_60_Plus', Indigenous_Families = 'Indigenous_Families', Youth = 'Youth', Adults_16_Plus = 'Adults_16_Plus', Adults_16_To_24 = 'Adults_16_To_24', Singles = 'Singles', Families_Single_Parents = 'Families_Single_Parents', Indigenous = 'Indigenous' }\nexport enum BuildingGeometryStyle { Complex = 'Complex', Simple = 'Simple', Apartment = 'Apartment' }\nexport enum BuildingAssessmentConditions { Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor' }\nexport enum BuildingProjectPhase { Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase' }\nexport enum BuildingProjectType { Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit' }\nexport enum BuildingManagementType { Internal = 'Internal', External = 'External', Municipal = 'Municipal', Private = 'Private' }\nexport enum BuildingEnergySource { Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating' }\nexport enum BuildingHeatingEnergySource { Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating' }\nexport enum BuildingCoolingEnergySource { Electric = 'Electric', Wind = 'Wind', Geothermal = 'Geothermal', District_Cooling = 'District_Cooling', Solar = 'Solar' }\nexport enum BuildingHotWaterEnergySource { Electric = 'Electric', Natural_Gas = 'Natural_Gas', Propane = 'Propane', Oil = 'Oil', Solar = 'Solar', Wind = 'Wind' }\nexport enum BuildingElectricityServiceSize { Size_60 = 'Size_60', Size_100 = 'Size_100', Size_200 = 'Size_200' }\nexport enum BuildingElectricityServiceLocation { Overhead = 'Overhead', Underhead = 'Underhead' }\n\nexport enum SiteEnergySource { Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating' }\nexport enum SiteAssessmentConditions { Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor' }\nexport enum SiteLandUse { Residential = 'Residential', Industry_And_Business = 'Industry_And_Business', Mixed_Use = 'Mixed_Use', Special_Function_Area = 'Special_Function_Area', Monument = 'Monument', Dump = 'Dump', Mining = 'Mining', Park = 'Park', Cemetery = 'Cemetery', Sports_Leisure_and_Recreation = 'Sports_Leisure_and_Recreation', Open_Pit_Quarry = 'Open_Pit_Quarry', Road = 'Road', Railway = 'Railway', Airfield = 'Airfield', Shipping = 'Shipping', Track = 'Track', Square = 'Square', Grassland = 'Grassland', Agriculture = 'Agriculture', Forest = 'Forest', Grove = 'Grove', Heath = 'Heath', Moor = 'Moor', Marsh = 'Marsh', Untilled_Land = 'Untilled_Land', River = 'River', Standing_Waterbody = 'Standing_Waterbody', Harbour = 'Harbour', Sea = 'Sea' }\nexport enum SiteProjectPhase { Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase' }\nexport enum SiteProjectType { Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit' }\nexport enum DatasetGroup { Organizational = 'Organizational', Municipal = 'Municipal', National = 'National', Provincial = 'Provincial' }\nexport enum DataManagementSystem { Ckan = 'Ckan', Arcgis = 'Arcgis', Opendatasoft = 'Opendatasoft', Socrata = 'Socrata', Other = 'Other' }\nexport enum ViewerNames { auth = 'auth', map = 'map', bim = 'bim', pointcloud = 'pointcloud', buildings = 'buildings', sites = 'sites', files = 'files', land = 'land', infrastructure = 'infrastructure', extensions = 'extensions', settings = 'settings', users = 'users' }\n/**\n * A built-in viewer or a plugin page, as `plugin:<pluginId>:<pageId>`. Widened rather than\n * adding enum members: `ViewerNames` mirrors the Prisma `appContent` enum.\n */\nexport type ViewerKey = ViewerNames | `plugin:${string}`\n\nexport enum SensorTypes { Temperature = 'Temperature', Light = 'Light', Humidity = 'Humidity', Energy_Consumption = 'Energy_Consumption', Movement = 'Movement', Air_Quality = 'Air_Quality', Atmospheric_Pressure = 'Atmospheric_Pressure', Irradiance = 'Irradiance', Flow = 'Flow', State = 'State', Noise_Level = 'Noise_Level' }\nexport enum SensorDataFormat { Csv = 'Csv', Json = 'Json' }\n\nexport enum InfrastructureType { LandFeature = 'LandFeature', Facility = 'Facility', Project = 'Project', Alignment = 'Alignment', Road = 'Road', Railway = 'Railway', Survey = 'Survey', LandDivision = 'LandDivision', Condominium = 'Condominium', Other = 'Other' }\nexport enum InfrastructureState { Existing = 'Existing', Proposed = 'Proposed', Planned = 'Planned', UnderConstruction = 'UnderConstruction', Abandoned = 'Abandoned', Demolished = 'Demolished' }\nexport enum LinearSide { Left = 'Left', Right = 'Right', Center = 'Center', Both = 'Both', Neither = 'Neither', Unspecified = 'Unspecified' }\nexport enum LinearReferencingType { Absolute = 'Absolute', Relative = 'Relative', Interpolative = 'Interpolative' }\nexport enum GeometryType { Point = 'Point', LineString = 'LineString', PolyfaceMesh = 'PolyfaceMesh', Curve = 'Curve' }\nexport enum SurfaceType { TIN = 'TIN', Grid = 'Grid', Breaklines = 'Breaklines' }\nexport enum IfcInfrastructureDomain { IfcRoad = 'IfcRoad', IfcRailway = 'IfcRailway', IfcBridge = 'IfcBridge', IfcMarineFacility = 'IfcMarineFacility', IfcWaterway = 'IfcWaterway', IfcGeotechnicalAssembly = 'IfcGeotechnicalAssembly', }\nexport enum IfcRoadType { Highway = 'Highway', Street = 'Street', Interchange = 'Interchange', BicycleWay = 'BicycleWay', Footway = 'Footway', NotDefined = 'NotDefined' }\nexport enum IfcRailType { HeavyRail = 'HeavyRail', LightRail = 'LightRail', Subway = 'Subway', Tram = 'Tram', Monorail = 'Monorail', RackRail = 'RackRail' }\nexport enum IfcTrackComponentType { Track = 'Track', Sleeper = 'Sleeper', Ballast = 'Ballast', Frog = 'Frog', Sleepers = 'Sleepers', Block = 'Block' }\nexport enum IfcBridgePartType { Abutment = 'Abutment', Deck = 'Deck', Pier = 'Pier', Pylon = 'Pylon', Superstructure = 'Superstructure', Substructure = 'Substructure' }\nexport enum IfcGeotechType { Borehole = 'Borehole', Earthwork = 'Earthwork', RockTunnel = 'RockTunnel' }\nexport enum IfcSignalType { TrafficLight = 'TrafficLight', RailSignal = 'RailSignal', Sign = 'Sign', Panel = 'Panel' }\nexport enum IfcSensorType { TrafficSensor = 'TrafficSensor', WeatherSensor = 'WeatherSensor', SecurityCamera = 'SecurityCamera' }\nexport enum IfcUtilityType { PowerLine = 'PowerLine', Telecom = 'Telecom', Stormwater = 'Stormwater', Sewage = 'Sewage', Gas = 'Gas', DuctBank = 'DuctBank' }\nexport enum IfcEarthworksType { Cut = 'Cut', Fill = 'Fill', Embankment = 'Embankment', Subgrade = 'Subgrade' }\nexport enum IfcFacilityPartType { Segment = 'Segment', Junction = 'Junction', LevelCrossing = 'LevelCrossing', Terminal = 'Terminal' }\nexport enum CityGmlLod { LOD0 = 'LOD0', LOD1 = 'LOD1', LOD2 = 'LOD2', LOD3 = 'LOD3', LOD4 = 'LOD4' }\nexport enum CityGmlFunction { Traffic = 'Traffic', WaterBody = 'WaterBody', SolitaryVegetation = 'SolitaryVegetation', PlantCover = 'PlantCover', CityFurniture = 'CityFurniture', LandUse = 'LandUse' }\nexport enum CityGmlUsage { Public = 'Public', Private = 'Private', Industrial = 'Industrial', Commercial = 'Commercial', Government = 'Government', Military = 'Military' }\nexport enum CityGmlFurnitureType { TrafficLight = 'TrafficLight', TrafficSign = 'TrafficSign', StreetLamp = 'StreetLamp', BusStop = 'BusStop', Bench = 'Bench', WasteBin = 'WasteBin', Bollard = 'Bollard' }\nexport enum CityGmlVegetationType { Tree = 'Tree', Shrub = 'Shrub', Hedge = 'Hedge', Grass = 'Grass' }\nexport enum CityGmlCondition { Intact = 'Intact', UnderConstruction = 'UnderConstruction', Declined = 'Declined', Demolished = 'Demolished', Ruin = 'Ruin' }\nexport enum CityGmlElevationRef { Bottom = 'Bottom', Ground = 'Ground', Eaves = 'Eaves', Top = 'Top' }\nexport enum CityGmlSurfaceMaterial { Asphalt = 'Asphalt', Concrete = 'Concrete', Gravel = 'Gravel', Soil = 'Soil', Grass = 'Grass', PavingStones = 'PavingStones' }\nexport enum CityGmlTrafficSurfaceFunction { DrivingLane = 'DrivingLane', CycleLane = 'CycleLane', Sidewalk = 'Sidewalk', ParkingBay = 'ParkingBay', Crosswalk = 'Crosswalk', TrafficIsland = 'TrafficIsland', Embankment = 'Embankment' }\nexport enum Language { En = 'En', Fr = 'Fr', Es = 'Es' }\n\n\nexport interface User {\n id: number;\n name: string;\n password: string;\n email: string;\n emailVerified?: Date | null;\n imageFileId?: number | null;\n createdAt: Date;\n updatedAt: Date;\n organizationId?: number | null;\n roleId: number;\n}\n\nexport interface Role {\n id: number;\n name: string;\n permissions: unknown[]; // Prisma Json[]; keep as unknown[] in core\n orgId: number;\n}\n\nexport type Permission = {\n action: string;\n subject: string;\n description?: string;\n};\n\nexport interface Account {\n id: number;\n type: string;\n provider: string;\n providerAccountId: string;\n refresh_token?: string | null;\n access_token?: string | null;\n expires_at?: number | null;\n token_type?: string | null;\n scope?: string | null;\n id_token?: string | null;\n session_state?: string | null;\n createdAt: Date;\n updatedAt: Date;\n userId: number;\n}\n\nexport interface Organization {\n id: number;\n name: string;\n title?: string | null;\n description?: string | null;\n geocoder: boolean;\n mainColor?: string | null;\n secondaryColor?: string | null;\n locationId?: string | null;\n countrySubdivision?: string | null; // CA-ON, US-NY, etc.\n municipality?: string | null;\n postalCode?: string | null;\n lat?: number | null;\n long?: number | null;\n zoom?: number | null;\n bbox: number[]\n bearing?: number | null;\n pitch?: number | null;\n mapStyles: unknown[]; // Json[] in Prisma, keep as unknown[] in core\n minZoom?: number | null;\n maxBounds: number[]\n appContent: (ViewerNames | `${ViewerNames}`)[]\n logoKey?: string | null;\n faviconKey?: string | null;\n maxNumberOfUsers?: number | null;\n languages: (Language | `${Language}`)[];\n country?: string | null;\n suspended: boolean;\n locationSiteId?: number | null;\n locationBuildingId?: number | null;\n}\n\nexport interface BuildingOnOrganizations {\n buildingId: number;\n organizationId: number;\n}\n\nexport interface Comment {\n id: number;\n authorId: number;\n organizationId: number;\n text: string;\n longitude?: number | null;\n latitude?: number | null;\n elevation?: number | null;\n visible: boolean;\n viewer: ViewerNames | `${ViewerNames}`;\n x?: number | null;\n y?: number | null;\n z?: number | null;\n createdAt: Date;\n updatedAt: Date;\n replyToId?: number | null;\n buildingId?: number | null;\n image?: string | null;\n}\n\nexport interface Sensor {\n id: number;\n data: string;\n dataFormat: SensorDataFormat | `${SensorDataFormat}`;\n updateFrequency: number;\n name: string;\n longitude?: number | null;\n latitude?: number | null;\n elevation?: number | null;\n visible: boolean;\n viewer: ViewerNames | `${ViewerNames}`;\n x?: number | null;\n y?: number | null;\n z?: number | null;\n createdAt: Date;\n updatedAt: Date;\n url?: string | null;\n tags: string[];\n maxThreshold?: number | null;\n minThreshold?: number | null;\n typeId?: number | null;\n organizationId: number;\n buildingId?: number | null;\n authorId: number;\n}\n\nexport interface SensorType {\n id: number;\n name: SensorTypes | `${SensorTypes}`;\n icon: string;\n minValue: number;\n maxValue: number;\n minColour: string;\n midColour: string;\n maxColour: string;\n}\n\nexport interface Building {\n id: number\n buildingEmail?: string\n buildingPhoneNumber?: string\n buildingAddress?: string\n buildingStreetNumber?: string\n buildingStreetName?: string\n buildingStreetType?: string\n buildingStreetDirection?: string\n buildingCountrySubdivision?: string\n buildingMunicipality?: string\n buildingPostalCode?: string\n buildingType: string[]\n buildingLongitude?: number\n buildingLatitude?: number\n rotation?: number\n buildingElevation?: number\n buildingEasting?: number\n buildingNorthing?: number\n buildingEPSG?: number\n buildingName?: string\n buildingNotes?: string\n buildingWebsite?: string\n buildingHeatingIncluded?: boolean\n buildingHydroIncluded?: boolean\n buildingProviderContactEmail?: string\n buildingProviderContactName?: string\n buildingProviderContactPhone?: string\n buildingProviderName?: string\n buildingProviderType?: string\n buildingProviderWebsite?: string\n buildingOccupantType: (BuildingOccupantType | `${BuildingOccupantType}`)[]\n buildingStoreyNum?: number\n buildingTotalSqft?: number\n buildingUnits1B?: boolean\n buildingUnits1BNum?: number\n buildingUnits1BSqft: number[]\n buildingUnits2B?: boolean\n buildingUnits2BNum?: number\n buildingUnits2BSqft: number[]\n buildingUnits3B?: boolean\n buildingUnits3BNum?: number\n buildingUnits3BSqft: number[]\n buildingUnits4B?: boolean\n buildingUnits4BNum?: number\n buildingUnits4BSqft: number[]\n buildingUnits5B?: boolean\n buildingUnits5BNum?: number\n buildingUnits5BSqft: number[]\n buildingUnits6B?: boolean\n buildingUnits6BNum?: number\n buildingUnits6BSqft: number[]\n buildingUnitsB?: boolean\n buildingUnitsBNum?: number\n buildingUnitsBSqft: number[]\n buildingUnitsMarketRent?: boolean\n buildingUnitsMarketRentNum?: number\n buildingUnitsMarketRentSqft: number[]\n buildingUnitsModified?: boolean\n buildingUnitsModifiedNum?: number\n buildingUnitsModifiedSqft: number[]\n buildingUnitsRoom?: boolean\n buildingUnitsRoomNum?: number\n buildingUnitsRoomSqft: number[]\n buildingUnitsSubsidized?: boolean\n buildingUnitsSubsidizedNum?: number\n buildingUnitsSubsidizedSqft: number[]\n buildingUnitsBelowMarketRent?: boolean\n buildingUnitsBelowMarketRentNum?: number\n buildingUnitsBelowMarketRentSqft: number[]\n buildingUnitsRentGearedToIncome?: boolean\n buildingUnitsRentGearedToIncomeNum?: number\n buildingUnitsRentGearedToIncomeSqft: number[]\n buildingUnitsTotal?: number\n buildingUtilitiesIncluded?: boolean\n buildingYearBuilt?: number\n buildingAnchorAddress?: string\n buildingGeometryStyle?: BuildingGeometryStyle | `${BuildingGeometryStyle}`\n buildingCommonSpace?: boolean\n buildingAirQuality?: number\n buildingAirQualityAssessmentDate?: Date\n buildingAnnualConsumption?: number\n buildingAssessedValue?: number\n buildingBuilderName?: string\n buildingAdditionalInformation?: string\n buildingAssessmentCondition?: BuildingAssessmentConditions | `${BuildingAssessmentConditions}`\n buildingAssessmentDate?: Date\n buildingAssessmentDescription?: string\n buildingCity?: string\n buildingCounty?: string\n buildingOrthogonalHeight?: number\n buildingOsmId?: string\n buildingOsmType?: string\n buildingProjectPhase?: BuildingProjectPhase | `${BuildingProjectPhase}`\n buildingProjectType?: BuildingProjectType | `${BuildingProjectType}`\n buildingSourceEui?: number\n buildingWardName?: string\n buildingWardNumber?: number\n buildingManagementType?: BuildingManagementType | `${BuildingManagementType}`\n buildingManagementName?: string\n buildingManagementContactName?: string\n buildingManagementWebsite?: string\n buildingManagementPhoneNumber?: string\n buildingCensusTract?: number\n buildingCertifications?: string\n buildingClimateVulnerabilities?: string\n buildingComfort?: string\n buildingCompletedDate?: Date\n buildingDryerAvailable?: boolean\n buildingElevatorAvailable?: boolean\n buildingEnergyAdditionalInformation?: string\n buildingHeatingEnergySources: (BuildingHeatingEnergySource | `${BuildingHeatingEnergySource}`)[]\n buildingHeatingMetric?: number\n buildingHeatingInstallationYear?: number\n buildingCoolingEnergySources: (BuildingCoolingEnergySource | `${BuildingCoolingEnergySource}`)[]\n buildingCoolingMetric?: number\n buildingCoolingInstallationYear?: number\n buildingHotWaterSystemsEnergySources: (BuildingHotWaterEnergySource | `${BuildingHotWaterEnergySource}`)[]\n buildingHotWaterSystemsMetric?: number\n buildingHotWaterSystemsInstallationYear?: number\n buildingEnvironmentalAdditionalInformation?: string\n buildingEstimatedConstructionCost?: number\n buildingEstimatedEndDate?: Date\n buildingEstimatedStartDate?: Date\n buildingEstimatedTotalCost?: number\n buildingFederalContribution?: number\n buildingFundingAdditionalInformation?: string\n buildingFundingSources?: string\n buildingGrants?: number\n buildingHvacEfficiency?: string\n buildingElectricityServiceSize?: BuildingElectricityServiceSize | `${BuildingElectricityServiceSize}`\n buildingElectricityServiceLocation?: BuildingElectricityServiceLocation | `${BuildingElectricityServiceLocation}`\n buildingElectricityServicePanelSize?: number\n buildingElectricityServiceUtilityConnection?: string\n buildingElectricityServiceUpgradeHistory?: string\n buildingIntensityGhgEmissions?: number\n buildingLifecycleExpenses?: number\n buildingMaintenanceAdditionalInformation?: string\n buildingMaterials?: string\n buildingOperatingExpenses?: number\n buildingOwnership?: string\n buildingParkingAvailable?: boolean\n buildingPermitIssuedDate?: Date\n buildingPermitNumber?: number\n previousUpdates?: string\n buildingPriorityRetrofits?: string\n buildingProgramLoan?: number\n buildingProgramName?: string\n buildingProjectDescription?: string\n buildingProjectName?: string\n buildingProjectNumber?: number\n buildingProponentOrganization?: string\n buildingProponentType?: string\n buildingRentalMarketSurveyZone?: number\n buildingRetrofitFundingNeeds?: string\n buildingSafetyConcerns?: string\n buildingSiteEui?: number\n buildingSolarPotential?: number\n buildingStartDate?: Date\n buildingStructuralVulnerabilities?: string\n buildingSubsidies?: number\n buildingTotalContribution?: number\n buildingTotalGhgEmissions?: number\n buildingTotalRentableArea?: number\n buildingUnitAdditionalInformation?: string\n buildingValueOfFundingFlowed?: number\n buildingWasherAvailable?: boolean\n buildingWaterIncluded?: boolean\n buildingWaterUseIntensity?: number\n buildingZoning?: string\n featureId?: string | null\n buildingParentSiteId?: number | null\n}\n\nexport interface DbFile {\n id: number\n name: string\n type: string\n url?: string | null\n assetId: string\n mimeType?: string | null\n extension?: string | null\n sizeBytes?: number | null\n uploadedAt: string\n description?: string | null\n tag?: string | null\n position?: Position\n x?: number | null\n y?: number | null\n z?: number | null\n lat?: number | null\n lng?: number | null\n elevation?: number | null\n rotation?: number | null\n bimRotation?: number | null\n pointCloudTransform?: unknown\n scale?: number | null\n isVisible?: boolean\n lazFileKey?: string | null\n potreeFolderKey?: string | null\n potreeMetadataFileKey?: string | null\n pointCloudUploaded?: boolean | null\n pointCloudPotreeConverted?: boolean | null\n bucket?: string | null\n fileCommentId?: number | null\n fileOrganizationId: number\n attachedFilesBuildingId?: number | null\n buildingCodeComplianceBuildingId?: number | null\n environmentalComplianceBuildingId?: number | null\n occupancyCertificateBuildingId?: number | null\n permitsIssuedBuildingId?: number | null\n systemAssessmentsBuildingId?: number | null\n zoningComplianceBuildingId?: number | null\n certificationsFileBuildingId?: number | null\n energyCodeComplianceBuildingId?: number | null\n fireSafetyBuildingId?: number | null\n maintenanceRecordsBuildingId?: number | null\n proximityToServicesBuildingId?: number | null\n regionalEnergyTrendsBuildingId?: number | null\n BCABuildingId?: number | null\n contractorReportsBuildingId?: number | null\n engineeringAssessmentsBuildingId?: number | null\n airQualityReportsBuildingId?: number | null\n waterQualityReportsBuildingId?: number | null\n DSRsBuildingId?: number | null\n energyAssessmentReportsBuildingId?: number | null\n attachedFilesSiteId?: number | null\n energyCodeComplianceSiteId?: number | null\n certificationCertificatesSiteId?: number | null\n environmentalComplianceSiteId?: number | null\n maintenanceRecordsSiteId?: number | null\n fireSafetySiteId?: number | null\n fireCertSiteId?: number | null\n zoningComplianceSiteId?: number | null\n buildingPermitSiteId?: number | null\n insuranceClaimsSiteId?: number | null\n buildingPermitsIssuedSiteId?: number | null\n}\n\nexport interface Site {\n id: number\n siteName?: string\n siteAddress?: string\n siteCountrySubdivision?: string\n siteMunicipality?: string\n siteCity?: string\n sitePostalCode?: string\n siteCounty?: string\n siteWard?: string\n siteLongitude?: number\n siteLatitude?: number\n siteEnergyUsage?: SiteEnergySource | `${SiteEnergySource}`\n siteAnnualConsumption?: number\n siteEnergyDemand?: number\n siteSourceEui?: number\n siteEui?: number\n siteSolarPotential?: number\n siteRenewableEnergy?: string\n siteEnergyAdditionalInformation?: string\n siteTotalGhgEmissions?: number\n siteIntensityGhgEmissions?: number\n siteCertifications?: string\n siteWaterUseData?: number\n siteEnvironmentalAdditionalInformation?: string\n siteLifecycleExpenses?: number\n siteOperatingExpenses?: number\n siteFundingSources?: string\n siteGrants?: number\n siteSubsidies?: number\n siteProponentOrganization?: string\n siteProgramLoan?: number\n siteProponentType?: string\n siteProgramName?: string\n siteTotalContribution?: number\n siteValueOfFundingFlowed?: number\n siteFundingAdditionalInformation?: string\n siteAssessmentCondition?: SiteAssessmentConditions | `${SiteAssessmentConditions}`\n siteAssessmentDate?: Date\n siteAssessmentDescription?: string\n siteMaintenanceAdditionalInformation?: string\n siteClimateVulnerabilities?: string\n siteSafetyConcerns?: string\n siteInsuranceProvider?: string\n siteInsuranceCosts?: number\n siteLandUse?: SiteLandUse | `${SiteLandUse}`\n siteLandUseSubtype?: string\n siteTotalArea?: number\n siteTotalBuiltArea?: number\n siteTotalAvailableArea?: number\n siteYearBuilt?: Date\n siteZoning?: string\n siteOwnership?: string\n siteProviderName?: string\n siteProviderType?: string\n siteProviderWebsite?: string\n siteProviderContactName?: string\n siteProviderContactPhone?: string\n siteProviderContactEmail?: string\n siteWebsite?: string\n siteNotes?: string\n siteProjectName?: string\n siteProjectNumber?: number\n siteProjectPhase?: SiteProjectPhase | `${SiteProjectPhase}`\n siteProjectType?: SiteProjectType | `${SiteProjectType}`\n siteEstimatedStartDate?: Date\n siteEstimatedEndDate?: Date\n siteStartDate?: Date\n siteCompletedDate?: Date\n sitePriorityRetrofits?: string\n siteProjectDescription?: string\n sitePreviousUpdates?: string\n siteBuilderName?: string\n sitePermitNumber?: number\n sitePermitIssuedDate?: Date\n siteEstimatedTotalCost?: number\n siteEstimatedConstructionCost?: number\n siteRetrofitFundingNeeds?: string\n siteFederalContribution?: number\n siteAssessedValue?: number\n siteOrganizationId: number\n}\n\nexport interface OpenDataPortal {\n id: number\n name: string\n group: DatasetGroup | `${DatasetGroup}`\n portalUrl?: string\n dataManagementSystem?: DataManagementSystem | `${DataManagementSystem}`\n apiUrl?: string\n countrySubdivision?: string\n municipality?: string\n country?: string\n live?: boolean\n}\n\nexport interface Infrastructure {\n id: number\n featureId?: string\n infrastructureName?: string\n infrastructureType?: InfrastructureType | `${InfrastructureType}`\n infrastructureEmail?: string\n infrastructureCountrySubdivision?: string\n infrastructureMunicipality?: string\n infrastructureCity?: string\n infrastructureCounty?: string\n infrastructurePhoneNumber?: string\n infrastructureAddress?: string\n infrastructureStreetNumber?: string\n infrastructureStreetName?: string\n infrastructureStreetType?: string\n infrastructureStreetDirection?: string\n infrastructurePostalCode?: string\n infrastructureDescription?: string\n infrastructureDatasetId?: string\n infrastructureExternalId?: string // Mapped from ID.identifier\n infrastructureScope?: string // Mapped from ID.scope\n infrastructureProjectName?: string // Context from Part 0 Project\n infrastructureFacilityId?: string // Context from Part 0 Facility\n infrastructureState?: InfrastructureState | `${InfrastructureState}`\n infrastructureStatus?: string // Generic status string or CodeList URI\n infrastructureValidFrom?: Date\n infrastructureValidTo?: Date\n infrastructureGeometryId?: number // Reference to geometry in our Files table\n infrastructureGeometryType?: GeometryType | `${GeometryType}`\n infrastructureEPSG?: number\n infrastructureLongitude?: number\n infrastructureLatitude?: number\n infrastructureRotation?: number\n infrastructureElevation?: number\n infrastructureEasting?: number\n infrastructureNorthing?: number\n infrastructureNotes?: string\n infrastructureWebsite?: string // Coordinate Reference System\n linearMeasure?: number\n linearMeasureUom?: string // Unit of measure (e.g., \"m\", \"km\")\n linearStartValue?: number\n linearDefaultLRM?: string\n linearLRMType?: LinearReferencingType | `${LinearReferencingType}`\n linearHasStationEquation?: boolean\n linearRestartValue?: number // Value after the station equation\n linearIsAlignment?: boolean\n linearAlignmentType?: string // e.g., \"Centerline\", \"LeftRail\", \"RightCurb\"\n infrastructureMaterial?: string\n infrastructureLayerType?: string\n linearHasCrossSection?: boolean\n linearCrossSectionArea?: number\n linearCrossSectionAreaUom?: string\n linearMaxLateralOffset?: number // Furthest distance from centerline\n linearVerticalOffset?: number\n infrastructureSurfaceType?: SurfaceType | `${SurfaceType}`\n infrastructureTinId?: string // Reference to TIN geometry ID\n infrastructureSurfaceName?: string\n infrastructureSurveyDocumentId?: string\n infrastructureSurveyDate?: Date\n ifcGlobalId?: string\n ifcDomain?: IfcInfrastructureDomain | `${IfcInfrastructureDomain}`\n ifcRoadType?: IfcRoadType | `${IfcRoadType}`\n ifcLaneCount?: number\n ifcDesignSpeed?: number\n ifcRailType?: IfcRailType | `${IfcRailType}`\n ifcTrackGauge?: number\n ifcCant?: number\n ifcTrackComponentType?: IfcTrackComponentType | `${IfcTrackComponentType}`\n ifcBridgePartType?: IfcBridgePartType | `${IfcBridgePartType}`\n ifcBridgeClearance?: number\n ifcLoadRating?: number\n ifcGeotechType?: IfcGeotechType | `${IfcGeotechType}`\n ifcWaterDepth?: number\n ifcSignalType?: IfcSignalType | `${IfcSignalType}`\n ifcSensorType?: IfcSensorType | `${IfcSensorType}`\n ifcUtilityType?: IfcUtilityType | `${IfcUtilityType}`\n ifcUtilityDiameter?: number\n ifcVoltage?: number // For power lines\n ifcEarthworksType?: IfcEarthworksType | `${IfcEarthworksType}`\n ifcSlopeRatio?: number // e.g., 2:1 slope\n infrastructureParentId?: string // Recursive ID for nested parts (e.g. Bridge Span inside Bridge)\n ifcFacilityPartType?: IfcFacilityPartType | `${IfcFacilityPartType}`\n cityGmlLod?: CityGmlLod | `${CityGmlLod}`\n cityGmlFunction?: CityGmlFunction | `${CityGmlFunction}`\n cityGmlUsage?: CityGmlUsage | `${CityGmlUsage}`\n cityGmlRelativeToTerrain?: string\n cityGmlIsTrafficSpace?: boolean\n cityGmlTrafficGranularity?: string\n cityGmlVegetationType?: CityGmlVegetationType | `${CityGmlVegetationType}`\n cityGmlFurnitureType?: CityGmlFurnitureType | `${CityGmlFurnitureType}`\n cityGmlCrownDiameter?: number\n cityGmlName?: string\n cityGmlCondition?: CityGmlCondition | `${CityGmlCondition}`\n cityGmlConstructionDate?: Date\n cityGmlDemolitionDate?: Date\n cityGmlMeasuredHeight?: number\n cityGmlHeightRef?: CityGmlElevationRef | `${CityGmlElevationRef}`\n cityGmlSurfaceMaterial?: CityGmlSurfaceMaterial | `${CityGmlSurfaceMaterial}`\n cityGmlTrafficFunction?: CityGmlTrafficSurfaceFunction | `${CityGmlTrafficSurfaceFunction}`\n cityGmlIsAuxiliary?: boolean\n organizationId: number\n}"],"mappings":"AAOO,IAAK,uBAAL,kBAAKA,0BAAL;AAA4B,EAAAA,sBAAA,YAAS;AAAU,EAAAA,sBAAA,cAAW;AAAY,EAAAA,sBAAA,aAAU;AAAW,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,yBAAsB;AAAuB,EAAAA,sBAAA,WAAQ;AAAS,EAAAA,sBAAA,oBAAiB;AAAkB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,aAAU;AAAW,EAAAA,sBAAA,6BAA0B;AAA2B,EAAAA,sBAAA,gBAAa;AAAvc,SAAAA;AAAA,GAAA;AACL,IAAK,wBAAL,kBAAKC,2BAAL;AAA6B,EAAAA,uBAAA,aAAU;AAAW,EAAAA,uBAAA,YAAS;AAAU,EAAAA,uBAAA,eAAY;AAA5E,SAAAA;AAAA,GAAA;AACL,IAAK,+BAAL,kBAAKC,kCAAL;AAAoC,EAAAA,8BAAA,eAAY;AAAa,EAAAA,8BAAA,UAAO;AAAQ,EAAAA,8BAAA,UAAO;AAAQ,EAAAA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A,qBAAA,WAAQ;AAAS,EAAAA,qBAAA,SAAM;AAAnF,SAAAA;AAAA,GAAA;AACL,IAAK,yBAAL,kBAAKC,4BAAL;AAA8B,EAAAA,wBAAA,aAAU;AAAW,EAAAA,wBAAA,cAAW;AAAY,EAAAA,wBAAA,YAAS;AAAU,EAAAA,wBAAA,UAAO;AAAQ,EAAAA,wBAAA,WAAQ;AAAS,EAAAA,wBAAA,kBAAe;AAAvI,SAAAA;AAAA,GAAA;AACL,IAAK,gCAAL,kBAAKC,mCAAL;AAAqC,EAAAA,+BAAA,iBAAc;AAAe,EAAAA,+BAAA,eAAY;AAAa,EAAAA,+BAAA,cAAW;AAAY,EAAAA,+BAAA,gBAAa;AAAc,EAAAA,+BAAA,eAAY;AAAa,EAAAA,+BAAA,mBAAgB;AAAiB,EAAAA,+BAAA,gBAAa;AAA/M,SAAAA;AAAA,GAAA;AACL,IAAK,WAAL,kBAAKC,cAAL;AAAgB,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAtC,SAAAA;AAAA,GAAA;","names":["BuildingOccupantType","BuildingGeometryStyle","BuildingAssessmentConditions","BuildingProjectPhase","BuildingProjectType","BuildingManagementType","BuildingEnergySource","BuildingHeatingEnergySource","BuildingCoolingEnergySource","BuildingHotWaterEnergySource","BuildingElectricityServiceSize","BuildingElectricityServiceLocation","SiteEnergySource","SiteAssessmentConditions","SiteLandUse","SiteProjectPhase","SiteProjectType","DatasetGroup","DataManagementSystem","ViewerNames","SensorTypes","SensorDataFormat","InfrastructureType","InfrastructureState","LinearSide","LinearReferencingType","GeometryType","SurfaceType","IfcInfrastructureDomain","IfcRoadType","IfcRailType","IfcTrackComponentType","IfcBridgePartType","IfcGeotechType","IfcSignalType","IfcSensorType","IfcUtilityType","IfcEarthworksType","IfcFacilityPartType","CityGmlLod","CityGmlFunction","CityGmlUsage","CityGmlFurnitureType","CityGmlVegetationType","CityGmlCondition","CityGmlElevationRef","CityGmlSurfaceMaterial","CityGmlTrafficSurfaceFunction","Language"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/core/types/dbTypes.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\nimport { CountrySubdivision } from './datasetTypes';\n\nimport type { Position } from './global'\n\nexport enum BuildingOccupantType { Adults = 'Adults', Families = 'Families', Seniors = 'Seniors', Seniors_50_Plus = 'Seniors_50_Plus', Seniors_55_Plus = 'Seniors_55_Plus', Seniors_65_Plus = 'Seniors_65_Plus', Seniors_60_Plus = 'Seniors_60_Plus', Indigenous_Families = 'Indigenous_Families', Youth = 'Youth', Adults_16_Plus = 'Adults_16_Plus', Adults_16_To_24 = 'Adults_16_To_24', Singles = 'Singles', Families_Single_Parents = 'Families_Single_Parents', Indigenous = 'Indigenous' }\nexport enum BuildingGeometryStyle { Complex = 'Complex', Simple = 'Simple', Apartment = 'Apartment' }\nexport enum BuildingAssessmentConditions { Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor' }\nexport enum BuildingProjectPhase { Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase' }\nexport enum BuildingProjectType { Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit' }\nexport enum BuildingManagementType { Internal = 'Internal', External = 'External', Municipal = 'Municipal', Private = 'Private' }\nexport enum BuildingEnergySource { Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating' }\nexport enum BuildingHeatingEnergySource { Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating' }\nexport enum BuildingCoolingEnergySource { Electric = 'Electric', Wind = 'Wind', Geothermal = 'Geothermal', District_Cooling = 'District_Cooling', Solar = 'Solar' }\nexport enum BuildingHotWaterEnergySource { Electric = 'Electric', Natural_Gas = 'Natural_Gas', Propane = 'Propane', Oil = 'Oil', Solar = 'Solar', Wind = 'Wind' }\nexport enum BuildingElectricityServiceSize { Size_60 = 'Size_60', Size_100 = 'Size_100', Size_200 = 'Size_200' }\nexport enum BuildingElectricityServiceLocation { Overhead = 'Overhead', Underhead = 'Underhead' }\n\nexport enum SiteEnergySource { Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating' }\nexport enum SiteAssessmentConditions { Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor' }\nexport enum SiteLandUse { Residential = 'Residential', Industry_And_Business = 'Industry_And_Business', Mixed_Use = 'Mixed_Use', Special_Function_Area = 'Special_Function_Area', Monument = 'Monument', Dump = 'Dump', Mining = 'Mining', Park = 'Park', Cemetery = 'Cemetery', Sports_Leisure_and_Recreation = 'Sports_Leisure_and_Recreation', Open_Pit_Quarry = 'Open_Pit_Quarry', Road = 'Road', Railway = 'Railway', Airfield = 'Airfield', Shipping = 'Shipping', Track = 'Track', Square = 'Square', Grassland = 'Grassland', Agriculture = 'Agriculture', Forest = 'Forest', Grove = 'Grove', Heath = 'Heath', Moor = 'Moor', Marsh = 'Marsh', Untilled_Land = 'Untilled_Land', River = 'River', Standing_Waterbody = 'Standing_Waterbody', Harbour = 'Harbour', Sea = 'Sea' }\nexport enum SiteProjectPhase { Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase' }\nexport enum SiteProjectType { Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit' }\nexport enum DatasetGroup { Organizational = 'Organizational', Municipal = 'Municipal', National = 'National', Provincial = 'Provincial' }\nexport enum DataManagementSystem { Ckan = 'Ckan', Arcgis = 'Arcgis', Opendatasoft = 'Opendatasoft', Socrata = 'Socrata', Other = 'Other' }\nexport enum ViewerNames { auth = 'auth', map = 'map', bim = 'bim', buildings = 'buildings', sites = 'sites', files = 'files', land = 'land', infrastructure = 'infrastructure', extensions = 'extensions', settings = 'settings', users = 'users' }\n/**\n * A built-in viewer or a plugin page, as `plugin:<pluginId>:<pageId>`. Widened rather than\n * adding enum members: `ViewerNames` mirrors the Prisma `appContent` enum.\n */\nexport type ViewerKey = ViewerNames | `plugin:${string}`\n\nexport enum SensorTypes { Temperature = 'Temperature', Light = 'Light', Humidity = 'Humidity', Energy_Consumption = 'Energy_Consumption', Movement = 'Movement', Air_Quality = 'Air_Quality', Atmospheric_Pressure = 'Atmospheric_Pressure', Irradiance = 'Irradiance', Flow = 'Flow', State = 'State', Noise_Level = 'Noise_Level' }\nexport enum SensorDataFormat { Csv = 'Csv', Json = 'Json' }\n\nexport enum InfrastructureType { LandFeature = 'LandFeature', Facility = 'Facility', Project = 'Project', Alignment = 'Alignment', Road = 'Road', Railway = 'Railway', Survey = 'Survey', LandDivision = 'LandDivision', Condominium = 'Condominium', Other = 'Other' }\nexport enum InfrastructureState { Existing = 'Existing', Proposed = 'Proposed', Planned = 'Planned', UnderConstruction = 'UnderConstruction', Abandoned = 'Abandoned', Demolished = 'Demolished' }\nexport enum LinearSide { Left = 'Left', Right = 'Right', Center = 'Center', Both = 'Both', Neither = 'Neither', Unspecified = 'Unspecified' }\nexport enum LinearReferencingType { Absolute = 'Absolute', Relative = 'Relative', Interpolative = 'Interpolative' }\nexport enum GeometryType { Point = 'Point', LineString = 'LineString', PolyfaceMesh = 'PolyfaceMesh', Curve = 'Curve' }\nexport enum SurfaceType { TIN = 'TIN', Grid = 'Grid', Breaklines = 'Breaklines' }\nexport enum IfcInfrastructureDomain { IfcRoad = 'IfcRoad', IfcRailway = 'IfcRailway', IfcBridge = 'IfcBridge', IfcMarineFacility = 'IfcMarineFacility', IfcWaterway = 'IfcWaterway', IfcGeotechnicalAssembly = 'IfcGeotechnicalAssembly', }\nexport enum IfcRoadType { Highway = 'Highway', Street = 'Street', Interchange = 'Interchange', BicycleWay = 'BicycleWay', Footway = 'Footway', NotDefined = 'NotDefined' }\nexport enum IfcRailType { HeavyRail = 'HeavyRail', LightRail = 'LightRail', Subway = 'Subway', Tram = 'Tram', Monorail = 'Monorail', RackRail = 'RackRail' }\nexport enum IfcTrackComponentType { Track = 'Track', Sleeper = 'Sleeper', Ballast = 'Ballast', Frog = 'Frog', Sleepers = 'Sleepers', Block = 'Block' }\nexport enum IfcBridgePartType { Abutment = 'Abutment', Deck = 'Deck', Pier = 'Pier', Pylon = 'Pylon', Superstructure = 'Superstructure', Substructure = 'Substructure' }\nexport enum IfcGeotechType { Borehole = 'Borehole', Earthwork = 'Earthwork', RockTunnel = 'RockTunnel' }\nexport enum IfcSignalType { TrafficLight = 'TrafficLight', RailSignal = 'RailSignal', Sign = 'Sign', Panel = 'Panel' }\nexport enum IfcSensorType { TrafficSensor = 'TrafficSensor', WeatherSensor = 'WeatherSensor', SecurityCamera = 'SecurityCamera' }\nexport enum IfcUtilityType { PowerLine = 'PowerLine', Telecom = 'Telecom', Stormwater = 'Stormwater', Sewage = 'Sewage', Gas = 'Gas', DuctBank = 'DuctBank' }\nexport enum IfcEarthworksType { Cut = 'Cut', Fill = 'Fill', Embankment = 'Embankment', Subgrade = 'Subgrade' }\nexport enum IfcFacilityPartType { Segment = 'Segment', Junction = 'Junction', LevelCrossing = 'LevelCrossing', Terminal = 'Terminal' }\nexport enum CityGmlLod { LOD0 = 'LOD0', LOD1 = 'LOD1', LOD2 = 'LOD2', LOD3 = 'LOD3', LOD4 = 'LOD4' }\nexport enum CityGmlFunction { Traffic = 'Traffic', WaterBody = 'WaterBody', SolitaryVegetation = 'SolitaryVegetation', PlantCover = 'PlantCover', CityFurniture = 'CityFurniture', LandUse = 'LandUse' }\nexport enum CityGmlUsage { Public = 'Public', Private = 'Private', Industrial = 'Industrial', Commercial = 'Commercial', Government = 'Government', Military = 'Military' }\nexport enum CityGmlFurnitureType { TrafficLight = 'TrafficLight', TrafficSign = 'TrafficSign', StreetLamp = 'StreetLamp', BusStop = 'BusStop', Bench = 'Bench', WasteBin = 'WasteBin', Bollard = 'Bollard' }\nexport enum CityGmlVegetationType { Tree = 'Tree', Shrub = 'Shrub', Hedge = 'Hedge', Grass = 'Grass' }\nexport enum CityGmlCondition { Intact = 'Intact', UnderConstruction = 'UnderConstruction', Declined = 'Declined', Demolished = 'Demolished', Ruin = 'Ruin' }\nexport enum CityGmlElevationRef { Bottom = 'Bottom', Ground = 'Ground', Eaves = 'Eaves', Top = 'Top' }\nexport enum CityGmlSurfaceMaterial { Asphalt = 'Asphalt', Concrete = 'Concrete', Gravel = 'Gravel', Soil = 'Soil', Grass = 'Grass', PavingStones = 'PavingStones' }\nexport enum CityGmlTrafficSurfaceFunction { DrivingLane = 'DrivingLane', CycleLane = 'CycleLane', Sidewalk = 'Sidewalk', ParkingBay = 'ParkingBay', Crosswalk = 'Crosswalk', TrafficIsland = 'TrafficIsland', Embankment = 'Embankment' }\nexport enum Language { En = 'En', Fr = 'Fr', Es = 'Es' }\n\n\nexport interface User {\n id: number;\n name: string;\n password: string;\n email: string;\n emailVerified?: Date | null;\n imageFileId?: number | null;\n createdAt: Date;\n updatedAt: Date;\n organizationId?: number | null;\n roleId: number;\n}\n\nexport interface Role {\n id: number;\n name: string;\n permissions: unknown[]; // Prisma Json[]; keep as unknown[] in core\n orgId: number;\n}\n\nexport type Permission = {\n action: string;\n subject: string;\n description?: string;\n};\n\nexport interface Account {\n id: number;\n type: string;\n provider: string;\n providerAccountId: string;\n refresh_token?: string | null;\n access_token?: string | null;\n expires_at?: number | null;\n token_type?: string | null;\n scope?: string | null;\n id_token?: string | null;\n session_state?: string | null;\n createdAt: Date;\n updatedAt: Date;\n userId: number;\n}\n\nexport interface Organization {\n id: number;\n name: string;\n title?: string | null;\n description?: string | null;\n geocoder: boolean;\n mainColor?: string | null;\n secondaryColor?: string | null;\n locationId?: string | null;\n countrySubdivision?: string | null; // CA-ON, US-NY, etc.\n municipality?: string | null;\n postalCode?: string | null;\n lat?: number | null;\n long?: number | null;\n zoom?: number | null;\n bbox: number[]\n bearing?: number | null;\n pitch?: number | null;\n mapStyles: unknown[]; // Json[] in Prisma, keep as unknown[] in core\n minZoom?: number | null;\n maxBounds: number[]\n appContent: (ViewerNames | `${ViewerNames}`)[]\n logoKey?: string | null;\n faviconKey?: string | null;\n maxNumberOfUsers?: number | null;\n languages: (Language | `${Language}`)[];\n country?: string | null;\n suspended: boolean;\n locationSiteId?: number | null;\n locationBuildingId?: number | null;\n}\n\nexport interface BuildingOnOrganizations {\n buildingId: number;\n organizationId: number;\n}\n\nexport interface Comment {\n id: number;\n authorId: number;\n organizationId: number;\n text: string;\n longitude?: number | null;\n latitude?: number | null;\n elevation?: number | null;\n visible: boolean;\n viewer: ViewerNames | `${ViewerNames}`;\n x?: number | null;\n y?: number | null;\n z?: number | null;\n createdAt: Date;\n updatedAt: Date;\n replyToId?: number | null;\n buildingId?: number | null;\n image?: string | null;\n}\n\nexport interface Sensor {\n id: number;\n data: string;\n dataFormat: SensorDataFormat | `${SensorDataFormat}`;\n updateFrequency: number;\n name: string;\n longitude?: number | null;\n latitude?: number | null;\n elevation?: number | null;\n visible: boolean;\n viewer: ViewerNames | `${ViewerNames}`;\n x?: number | null;\n y?: number | null;\n z?: number | null;\n createdAt: Date;\n updatedAt: Date;\n url?: string | null;\n tags: string[];\n maxThreshold?: number | null;\n minThreshold?: number | null;\n typeId?: number | null;\n organizationId: number;\n buildingId?: number | null;\n authorId: number;\n}\n\nexport interface SensorType {\n id: number;\n name: SensorTypes | `${SensorTypes}`;\n icon: string;\n minValue: number;\n maxValue: number;\n minColour: string;\n midColour: string;\n maxColour: string;\n}\n\nexport interface Building {\n id: number\n buildingEmail?: string\n buildingPhoneNumber?: string\n buildingAddress?: string\n buildingStreetNumber?: string\n buildingStreetName?: string\n buildingStreetType?: string\n buildingStreetDirection?: string\n buildingCountrySubdivision?: string\n buildingMunicipality?: string\n buildingPostalCode?: string\n buildingType: string[]\n buildingLongitude?: number\n buildingLatitude?: number\n rotation?: number\n buildingElevation?: number\n buildingEasting?: number\n buildingNorthing?: number\n buildingEPSG?: number\n buildingName?: string\n buildingNotes?: string\n buildingWebsite?: string\n buildingHeatingIncluded?: boolean\n buildingHydroIncluded?: boolean\n buildingProviderContactEmail?: string\n buildingProviderContactName?: string\n buildingProviderContactPhone?: string\n buildingProviderName?: string\n buildingProviderType?: string\n buildingProviderWebsite?: string\n buildingOccupantType: (BuildingOccupantType | `${BuildingOccupantType}`)[]\n buildingStoreyNum?: number\n buildingTotalSqft?: number\n buildingUnits1B?: boolean\n buildingUnits1BNum?: number\n buildingUnits1BSqft: number[]\n buildingUnits2B?: boolean\n buildingUnits2BNum?: number\n buildingUnits2BSqft: number[]\n buildingUnits3B?: boolean\n buildingUnits3BNum?: number\n buildingUnits3BSqft: number[]\n buildingUnits4B?: boolean\n buildingUnits4BNum?: number\n buildingUnits4BSqft: number[]\n buildingUnits5B?: boolean\n buildingUnits5BNum?: number\n buildingUnits5BSqft: number[]\n buildingUnits6B?: boolean\n buildingUnits6BNum?: number\n buildingUnits6BSqft: number[]\n buildingUnitsB?: boolean\n buildingUnitsBNum?: number\n buildingUnitsBSqft: number[]\n buildingUnitsMarketRent?: boolean\n buildingUnitsMarketRentNum?: number\n buildingUnitsMarketRentSqft: number[]\n buildingUnitsModified?: boolean\n buildingUnitsModifiedNum?: number\n buildingUnitsModifiedSqft: number[]\n buildingUnitsRoom?: boolean\n buildingUnitsRoomNum?: number\n buildingUnitsRoomSqft: number[]\n buildingUnitsSubsidized?: boolean\n buildingUnitsSubsidizedNum?: number\n buildingUnitsSubsidizedSqft: number[]\n buildingUnitsBelowMarketRent?: boolean\n buildingUnitsBelowMarketRentNum?: number\n buildingUnitsBelowMarketRentSqft: number[]\n buildingUnitsRentGearedToIncome?: boolean\n buildingUnitsRentGearedToIncomeNum?: number\n buildingUnitsRentGearedToIncomeSqft: number[]\n buildingUnitsTotal?: number\n buildingUtilitiesIncluded?: boolean\n buildingYearBuilt?: number\n buildingAnchorAddress?: string\n buildingGeometryStyle?: BuildingGeometryStyle | `${BuildingGeometryStyle}`\n buildingCommonSpace?: boolean\n buildingAirQuality?: number\n buildingAirQualityAssessmentDate?: Date\n buildingAnnualConsumption?: number\n buildingAssessedValue?: number\n buildingBuilderName?: string\n buildingAdditionalInformation?: string\n buildingAssessmentCondition?: BuildingAssessmentConditions | `${BuildingAssessmentConditions}`\n buildingAssessmentDate?: Date\n buildingAssessmentDescription?: string\n buildingCity?: string\n buildingCounty?: string\n buildingOrthogonalHeight?: number\n buildingOsmId?: string\n buildingOsmType?: string\n buildingProjectPhase?: BuildingProjectPhase | `${BuildingProjectPhase}`\n buildingProjectType?: BuildingProjectType | `${BuildingProjectType}`\n buildingSourceEui?: number\n buildingWardName?: string\n buildingWardNumber?: number\n buildingManagementType?: BuildingManagementType | `${BuildingManagementType}`\n buildingManagementName?: string\n buildingManagementContactName?: string\n buildingManagementWebsite?: string\n buildingManagementPhoneNumber?: string\n buildingCensusTract?: number\n buildingCertifications?: string\n buildingClimateVulnerabilities?: string\n buildingComfort?: string\n buildingCompletedDate?: Date\n buildingDryerAvailable?: boolean\n buildingElevatorAvailable?: boolean\n buildingEnergyAdditionalInformation?: string\n buildingHeatingEnergySources: (BuildingHeatingEnergySource | `${BuildingHeatingEnergySource}`)[]\n buildingHeatingMetric?: number\n buildingHeatingInstallationYear?: number\n buildingCoolingEnergySources: (BuildingCoolingEnergySource | `${BuildingCoolingEnergySource}`)[]\n buildingCoolingMetric?: number\n buildingCoolingInstallationYear?: number\n buildingHotWaterSystemsEnergySources: (BuildingHotWaterEnergySource | `${BuildingHotWaterEnergySource}`)[]\n buildingHotWaterSystemsMetric?: number\n buildingHotWaterSystemsInstallationYear?: number\n buildingEnvironmentalAdditionalInformation?: string\n buildingEstimatedConstructionCost?: number\n buildingEstimatedEndDate?: Date\n buildingEstimatedStartDate?: Date\n buildingEstimatedTotalCost?: number\n buildingFederalContribution?: number\n buildingFundingAdditionalInformation?: string\n buildingFundingSources?: string\n buildingGrants?: number\n buildingHvacEfficiency?: string\n buildingElectricityServiceSize?: BuildingElectricityServiceSize | `${BuildingElectricityServiceSize}`\n buildingElectricityServiceLocation?: BuildingElectricityServiceLocation | `${BuildingElectricityServiceLocation}`\n buildingElectricityServicePanelSize?: number\n buildingElectricityServiceUtilityConnection?: string\n buildingElectricityServiceUpgradeHistory?: string\n buildingIntensityGhgEmissions?: number\n buildingLifecycleExpenses?: number\n buildingMaintenanceAdditionalInformation?: string\n buildingMaterials?: string\n buildingOperatingExpenses?: number\n buildingOwnership?: string\n buildingParkingAvailable?: boolean\n buildingPermitIssuedDate?: Date\n buildingPermitNumber?: number\n previousUpdates?: string\n buildingPriorityRetrofits?: string\n buildingProgramLoan?: number\n buildingProgramName?: string\n buildingProjectDescription?: string\n buildingProjectName?: string\n buildingProjectNumber?: number\n buildingProponentOrganization?: string\n buildingProponentType?: string\n buildingRentalMarketSurveyZone?: number\n buildingRetrofitFundingNeeds?: string\n buildingSafetyConcerns?: string\n buildingSiteEui?: number\n buildingSolarPotential?: number\n buildingStartDate?: Date\n buildingStructuralVulnerabilities?: string\n buildingSubsidies?: number\n buildingTotalContribution?: number\n buildingTotalGhgEmissions?: number\n buildingTotalRentableArea?: number\n buildingUnitAdditionalInformation?: string\n buildingValueOfFundingFlowed?: number\n buildingWasherAvailable?: boolean\n buildingWaterIncluded?: boolean\n buildingWaterUseIntensity?: number\n buildingZoning?: string\n featureId?: string | null\n buildingParentSiteId?: number | null\n}\n\nexport interface DbFile {\n id: number\n name: string\n type: string\n url?: string | null\n assetId: string\n mimeType?: string | null\n extension?: string | null\n sizeBytes?: number | null\n uploadedAt: string\n description?: string | null\n tag?: string | null\n position?: Position\n x?: number | null\n y?: number | null\n z?: number | null\n lat?: number | null\n lng?: number | null\n elevation?: number | null\n rotation?: number | null\n bimRotation?: number | null\n pointCloudTransform?: unknown\n scale?: number | null\n isVisible?: boolean\n lazFileKey?: string | null\n potreeFolderKey?: string | null\n potreeMetadataFileKey?: string | null\n pointCloudUploaded?: boolean | null\n pointCloudPotreeConverted?: boolean | null\n bucket?: string | null\n fileCommentId?: number | null\n fileOrganizationId: number\n attachedFilesBuildingId?: number | null\n buildingCodeComplianceBuildingId?: number | null\n environmentalComplianceBuildingId?: number | null\n occupancyCertificateBuildingId?: number | null\n permitsIssuedBuildingId?: number | null\n systemAssessmentsBuildingId?: number | null\n zoningComplianceBuildingId?: number | null\n certificationsFileBuildingId?: number | null\n energyCodeComplianceBuildingId?: number | null\n fireSafetyBuildingId?: number | null\n maintenanceRecordsBuildingId?: number | null\n proximityToServicesBuildingId?: number | null\n regionalEnergyTrendsBuildingId?: number | null\n BCABuildingId?: number | null\n contractorReportsBuildingId?: number | null\n engineeringAssessmentsBuildingId?: number | null\n airQualityReportsBuildingId?: number | null\n waterQualityReportsBuildingId?: number | null\n DSRsBuildingId?: number | null\n energyAssessmentReportsBuildingId?: number | null\n attachedFilesSiteId?: number | null\n energyCodeComplianceSiteId?: number | null\n certificationCertificatesSiteId?: number | null\n environmentalComplianceSiteId?: number | null\n maintenanceRecordsSiteId?: number | null\n fireSafetySiteId?: number | null\n fireCertSiteId?: number | null\n zoningComplianceSiteId?: number | null\n buildingPermitSiteId?: number | null\n insuranceClaimsSiteId?: number | null\n buildingPermitsIssuedSiteId?: number | null\n}\n\nexport interface Site {\n id: number\n siteName?: string\n siteAddress?: string\n siteCountrySubdivision?: string\n siteMunicipality?: string\n siteCity?: string\n sitePostalCode?: string\n siteCounty?: string\n siteWard?: string\n siteLongitude?: number\n siteLatitude?: number\n siteEnergyUsage?: SiteEnergySource | `${SiteEnergySource}`\n siteAnnualConsumption?: number\n siteEnergyDemand?: number\n siteSourceEui?: number\n siteEui?: number\n siteSolarPotential?: number\n siteRenewableEnergy?: string\n siteEnergyAdditionalInformation?: string\n siteTotalGhgEmissions?: number\n siteIntensityGhgEmissions?: number\n siteCertifications?: string\n siteWaterUseData?: number\n siteEnvironmentalAdditionalInformation?: string\n siteLifecycleExpenses?: number\n siteOperatingExpenses?: number\n siteFundingSources?: string\n siteGrants?: number\n siteSubsidies?: number\n siteProponentOrganization?: string\n siteProgramLoan?: number\n siteProponentType?: string\n siteProgramName?: string\n siteTotalContribution?: number\n siteValueOfFundingFlowed?: number\n siteFundingAdditionalInformation?: string\n siteAssessmentCondition?: SiteAssessmentConditions | `${SiteAssessmentConditions}`\n siteAssessmentDate?: Date\n siteAssessmentDescription?: string\n siteMaintenanceAdditionalInformation?: string\n siteClimateVulnerabilities?: string\n siteSafetyConcerns?: string\n siteInsuranceProvider?: string\n siteInsuranceCosts?: number\n siteLandUse?: SiteLandUse | `${SiteLandUse}`\n siteLandUseSubtype?: string\n siteTotalArea?: number\n siteTotalBuiltArea?: number\n siteTotalAvailableArea?: number\n siteYearBuilt?: Date\n siteZoning?: string\n siteOwnership?: string\n siteProviderName?: string\n siteProviderType?: string\n siteProviderWebsite?: string\n siteProviderContactName?: string\n siteProviderContactPhone?: string\n siteProviderContactEmail?: string\n siteWebsite?: string\n siteNotes?: string\n siteProjectName?: string\n siteProjectNumber?: number\n siteProjectPhase?: SiteProjectPhase | `${SiteProjectPhase}`\n siteProjectType?: SiteProjectType | `${SiteProjectType}`\n siteEstimatedStartDate?: Date\n siteEstimatedEndDate?: Date\n siteStartDate?: Date\n siteCompletedDate?: Date\n sitePriorityRetrofits?: string\n siteProjectDescription?: string\n sitePreviousUpdates?: string\n siteBuilderName?: string\n sitePermitNumber?: number\n sitePermitIssuedDate?: Date\n siteEstimatedTotalCost?: number\n siteEstimatedConstructionCost?: number\n siteRetrofitFundingNeeds?: string\n siteFederalContribution?: number\n siteAssessedValue?: number\n siteOrganizationId: number\n}\n\nexport interface OpenDataPortal {\n id: number\n name: string\n group: DatasetGroup | `${DatasetGroup}`\n portalUrl?: string\n dataManagementSystem?: DataManagementSystem | `${DataManagementSystem}`\n apiUrl?: string\n countrySubdivision?: string\n municipality?: string\n country?: string\n live?: boolean\n}\n\nexport interface Infrastructure {\n id: number\n featureId?: string\n infrastructureName?: string\n infrastructureType?: InfrastructureType | `${InfrastructureType}`\n infrastructureEmail?: string\n infrastructureCountrySubdivision?: string\n infrastructureMunicipality?: string\n infrastructureCity?: string\n infrastructureCounty?: string\n infrastructurePhoneNumber?: string\n infrastructureAddress?: string\n infrastructureStreetNumber?: string\n infrastructureStreetName?: string\n infrastructureStreetType?: string\n infrastructureStreetDirection?: string\n infrastructurePostalCode?: string\n infrastructureDescription?: string\n infrastructureDatasetId?: string\n infrastructureExternalId?: string // Mapped from ID.identifier\n infrastructureScope?: string // Mapped from ID.scope\n infrastructureProjectName?: string // Context from Part 0 Project\n infrastructureFacilityId?: string // Context from Part 0 Facility\n infrastructureState?: InfrastructureState | `${InfrastructureState}`\n infrastructureStatus?: string // Generic status string or CodeList URI\n infrastructureValidFrom?: Date\n infrastructureValidTo?: Date\n infrastructureGeometryId?: number // Reference to geometry in our Files table\n infrastructureGeometryType?: GeometryType | `${GeometryType}`\n infrastructureEPSG?: number\n infrastructureLongitude?: number\n infrastructureLatitude?: number\n infrastructureRotation?: number\n infrastructureElevation?: number\n infrastructureEasting?: number\n infrastructureNorthing?: number\n infrastructureNotes?: string\n infrastructureWebsite?: string // Coordinate Reference System\n linearMeasure?: number\n linearMeasureUom?: string // Unit of measure (e.g., \"m\", \"km\")\n linearStartValue?: number\n linearDefaultLRM?: string\n linearLRMType?: LinearReferencingType | `${LinearReferencingType}`\n linearHasStationEquation?: boolean\n linearRestartValue?: number // Value after the station equation\n linearIsAlignment?: boolean\n linearAlignmentType?: string // e.g., \"Centerline\", \"LeftRail\", \"RightCurb\"\n infrastructureMaterial?: string\n infrastructureLayerType?: string\n linearHasCrossSection?: boolean\n linearCrossSectionArea?: number\n linearCrossSectionAreaUom?: string\n linearMaxLateralOffset?: number // Furthest distance from centerline\n linearVerticalOffset?: number\n infrastructureSurfaceType?: SurfaceType | `${SurfaceType}`\n infrastructureTinId?: string // Reference to TIN geometry ID\n infrastructureSurfaceName?: string\n infrastructureSurveyDocumentId?: string\n infrastructureSurveyDate?: Date\n ifcGlobalId?: string\n ifcDomain?: IfcInfrastructureDomain | `${IfcInfrastructureDomain}`\n ifcRoadType?: IfcRoadType | `${IfcRoadType}`\n ifcLaneCount?: number\n ifcDesignSpeed?: number\n ifcRailType?: IfcRailType | `${IfcRailType}`\n ifcTrackGauge?: number\n ifcCant?: number\n ifcTrackComponentType?: IfcTrackComponentType | `${IfcTrackComponentType}`\n ifcBridgePartType?: IfcBridgePartType | `${IfcBridgePartType}`\n ifcBridgeClearance?: number\n ifcLoadRating?: number\n ifcGeotechType?: IfcGeotechType | `${IfcGeotechType}`\n ifcWaterDepth?: number\n ifcSignalType?: IfcSignalType | `${IfcSignalType}`\n ifcSensorType?: IfcSensorType | `${IfcSensorType}`\n ifcUtilityType?: IfcUtilityType | `${IfcUtilityType}`\n ifcUtilityDiameter?: number\n ifcVoltage?: number // For power lines\n ifcEarthworksType?: IfcEarthworksType | `${IfcEarthworksType}`\n ifcSlopeRatio?: number // e.g., 2:1 slope\n infrastructureParentId?: string // Recursive ID for nested parts (e.g. Bridge Span inside Bridge)\n ifcFacilityPartType?: IfcFacilityPartType | `${IfcFacilityPartType}`\n cityGmlLod?: CityGmlLod | `${CityGmlLod}`\n cityGmlFunction?: CityGmlFunction | `${CityGmlFunction}`\n cityGmlUsage?: CityGmlUsage | `${CityGmlUsage}`\n cityGmlRelativeToTerrain?: string\n cityGmlIsTrafficSpace?: boolean\n cityGmlTrafficGranularity?: string\n cityGmlVegetationType?: CityGmlVegetationType | `${CityGmlVegetationType}`\n cityGmlFurnitureType?: CityGmlFurnitureType | `${CityGmlFurnitureType}`\n cityGmlCrownDiameter?: number\n cityGmlName?: string\n cityGmlCondition?: CityGmlCondition | `${CityGmlCondition}`\n cityGmlConstructionDate?: Date\n cityGmlDemolitionDate?: Date\n cityGmlMeasuredHeight?: number\n cityGmlHeightRef?: CityGmlElevationRef | `${CityGmlElevationRef}`\n cityGmlSurfaceMaterial?: CityGmlSurfaceMaterial | `${CityGmlSurfaceMaterial}`\n cityGmlTrafficFunction?: CityGmlTrafficSurfaceFunction | `${CityGmlTrafficSurfaceFunction}`\n cityGmlIsAuxiliary?: boolean\n organizationId: number\n}"],"mappings":"AAOO,IAAK,uBAAL,kBAAKA,0BAAL;AAA4B,EAAAA,sBAAA,YAAS;AAAU,EAAAA,sBAAA,cAAW;AAAY,EAAAA,sBAAA,aAAU;AAAW,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,yBAAsB;AAAuB,EAAAA,sBAAA,WAAQ;AAAS,EAAAA,sBAAA,oBAAiB;AAAkB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,aAAU;AAAW,EAAAA,sBAAA,6BAA0B;AAA2B,EAAAA,sBAAA,gBAAa;AAAvc,SAAAA;AAAA,GAAA;AACL,IAAK,wBAAL,kBAAKC,2BAAL;AAA6B,EAAAA,uBAAA,aAAU;AAAW,EAAAA,uBAAA,YAAS;AAAU,EAAAA,uBAAA,eAAY;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AO;AAAxI,SAAAA;AAAA,GAAA;AACL,IAAK,sBAAL,kBAAKC,yBAAL;AAA2B,EAAAA,qBAAA,YAAS;AAAU,EAAAA,qBAAA,YAAS;AAAU,EAAAA,qBAAA,WAAQ;AAAS,EAAAA,qBAAA,SAAM;AAAnF,SAAAA;AAAA,GAAA;AACL,IAAK,yBAAL,kBAAKC,4BAAL;AAA8B,EAAAA,wBAAA,aAAU;AAAW,EAAAA,wBAAA,cAAW;AAAY,EAAAA,wBAAA,YAAS;AAAU,EAAAA,wBAAA,UAAO;AAAQ,EAAAA,wBAAA,WAAQ;AAAS,EAAAA,wBAAA,kBAAe;AAAvI,SAAAA;AAAA,GAAA;AACL,IAAK,gCAAL,kBAAKC,mCAAL;AAAqC,EAAAA,+BAAA,iBAAc;AAAe,EAAAA,+BAAA,eAAY;AAAa,EAAAA,+BAAA,cAAW;AAAY,EAAAA,+BAAA,gBAAa;AAAc,EAAAA,+BAAA,eAAY;AAAa,EAAAA,+BAAA,mBAAgB;AAAiB,EAAAA,+BAAA,gBAAa;AAA/M,SAAAA;AAAA,GAAA;AACL,IAAK,WAAL,kBAAKC,cAAL;AAAgB,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAtC,SAAAA;AAAA,GAAA;","names":["BuildingOccupantType","BuildingGeometryStyle","BuildingAssessmentConditions","BuildingProjectPhase","BuildingProjectType","BuildingManagementType","BuildingEnergySource","BuildingHeatingEnergySource","BuildingCoolingEnergySource","BuildingHotWaterEnergySource","BuildingElectricityServiceSize","BuildingElectricityServiceLocation","SiteEnergySource","SiteAssessmentConditions","SiteLandUse","SiteProjectPhase","SiteProjectType","DatasetGroup","DataManagementSystem","ViewerNames","SensorTypes","SensorDataFormat","InfrastructureType","InfrastructureState","LinearSide","LinearReferencingType","GeometryType","SurfaceType","IfcInfrastructureDomain","IfcRoadType","IfcRailType","IfcTrackComponentType","IfcBridgePartType","IfcGeotechType","IfcSignalType","IfcSensorType","IfcUtilityType","IfcEarthworksType","IfcFacilityPartType","CityGmlLod","CityGmlFunction","CityGmlUsage","CityGmlFurnitureType","CityGmlVegetationType","CityGmlCondition","CityGmlElevationRef","CityGmlSurfaceMaterial","CityGmlTrafficSurfaceFunction","Language"]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { CursorType } from './global';
|
|
2
2
|
import type { BimToolbarToolsType } from '../components/viewers/bim/src/tools/bimToolbar';
|
|
3
3
|
import type { MapToolbarToolType } from '../components/viewers/map/src/tools/mapTools';
|
|
4
|
-
import type { PointCloudToolType } from '../components/viewers/pointcloud/src/tools/pointcloudToolbarTools';
|
|
5
4
|
import type { Building } from '../types/dbTypes';
|
|
6
5
|
import type { LucideProps } from 'lucide-react';
|
|
7
6
|
/**
|
|
@@ -12,7 +11,7 @@ import type { LucideProps } from 'lucide-react';
|
|
|
12
11
|
* what keeps them from colliding with core's or with each other's.
|
|
13
12
|
*/
|
|
14
13
|
export type PluginToolId = `plugin:${string}`;
|
|
15
|
-
export type ToolbarToolType = BimToolbarToolsType | MapToolbarToolType |
|
|
14
|
+
export type ToolbarToolType = BimToolbarToolsType | MapToolbarToolType | PluginToolId | 'settings' | 'file-manager' | null;
|
|
16
15
|
export interface Tool {
|
|
17
16
|
id: ToolbarToolType;
|
|
18
17
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/core/types/tools.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAA;AACzF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAA;AACtF,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/core/types/tools.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,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AE,MAAM,IAAI,CAAA;QAClB,OAAO,EAAE,MAAM,IAAI,CAAA;QACnB,KAAK,EAAE,MAAM,IAAI,CAAA;KAClB,CAAA;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appContent.d.ts","sourceRoot":"","sources":["../../../src/core/utils/appContent.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"appContent.d.ts","sourceRoot":"","sources":["../../../src/core/utils/appContent.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAYpD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,WAAW,EAAE,CAInF;AAED,yDAAyD;AACzD,wBAAgB,aAAa,CAC3B,YAAY,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,EAC7C,MAAM,EAAE,WAAW,GAClB,OAAO,CAET"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/utils/appContent.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\nimport { ViewerNames } from '../types/dbTypes'\n\nimport type { Organization } from '../types/dbTypes'\n\n/** Everything an organization can switch on. The map is always available and is not listed. */\nconst OPTIONAL_VIEWERS: ViewerNames[] = [\n ViewerNames.extensions,\n ViewerNames.bim,\n ViewerNames.
|
|
1
|
+
{"version":3,"sources":["../../../src/core/utils/appContent.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\nimport { ViewerNames } from '../types/dbTypes'\n\nimport type { Organization } from '../types/dbTypes'\n\n/** Everything an organization can switch on. The map is always available and is not listed. */\nconst OPTIONAL_VIEWERS: ViewerNames[] = [\n ViewerNames.extensions,\n ViewerNames.bim,\n ViewerNames.sites,\n ViewerNames.infrastructure,\n ViewerNames.buildings,\n ViewerNames.files,\n]\n\n/**\n * The viewers an organization has switched on.\n *\n * An empty `appContent` means \"not configured\", which grants everything rather than nothing, so\n * an organization that never set the field keeps the full app. The map is always included.\n *\n * Shared so every entry point into a viewer agrees: the sidebar and the map popover's tool row\n * were drifting, and a tool that navigates somewhere the sidebar hides is a dead end.\n */\nexport function resolveAppContent(organization?: Organization | null): ViewerNames[] {\n const configured = organization?.appContent ?? []\n if (configured.length === 0) return [ViewerNames.map, ...OPTIONAL_VIEWERS]\n return [ViewerNames.map, ...(configured as ViewerNames[])]\n}\n\n/** Whether an organization can reach a viewer at all. */\nexport function hasAppContent(\n organization: Organization | null | undefined,\n viewer: ViewerNames,\n): boolean {\n return resolveAppContent(organization).includes(viewer)\n}\n"],"mappings":"AAGA,SAAS,mBAAmB;AAK5B,MAAM,mBAAkC;AAAA,EACtC,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AACd;AAWO,SAAS,kBAAkB,cAAmD;AA1BrF;AA2BE,QAAM,cAAa,kDAAc,eAAd,YAA4B,CAAC;AAChD,MAAI,WAAW,WAAW,EAAG,QAAO,CAAC,YAAY,KAAK,GAAG,gBAAgB;AACzE,SAAO,CAAC,YAAY,KAAK,GAAI,UAA4B;AAC3D;AAGO,SAAS,cACd,cACA,QACS;AACT,SAAO,kBAAkB,YAAY,EAAE,SAAS,MAAM;AACxD;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileIcon.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getFileIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"getFileIcon.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getFileIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,cAAc,CAAA;AAKlC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAG9C,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,8RAiDvC"}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import * as LR from "lucide-react";
|
|
2
|
+
import { typeOfRecord } from "../components/ui/FilesManager/src/fileType";
|
|
2
3
|
import { IfcIcon, IdsIcon, BcfIcon } from "../components/ui/Icons/";
|
|
3
4
|
function getFileIcon(file) {
|
|
4
5
|
const { extension } = file;
|
|
5
|
-
switch (
|
|
6
|
-
case "
|
|
7
|
-
case "frag":
|
|
6
|
+
switch (typeOfRecord(file)) {
|
|
7
|
+
case "bim-file":
|
|
8
8
|
return IfcIcon;
|
|
9
|
+
case "point-cloud-file":
|
|
10
|
+
return LR.Grip;
|
|
11
|
+
case "cad-file":
|
|
12
|
+
return LR.DraftingCompass;
|
|
13
|
+
case "3d-file":
|
|
14
|
+
return LR.Box;
|
|
15
|
+
}
|
|
16
|
+
switch (extension == null ? void 0 : extension.toLowerCase()) {
|
|
9
17
|
case "jpg":
|
|
10
18
|
case "jpeg":
|
|
11
19
|
case "png":
|
|
@@ -15,10 +23,6 @@ function getFileIcon(file) {
|
|
|
15
23
|
case "avi":
|
|
16
24
|
return LR.Video;
|
|
17
25
|
case "rvt":
|
|
18
|
-
case "glb":
|
|
19
|
-
case "gltf":
|
|
20
|
-
case "obj":
|
|
21
|
-
case "fbx":
|
|
22
26
|
return LR.Box;
|
|
23
27
|
case "pdf":
|
|
24
28
|
case "doc":
|
|
@@ -38,12 +42,6 @@ function getFileIcon(file) {
|
|
|
38
42
|
case "mp3":
|
|
39
43
|
case "wav":
|
|
40
44
|
return LR.Music;
|
|
41
|
-
case "las":
|
|
42
|
-
case "laz":
|
|
43
|
-
return LR.Grip;
|
|
44
|
-
case "dwg":
|
|
45
|
-
case "dxf":
|
|
46
|
-
return LR.DraftingCompass;
|
|
47
45
|
case "ids":
|
|
48
46
|
return IdsIcon;
|
|
49
47
|
case "bcf":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/utils/getFileIcon.tsx"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\nimport * as LR from 'lucide-react'\n\nimport { IfcIcon, IdsIcon, BcfIcon } from '../components/ui/Icons/'\n\nimport type { DbFile } from '../types/dbTypes'\n\n\nexport function getFileIcon(file: DbFile) {\n const { extension } = file\n switch (
|
|
1
|
+
{"version":3,"sources":["../../../src/core/utils/getFileIcon.tsx"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\nimport * as LR from 'lucide-react'\n\nimport { typeOfRecord } from '../components/ui/FilesManager/src/fileType'\nimport { IfcIcon, IdsIcon, BcfIcon } from '../components/ui/Icons/'\n\nimport type { DbFile } from '../types/dbTypes'\n\n\nexport function getFileIcon(file: DbFile) {\n const { extension } = file\n switch (typeOfRecord(file)) {\n case 'bim-file':\n return IfcIcon\n case 'point-cloud-file':\n return LR.Grip\n case 'cad-file':\n return LR.DraftingCompass\n case '3d-file':\n return LR.Box\n }\n\n switch (extension?.toLowerCase()) {\n case 'jpg':\n case 'jpeg':\n case 'png':\n return LR.Image\n case 'mp4':\n case 'mov':\n case 'avi':\n return LR.Video\n case 'rvt':\n return LR.Box\n case 'pdf':\n case 'doc':\n case 'txt':\n case 'docx':\n return LR.FileText\n case 'xlsx':\n case 'xls':\n case 'csv':\n return LR.Table\n case 'ppt':\n case 'pptx':\n return LR.Presentation\n case 'zip':\n case 'rar':\n return LR.Archive\n case 'mp3':\n case 'wav':\n return LR.Music\n case 'ids':\n return IdsIcon\n case 'bcf':\n return BcfIcon\n default:\n return LR.File\n }\n}\n"],"mappings":"AAGA,YAAY,QAAQ;AAEpB,SAAS,oBAAoB;AAC7B,SAAS,SAAS,SAAS,eAAe;AAKnC,SAAS,YAAY,MAAc;AACxC,QAAM,EAAE,UAAU,IAAI;AACtB,UAAQ,aAAa,IAAI,GAAG;AAAA,IAC1B,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AACH,aAAO,GAAG;AAAA,EACd;AAEA,UAAQ,uCAAW,eAAe;AAAA,IAChC,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AACH,aAAO,GAAG;AAAA,IACZ,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO,GAAG;AAAA,EACd;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collabdt/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "CDT Core contains all the core technology for your CDT platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -157,8 +157,6 @@
|
|
|
157
157
|
"maplibre-gl-measures": "^0.0.16",
|
|
158
158
|
"memjs": "^1.3.2",
|
|
159
159
|
"pbf": "^4.0.1",
|
|
160
|
-
"potree": "^0.1.0",
|
|
161
|
-
"potree-cdt": "^0.0.1",
|
|
162
160
|
"potree-core": "^2.0.15",
|
|
163
161
|
"proj4": "^2.15.0",
|
|
164
162
|
"react-day-picker": "^9.8.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PointCloudToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/core/components/viewers/pointcloud/PointCloudToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,wBAAgB,iBAAiB,sBAEhC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
"use client";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { ToolbarBody } from "../../ToolbarBody";
|
|
6
|
-
import { usePointCloudToolbarTools } from "./src/tools";
|
|
7
|
-
function PointCloudToolbar() {
|
|
8
|
-
return /* @__PURE__ */ jsx(ToolbarBody, { viewer: "pointcloud", tools: usePointCloudToolbarTools() });
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
PointCloudToolbar
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=PointCloudToolbar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/core/components/viewers/pointcloud/PointCloudToolbar.tsx"],"sourcesContent":["'use client'\n\n// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\nimport * as React from 'react'\n\nimport { ToolbarBody } from '../../ToolbarBody'\n\nimport { usePointCloudToolbarTools } from './src/tools'\n\nexport function PointCloudToolbar() {\n return <ToolbarBody viewer=\"pointcloud\" tools={usePointCloudToolbarTools()} />\n}\n"],"mappings":";AAYS;AALT,SAAS,mBAAmB;AAE5B,SAAS,iCAAiC;AAEnC,SAAS,oBAAoB;AAClC,SAAO,oBAAC,eAAY,QAAO,cAAa,OAAO,0BAA0B,GAAG;AAC9E;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PointCloudViewer.d.ts","sourceRoot":"","sources":["../../../../../src/core/components/viewers/pointcloud/PointCloudViewer.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,wBAAgB,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,EAAE;IAAE,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,qBA0PnF"}
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
"use client";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { useSearchParams } from "next/navigation";
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { useFilesByBuildingId } from "../../../hooks/files/files";
|
|
8
|
-
import { BuildingsContext, PointCloudContext } from "../../../store";
|
|
9
|
-
import { usePointCloudCoordinateSystem } from "../useCoordinateSystem";
|
|
10
|
-
import { PointCloudLoadingState } from "./src/PointCloudLoadingState";
|
|
11
|
-
import { ViewportGizmo } from "./src/ViewportGizmo";
|
|
12
|
-
import { loadAllAssets } from "./utils/potreeLoader";
|
|
13
|
-
import { restoreCameraFromUrl } from "./utils/restoreCameraFromUrl";
|
|
14
|
-
function PointCloudViewer({ pointcloudApiUrl }) {
|
|
15
|
-
usePointCloudCoordinateSystem();
|
|
16
|
-
const API_BASE = pointcloudApiUrl != null ? pointcloudApiUrl : "http://localhost:5101";
|
|
17
|
-
const containerRef = React.useRef(null);
|
|
18
|
-
const viewerRef = React.useRef(null);
|
|
19
|
-
const gizmoRef = React.useRef(null);
|
|
20
|
-
const loadedCloudsRef = React.useRef(/* @__PURE__ */ new Map());
|
|
21
|
-
const pendingIdsRef = React.useRef(/* @__PURE__ */ new Set());
|
|
22
|
-
const cameraRestoredRef = React.useRef(false);
|
|
23
|
-
const { state: pointCloudState, dispatch: pointCloudDispatch } = React.useContext(PointCloudContext);
|
|
24
|
-
const PointCloudGlobalState = pointCloudState.pointcloud;
|
|
25
|
-
const { state: buildingState } = React.useContext(BuildingsContext);
|
|
26
|
-
const { building } = buildingState.buildings;
|
|
27
|
-
const searchParams = useSearchParams();
|
|
28
|
-
const { files, isError: filesError } = useFilesByBuildingId(building == null ? void 0 : building.id);
|
|
29
|
-
const hasPointCloudFiles = React.useMemo(
|
|
30
|
-
() => !filesError && files.some((file) => {
|
|
31
|
-
var _a;
|
|
32
|
-
const ext = (_a = file.extension) == null ? void 0 : _a.toLowerCase();
|
|
33
|
-
if (!ext) return false;
|
|
34
|
-
return ext === "laz" || ext === "las";
|
|
35
|
-
}),
|
|
36
|
-
[files, filesError]
|
|
37
|
-
);
|
|
38
|
-
React.useEffect(() => {
|
|
39
|
-
(async () => {
|
|
40
|
-
try {
|
|
41
|
-
await loadAllAssets();
|
|
42
|
-
pointCloudDispatch({ type: "SET_READY", payload: { ready: true } });
|
|
43
|
-
} catch (err) {
|
|
44
|
-
console.error("PointCloudViewer - Failed to load assets", err);
|
|
45
|
-
}
|
|
46
|
-
})();
|
|
47
|
-
}, []);
|
|
48
|
-
React.useEffect(() => {
|
|
49
|
-
if (!PointCloudGlobalState.ready || !containerRef.current || !(window == null ? void 0 : window.Potree)) return;
|
|
50
|
-
const Potree = window.Potree;
|
|
51
|
-
const el = containerRef.current;
|
|
52
|
-
loadedCloudsRef.current.clear();
|
|
53
|
-
pendingIdsRef.current.clear();
|
|
54
|
-
cameraRestoredRef.current = false;
|
|
55
|
-
const viewer = new Potree.Viewer(el);
|
|
56
|
-
viewerRef.current = viewer;
|
|
57
|
-
viewer.setEDLEnabled(true);
|
|
58
|
-
viewer.setFOV(60);
|
|
59
|
-
viewer.setPointBudget(1e7);
|
|
60
|
-
viewer.loadSettingsFromURL();
|
|
61
|
-
viewer.setBackground("white");
|
|
62
|
-
const gizmo = new ViewportGizmo(viewer);
|
|
63
|
-
gizmoRef.current = gizmo;
|
|
64
|
-
gizmo.enabled = true;
|
|
65
|
-
pointCloudDispatch({
|
|
66
|
-
type: "INIT",
|
|
67
|
-
payload: {
|
|
68
|
-
initialState: {
|
|
69
|
-
ready: true,
|
|
70
|
-
viewer: viewerRef.current
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
return () => {
|
|
75
|
-
var _a, _b, _c;
|
|
76
|
-
try {
|
|
77
|
-
if (gizmoRef.current) {
|
|
78
|
-
gizmoRef.current.dispose();
|
|
79
|
-
gizmoRef.current = null;
|
|
80
|
-
}
|
|
81
|
-
const v = viewerRef.current;
|
|
82
|
-
if (v) {
|
|
83
|
-
v.loop = () => {
|
|
84
|
-
};
|
|
85
|
-
v.update = () => {
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
if ((_a = v == null ? void 0 : v.scene) == null ? void 0 : _a.pointclouds) {
|
|
89
|
-
v.scene.pointclouds.forEach((pc) => {
|
|
90
|
-
var _a2, _b2, _c2, _d, _e;
|
|
91
|
-
(_e = (_b2 = (_a2 = v.scene).removePointCloud) == null ? void 0 : _b2.call(_a2, pc)) != null ? _e : (_d = (_c2 = v.scene.scene) == null ? void 0 : _c2.remove) == null ? void 0 : _d.call(_c2, pc);
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
(_c = (_b = v == null ? void 0 : v.renderer) == null ? void 0 : _b.dispose) == null ? void 0 : _c.call(_b);
|
|
95
|
-
} catch (e) {
|
|
96
|
-
}
|
|
97
|
-
loadedCloudsRef.current.clear();
|
|
98
|
-
pendingIdsRef.current.clear();
|
|
99
|
-
viewerRef.current = null;
|
|
100
|
-
el.innerHTML = "";
|
|
101
|
-
};
|
|
102
|
-
}, [PointCloudGlobalState.ready]);
|
|
103
|
-
React.useEffect(() => {
|
|
104
|
-
var _a, _b;
|
|
105
|
-
const viewer = viewerRef.current;
|
|
106
|
-
if (!PointCloudGlobalState.ready || !viewer) return;
|
|
107
|
-
const Potree = window.Potree;
|
|
108
|
-
if (!Potree) return;
|
|
109
|
-
const currentIds = new Set(PointCloudGlobalState.loadedPointCloudIds);
|
|
110
|
-
const alreadyLoadedIds = new Set(loadedCloudsRef.current.keys());
|
|
111
|
-
for (const id of alreadyLoadedIds) {
|
|
112
|
-
if (!currentIds.has(id)) {
|
|
113
|
-
const pc = loadedCloudsRef.current.get(id);
|
|
114
|
-
if (pc) {
|
|
115
|
-
try {
|
|
116
|
-
const pcs = (_a = viewer.scene.pointclouds) != null ? _a : [];
|
|
117
|
-
const idx = pcs.indexOf(pc);
|
|
118
|
-
if (idx !== -1) pcs.splice(idx, 1);
|
|
119
|
-
(_b = viewer.scene.scene) == null ? void 0 : _b.remove(pc);
|
|
120
|
-
} catch (e) {
|
|
121
|
-
}
|
|
122
|
-
loadedCloudsRef.current.delete(id);
|
|
123
|
-
pendingIdsRef.current.delete(id);
|
|
124
|
-
try {
|
|
125
|
-
viewer.fitToScreen();
|
|
126
|
-
} catch (e) {
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
for (const id of currentIds) {
|
|
132
|
-
if (alreadyLoadedIds.has(id) || pendingIdsRef.current.has(id)) continue;
|
|
133
|
-
pendingIdsRef.current.add(id);
|
|
134
|
-
;
|
|
135
|
-
(async () => {
|
|
136
|
-
try {
|
|
137
|
-
const res = await fetch(`${API_BASE}/point-cloud/${encodeURIComponent(id)}`);
|
|
138
|
-
const data = await res.json();
|
|
139
|
-
const url = `${API_BASE}/private/${data.bucket}/${data.potreeMetadataFileKey}`;
|
|
140
|
-
Potree.loadPointCloud(url, id, (e) => {
|
|
141
|
-
pendingIdsRef.current.delete(id);
|
|
142
|
-
if (viewerRef.current !== viewer) return;
|
|
143
|
-
try {
|
|
144
|
-
viewer.scene.addPointCloud(e.pointcloud);
|
|
145
|
-
loadedCloudsRef.current.set(id, e.pointcloud);
|
|
146
|
-
const mat = e.pointcloud.material;
|
|
147
|
-
mat.size = 1;
|
|
148
|
-
mat.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
|
149
|
-
const restored = !cameraRestoredRef.current && restoreCameraFromUrl(viewer, searchParams);
|
|
150
|
-
cameraRestoredRef.current = true;
|
|
151
|
-
if (!restored) viewer.fitToScreen();
|
|
152
|
-
if (gizmoRef.current) {
|
|
153
|
-
gizmoRef.current.add();
|
|
154
|
-
}
|
|
155
|
-
} catch (err) {
|
|
156
|
-
console.error("[PointCloudViewer] Error adding point cloud", err);
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
} catch (err) {
|
|
160
|
-
pendingIdsRef.current.delete(id);
|
|
161
|
-
console.error("[PointCloudViewer] Error fetching point cloud metadata", err);
|
|
162
|
-
}
|
|
163
|
-
})();
|
|
164
|
-
}
|
|
165
|
-
}, [PointCloudGlobalState.loadedPointCloudIds, PointCloudGlobalState.viewer, PointCloudGlobalState.ready]);
|
|
166
|
-
const { loadedPointCloudIds } = PointCloudGlobalState;
|
|
167
|
-
const hasLoadedClouds = loadedPointCloudIds.length > 0;
|
|
168
|
-
return /* @__PURE__ */ jsxs(
|
|
169
|
-
"div",
|
|
170
|
-
{
|
|
171
|
-
style: {
|
|
172
|
-
position: "absolute",
|
|
173
|
-
left: 0,
|
|
174
|
-
top: 0,
|
|
175
|
-
width: "100%",
|
|
176
|
-
height: "100%",
|
|
177
|
-
// Clip everything the viewer paints. Without this, anything that
|
|
178
|
-
// momentarily exceeds these bounds (see the container below) leaks into
|
|
179
|
-
// the app's `overflow-auto` main element and makes the page scrollable.
|
|
180
|
-
overflow: "hidden"
|
|
181
|
-
},
|
|
182
|
-
children: [
|
|
183
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
184
|
-
/* @__PURE__ */ jsx(
|
|
185
|
-
"div",
|
|
186
|
-
{
|
|
187
|
-
className: `pointer-events-none absolute inset-0 `,
|
|
188
|
-
style: {
|
|
189
|
-
zIndex: 9,
|
|
190
|
-
background: "radial-gradient(circle at center, rgba(220,220,220,0) 0%, rgba(220,220,220,0) 50%, rgba(220,220,220,0.9) 100%)",
|
|
191
|
-
mixBlendMode: "multiply"
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
),
|
|
195
|
-
/* @__PURE__ */ jsx(
|
|
196
|
-
"div",
|
|
197
|
-
{
|
|
198
|
-
ref: containerRef,
|
|
199
|
-
className: "potree_container",
|
|
200
|
-
style: {
|
|
201
|
-
position: "absolute",
|
|
202
|
-
inset: 0,
|
|
203
|
-
backgroundSize: "cover",
|
|
204
|
-
// Potree sizes its canvas from renderArea.clientWidth/Height inside its
|
|
205
|
-
// own render loop, so the canvas trails the container by a frame. On
|
|
206
|
-
// mobile the visible viewport keeps changing as the browser toolbar
|
|
207
|
-
// slides, so the stale (larger) absolutely positioned canvas escaped
|
|
208
|
-
// this container, made the page scrollable, which slid the toolbar
|
|
209
|
-
// again — an endless scroll/shake loop. Upstream avoids it via
|
|
210
|
-
// `#potree_render_area { overflow: hidden }`, but we never load
|
|
211
|
-
// potree.css (see loadAllAssets), so clip it here.
|
|
212
|
-
overflow: "hidden",
|
|
213
|
-
// Touch drags belong to the camera, not to the page scroller.
|
|
214
|
-
touchAction: "none",
|
|
215
|
-
overscrollBehavior: "none"
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
)
|
|
219
|
-
] }),
|
|
220
|
-
!hasPointCloudFiles && !hasLoadedClouds && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-y-auto overscroll-contain", style: { zIndex: 10 }, children: /* @__PURE__ */ jsx(PointCloudLoadingState, { pointcloudApiUrl }) })
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
);
|
|
224
|
-
}
|
|
225
|
-
export {
|
|
226
|
-
PointCloudViewer
|
|
227
|
-
};
|
|
228
|
-
//# sourceMappingURL=PointCloudViewer.js.map
|