@collabdt/core 0.11.1 → 0.11.2
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/ConfirmDialog.d.ts +8 -1
- package/dist/core/components/ConfirmDialog.d.ts.map +1 -1
- package/dist/core/components/ConfirmDialog.js +20 -13
- package/dist/core/components/ConfirmDialog.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/MarkerProgressRing.d.ts +16 -4
- package/dist/core/components/ui/FilesManager/src/MarkerProgressRing.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/MarkerProgressRing.js +53 -11
- package/dist/core/components/ui/FilesManager/src/MarkerProgressRing.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/PlacementActionsCard.d.ts +4 -4
- package/dist/core/components/ui/FilesManager/src/PlacementActionsCard.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/PlacementActionsCard.js +10 -4
- package/dist/core/components/ui/FilesManager/src/PlacementActionsCard.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/fileType.d.ts +9 -0
- package/dist/core/components/ui/FilesManager/src/fileType.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/fileType.js +17 -0
- package/dist/core/components/ui/FilesManager/src/fileType.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/uploadFiling.d.ts +10 -0
- package/dist/core/components/ui/FilesManager/src/uploadFiling.d.ts.map +1 -0
- package/dist/core/components/ui/FilesManager/src/uploadFiling.js +13 -0
- package/dist/core/components/ui/FilesManager/src/uploadFiling.js.map +1 -0
- package/dist/core/components/ui/FilesManager/src/useFileUploadHandler.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/useFileUploadHandler.js +9 -7
- package/dist/core/components/ui/FilesManager/src/useFileUploadHandler.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/useFileUploadWithProgress.d.ts +7 -1
- package/dist/core/components/ui/FilesManager/src/useFileUploadWithProgress.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/useFileUploadWithProgress.js +31 -51
- package/dist/core/components/ui/FilesManager/src/useFileUploadWithProgress.js.map +1 -1
- package/dist/core/components/ui/uploadFile.d.ts +10 -3
- 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/Data/files/FilePreview.d.ts.map +1 -1
- package/dist/core/components/viewers/Data/files/FilePreview.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/BimSection.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/BimSection.js +2 -2
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/BimSection.js.map +1 -1
- 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 +3 -2
- 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.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/ModelsSection.js +2 -2
- 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.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/PointCloudsSection.js +2 -1
- 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/partitionFileTab.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/partitionFileTab.js +2 -8
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/partitionFileTab.js.map +1 -1
- package/dist/core/components/viewers/bim/src/ModelManager/modelAnimation.d.ts +1 -15
- package/dist/core/components/viewers/bim/src/ModelManager/modelAnimation.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/ModelManager/modelAnimation.js +1 -49
- package/dist/core/components/viewers/bim/src/ModelManager/modelAnimation.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/AnimationPanel.d.ts +1 -14
- package/dist/core/components/viewers/bim/src/Placement/AnimationPanel.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/AnimationPanel.js +1 -91
- package/dist/core/components/viewers/bim/src/Placement/AnimationPanel.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/NumberField.d.ts +1 -16
- package/dist/core/components/viewers/bim/src/Placement/NumberField.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/NumberField.js +1 -39
- package/dist/core/components/viewers/bim/src/Placement/NumberField.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/PlacementEditor.d.ts +9 -51
- package/dist/core/components/viewers/bim/src/Placement/PlacementEditor.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/PlacementEditor.js +32 -224
- package/dist/core/components/viewers/bim/src/Placement/PlacementEditor.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/PlacementEditorHost.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/PlacementEditorHost.js +2 -1
- package/dist/core/components/viewers/bim/src/Placement/PlacementEditorHost.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/PlacementPanel.d.ts +1 -26
- package/dist/core/components/viewers/bim/src/Placement/PlacementPanel.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/PlacementPanel.js +1 -224
- package/dist/core/components/viewers/bim/src/Placement/PlacementPanel.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/contextMenuGesture.d.ts +1 -26
- package/dist/core/components/viewers/bim/src/Placement/contextMenuGesture.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/contextMenuGesture.js +1 -43
- package/dist/core/components/viewers/bim/src/Placement/contextMenuGesture.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/markerActions.d.ts +1 -10
- package/dist/core/components/viewers/bim/src/Placement/markerActions.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/markerActions.js +1 -10
- package/dist/core/components/viewers/bim/src/Placement/markerActions.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementAxes.d.ts +1 -4
- package/dist/core/components/viewers/bim/src/Placement/placementAxes.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementAxes.js +1 -10
- package/dist/core/components/viewers/bim/src/Placement/placementAxes.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.d.ts +1 -9
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.js +1 -11
- package/dist/core/components/viewers/bim/src/Placement/placementCapabilities.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementTarget.d.ts +1 -26
- package/dist/core/components/viewers/bim/src/Placement/placementTarget.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementTarget.js +1 -18
- package/dist/core/components/viewers/bim/src/Placement/placementTarget.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementToastMessage.d.ts +1 -8
- package/dist/core/components/viewers/bim/src/Placement/placementToastMessage.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/placementToastMessage.js +1 -13
- package/dist/core/components/viewers/bim/src/Placement/placementToastMessage.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/targets/objectTarget.d.ts +1 -16
- package/dist/core/components/viewers/bim/src/Placement/targets/objectTarget.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/targets/objectTarget.js +1 -69
- package/dist/core/components/viewers/bim/src/Placement/targets/objectTarget.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/uniformScale.d.ts +1 -5
- package/dist/core/components/viewers/bim/src/Placement/uniformScale.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/uniformScale.js +1 -8
- package/dist/core/components/viewers/bim/src/Placement/uniformScale.js.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/usePlacementSession.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/Placement/usePlacementSession.js +6 -15
- package/dist/core/components/viewers/bim/src/Placement/usePlacementSession.js.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudPlacementStore.d.ts +1 -8
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudPlacementStore.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudPlacementStore.js +1 -39
- package/dist/core/components/viewers/bim/src/PointClouds/pointCloudPlacementStore.js.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.d.ts +4 -4
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.js +12 -97
- package/dist/core/components/viewers/bim/src/lib/useBimFileIntake.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.js +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.js.map +1 -1
- package/dist/core/components/viewers/bim/utils/GizmoController.d.ts +3 -19
- package/dist/core/components/viewers/bim/utils/GizmoController.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/utils/GizmoController.js +18 -102
- package/dist/core/components/viewers/bim/utils/GizmoController.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 +27 -15
- package/dist/core/components/viewers/map/src/MapFeaturePopoverMenu/src/DatabaseBuildingPopover/src/BuildingsTools.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/BimLayer/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/BimLayer/index.js +154 -84
- package/dist/core/components/viewers/map/src/MapLayers/src/BimLayer/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/BuildingLayers/buildingGeometry.d.ts +9 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/BuildingLayers/buildingGeometry.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/BuildingLayers/buildingGeometry.js +42 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/BuildingLayers/buildingGeometry.js.map +1 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/FileModelLayer/FileModelLayer.d.ts +6 -4
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/FileModelLayer/FileModelLayer.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/FileModelLayer/FileModelLayer.js +11 -10
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/FileModelLayer/FileModelLayer.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/FileIcon.d.ts +1 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/FileIcon.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/FileIcon.js +5 -98
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/FileIcon.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/MapFileMarker.d.ts +3 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/MapFileMarker.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/MapFileMarker.js +11 -5
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/components/MapFileMarker.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/index.js +113 -36
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/utils/CustomModelLayer.d.ts +15 -3
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/utils/CustomModelLayer.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/utils/CustomModelLayer.js +52 -30
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/utils/CustomModelLayer.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/PlaceOnMap.d.ts +5 -4
- package/dist/core/components/viewers/map/src/MapLayers/src/PlaceOnMap.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/PlaceOnMap.js +33 -15
- package/dist/core/components/viewers/map/src/MapLayers/src/PlaceOnMap.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/index.js +99 -16
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/FilesSection.d.ts +10 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/FilesSection.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/FilesSection.js +23 -22
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/FilesSection.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/ModelsSection.d.ts +3 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/ModelsSection.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/ModelsSection.js +25 -22
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/ModelsSection.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/orderMapFileSections.d.ts +4 -0
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/orderMapFileSections.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/orderMapFileSections.js +7 -0
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/orderMapFileSections.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/MapGizmoLayer.d.ts +22 -0
- package/dist/core/components/viewers/map/src/Placement/MapGizmoLayer.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/MapGizmoLayer.js +70 -0
- package/dist/core/components/viewers/map/src/Placement/MapGizmoLayer.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementHost.d.ts +17 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementHost.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementHost.js +133 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementHost.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementMenu.d.ts +16 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementMenu.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementMenu.js +30 -0
- package/dist/core/components/viewers/map/src/Placement/MapPlacementMenu.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapDomGizmo.d.ts +12 -0
- package/dist/core/components/viewers/map/src/Placement/mapDomGizmo.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapDomGizmo.js +32 -0
- package/dist/core/components/viewers/map/src/Placement/mapDomGizmo.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapGizmoCamera.d.ts +14 -0
- package/dist/core/components/viewers/map/src/Placement/mapGizmoCamera.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapGizmoCamera.js +86 -0
- package/dist/core/components/viewers/map/src/Placement/mapGizmoCamera.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementGeo.d.ts +33 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementGeo.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementGeo.js +54 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementGeo.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementTarget.d.ts +41 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementTarget.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementTarget.js +104 -0
- package/dist/core/components/viewers/map/src/Placement/mapPlacementTarget.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/resolveClickPlacement.d.ts +24 -0
- package/dist/core/components/viewers/map/src/Placement/resolveClickPlacement.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/resolveClickPlacement.js +22 -0
- package/dist/core/components/viewers/map/src/Placement/resolveClickPlacement.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useBuildingLinkConfirm.d.ts +9 -0
- package/dist/core/components/viewers/map/src/Placement/useBuildingLinkConfirm.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useBuildingLinkConfirm.js +50 -0
- package/dist/core/components/viewers/map/src/Placement/useBuildingLinkConfirm.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useMapContextMenu.d.ts +18 -0
- package/dist/core/components/viewers/map/src/Placement/useMapContextMenu.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useMapContextMenu.js +40 -0
- package/dist/core/components/viewers/map/src/Placement/useMapContextMenu.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementSession.d.ts +30 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementSession.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementSession.js +37 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementSession.js.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementTarget.d.ts +17 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementTarget.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementTarget.js +42 -0
- package/dist/core/components/viewers/map/src/Placement/useMapPlacementTarget.js.map +1 -0
- package/dist/core/components/viewers/map/src/tools/AddTools/AddFile/FileAdder.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/tools/AddTools/AddFile/FileAdder.js +89 -79
- package/dist/core/components/viewers/map/src/tools/AddTools/AddFile/FileAdder.js.map +1 -1
- package/dist/core/components/viewers/map/src/tools/AddTools/AddSite/SiteAdder.js.map +1 -1
- package/dist/core/components/viewers/map/src/tools/measureMapTool.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/tools/measureMapTool.js.map +1 -1
- package/dist/core/components/viewers/map/utils/MapEventManager/MapClickManager.d.ts +4 -0
- package/dist/core/components/viewers/map/utils/MapEventManager/MapClickManager.d.ts.map +1 -1
- package/dist/core/components/viewers/map/utils/MapEventManager/MapClickManager.js +11 -1
- package/dist/core/components/viewers/map/utils/MapEventManager/MapClickManager.js.map +1 -1
- package/dist/core/components/viewers/map/utils/addFileToMap.d.ts +18 -0
- package/dist/core/components/viewers/map/utils/addFileToMap.d.ts.map +1 -0
- package/dist/core/components/viewers/map/utils/addFileToMap.js +13 -0
- package/dist/core/components/viewers/map/utils/addFileToMap.js.map +1 -0
- package/dist/core/components/viewers/map/utils/layerRaycast.d.ts +20 -0
- package/dist/core/components/viewers/map/utils/layerRaycast.d.ts.map +1 -0
- package/dist/core/components/viewers/map/utils/layerRaycast.js +26 -0
- package/dist/core/components/viewers/map/utils/layerRaycast.js.map +1 -0
- package/dist/core/components/viewers/map/utils/toggleBimToMap.d.ts +1 -0
- package/dist/core/components/viewers/map/utils/toggleBimToMap.d.ts.map +1 -1
- package/dist/core/components/viewers/map/utils/toggleBimToMap.js +0 -1
- package/dist/core/components/viewers/map/utils/toggleBimToMap.js.map +1 -1
- package/dist/core/components/viewers/shared/intake/useFileIntake.d.ts +36 -0
- package/dist/core/components/viewers/shared/intake/useFileIntake.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/intake/useFileIntake.js +119 -0
- package/dist/core/components/viewers/shared/intake/useFileIntake.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/AnimationPanel.d.ts +15 -0
- package/dist/core/components/viewers/shared/placement/AnimationPanel.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/AnimationPanel.js +92 -0
- package/dist/core/components/viewers/shared/placement/AnimationPanel.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/NumberField.d.ts +17 -0
- package/dist/core/components/viewers/shared/placement/NumberField.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/NumberField.js +40 -0
- package/dist/core/components/viewers/shared/placement/NumberField.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/PlacementPanel.d.ts +33 -0
- package/dist/core/components/viewers/shared/placement/PlacementPanel.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/PlacementPanel.js +252 -0
- package/dist/core/components/viewers/shared/placement/PlacementPanel.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/contextMenuGesture.d.ts +27 -0
- package/dist/core/components/viewers/shared/placement/contextMenuGesture.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/contextMenuGesture.js +44 -0
- package/dist/core/components/viewers/shared/placement/contextMenuGesture.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/markerActions.d.ts +11 -0
- package/dist/core/components/viewers/shared/placement/markerActions.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/markerActions.js +11 -0
- package/dist/core/components/viewers/shared/placement/markerActions.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/modelAnimation.d.ts +19 -0
- package/dist/core/components/viewers/shared/placement/modelAnimation.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/modelAnimation.js +60 -0
- package/dist/core/components/viewers/shared/placement/modelAnimation.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/objectTarget.d.ts +17 -0
- package/dist/core/components/viewers/shared/placement/objectTarget.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/objectTarget.js +70 -0
- package/dist/core/components/viewers/shared/placement/objectTarget.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementAxes.d.ts +5 -0
- package/dist/core/components/viewers/shared/placement/placementAxes.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementAxes.js +11 -0
- package/dist/core/components/viewers/shared/placement/placementAxes.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementCapabilities.d.ts +10 -0
- package/dist/core/components/viewers/shared/placement/placementCapabilities.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementCapabilities.js +12 -0
- package/dist/core/components/viewers/shared/placement/placementCapabilities.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementCore.d.ts +92 -0
- package/dist/core/components/viewers/shared/placement/placementCore.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementCore.js +268 -0
- package/dist/core/components/viewers/shared/placement/placementCore.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementEvent.d.ts +9 -0
- package/dist/core/components/viewers/shared/placement/placementEvent.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementEvent.js +21 -0
- package/dist/core/components/viewers/shared/placement/placementEvent.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementTarget.d.ts +30 -0
- package/dist/core/components/viewers/shared/placement/placementTarget.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementTarget.js +19 -0
- package/dist/core/components/viewers/shared/placement/placementTarget.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementToastMessage.d.ts +9 -0
- package/dist/core/components/viewers/shared/placement/placementToastMessage.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/placementToastMessage.js +14 -0
- package/dist/core/components/viewers/shared/placement/placementToastMessage.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/rotationRings.d.ts +8 -0
- package/dist/core/components/viewers/shared/placement/rotationRings.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/rotationRings.js +21 -0
- package/dist/core/components/viewers/shared/placement/rotationRings.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/transformGizmo.d.ts +33 -0
- package/dist/core/components/viewers/shared/placement/transformGizmo.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/transformGizmo.js +112 -0
- package/dist/core/components/viewers/shared/placement/transformGizmo.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/uniformScale.d.ts +6 -0
- package/dist/core/components/viewers/shared/placement/uniformScale.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/uniformScale.js +9 -0
- package/dist/core/components/viewers/shared/placement/uniformScale.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/usePlacementCommitToasts.d.ts +5 -0
- package/dist/core/components/viewers/shared/placement/usePlacementCommitToasts.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/usePlacementCommitToasts.js +27 -0
- package/dist/core/components/viewers/shared/placement/usePlacementCommitToasts.js.map +1 -0
- package/dist/core/components/viewers/shared/placement/usePlacementState.d.ts +21 -0
- package/dist/core/components/viewers/shared/placement/usePlacementState.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/placement/usePlacementState.js +24 -0
- package/dist/core/components/viewers/shared/placement/usePlacementState.js.map +1 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudPlacementStore.d.ts +9 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudPlacementStore.d.ts.map +1 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudPlacementStore.js +40 -0
- package/dist/core/components/viewers/shared/pointcloud/pointCloudPlacementStore.js.map +1 -0
- package/dist/core/i18n/messages/en.json +16 -30
- package/dist/core/i18n/messages/es.json +16 -30
- package/dist/core/i18n/messages/fr.json +16 -30
- package/dist/core/store/BIM/context.js +2 -2
- package/dist/core/store/BIM/context.js.map +1 -1
- package/dist/core/store/BIM/reducer.d.ts +6 -6
- package/dist/core/store/BIM/reducer.d.ts.map +1 -1
- package/dist/core/store/BIM/reducer.js +4 -4
- package/dist/core/store/BIM/reducer.js.map +1 -1
- package/dist/core/types/dbTypes.d.ts +6 -0
- package/dist/core/types/dbTypes.d.ts.map +1 -1
- package/dist/core/types/dbTypes.js.map +1 -1
- package/dist/core/utils/fileIconsUtils.d.ts +13 -0
- package/dist/core/utils/fileIconsUtils.d.ts.map +1 -0
- package/dist/core/utils/fileIconsUtils.js +89 -0
- package/dist/core/utils/fileIconsUtils.js.map +1 -0
- package/dist/core/utils/getFileIcon.d.ts +3 -2
- package/dist/core/utils/getFileIcon.d.ts.map +1 -1
- package/dist/core/utils/getFileIcon.js +2 -52
- package/dist/core/utils/getFileIcon.js.map +1 -1
- package/dist/core/utils/uniqueFileName.d.ts +1 -1
- package/dist/core/utils/uniqueFileName.d.ts.map +1 -1
- package/dist/core/utils/uniqueFileName.js.map +1 -1
- package/package.json +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/EditPosition.d.ts +0 -52
- package/dist/core/components/viewers/map/src/MapLayers/src/EditPosition.d.ts.map +0 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/EditPosition.js +0 -361
- package/dist/core/components/viewers/map/src/MapLayers/src/EditPosition.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', 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,8BAAA,UAAO;AAA7F,SAAAA;AAAA,GAAA;AACL,IAAK,uBAAL,kBAAKC,0BAAL;AAA4B,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,6BAA0B;AAA2B,EAAAA,sBAAA,+BAA4B;AAA6B,EAAAA,sBAAA,kBAAe;AAAgB,EAAAA,sBAAA,wBAAqB;AAAsB,EAAAA,sBAAA,0BAAuB;AAAwB,EAAAA,sBAAA,oBAAi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AL,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\n/** A drawn building outline: a WGS84 GeoJSON Polygon, outer ring first, each ring closed. */\nexport interface BuildingGeometry {\n type: 'Polygon'\n coordinates: [number, number][][]\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 buildingGeometry?: BuildingGeometry | 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,8BAAA,UAAO;AAA7F,S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,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"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type FileIconComponent = React.ComponentType<{
|
|
2
|
+
size?: number;
|
|
3
|
+
className?: string;
|
|
4
|
+
}>;
|
|
5
|
+
/** Whatever is known about a file: a stored row, or just what a picked file announced. */
|
|
6
|
+
export interface FileIconSubject {
|
|
7
|
+
extension?: string | null;
|
|
8
|
+
mimeType?: string | null;
|
|
9
|
+
type?: string | null;
|
|
10
|
+
}
|
|
11
|
+
/** The one icon a file gets, wherever it is drawn: a marker, a row, a menu or a card. */
|
|
12
|
+
export declare function iconForFile(subject: FileIconSubject): FileIconComponent;
|
|
13
|
+
//# sourceMappingURL=fileIconsUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileIconsUtils.d.ts","sourceRoot":"","sources":["../../../src/core/utils/fileIconsUtils.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA;AAE1F,0FAA0F;AAC1F,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAiDD,yFAAyF;AACzF,wBAAgB,WAAW,CAAC,OAAO,EAAE,eAAe,GAAG,iBAAiB,CAevE"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as LR from "lucide-react";
|
|
2
|
+
import { typeOfRecord } from "../components/ui/FilesManager/src/fileType";
|
|
3
|
+
import { BcfIcon, IdsIcon, IfcIcon } from "../components/ui/Icons/";
|
|
4
|
+
const BY_KIND = {
|
|
5
|
+
"bim-file": IfcIcon,
|
|
6
|
+
"point-cloud-file": LR.Grip,
|
|
7
|
+
"splat-file": LR.Sparkles,
|
|
8
|
+
"cad-file": LR.DraftingCompass,
|
|
9
|
+
"3d-file": LR.FileAxis3d
|
|
10
|
+
};
|
|
11
|
+
const BY_EXTENSION = {
|
|
12
|
+
ifc: IfcIcon,
|
|
13
|
+
frag: IfcIcon,
|
|
14
|
+
ids: IdsIcon,
|
|
15
|
+
bcf: BcfIcon,
|
|
16
|
+
doc: LR.FileText,
|
|
17
|
+
docx: LR.FileText,
|
|
18
|
+
rtf: LR.FileText,
|
|
19
|
+
txt: LR.FileText,
|
|
20
|
+
md: LR.FileText,
|
|
21
|
+
pdf: LR.FileText,
|
|
22
|
+
xls: LR.FileSpreadsheet,
|
|
23
|
+
xlsx: LR.FileSpreadsheet,
|
|
24
|
+
csv: LR.FileSpreadsheet,
|
|
25
|
+
dbf: LR.FileSpreadsheet,
|
|
26
|
+
ppt: LR.Presentation,
|
|
27
|
+
pptx: LR.Presentation,
|
|
28
|
+
zip: LR.Archive,
|
|
29
|
+
rar: LR.Archive,
|
|
30
|
+
"7z": LR.Archive,
|
|
31
|
+
jpg: LR.Image,
|
|
32
|
+
jpeg: LR.Image,
|
|
33
|
+
png: LR.Image,
|
|
34
|
+
gif: LR.Image,
|
|
35
|
+
bmp: LR.Image,
|
|
36
|
+
svg: LR.Image,
|
|
37
|
+
webp: LR.Image,
|
|
38
|
+
mp4: LR.Video,
|
|
39
|
+
webm: LR.Video,
|
|
40
|
+
mov: LR.Video,
|
|
41
|
+
avi: LR.Video,
|
|
42
|
+
mkv: LR.Video,
|
|
43
|
+
mp3: LR.Music,
|
|
44
|
+
wav: LR.Music,
|
|
45
|
+
ogg: LR.Music,
|
|
46
|
+
m4a: LR.Music,
|
|
47
|
+
flac: LR.Music,
|
|
48
|
+
shp: LR.Map,
|
|
49
|
+
shx: LR.Map,
|
|
50
|
+
prj: LR.Map,
|
|
51
|
+
cpg: LR.Map,
|
|
52
|
+
geojson: LR.Map,
|
|
53
|
+
h2k: LR.Zap,
|
|
54
|
+
glb: LR.FileAxis3d,
|
|
55
|
+
gltf: LR.FileAxis3d,
|
|
56
|
+
fbx: LR.FileAxis3d,
|
|
57
|
+
obj: LR.FileAxis3d,
|
|
58
|
+
dae: LR.FileAxis3d,
|
|
59
|
+
las: LR.Grip,
|
|
60
|
+
laz: LR.Grip,
|
|
61
|
+
e57: LR.Grip,
|
|
62
|
+
ply: LR.Sparkles,
|
|
63
|
+
spl: LR.Sparkles,
|
|
64
|
+
splat: LR.Sparkles,
|
|
65
|
+
ksplat: LR.Sparkles,
|
|
66
|
+
sog: LR.Sparkles
|
|
67
|
+
};
|
|
68
|
+
const BY_MIME_FAMILY = [
|
|
69
|
+
["image/", LR.Image],
|
|
70
|
+
["video/", LR.Video],
|
|
71
|
+
["audio/", LR.Music],
|
|
72
|
+
["application/pdf", LR.FileText]
|
|
73
|
+
];
|
|
74
|
+
function iconForFile(subject) {
|
|
75
|
+
var _a, _b, _c, _d;
|
|
76
|
+
const extension = (_a = subject.extension) == null ? void 0 : _a.toLowerCase();
|
|
77
|
+
const sidecar = extension ? BY_EXTENSION[extension] : void 0;
|
|
78
|
+
if (sidecar === IdsIcon || sidecar === BcfIcon) return sidecar;
|
|
79
|
+
const byKind = BY_KIND[typeOfRecord(subject)];
|
|
80
|
+
if (byKind) return byKind;
|
|
81
|
+
if (sidecar) return sidecar;
|
|
82
|
+
const mimeType = (_c = (_b = subject.mimeType) == null ? void 0 : _b.toLowerCase()) != null ? _c : "";
|
|
83
|
+
const family = BY_MIME_FAMILY.find(([prefix]) => mimeType.startsWith(prefix));
|
|
84
|
+
return (_d = family == null ? void 0 : family[1]) != null ? _d : LR.File;
|
|
85
|
+
}
|
|
86
|
+
export {
|
|
87
|
+
iconForFile
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=fileIconsUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/core/utils/fileIconsUtils.ts"],"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 { BcfIcon, IdsIcon, IfcIcon } from '../components/ui/Icons/'\n\nimport type { FileType } from '../components/ui/FilesManager/src/fileType'\nimport type { DbFile } from '../types/dbTypes'\n\nexport type FileIconComponent = React.ComponentType<{ size?: number, className?: string }>\n\n/** Whatever is known about a file: a stored row, or just what a picked file announced. */\nexport interface FileIconSubject {\n extension?: string | null\n mimeType?: string | null\n type?: string | null\n}\n\n/** Kinds no extension alone can settle, such as a point cloud that converted to a directory. */\nconst BY_KIND: Partial<Record<FileType, FileIconComponent>> = {\n 'bim-file': IfcIcon,\n 'point-cloud-file': LR.Grip,\n 'splat-file': LR.Sparkles,\n 'cad-file': LR.DraftingCompass,\n '3d-file': LR.FileAxis3d,\n}\n\nconst BY_EXTENSION: Record<string, FileIconComponent> = {\n\n ifc: IfcIcon, frag: IfcIcon,\n ids: IdsIcon,\n bcf: BcfIcon,\n\n doc: LR.FileText, docx: LR.FileText, rtf: LR.FileText, txt: LR.FileText, md: LR.FileText, pdf: LR.FileText,\n\n xls: LR.FileSpreadsheet, xlsx: LR.FileSpreadsheet, csv: LR.FileSpreadsheet, dbf: LR.FileSpreadsheet,\n\n ppt: LR.Presentation, pptx: LR.Presentation,\n\n zip: LR.Archive, rar: LR.Archive, '7z': LR.Archive,\n\n jpg: LR.Image, jpeg: LR.Image, png: LR.Image, gif: LR.Image, bmp: LR.Image, svg: LR.Image, webp: LR.Image,\n\n mp4: LR.Video, webm: LR.Video, mov: LR.Video, avi: LR.Video, mkv: LR.Video,\n\n mp3: LR.Music, wav: LR.Music, ogg: LR.Music, m4a: LR.Music, flac: LR.Music,\n\n shp: LR.Map, shx: LR.Map, prj: LR.Map, cpg: LR.Map, geojson: LR.Map,\n\n h2k: LR.Zap,\n\n glb: LR.FileAxis3d, gltf: LR.FileAxis3d, fbx: LR.FileAxis3d, obj: LR.FileAxis3d, dae: LR.FileAxis3d,\n\n las: LR.Grip, laz: LR.Grip, e57: LR.Grip,\n\n ply: LR.Sparkles, spl: LR.Sparkles, splat: LR.Sparkles, ksplat: LR.Sparkles, sog: LR.Sparkles\n}\n\nconst BY_MIME_FAMILY: [string, FileIconComponent][] = [\n ['image/', LR.Image],\n ['video/', LR.Video],\n ['audio/', LR.Music],\n ['application/pdf', LR.FileText],\n]\n\n/** The one icon a file gets, wherever it is drawn: a marker, a row, a menu or a card. */\nexport function iconForFile(subject: FileIconSubject): FileIconComponent {\n const extension = subject.extension?.toLowerCase()\n\n const sidecar = extension ? BY_EXTENSION[extension] : undefined\n if (sidecar === IdsIcon || sidecar === BcfIcon) return sidecar\n\n const byKind = BY_KIND[typeOfRecord(subject as DbFile)]\n if (byKind) return byKind\n\n if (sidecar) return sidecar\n\n const mimeType = subject.mimeType?.toLowerCase() ?? ''\n const family = BY_MIME_FAMILY.find(([prefix]) => mimeType.startsWith(prefix))\n\n return family?.[1] ?? LR.File\n}\n"],"mappings":"AAGA,YAAY,QAAQ;AAEpB,SAAS,oBAAoB;AAC7B,SAAS,SAAS,SAAS,eAAe;AAe1C,MAAM,UAAwD;AAAA,EAC5D,YAAY;AAAA,EACZ,oBAAoB,GAAG;AAAA,EACvB,cAAc,GAAG;AAAA,EACjB,YAAY,GAAG;AAAA,EACf,WAAW,GAAG;AAChB;AAEA,MAAM,eAAkD;AAAA,EAEtD,KAAK;AAAA,EAAS,MAAM;AAAA,EACpB,KAAK;AAAA,EACL,KAAK;AAAA,EAEL,KAAK,GAAG;AAAA,EAAU,MAAM,GAAG;AAAA,EAAU,KAAK,GAAG;AAAA,EAAU,KAAK,GAAG;AAAA,EAAU,IAAI,GAAG;AAAA,EAAU,KAAK,GAAG;AAAA,EAElG,KAAK,GAAG;AAAA,EAAiB,MAAM,GAAG;AAAA,EAAiB,KAAK,GAAG;AAAA,EAAiB,KAAK,GAAG;AAAA,EAEpF,KAAK,GAAG;AAAA,EAAc,MAAM,GAAG;AAAA,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AI;AACtD,MAAI,YAAY,WAAW,YAAY,QAAS,QAAO;AAEvD,QAAM,SAAS,QAAQ,aAAa,OAAiB,CAAC;AACtD,MAAI,OAAQ,QAAO;AAEnB,MAAI,QAAS,QAAO;AAEpB,QAAM,YAAW,mBAAQ,aAAR,mBAAkB,kBAAlB,YAAmC;AACpD,QAAM,SAAS,eAAe,KAAK,CAAC,CAAC,MAAM,MAAM,SAAS,WAAW,MAAM,CAAC;AAE5E,UAAO,sCAAS,OAAT,YAAe,GAAG;AAC3B;","names":[]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { FileIconComponent } from './fileIconsUtils';
|
|
2
2
|
import type { DbFile } from '../types/dbTypes';
|
|
3
|
-
|
|
3
|
+
/** The icon for a stored file. Kept for callers that hold a whole row; `iconForFile` is the rule. */
|
|
4
|
+
export declare function getFileIcon(file: DbFile): FileIconComponent;
|
|
4
5
|
//# sourceMappingURL=getFileIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileIcon.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getFileIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFileIcon.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getFileIcon.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,qGAAqG;AACrG,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,CAE3D"}
|
|
@@ -1,56 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { typeOfRecord } from "../components/ui/FilesManager/src/fileType";
|
|
3
|
-
import { IfcIcon, IdsIcon, BcfIcon } from "../components/ui/Icons/";
|
|
1
|
+
import { iconForFile } from "./fileIconsUtils";
|
|
4
2
|
function getFileIcon(file) {
|
|
5
|
-
|
|
6
|
-
switch (typeOfRecord(file)) {
|
|
7
|
-
case "bim-file":
|
|
8
|
-
return IfcIcon;
|
|
9
|
-
case "point-cloud-file":
|
|
10
|
-
return LR.Grip;
|
|
11
|
-
case "splat-file":
|
|
12
|
-
return LR.Sparkles;
|
|
13
|
-
case "cad-file":
|
|
14
|
-
return LR.DraftingCompass;
|
|
15
|
-
case "3d-file":
|
|
16
|
-
return LR.Box;
|
|
17
|
-
}
|
|
18
|
-
switch (extension == null ? void 0 : extension.toLowerCase()) {
|
|
19
|
-
case "jpg":
|
|
20
|
-
case "jpeg":
|
|
21
|
-
case "png":
|
|
22
|
-
return LR.Image;
|
|
23
|
-
case "mp4":
|
|
24
|
-
case "mov":
|
|
25
|
-
case "avi":
|
|
26
|
-
return LR.Video;
|
|
27
|
-
case "rvt":
|
|
28
|
-
return LR.Box;
|
|
29
|
-
case "pdf":
|
|
30
|
-
case "doc":
|
|
31
|
-
case "txt":
|
|
32
|
-
case "docx":
|
|
33
|
-
return LR.FileText;
|
|
34
|
-
case "xlsx":
|
|
35
|
-
case "xls":
|
|
36
|
-
case "csv":
|
|
37
|
-
return LR.Table;
|
|
38
|
-
case "ppt":
|
|
39
|
-
case "pptx":
|
|
40
|
-
return LR.Presentation;
|
|
41
|
-
case "zip":
|
|
42
|
-
case "rar":
|
|
43
|
-
return LR.Archive;
|
|
44
|
-
case "mp3":
|
|
45
|
-
case "wav":
|
|
46
|
-
return LR.Music;
|
|
47
|
-
case "ids":
|
|
48
|
-
return IdsIcon;
|
|
49
|
-
case "bcf":
|
|
50
|
-
return BcfIcon;
|
|
51
|
-
default:
|
|
52
|
-
return LR.File;
|
|
53
|
-
}
|
|
3
|
+
return iconForFile(file);
|
|
54
4
|
}
|
|
55
5
|
export {
|
|
56
6
|
getFileIcon
|
|
@@ -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
|
|
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 { iconForFile } from './fileIconsUtils'\n\nimport type { FileIconComponent } from './fileIconsUtils'\nimport type { DbFile } from '../types/dbTypes'\n\n/** The icon for a stored file. Kept for callers that hold a whole row; `iconForFile` is the rule. */\nexport function getFileIcon(file: DbFile): FileIconComponent {\n return iconForFile(file)\n}\n"],"mappings":"AAGA,SAAS,mBAAmB;AAMrB,SAAS,YAAY,MAAiC;AAC3D,SAAO,YAAY,IAAI;AACzB;","names":[]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** Disambiguates a clash as `plan (1).dxf
|
|
1
|
+
/** Disambiguates a clash as `plan (1).dxf`, within the uploader's organization. */
|
|
2
2
|
export declare function uniqueFileName(name: string, existingNames: string[]): string;
|
|
3
3
|
//# sourceMappingURL=uniqueFileName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uniqueFileName.d.ts","sourceRoot":"","sources":["../../../src/core/utils/uniqueFileName.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"uniqueFileName.d.ts","sourceRoot":"","sources":["../../../src/core/utils/uniqueFileName.ts"],"names":[],"mappings":"AAGA,mFAAmF;AACnF,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,MAAM,CAW5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/utils/uniqueFileName.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\n/** Disambiguates a clash as `plan (1).dxf
|
|
1
|
+
{"version":3,"sources":["../../../src/core/utils/uniqueFileName.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n// Copyright (C) 2025 Collab Digital Twins\n\n/** Disambiguates a clash as `plan (1).dxf`, within the uploader's organization. */\nexport function uniqueFileName(name: string, existingNames: string[]): string {\n const taken = new Set(existingNames)\n if (!taken.has(name)) return name\n\n const dot = name.lastIndexOf('.')\n const stem = dot > 0 ? name.slice(0, dot) : name\n const extension = dot > 0 ? name.slice(dot) : ''\n\n let counter = 1\n while (taken.has(`${stem} (${counter})${extension}`)) counter++\n return `${stem} (${counter})${extension}`\n}\n"],"mappings":"AAIO,SAAS,eAAe,MAAc,eAAiC;AAC5E,QAAM,QAAQ,IAAI,IAAI,aAAa;AACnC,MAAI,CAAC,MAAM,IAAI,IAAI,EAAG,QAAO;AAE7B,QAAM,MAAM,KAAK,YAAY,GAAG;AAChC,QAAM,OAAO,MAAM,IAAI,KAAK,MAAM,GAAG,GAAG,IAAI;AAC5C,QAAM,YAAY,MAAM,IAAI,KAAK,MAAM,GAAG,IAAI;AAE9C,MAAI,UAAU;AACd,SAAO,MAAM,IAAI,GAAG,IAAI,KAAK,OAAO,IAAI,SAAS,EAAE,EAAG;AACtD,SAAO,GAAG,IAAI,KAAK,OAAO,IAAI,SAAS;AACzC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { Building, DbFile } from "../../../../../../types/dbTypes";
|
|
3
|
-
/** Extracts position/rotation/elevation from a BIM file, falling back to its building's values. */
|
|
4
|
-
export declare const extractPositionAndRotation: (bimFile: DbFile, building?: Building) => {
|
|
5
|
-
lng: number;
|
|
6
|
-
lat: number;
|
|
7
|
-
rotation: number;
|
|
8
|
-
elevation: number;
|
|
9
|
-
};
|
|
10
|
-
export interface EditPositionProps {
|
|
11
|
-
/** The file whose position is being edited. */
|
|
12
|
-
file: DbFile;
|
|
13
|
-
/** Optional display name override (e.g. building name for BIM models). Defaults to file.name. */
|
|
14
|
-
displayName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* '3d' — shows lat, lng, rotation and elevation (used for BIM / glb / fbx / collada).
|
|
17
|
-
* '2d' — shows only lat and lng (used for PDFs, images, etc.).
|
|
18
|
-
*/
|
|
19
|
-
mode: "3d" | "2d";
|
|
20
|
-
/** Fallback initial latitude (e.g. building latitude) when file.lat is null. */
|
|
21
|
-
initialLat?: number | null;
|
|
22
|
-
/** Fallback initial longitude (e.g. building longitude) when file.lng is null. */
|
|
23
|
-
initialLng?: number | null;
|
|
24
|
-
/** Fallback initial rotation for 3D mode. Defaults to 0. */
|
|
25
|
-
initialRotation?: number;
|
|
26
|
-
/** Fallback initial elevation for 3D mode. Defaults to 0. */
|
|
27
|
-
initialElevation?: number;
|
|
28
|
-
onExitEditMode: () => void;
|
|
29
|
-
/**
|
|
30
|
-
* Ref shared with a parent WebGL layer (e.g. BimLayer) so it can read the dragged position
|
|
31
|
-
* in real-time without waiting for a React re-render. Optional — not needed for 2D files.
|
|
32
|
-
*/
|
|
33
|
-
tempPositionsRef?: React.MutableRefObject<Record<string, {
|
|
34
|
-
lat: number;
|
|
35
|
-
lng: number;
|
|
36
|
-
}>>;
|
|
37
|
-
/** Ref for live rotation updates in the WebGL layer. Optional — 3D mode only. */
|
|
38
|
-
tempRotationsRef?: React.MutableRefObject<Record<string, number>>;
|
|
39
|
-
/** Ref for live elevation updates in the WebGL layer. Optional — 3D mode only. */
|
|
40
|
-
tempElevationsRef?: React.MutableRefObject<Record<string, number>>;
|
|
41
|
-
/** Called whenever temp refs change so the parent map layer can trigger a repaint. */
|
|
42
|
-
onMapRepaint?: () => void;
|
|
43
|
-
/** Called after the position has been successfully saved to the database. */
|
|
44
|
-
onSaveSuccess?: (file: DbFile, lat: number, lng: number, elevation?: number, rotation?: number) => void;
|
|
45
|
-
/**
|
|
46
|
-
* Custom content to render inside the draggable marker.
|
|
47
|
-
* For 2D files this is the file icon card; for 3D / BIM the default blue dot is used.
|
|
48
|
-
*/
|
|
49
|
-
dragHandle?: React.ReactNode;
|
|
50
|
-
}
|
|
51
|
-
export declare const EditPosition: React.FC<EditPositionProps>;
|
|
52
|
-
//# sourceMappingURL=EditPosition.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditPosition.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/components/viewers/map/src/MapLayers/src/EditPosition.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAExE,mGAAmG;AACnG,eAAO,MAAM,0BAA0B,GAAI,SAAS,MAAM,EAAE,WAAW,QAAQ;;;;;CAM9E,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAC9B,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,4DAA4D;IAC5D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAC;IACxF,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClE,kFAAkF;IAClF,iBAAiB,CAAC,EAAE,KAAK,CAAC,gBAAg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