@tak-ps/cloudtak 12.54.0 → 12.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +26 -17
- package/dist/types/plugin.d.ts +0 -99
- package/dist/types/src/App.vue.d.ts +0 -5
- package/dist/types/src/base/chatroom-chats.d.ts +0 -17
- package/dist/types/src/base/chatroom.d.ts +0 -47
- package/dist/types/src/base/cot.d.ts +0 -94
- package/dist/types/src/base/database.d.ts +0 -115
- package/dist/types/src/base/events.d.ts +0 -30
- package/dist/types/src/base/filter.d.ts +0 -41
- package/dist/types/src/base/handler.d.ts +0 -11
- package/dist/types/src/base/icon.d.ts +0 -4
- package/dist/types/src/base/notification.d.ts +0 -37
- package/dist/types/src/base/overlay.d.ts +0 -94
- package/dist/types/src/base/subscription-feature.d.ts +0 -49
- package/dist/types/src/base/subscription-log.d.ts +0 -32
- package/dist/types/src/base/subscription.d.ts +0 -115
- package/dist/types/src/base/utils/styles.d.ts +0 -11
- package/dist/types/src/base/validators.d.ts +0 -9
- package/dist/types/src/components/Admin/AdminImports.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminLayers.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminMissionTemplate.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminMissionTemplateLog.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminMissionTemplates.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminOverlays.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminPalette.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminPaletteFeature.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminPalettes.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminServer.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminTasks.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminUser.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminUsers.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/AdminVideos.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Server/ServerConnection.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Server/ServerInjectorModal.vue.d.ts +0 -11
- package/dist/types/src/components/Admin/Server/ServerInjectors.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Server/ServerPackages.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Server/ServerRepeaters.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Server/ServerVideos.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Tasks/AdminRawTasks.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Videos/AdminVideoLeases.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Videos/AdminVideoService.vue.d.ts +0 -3
- package/dist/types/src/components/Admin/Videos/VideoConfig.vue.d.ts +0 -7
- package/dist/types/src/components/Admin/Videos/VideoConfigPort.vue.d.ts +0 -8
- package/dist/types/src/components/CloudTAK/CoTView.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/CoordInput.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/DrawTools.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/FeatView.vue.d.ts +0 -8
- package/dist/types/src/components/CloudTAK/GeoJSONInput.vue.d.ts +0 -24
- package/dist/types/src/components/CloudTAK/MainMenu.vue.d.ts +0 -9
- package/dist/types/src/components/CloudTAK/MainMenuContents.vue.d.ts +0 -16
- package/dist/types/src/components/CloudTAK/Map.vue.d.ts +0 -8
- package/dist/types/src/components/CloudTAK/MapLoading.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/Debugger.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuBasemaps.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuChannels.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuChats.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuConnections.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuContacts.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuFeatures.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuFeaturesDeleted.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuFiles.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuImport.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuImports.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuItemCard.vue.d.ts +0 -101
- package/dist/types/src/components/CloudTAK/Menu/MenuMission.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuMissions.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuOverlayExplorer.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuOverlays.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuPackage.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuPackages.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuRoutes.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuRoutesNew.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuSettings.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuSettingsCallsign.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuSettingsDisplay.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuVideos.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/MenuVideosRemote.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionContents.vue.d.ts +0 -11
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionCreate.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionInfo.vue.d.ts +0 -11
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionInviteModal.vue.d.ts +0 -17
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionLayerCreate.vue.d.ts +0 -13
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionLayerEdit.vue.d.ts +0 -15
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionLayerTree.vue.d.ts +0 -15
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionLayers.vue.d.ts +0 -8
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionLog.vue.d.ts +0 -9
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionLogs.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionTimeline.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/Menu/Mission/MissionUsers.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/Menu/Mission/PendingInvites.vue.d.ts +0 -11
- package/dist/types/src/components/CloudTAK/Menu/Overlays/TreeMission.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/Menu/Overlays/TreeVector.vue.d.ts +0 -13
- package/dist/types/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue.d.ts +0 -16
- package/dist/types/src/components/CloudTAK/Menu/Videos/VideosRemoteFeed.vue.d.ts +0 -13
- package/dist/types/src/components/CloudTAK/Notifications.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/Query/Magnetic.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/Query/Reverse.vue.d.ts +0 -8
- package/dist/types/src/components/CloudTAK/Query/Sun.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/Query/Weather.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/QueryView.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/RangeInput.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/RangeRingsInput.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/Breadcrumb.vue.d.ts +0 -6
- package/dist/types/src/components/CloudTAK/util/ChannelInfo.vue.d.ts +0 -15
- package/dist/types/src/components/CloudTAK/util/ContactPuck.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/Coordinate.vue.d.ts +0 -67
- package/dist/types/src/components/CloudTAK/util/CoordinateType.vue.d.ts +0 -27
- package/dist/types/src/components/CloudTAK/util/CopyButton.vue.d.ts +0 -32
- package/dist/types/src/components/CloudTAK/util/CopyField.vue.d.ts +0 -122
- package/dist/types/src/components/CloudTAK/util/DrawOverlay.vue.d.ts +0 -3
- package/dist/types/src/components/CloudTAK/util/EmptyInfo.vue.d.ts +0 -24
- package/dist/types/src/components/CloudTAK/util/FeatureIcon.vue.d.ts +0 -23
- package/dist/types/src/components/CloudTAK/util/FeatureRow.vue.d.ts +0 -81
- package/dist/types/src/components/CloudTAK/util/FloatingAttachment.vue.d.ts +0 -17
- package/dist/types/src/components/CloudTAK/util/FloatingVideo.vue.d.ts +0 -27
- package/dist/types/src/components/CloudTAK/util/GroupSelect.vue.d.ts +0 -14
- package/dist/types/src/components/CloudTAK/util/JSONModal.vue.d.ts +0 -27
- package/dist/types/src/components/CloudTAK/util/Keywords.vue.d.ts +0 -6
- package/dist/types/src/components/CloudTAK/util/LineLength.vue.d.ts +0 -24
- package/dist/types/src/components/CloudTAK/util/MenuTemplate.vue.d.ts +0 -71
- package/dist/types/src/components/CloudTAK/util/MultipleSelect.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/NotificationIcon.vue.d.ts +0 -10
- package/dist/types/src/components/CloudTAK/util/NotificationToast.vue.d.ts +0 -13
- package/dist/types/src/components/CloudTAK/util/PolygonArea.vue.d.ts +0 -24
- package/dist/types/src/components/CloudTAK/util/PropertyBattery.vue.d.ts +0 -13
- package/dist/types/src/components/CloudTAK/util/PropertyBearing.vue.d.ts +0 -58
- package/dist/types/src/components/CloudTAK/util/PropertyCreator.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/PropertyDistance.vue.d.ts +0 -54
- package/dist/types/src/components/CloudTAK/util/PropertyElevation.vue.d.ts +0 -32
- package/dist/types/src/components/CloudTAK/util/PropertyEmail.vue.d.ts +0 -13
- package/dist/types/src/components/CloudTAK/util/PropertyLinks.vue.d.ts +0 -14
- package/dist/types/src/components/CloudTAK/util/PropertyMetadata.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/PropertyMilSym.vue.d.ts +0 -25
- package/dist/types/src/components/CloudTAK/util/PropertyPhone.vue.d.ts +0 -13
- package/dist/types/src/components/CloudTAK/util/PropertySpeed.vue.d.ts +0 -23
- package/dist/types/src/components/CloudTAK/util/PropertyStyle.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/PropertyTimes.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/PropertyType.vue.d.ts +0 -27
- package/dist/types/src/components/CloudTAK/util/SearchBox.vue.d.ts +0 -37
- package/dist/types/src/components/CloudTAK/util/SelectFeats.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/SettingsCallsign.vue.d.ts +0 -28
- package/dist/types/src/components/CloudTAK/util/Share.vue.d.ts +0 -14
- package/dist/types/src/components/CloudTAK/util/ShareToMission.vue.d.ts +0 -53
- package/dist/types/src/components/CloudTAK/util/ShareToPackage.vue.d.ts +0 -62
- package/dist/types/src/components/CloudTAK/util/SlideDownHeader.vue.d.ts +0 -41
- package/dist/types/src/components/CloudTAK/util/StandardItem.vue.d.ts +0 -18
- package/dist/types/src/components/CloudTAK/util/Subscriptions.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/VideoLeaseSourceType.vue.d.ts +0 -6
- package/dist/types/src/components/CloudTAK/util/WarnChannels.vue.d.ts +0 -7
- package/dist/types/src/components/CloudTAK/util/WarnConfiguration.vue.d.ts +0 -7
- package/dist/types/src/components/Configure.vue.d.ts +0 -3
- package/dist/types/src/components/ETL/Connection/AgencyBadge.vue.d.ts +0 -8
- package/dist/types/src/components/ETL/Connection/ConnectionFiles.vue.d.ts +0 -3
- package/dist/types/src/components/ETL/Connection/ConnectionTokens.vue.d.ts +0 -3
- package/dist/types/src/components/ETL/Connection/ConnectionVideos.vue.d.ts +0 -3
- package/dist/types/src/components/ETL/Connection/StatusDot.vue.d.ts +0 -13
- package/dist/types/src/components/ETL/Connection/TokenModal.vue.d.ts +0 -16
- package/dist/types/src/components/ETL/Connection.vue.d.ts +0 -3
- package/dist/types/src/components/ETL/ConnectionCard.vue.d.ts +0 -16
- package/dist/types/src/components/ETL/Connections.vue.d.ts +0 -3
- package/dist/types/src/components/ETL/Data.vue.d.ts +0 -3
- package/dist/types/src/components/ETL/Layer/LayerIncomingConfig.vue.d.ts +0 -27
- package/dist/types/src/components/ETL/Layer/LayerOutgoingConfig.vue.d.ts +0 -27
- package/dist/types/src/components/ETL/Layer/utils/QueryInput.vue.d.ts +0 -56
- package/dist/types/src/components/ETL/Layer/utils/StatusDot.vue.d.ts +0 -7
- package/dist/types/src/components/ETL/Layer.vue.d.ts +0 -3
- package/dist/types/src/components/Home.vue.d.ts +0 -13
- package/dist/types/src/components/Loading.vue.d.ts +0 -3
- package/dist/types/src/components/Login.vue.d.ts +0 -7
- package/dist/types/src/components/LostUser.vue.d.ts +0 -3
- package/dist/types/src/components/PageFooter.vue.d.ts +0 -3
- package/dist/types/src/components/ServerAdmin.vue.d.ts +0 -3
- package/dist/types/src/components/VideoWall/Main.vue.d.ts +0 -3
- package/dist/types/src/components/VideoWall.vue.d.ts +0 -13
- package/dist/types/src/components/util/GroupSelect.vue.d.ts +0 -14
- package/dist/types/src/components/util/InitialAuthor.vue.d.ts +0 -6
- package/dist/types/src/components/util/StatusDot.vue.d.ts +0 -8
- package/dist/types/src/components/util/Upload.vue.d.ts +0 -46
- package/dist/types/src/components/util/UploadLogo.vue.d.ts +0 -14
- package/dist/types/src/main.d.ts +0 -1
- package/dist/types/src/pages/admin/main.d.ts +0 -1
- package/dist/types/src/pages/connection/main.d.ts +0 -1
- package/dist/types/src/pages/docs/App.vue.d.ts +0 -4
- package/dist/types/src/pages/docs/main.d.ts +0 -1
- package/dist/types/src/pages/video/main.d.ts +0 -1
- package/dist/types/src/std.d.ts +0 -19
- package/dist/types/src/stores/brand.d.ts +0 -7
- package/dist/types/src/stores/float.d.ts +0 -42
- package/dist/types/src/stores/map.d.ts +0 -115
- package/dist/types/src/stores/modules/draw.d.ts +0 -35
- package/dist/types/src/stores/modules/icons.d.ts +0 -38
- package/dist/types/src/stores/modules/menu.d.ts +0 -34
- package/dist/types/src/test/setup.d.ts +0 -1
- package/dist/types/src/timediff.d.ts +0 -1
- package/dist/types/src/types.d.ts +0 -158
- package/dist/types/src/video.d.ts +0 -1
- package/dist/types/src/workers/atlas-connection.d.ts +0 -12
- package/dist/types/src/workers/atlas-database.d.ts +0 -134
- package/dist/types/src/workers/atlas-profile.d.ts +0 -39
- package/dist/types/src/workers/atlas-team.d.ts +0 -13
- package/dist/types/src/workers/atlas.d.ts +0 -19
- package/src/App.vue +0 -341
- package/src/base/chatroom-chats.ts +0 -124
- package/src/base/chatroom.ts +0 -202
- package/src/base/cot.ts +0 -625
- package/src/base/database.ts +0 -150
- package/src/base/events.ts +0 -43
- package/src/base/filter.ts +0 -163
- package/src/base/handler.ts +0 -67
- package/src/base/icon.ts +0 -16
- package/src/base/notification.ts +0 -163
- package/src/base/overlay.ts +0 -558
- package/src/base/subscription-feature.ts +0 -224
- package/src/base/subscription-log.ts +0 -174
- package/src/base/subscription.ts +0 -489
- package/src/base/utils/styles.ts +0 -430
- package/src/base/validators.ts +0 -66
- package/src/components/Admin/AdminConfig.vue +0 -487
- package/src/components/Admin/AdminConnections.vue +0 -195
- package/src/components/Admin/AdminDatas.vue +0 -165
- package/src/components/Admin/AdminExport.vue +0 -121
- package/src/components/Admin/AdminImports.vue +0 -222
- package/src/components/Admin/AdminLayerTemplate.vue +0 -91
- package/src/components/Admin/AdminLayers.vue +0 -301
- package/src/components/Admin/AdminMissionTemplate.vue +0 -259
- package/src/components/Admin/AdminMissionTemplateLog.vue +0 -273
- package/src/components/Admin/AdminMissionTemplates.vue +0 -189
- package/src/components/Admin/AdminOverlays.vue +0 -232
- package/src/components/Admin/AdminOverlaysEdit.vue +0 -355
- package/src/components/Admin/AdminPalette.vue +0 -214
- package/src/components/Admin/AdminPaletteFeature.vue +0 -208
- package/src/components/Admin/AdminPalettes.vue +0 -189
- package/src/components/Admin/AdminServer.vue +0 -143
- package/src/components/Admin/AdminTasks.vue +0 -60
- package/src/components/Admin/AdminUser.vue +0 -263
- package/src/components/Admin/AdminUsers.vue +0 -183
- package/src/components/Admin/AdminVideos.vue +0 -60
- package/src/components/Admin/Server/ServerConnection.vue +0 -322
- package/src/components/Admin/Server/ServerInjectorModal.vue +0 -125
- package/src/components/Admin/Server/ServerInjectors.vue +0 -104
- package/src/components/Admin/Server/ServerPackages.vue +0 -159
- package/src/components/Admin/Server/ServerRepeaters.vue +0 -105
- package/src/components/Admin/Server/ServerVideos.vue +0 -83
- package/src/components/Admin/Tasks/AdminRawTasks.vue +0 -148
- package/src/components/Admin/Tasks/AdminTasks.vue +0 -286
- package/src/components/Admin/Videos/AdminVideoLeases.vue +0 -198
- package/src/components/Admin/Videos/AdminVideoService.vue +0 -67
- package/src/components/Admin/Videos/VideoConfig.vue +0 -132
- package/src/components/Admin/Videos/VideoConfigPath.vue +0 -58
- package/src/components/Admin/Videos/VideoConfigPort.vue +0 -40
- package/src/components/CloudTAK/CoTView.vue +0 -915
- package/src/components/CloudTAK/CoordInput.vue +0 -110
- package/src/components/CloudTAK/DrawTools.vue +0 -200
- package/src/components/CloudTAK/FeatView.vue +0 -242
- package/src/components/CloudTAK/GeoJSONInput.vue +0 -226
- package/src/components/CloudTAK/MainMenu.vue +0 -190
- package/src/components/CloudTAK/MainMenuContents.vue +0 -360
- package/src/components/CloudTAK/Map.vue +0 -972
- package/src/components/CloudTAK/MapLoading.vue +0 -31
- package/src/components/CloudTAK/Menu/Basemaps/EditModal.vue +0 -427
- package/src/components/CloudTAK/Menu/Debugger.vue +0 -118
- package/src/components/CloudTAK/Menu/Iconset/EditModal.vue +0 -118
- package/src/components/CloudTAK/Menu/MenuBasemaps.vue +0 -410
- package/src/components/CloudTAK/Menu/MenuChannels.vue +0 -206
- package/src/components/CloudTAK/Menu/MenuChat.vue +0 -222
- package/src/components/CloudTAK/Menu/MenuChats.vue +0 -167
- package/src/components/CloudTAK/Menu/MenuConnections.vue +0 -166
- package/src/components/CloudTAK/Menu/MenuContacts.vue +0 -245
- package/src/components/CloudTAK/Menu/MenuFeatures.vue +0 -718
- package/src/components/CloudTAK/Menu/MenuFeaturesDeleted.vue +0 -217
- package/src/components/CloudTAK/Menu/MenuFiles.vue +0 -433
- package/src/components/CloudTAK/Menu/MenuIcon.vue +0 -236
- package/src/components/CloudTAK/Menu/MenuIconset.vue +0 -128
- package/src/components/CloudTAK/Menu/MenuIconsets.vue +0 -266
- package/src/components/CloudTAK/Menu/MenuImport.vue +0 -198
- package/src/components/CloudTAK/Menu/MenuImports.vue +0 -199
- package/src/components/CloudTAK/Menu/MenuItemCard.vue +0 -240
- package/src/components/CloudTAK/Menu/MenuMission.vue +0 -324
- package/src/components/CloudTAK/Menu/MenuMissions.vue +0 -334
- package/src/components/CloudTAK/Menu/MenuOverlayExplorer.vue +0 -434
- package/src/components/CloudTAK/Menu/MenuOverlays.vue +0 -560
- package/src/components/CloudTAK/Menu/MenuPackage.vue +0 -340
- package/src/components/CloudTAK/Menu/MenuPackages.vue +0 -193
- package/src/components/CloudTAK/Menu/MenuRoutes.vue +0 -186
- package/src/components/CloudTAK/Menu/MenuRoutesNew.vue +0 -193
- package/src/components/CloudTAK/Menu/MenuSettings.vue +0 -95
- package/src/components/CloudTAK/Menu/MenuSettingsCallsign.vue +0 -12
- package/src/components/CloudTAK/Menu/MenuSettingsDisplay.vue +0 -144
- package/src/components/CloudTAK/Menu/MenuSettingsTokens.vue +0 -83
- package/src/components/CloudTAK/Menu/MenuVideos.vue +0 -436
- package/src/components/CloudTAK/Menu/MenuVideosRemote.vue +0 -203
- package/src/components/CloudTAK/Menu/Mission/MissionContents.vue +0 -211
- package/src/components/CloudTAK/Menu/Mission/MissionCreate.vue +0 -372
- package/src/components/CloudTAK/Menu/Mission/MissionInfo.vue +0 -331
- package/src/components/CloudTAK/Menu/Mission/MissionInviteModal.vue +0 -107
- package/src/components/CloudTAK/Menu/Mission/MissionLayerCreate.vue +0 -77
- package/src/components/CloudTAK/Menu/Mission/MissionLayerEdit.vue +0 -77
- package/src/components/CloudTAK/Menu/Mission/MissionLayerTree.vue +0 -194
- package/src/components/CloudTAK/Menu/Mission/MissionLayers.vue +0 -157
- package/src/components/CloudTAK/Menu/Mission/MissionLog.vue +0 -170
- package/src/components/CloudTAK/Menu/Mission/MissionLogs.vue +0 -194
- package/src/components/CloudTAK/Menu/Mission/MissionTimeline.vue +0 -142
- package/src/components/CloudTAK/Menu/Mission/MissionUsers.vue +0 -74
- package/src/components/CloudTAK/Menu/Mission/PendingInvites.vue +0 -130
- package/src/components/CloudTAK/Menu/Overlays/DeleteModal.vue +0 -57
- package/src/components/CloudTAK/Menu/Overlays/TreeCots.vue +0 -497
- package/src/components/CloudTAK/Menu/Overlays/TreeMission.vue +0 -32
- package/src/components/CloudTAK/Menu/Overlays/TreeVector.vue +0 -113
- package/src/components/CloudTAK/Menu/Settings/TokenModal.vue +0 -110
- package/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue +0 -753
- package/src/components/CloudTAK/Menu/Videos/VideosRemoteFeed.vue +0 -75
- package/src/components/CloudTAK/Notifications.vue +0 -195
- package/src/components/CloudTAK/Query/Magnetic.vue +0 -80
- package/src/components/CloudTAK/Query/Reverse.vue +0 -65
- package/src/components/CloudTAK/Query/Sun.vue +0 -178
- package/src/components/CloudTAK/Query/Weather.vue +0 -195
- package/src/components/CloudTAK/QueryView.vue +0 -134
- package/src/components/CloudTAK/RadialMenu/LICENSE +0 -21
- package/src/components/CloudTAK/RadialMenu/README.md +0 -63
- package/src/components/CloudTAK/RadialMenu/RadialMenu.css +0 -85
- package/src/components/CloudTAK/RadialMenu/RadialMenu.js +0 -534
- package/src/components/CloudTAK/RadialMenu/RadialMenu.vue +0 -257
- package/src/components/CloudTAK/RangeInput.vue +0 -155
- package/src/components/CloudTAK/RangeRingsInput.vue +0 -269
- package/src/components/CloudTAK/util/Breadcrumb.vue +0 -85
- package/src/components/CloudTAK/util/ChannelInfo.vue +0 -25
- package/src/components/CloudTAK/util/Contact.vue +0 -131
- package/src/components/CloudTAK/util/ContactPuck.vue +0 -40
- package/src/components/CloudTAK/util/Coordinate.vue +0 -313
- package/src/components/CloudTAK/util/CoordinateType.vue +0 -134
- package/src/components/CloudTAK/util/CopyButton.vue +0 -67
- package/src/components/CloudTAK/util/CopyField.vue +0 -286
- package/src/components/CloudTAK/util/DrawOverlay.vue +0 -254
- package/src/components/CloudTAK/util/EmptyInfo.vue +0 -71
- package/src/components/CloudTAK/util/FeatureIcon.vue +0 -134
- package/src/components/CloudTAK/util/FeatureRow.vue +0 -206
- package/src/components/CloudTAK/util/FloatingAttachment.vue +0 -191
- package/src/components/CloudTAK/util/FloatingVideo.vue +0 -654
- package/src/components/CloudTAK/util/GenericSelect.vue +0 -125
- package/src/components/CloudTAK/util/GroupSelect.vue +0 -129
- package/src/components/CloudTAK/util/Icons.vue +0 -146
- package/src/components/CloudTAK/util/JSONModal.vue +0 -57
- package/src/components/CloudTAK/util/Keywords.vue +0 -31
- package/src/components/CloudTAK/util/LineLength.vue +0 -121
- package/src/components/CloudTAK/util/MenuItem.vue +0 -21
- package/src/components/CloudTAK/util/MenuTemplate.vue +0 -137
- package/src/components/CloudTAK/util/MultipleSelect.vue +0 -103
- package/src/components/CloudTAK/util/NotificationIcon.vue +0 -50
- package/src/components/CloudTAK/util/NotificationToast.vue +0 -125
- package/src/components/CloudTAK/util/PolygonArea.vue +0 -109
- package/src/components/CloudTAK/util/PropertyAttachments.vue +0 -224
- package/src/components/CloudTAK/util/PropertyBattery.vue +0 -44
- package/src/components/CloudTAK/util/PropertyBearing.vue +0 -148
- package/src/components/CloudTAK/util/PropertyCreator.vue +0 -61
- package/src/components/CloudTAK/util/PropertyDistance.vue +0 -182
- package/src/components/CloudTAK/util/PropertyElevation.vue +0 -84
- package/src/components/CloudTAK/util/PropertyEmail.vue +0 -44
- package/src/components/CloudTAK/util/PropertyLinks.vue +0 -148
- package/src/components/CloudTAK/util/PropertyMetadata.vue +0 -53
- package/src/components/CloudTAK/util/PropertyMilSym.vue +0 -62
- package/src/components/CloudTAK/util/PropertyPhone.vue +0 -61
- package/src/components/CloudTAK/util/PropertySensor.vue +0 -129
- package/src/components/CloudTAK/util/PropertySpeed.vue +0 -91
- package/src/components/CloudTAK/util/PropertyStyle.vue +0 -202
- package/src/components/CloudTAK/util/PropertyTimes.vue +0 -95
- package/src/components/CloudTAK/util/PropertyType.vue +0 -274
- package/src/components/CloudTAK/util/SearchBox.vue +0 -314
- package/src/components/CloudTAK/util/SelectFeats.vue +0 -190
- package/src/components/CloudTAK/util/SettingsCallsign.vue +0 -151
- package/src/components/CloudTAK/util/Share.vue +0 -496
- package/src/components/CloudTAK/util/ShareToMission.vue +0 -223
- package/src/components/CloudTAK/util/ShareToPackage.vue +0 -250
- package/src/components/CloudTAK/util/SlideDownHeader.vue +0 -92
- package/src/components/CloudTAK/util/StandardItem.vue +0 -42
- package/src/components/CloudTAK/util/Subscriptions.vue +0 -151
- package/src/components/CloudTAK/util/TagEntry.vue +0 -301
- package/src/components/CloudTAK/util/UploadImport.vue +0 -195
- package/src/components/CloudTAK/util/VideoLeaseSourceType.vue +0 -66
- package/src/components/CloudTAK/util/WarnChannels.vue +0 -56
- package/src/components/CloudTAK/util/WarnConfiguration.vue +0 -34
- package/src/components/Configure.vue +0 -259
- package/src/components/ETL/Connection/AgencyBadge.vue +0 -102
- package/src/components/ETL/Connection/AgencySelect.vue +0 -185
- package/src/components/ETL/Connection/CertificateLogin.vue +0 -75
- package/src/components/ETL/Connection/CertificateMachineUser.vue +0 -228
- package/src/components/ETL/Connection/CertificateP12.vue +0 -104
- package/src/components/ETL/Connection/CertificateRaw.vue +0 -50
- package/src/components/ETL/Connection/ConnectionData.vue +0 -174
- package/src/components/ETL/Connection/ConnectionFiles.vue +0 -182
- package/src/components/ETL/Connection/ConnectionGroups.vue +0 -181
- package/src/components/ETL/Connection/ConnectionLayer.vue +0 -180
- package/src/components/ETL/Connection/ConnectionTokens.vue +0 -147
- package/src/components/ETL/Connection/ConnectionVideos.vue +0 -151
- package/src/components/ETL/Connection/Events.vue +0 -88
- package/src/components/ETL/Connection/StatusDot.vue +0 -48
- package/src/components/ETL/Connection/TokenModal.vue +0 -136
- package/src/components/ETL/Connection.vue +0 -194
- package/src/components/ETL/ConnectionCard.vue +0 -265
- package/src/components/ETL/ConnectionEdit.vue +0 -448
- package/src/components/ETL/Connections.vue +0 -148
- package/src/components/ETL/Data/DataFiles.vue +0 -245
- package/src/components/ETL/Data/DataGroups.vue +0 -45
- package/src/components/ETL/Data/DataLayer.vue +0 -144
- package/src/components/ETL/Data/Location.vue +0 -238
- package/src/components/ETL/Data.vue +0 -259
- package/src/components/ETL/DataEdit.vue +0 -212
- package/src/components/ETL/Layer/LayerAlarm.vue +0 -307
- package/src/components/ETL/Layer/LayerDeployment.vue +0 -388
- package/src/components/ETL/Layer/LayerEnvironment.vue +0 -259
- package/src/components/ETL/Layer/LayerIncomingConfig.vue +0 -401
- package/src/components/ETL/Layer/LayerIncomingEnvironmentArcGIS.vue +0 -354
- package/src/components/ETL/Layer/LayerIncomingSchema.vue +0 -138
- package/src/components/ETL/Layer/LayerIncomingStyles.vue +0 -349
- package/src/components/ETL/Layer/LayerOutgoingConfig.vue +0 -204
- package/src/components/ETL/Layer/LayerOutgoingEnvironmentArcGIS.vue +0 -279
- package/src/components/ETL/Layer/utils/QueryInput.vue +0 -52
- package/src/components/ETL/Layer/utils/Schema.vue +0 -322
- package/src/components/ETL/Layer/utils/SchemaModal.vue +0 -77
- package/src/components/ETL/Layer/utils/StatusDot.vue +0 -38
- package/src/components/ETL/Layer/utils/StyleLinkModal.vue +0 -83
- package/src/components/ETL/Layer/utils/StyleLinks.vue +0 -139
- package/src/components/ETL/Layer/utils/StyleSingle.vue +0 -885
- package/src/components/ETL/Layer/utils/StyleTemplate.vue +0 -97
- package/src/components/ETL/Layer/utils/TaskModal.vue +0 -217
- package/src/components/ETL/Layer.vue +0 -560
- package/src/components/ETL/LayerEdit.vue +0 -276
- package/src/components/ETL/Styling/Layer.vue +0 -311
- package/src/components/ETL/Styling/ObjectInput.vue +0 -46
- package/src/components/ETL/Styling/Style.vue +0 -233
- package/src/components/Home.vue +0 -17
- package/src/components/Loading.vue +0 -42
- package/src/components/Login.vue +0 -198
- package/src/components/LostUser.vue +0 -31
- package/src/components/PageFooter.vue +0 -41
- package/src/components/ServerAdmin.vue +0 -408
- package/src/components/VideoWall/Main.vue +0 -79
- package/src/components/VideoWall.vue +0 -17
- package/src/components/util/DataSelect.vue +0 -148
- package/src/components/util/EsriFilter.vue +0 -140
- package/src/components/util/EsriPortal.vue +0 -422
- package/src/components/util/EsriPortalCreate.vue +0 -72
- package/src/components/util/EsriServer.vue +0 -368
- package/src/components/util/GroupSelect.vue +0 -166
- package/src/components/util/IconSelect.vue +0 -302
- package/src/components/util/InitialAuthor.vue +0 -28
- package/src/components/util/LayerSelect.vue +0 -162
- package/src/components/util/LayerTaskSelect.vue +0 -311
- package/src/components/util/LayerTemplateSelect.vue +0 -173
- package/src/components/util/LoginModal.vue +0 -110
- package/src/components/util/PublicTilesSelect.vue +0 -171
- package/src/components/util/StatusDot.vue +0 -31
- package/src/components/util/TableFooter.vue +0 -64
- package/src/components/util/TableHeader.vue +0 -127
- package/src/components/util/Upload.vue +0 -220
- package/src/components/util/UploadCSV.vue +0 -46
- package/src/components/util/UploadLogo.vue +0 -83
- package/src/components/util/UploadP12.vue +0 -93
- package/src/components/util/UserSelect.vue +0 -151
- package/src/derived-types.d.ts +0 -35243
- package/src/main.ts +0 -264
- package/src/pages/admin/main.ts +0 -208
- package/src/pages/connection/main.ts +0 -158
- package/src/pages/docs/App.vue +0 -19
- package/src/pages/docs/main.ts +0 -6
- package/src/pages/video/main.ts +0 -27
- package/src/std.ts +0 -152
- package/src/stores/brand.ts +0 -28
- package/src/stores/float.ts +0 -113
- package/src/stores/map.ts +0 -931
- package/src/stores/modules/draw.ts +0 -413
- package/src/stores/modules/icons.ts +0 -185
- package/src/stores/modules/menu.ts +0 -281
- package/src/test/setup.ts +0 -43
- package/src/timediff.ts +0 -33
- package/src/types.ts +0 -226
- package/src/video.ts +0 -27
- package/src/vite-env.d.ts +0 -9
- package/src/workers/atlas-connection.ts +0 -236
- package/src/workers/atlas-database.ts +0 -764
- package/src/workers/atlas-profile.ts +0 -374
- package/src/workers/atlas-team.ts +0 -90
- package/src/workers/atlas.ts +0 -81
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class='col-12 px-2'>
|
|
3
|
-
<TablerLoading
|
|
4
|
-
v-if='loading'
|
|
5
|
-
desc='Loading Breadcrumb'
|
|
6
|
-
/>
|
|
7
|
-
<template v-else>
|
|
8
|
-
<label class='subheader text-white'><IconRoute
|
|
9
|
-
:size='24'
|
|
10
|
-
stroke='1'
|
|
11
|
-
/>Breadcrumb Loader</label>
|
|
12
|
-
|
|
13
|
-
<div class='border border-white rounded my-2 row g-2 px-2 py-2'>
|
|
14
|
-
<div class='col-12'>
|
|
15
|
-
<TablerEnum
|
|
16
|
-
v-model='query.relative'
|
|
17
|
-
default='1 Hour'
|
|
18
|
-
:options='[
|
|
19
|
-
"1 Hour",
|
|
20
|
-
"4 Hours",
|
|
21
|
-
"8 Hours",
|
|
22
|
-
"24 Hours"
|
|
23
|
-
]'
|
|
24
|
-
/>
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
<div class='col-12'>
|
|
28
|
-
<TablerButton
|
|
29
|
-
class='btn-primary w-100'
|
|
30
|
-
@click.stop.prevent='loadBreadcrumb'
|
|
31
|
-
>
|
|
32
|
-
Submit
|
|
33
|
-
</TablerButton>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</template>
|
|
37
|
-
</div>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script setup lang='ts'>
|
|
41
|
-
import { ref } from 'vue';
|
|
42
|
-
import { std, stdurl } from '../../../std.ts';
|
|
43
|
-
import type { FeatureCollection } from '../../../types.ts';
|
|
44
|
-
import {
|
|
45
|
-
IconRoute
|
|
46
|
-
} from '@tabler/icons-vue';
|
|
47
|
-
import {
|
|
48
|
-
TablerEnum,
|
|
49
|
-
TablerButton,
|
|
50
|
-
TablerLoading
|
|
51
|
-
} from '@tak-ps/vue-tabler';
|
|
52
|
-
import { useMapStore } from '../../../stores/map.ts';
|
|
53
|
-
|
|
54
|
-
const mapStore = useMapStore();
|
|
55
|
-
|
|
56
|
-
const props = defineProps<{
|
|
57
|
-
uid: string
|
|
58
|
-
}>();
|
|
59
|
-
|
|
60
|
-
const query = ref({
|
|
61
|
-
relative: '1 Hour'
|
|
62
|
-
});
|
|
63
|
-
const loading = ref(false);
|
|
64
|
-
|
|
65
|
-
async function loadBreadcrumb() {
|
|
66
|
-
loading.value = true;
|
|
67
|
-
|
|
68
|
-
try {
|
|
69
|
-
const url = stdurl(`/api/marti/cot/${props.uid}/all`)
|
|
70
|
-
|
|
71
|
-
url.searchParams.append('secago', String(60 * 60 * Number(query.value.relative.split(' ')[0])))
|
|
72
|
-
url.searchParams.append('track', String(true))
|
|
73
|
-
const crumb = await std(url) as FeatureCollection;
|
|
74
|
-
|
|
75
|
-
for (const feat of crumb.features) {
|
|
76
|
-
await mapStore.worker.db.add(feat)
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
loading.value = false;
|
|
80
|
-
} catch (err) {
|
|
81
|
-
loading.value = false;
|
|
82
|
-
throw err;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
</script>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class='col-12 d-flex align-items-center py-2 px-2 text-muted'>
|
|
3
|
-
<IconInfoSquareRounded
|
|
4
|
-
:size='32'
|
|
5
|
-
stroke='1'
|
|
6
|
-
class='mx-2'
|
|
7
|
-
/>
|
|
8
|
-
<div>
|
|
9
|
-
<span v-text='props.label' /> are only shown if the channel in which they belong is turned on
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script setup lang='ts'>
|
|
15
|
-
import {
|
|
16
|
-
IconInfoSquareRounded
|
|
17
|
-
} from '@tabler/icons-vue';
|
|
18
|
-
|
|
19
|
-
const props = defineProps({
|
|
20
|
-
label: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: 'Data Syncs'
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
</script>
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<StandardItem
|
|
3
|
-
class='d-flex flex-row gap-3 mb-2 align-items-center'
|
|
4
|
-
:class='{
|
|
5
|
-
"cursor-pointer": isZoomable(contact),
|
|
6
|
-
"cursor-default": !isZoomable(contact),
|
|
7
|
-
"hover": hover,
|
|
8
|
-
"contact-card--no-notes": !contact.notes || !contact.notes.trim()
|
|
9
|
-
}'
|
|
10
|
-
:hover='hover'
|
|
11
|
-
@click='flyTo(contact)'
|
|
12
|
-
>
|
|
13
|
-
<div class='icon-wrapper ms-2 d-flex align-items-center justify-content-center rounded-circle'>
|
|
14
|
-
<IconCheck
|
|
15
|
-
v-if='selected'
|
|
16
|
-
:size='compact ? 20 : 32'
|
|
17
|
-
stroke='1'
|
|
18
|
-
/>
|
|
19
|
-
<ContactPuck
|
|
20
|
-
v-else
|
|
21
|
-
:team='contact.team'
|
|
22
|
-
:size='compact ? 20 : 32'
|
|
23
|
-
/>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div
|
|
27
|
-
class='flex-grow-1 d-flex flex-column gap-1'
|
|
28
|
-
:class='{
|
|
29
|
-
"py-2": !compact,
|
|
30
|
-
"justify-content-center": !contact.notes || !contact.notes.trim()
|
|
31
|
-
}'
|
|
32
|
-
>
|
|
33
|
-
<div class='d-flex flex-wrap align-items-center gap-2'>
|
|
34
|
-
<span
|
|
35
|
-
class='fw-semibold text-truncate'
|
|
36
|
-
v-text='contact.callsign'
|
|
37
|
-
/>
|
|
38
|
-
</div>
|
|
39
|
-
<div
|
|
40
|
-
v-if='contact.notes && contact.notes.trim()'
|
|
41
|
-
class='text-truncate subheader user-select-none'
|
|
42
|
-
v-text='contact.notes.trim()'
|
|
43
|
-
/>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<div
|
|
47
|
-
v-if='props.buttonChat'
|
|
48
|
-
class='align-self-center me-2'
|
|
49
|
-
>
|
|
50
|
-
<IconMessage
|
|
51
|
-
v-if='props.buttonChat && isChatable(contact)'
|
|
52
|
-
v-tooltip='"Start Chat"'
|
|
53
|
-
:size='compact ? 20 : 32'
|
|
54
|
-
stroke='1'
|
|
55
|
-
class='cursor-pointer'
|
|
56
|
-
@click.stop='emit("chat", contact)'
|
|
57
|
-
/>
|
|
58
|
-
</div>
|
|
59
|
-
</StandardItem>
|
|
60
|
-
</template>
|
|
61
|
-
|
|
62
|
-
<script setup>
|
|
63
|
-
import {
|
|
64
|
-
IconCheck,
|
|
65
|
-
IconMessage,
|
|
66
|
-
} from '@tabler/icons-vue';
|
|
67
|
-
import ContactPuck from './ContactPuck.vue';
|
|
68
|
-
import StandardItem from './StandardItem.vue';
|
|
69
|
-
import { useMapStore } from '/src/stores/map.ts';
|
|
70
|
-
const mapStore = useMapStore();
|
|
71
|
-
|
|
72
|
-
const props = defineProps({
|
|
73
|
-
contact: {
|
|
74
|
-
type: Object,
|
|
75
|
-
required: true
|
|
76
|
-
},
|
|
77
|
-
selected: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: false
|
|
80
|
-
},
|
|
81
|
-
buttonChat: {
|
|
82
|
-
type: Boolean,
|
|
83
|
-
default: true
|
|
84
|
-
},
|
|
85
|
-
hover: {
|
|
86
|
-
type: Boolean,
|
|
87
|
-
default: true
|
|
88
|
-
},
|
|
89
|
-
compact: {
|
|
90
|
-
type: Boolean,
|
|
91
|
-
default: false
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
const emit = defineEmits([
|
|
96
|
-
'chat'
|
|
97
|
-
]);
|
|
98
|
-
|
|
99
|
-
async function isZoomable(contact) {
|
|
100
|
-
return mapStore.worker.db.has(contact.uid);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
async function isChatable(contact) {
|
|
104
|
-
if (!await mapStore.worker.db.has(contact.uid)) return false;
|
|
105
|
-
const cot = await mapStore.worker.db.get(contact.uid);
|
|
106
|
-
return cot.properties.contact && cot.properties.contact.endpoint;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
async function flyTo(contact) {
|
|
110
|
-
if (!await isZoomable(contact)) return;
|
|
111
|
-
|
|
112
|
-
const cot = await mapStore.worker.db.get(contact.uid);
|
|
113
|
-
if (!cot) return;
|
|
114
|
-
|
|
115
|
-
cot.flyTo();
|
|
116
|
-
}
|
|
117
|
-
</script>
|
|
118
|
-
|
|
119
|
-
<style scoped>
|
|
120
|
-
.icon-wrapper {
|
|
121
|
-
width: 3rem;
|
|
122
|
-
height: 3rem;
|
|
123
|
-
min-width: 3rem;
|
|
124
|
-
min-height: 3rem;
|
|
125
|
-
flex-shrink: 0;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.contact-card--no-notes {
|
|
129
|
-
height: 50px;
|
|
130
|
-
}
|
|
131
|
-
</style>
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<IconCircleFilled
|
|
3
|
-
v-if='props.team'
|
|
4
|
-
:size='props.size ? props.size : 32'
|
|
5
|
-
stroke='1'
|
|
6
|
-
:class='{
|
|
7
|
-
"text-yellow": props.team === "Yellow",
|
|
8
|
-
"text-cyan": props.team === "Cyan",
|
|
9
|
-
"text-lime": props.team === "Green",
|
|
10
|
-
"text-red": props.team === "Red",
|
|
11
|
-
"text-purple": props.team === "Purple",
|
|
12
|
-
"text-orange": props.team === "Orange",
|
|
13
|
-
"text-azure": props.team === "Blue",
|
|
14
|
-
"text-dribble": props.team === "Magenta",
|
|
15
|
-
"text-white": props.team === "White",
|
|
16
|
-
"text-pinterest": props.team === "Maroon",
|
|
17
|
-
"text-blue": props.team === "Dark Blue",
|
|
18
|
-
"text-teal": props.team === "Teal",
|
|
19
|
-
"text-green": props.team === "Dark Green",
|
|
20
|
-
"text-google": props.team === "Brown",
|
|
21
|
-
}'
|
|
22
|
-
/>
|
|
23
|
-
<IconUserQuestion
|
|
24
|
-
v-else
|
|
25
|
-
:size='props.size ? props.size : 32'
|
|
26
|
-
stroke='1'
|
|
27
|
-
/>
|
|
28
|
-
</template>
|
|
29
|
-
|
|
30
|
-
<script setup lang='ts'>
|
|
31
|
-
import {
|
|
32
|
-
IconUserQuestion,
|
|
33
|
-
IconCircleFilled,
|
|
34
|
-
} from '@tabler/icons-vue';
|
|
35
|
-
|
|
36
|
-
const props = defineProps<{
|
|
37
|
-
team?: string,
|
|
38
|
-
size?: number
|
|
39
|
-
}>();
|
|
40
|
-
</script>
|
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class='col-12'>
|
|
3
|
-
<IconLabel
|
|
4
|
-
:size='18'
|
|
5
|
-
stroke='1'
|
|
6
|
-
color='#6b7990'
|
|
7
|
-
class='ms-2 me-1'
|
|
8
|
-
/>
|
|
9
|
-
<label
|
|
10
|
-
class='subheader user-select-none'
|
|
11
|
-
v-text='label'
|
|
12
|
-
/>
|
|
13
|
-
<div class='mx-2'>
|
|
14
|
-
<CopyField
|
|
15
|
-
:model-value='inMode'
|
|
16
|
-
:edit='edit && config.mode === "dd"'
|
|
17
|
-
:hover='hover && config.mode === "dd"'
|
|
18
|
-
:validate='validateInput'
|
|
19
|
-
:size='24'
|
|
20
|
-
@update:model-value='coordinateEntry($event)'
|
|
21
|
-
/>
|
|
22
|
-
<template v-if='modes.length'>
|
|
23
|
-
<div
|
|
24
|
-
role='menu'
|
|
25
|
-
class='mx-2'
|
|
26
|
-
>
|
|
27
|
-
<span
|
|
28
|
-
v-if='modes.includes("dd")'
|
|
29
|
-
v-tooltip='"Decimal Degrees"'
|
|
30
|
-
role='menuitem'
|
|
31
|
-
tabindex='0'
|
|
32
|
-
class='my-1 px-2 user-select-none'
|
|
33
|
-
:class='{
|
|
34
|
-
"bg-accent rounded-bottom text-blue": config.mode === "dd",
|
|
35
|
-
"cursor-pointer": config.mode !== "dd",
|
|
36
|
-
}'
|
|
37
|
-
@click='config.mode = "dd"'
|
|
38
|
-
>DD</span>
|
|
39
|
-
<span
|
|
40
|
-
v-if='modes.includes("dms")'
|
|
41
|
-
v-tooltip='"Decimal Minutes Seconds"'
|
|
42
|
-
class='my-1 px-2 user-select-none'
|
|
43
|
-
role='menuitem'
|
|
44
|
-
tabindex='0'
|
|
45
|
-
:class='{
|
|
46
|
-
"bg-accent rounded-bottom text-blue": config.mode === "dms",
|
|
47
|
-
"cursor-pointer": config.mode !== "dms",
|
|
48
|
-
}'
|
|
49
|
-
@click='config.mode = "dms"'
|
|
50
|
-
>DMS</span>
|
|
51
|
-
<span
|
|
52
|
-
v-if='modes.includes("mgrs")'
|
|
53
|
-
v-tooltip='"Military Grid Reference System"'
|
|
54
|
-
class='my-1 px-2 user-select-none'
|
|
55
|
-
role='menuitem'
|
|
56
|
-
tabindex='0'
|
|
57
|
-
:class='{
|
|
58
|
-
"bg-accent rounded-bottom text-blue": config.mode === "mgrs",
|
|
59
|
-
"cursor-pointer": config.mode !== "mgrs",
|
|
60
|
-
}'
|
|
61
|
-
@click='config.mode = "mgrs"'
|
|
62
|
-
>MGRS</span>
|
|
63
|
-
<span
|
|
64
|
-
v-if='modes.includes("utm")'
|
|
65
|
-
v-tooltip='"Universal Transverse Mercator"'
|
|
66
|
-
class='my-1 px-2 user-select-none'
|
|
67
|
-
role='menuitem'
|
|
68
|
-
tabindex='0'
|
|
69
|
-
:class='{
|
|
70
|
-
"bg-accent rounded-bottom text-blue": config.mode === "utm",
|
|
71
|
-
"cursor-pointer": config.mode !== "utm",
|
|
72
|
-
}'
|
|
73
|
-
@click='config.mode = "utm"'
|
|
74
|
-
>UTM</span>
|
|
75
|
-
</div>
|
|
76
|
-
</template>
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
</template>
|
|
80
|
-
|
|
81
|
-
<script setup lang='ts'>
|
|
82
|
-
import CopyField from './CopyField.vue';
|
|
83
|
-
import { validateLatLng } from '../../../base/validators.ts';
|
|
84
|
-
import {
|
|
85
|
-
IconLabel
|
|
86
|
-
} from '@tabler/icons-vue';
|
|
87
|
-
import { ref, computed } from 'vue';
|
|
88
|
-
|
|
89
|
-
const props = defineProps({
|
|
90
|
-
label: {
|
|
91
|
-
type: String,
|
|
92
|
-
default: 'Coordinates'
|
|
93
|
-
},
|
|
94
|
-
hover: {
|
|
95
|
-
type: Boolean,
|
|
96
|
-
default: false
|
|
97
|
-
},
|
|
98
|
-
edit: {
|
|
99
|
-
type: Boolean,
|
|
100
|
-
default: false
|
|
101
|
-
},
|
|
102
|
-
truncate: {
|
|
103
|
-
type: Number,
|
|
104
|
-
description: 'Truncate DD coordinates to a given precision',
|
|
105
|
-
default: undefined
|
|
106
|
-
},
|
|
107
|
-
modes: {
|
|
108
|
-
type: Array,
|
|
109
|
-
default: function() {
|
|
110
|
-
return ['dd', 'dms', 'mgrs', 'utm']
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
modelValue: {
|
|
114
|
-
type: Array,
|
|
115
|
-
required: true,
|
|
116
|
-
description: 'A coordinate pair in GeoJSON format (lng,lat)'
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
const emit = defineEmits([
|
|
121
|
-
'update:modelValue',
|
|
122
|
-
]);
|
|
123
|
-
|
|
124
|
-
const config = ref({
|
|
125
|
-
mode: 'dd'
|
|
126
|
-
})
|
|
127
|
-
|
|
128
|
-
const validateInput = computed(() => {
|
|
129
|
-
return (text: string): boolean | string => {
|
|
130
|
-
if (config.value.mode === 'dd') {
|
|
131
|
-
return validateLatLng(text);
|
|
132
|
-
} else {
|
|
133
|
-
return false;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
const inMode = computed(() => {
|
|
139
|
-
if (config.value.mode === 'dd') {
|
|
140
|
-
if (props.truncate) {
|
|
141
|
-
return [
|
|
142
|
-
Math.trunc(props.modelValue[1] as number * Math.pow(10, props.truncate)) / Math.pow(10, props.truncate),
|
|
143
|
-
Math.trunc(props.modelValue[0] as number * Math.pow(10, props.truncate)) / Math.pow(10, props.truncate)
|
|
144
|
-
].join(', ');
|
|
145
|
-
} else {
|
|
146
|
-
return `${props.modelValue[1]}, ${props.modelValue[0]}`;
|
|
147
|
-
}
|
|
148
|
-
} else if (config.value.mode === 'dms') {
|
|
149
|
-
return `${asDMS(props.modelValue[1] as number)}, ${asDMS(props.modelValue[0] as number)}`;
|
|
150
|
-
} else if (config.value.mode === 'mgrs') {
|
|
151
|
-
return asMGRS();
|
|
152
|
-
} else if (config.value.mode === 'utm') {
|
|
153
|
-
return asUTM(
|
|
154
|
-
props.modelValue[1] as number,
|
|
155
|
-
props.modelValue[0] as number
|
|
156
|
-
);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
return 'UNKNOWN'
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
function coordinateEntry(text: string) {
|
|
163
|
-
emit('update:modelValue',
|
|
164
|
-
text
|
|
165
|
-
.split(',')
|
|
166
|
-
.map((c) => Number(c.trim()))
|
|
167
|
-
.reverse()
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
function asDMS(dd: number): string {
|
|
172
|
-
const abs = Math.abs(dd);
|
|
173
|
-
const deg = Math.floor(abs);
|
|
174
|
-
const min = Math.floor((abs - deg) * 60);
|
|
175
|
-
const sec = (abs - deg - min / 60) * 3600;
|
|
176
|
-
return (dd < 0 ? '-' : '') + deg + '° ' + min + '\' ' + Math.floor(sec * 100) / 100 + '"';
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
function asUTM(latitude: number, longitude: number) {
|
|
180
|
-
const K0 = 0.9996;
|
|
181
|
-
const E = 0.00669438;
|
|
182
|
-
const E_P2 = E / (1 - E);
|
|
183
|
-
const E2 = Math.pow(E, 2);
|
|
184
|
-
const E3 = Math.pow(E, 3);
|
|
185
|
-
const R = 6378137;
|
|
186
|
-
|
|
187
|
-
const M1 = 1 - E / 4 - 3 * E2 / 64 - 5 * E3 / 256;
|
|
188
|
-
const M2 = 3 * E / 8 + 3 * E2 / 32 + 45 * E3 / 1024;
|
|
189
|
-
const M3 = 15 * E2 / 256 + 45 * E3 / 1024;
|
|
190
|
-
var M4 = 35 * E3 / 3072;
|
|
191
|
-
|
|
192
|
-
const latRad = toRadians(latitude);
|
|
193
|
-
const latSin = Math.sin(latRad);
|
|
194
|
-
const latCos = Math.cos(latRad);
|
|
195
|
-
|
|
196
|
-
const latTan = Math.tan(latRad);
|
|
197
|
-
const latTan2 = Math.pow(latTan, 2);
|
|
198
|
-
const latTan4 = Math.pow(latTan, 4);
|
|
199
|
-
|
|
200
|
-
const zoneNum = latLonToZoneNumber(latitude, longitude);
|
|
201
|
-
|
|
202
|
-
const zoneLetter = latitudeToZoneLetter(latitude);
|
|
203
|
-
|
|
204
|
-
const lonRad = toRadians(longitude);
|
|
205
|
-
const centralLon = zoneNumberToCentralLongitude(zoneNum);
|
|
206
|
-
const centralLonRad = toRadians(centralLon);
|
|
207
|
-
|
|
208
|
-
const n = R / Math.sqrt(1 - E * latSin * latSin);
|
|
209
|
-
const c = E_P2 * latCos * latCos;
|
|
210
|
-
|
|
211
|
-
const a = latCos * (lonRad - centralLonRad);
|
|
212
|
-
const a2 = Math.pow(a, 2);
|
|
213
|
-
const a3 = Math.pow(a, 3);
|
|
214
|
-
const a4 = Math.pow(a, 4);
|
|
215
|
-
const a5 = Math.pow(a, 5);
|
|
216
|
-
const a6 = Math.pow(a, 6);
|
|
217
|
-
|
|
218
|
-
const m = R * (M1 * latRad -
|
|
219
|
-
M2 * Math.sin(2 * latRad) +
|
|
220
|
-
M3 * Math.sin(4 * latRad) -
|
|
221
|
-
M4 * Math.sin(6 * latRad));
|
|
222
|
-
const easting = K0 * n * (a +
|
|
223
|
-
a3 / 6 * (1 - latTan2 + c) +
|
|
224
|
-
a5 / 120 * (5 - 18 * latTan2 + latTan4 + 72 * c - 58 * E_P2)) + 500000;
|
|
225
|
-
let northing = K0 * (m + n * latTan * (a2 / 2 +
|
|
226
|
-
a4 / 24 * (5 - latTan2 + 9 * c + 4 * c * c) +
|
|
227
|
-
a6 / 720 * (61 - 58 * latTan2 + latTan4 + 600 * c - 330 * E_P2)));
|
|
228
|
-
if (latitude < 0) northing += 1e7;
|
|
229
|
-
|
|
230
|
-
return `${zoneNum}${zoneLetter} ${Math.floor(easting)} ${Math.floor(northing)}`;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function zoneNumberToCentralLongitude(zoneNum: number) {
|
|
234
|
-
return (zoneNum - 1) * 6 - 180 + 3;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
function toRadians(deg: number) {
|
|
238
|
-
return deg * Math.PI / 180;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
function latitudeToZoneLetter(latitude: number) {
|
|
242
|
-
const ZONE_LETTERS = 'CDEFGHJKLMNPQRSTUVWXX';
|
|
243
|
-
if (-80 <= latitude && latitude <= 84) {
|
|
244
|
-
return ZONE_LETTERS[Math.floor((latitude + 80) / 8)];
|
|
245
|
-
} else {
|
|
246
|
-
return null;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
function latLonToZoneNumber(latitude: number, longitude: number) {
|
|
251
|
-
if (56 <= latitude && latitude < 64 && 3 <= longitude && longitude < 12) return 32;
|
|
252
|
-
|
|
253
|
-
if (72 <= latitude && latitude <= 84 && longitude >= 0) {
|
|
254
|
-
if (longitude < 9) return 31;
|
|
255
|
-
if (longitude < 21) return 33;
|
|
256
|
-
if (longitude < 33) return 35;
|
|
257
|
-
if (longitude < 42) return 37;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
return Math.floor((longitude + 180) / 6) + 1;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
function asMGRS() {
|
|
264
|
-
const Lat = props.modelValue[1] as number;
|
|
265
|
-
const Long = props.modelValue[0] as number;
|
|
266
|
-
if (Lat < -80) return 'Too far South';
|
|
267
|
-
if (Lat > 84) return 'Too far North' ;
|
|
268
|
-
const c = 1 + Math.floor ((Long+180)/6);
|
|
269
|
-
const e = c*6 - 183 ;
|
|
270
|
-
const k = Lat*Math.PI/180;
|
|
271
|
-
const l = Long*Math.PI/180;
|
|
272
|
-
const m = e*Math.PI/180;
|
|
273
|
-
const n = Math.cos (k);
|
|
274
|
-
const o = 0.006739496819936062*Math.pow (n,2);
|
|
275
|
-
const p = 40680631590769/(6356752.314*Math.sqrt(1 + o));
|
|
276
|
-
const q = Math.tan (k);
|
|
277
|
-
const r = q*q;
|
|
278
|
-
const t = l - m;
|
|
279
|
-
const u = 1.0 - r + o;
|
|
280
|
-
const v = 5.0 - r + 9*o + 4.0*(o*o);
|
|
281
|
-
const w = 5.0 - 18.0*r + (r*r) + 14.0*o - 58.0*r*o;
|
|
282
|
-
const x = 61.0 - 58.0*r + (r*r) + 270.0*o - 330.0*r*o;
|
|
283
|
-
const y = 61.0 - 479.0*r + 179.0*(r*r) - (r*r*r);
|
|
284
|
-
const z = 1385.0 - 3111.0*r + 543.0*(r*r) - (r*r*r);
|
|
285
|
-
let aa = p*n*t + (p/6.0*Math.pow (n,3)*u*Math.pow (t,3)) + (p/120.0*Math.pow (n,5)*w*Math.pow (t,5)) + (p/5040.0*Math.pow (n,7)*y*Math.pow (t,7));
|
|
286
|
-
let ab = 6367449.14570093*(k - (0.00251882794504*Math.sin (2*k)) + (0.00000264354112*Math.sin (4*k)) - (0.00000000345262*Math.sin (6*k)) + (0.000000000004892*Math.sin (8*k))) + (q/2.0*p*Math.pow (n,2)*Math.pow (t,2)) + (q/24.0*p*Math.pow (n,4)*v*Math.pow (t,4)) + (q/720.0*p*Math.pow (n,6)*x*Math.pow (t,6)) + (q/40320.0*p*Math.pow (n,8)*z*Math.pow (t,8));
|
|
287
|
-
aa = aa*0.9996 + 500000.0;
|
|
288
|
-
ab = ab*0.9996; if (ab < 0.0) ab += 10000000.0;
|
|
289
|
-
const ad = 'CDEFGHJKLMNPQRSTUVWXX'.charAt (Math.floor (Lat/8 + 10));
|
|
290
|
-
const ae = Math.floor (aa/100000);
|
|
291
|
-
const af = ['ABCDEFGH','JKLMNPQR','STUVWXYZ'][(c-1)%3].charAt (ae-1);
|
|
292
|
-
const ag = Math.floor (ab/100000)%20;
|
|
293
|
-
const ah = ['ABCDEFGHJKLMNPQRSTUV','FGHJKLMNPQRSTUVABCDE'][(c-1)%2].charAt (ag);
|
|
294
|
-
|
|
295
|
-
function pad (val: number): string {
|
|
296
|
-
if (val < 10) {
|
|
297
|
-
return '0000' + val
|
|
298
|
-
} else if (val < 100) {
|
|
299
|
-
return '000' + val
|
|
300
|
-
} else if (val < 1000) {
|
|
301
|
-
return '00' + val
|
|
302
|
-
} else if (val < 10000) {
|
|
303
|
-
return '0' + val
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
return String(val);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
aa = Math.floor(aa % 100000);
|
|
310
|
-
ab = Math.floor(ab % 100000);
|
|
311
|
-
return c + ad + ' ' + af + ah + ' ' + pad(aa) + ' ' + pad(ab);
|
|
312
|
-
}
|
|
313
|
-
</script>
|