From d54a8d73be72eedeb6d0bdf219c97208abc828ab Mon Sep 17 00:00:00 2001 From: ingalls Date: Thu, 17 Oct 2024 10:41:38 -0600 Subject: [PATCH 1/4] VideoLease --- api/web/package-lock.json | 30 +- .../src/components/CloudTAK/Menu/Videos.vue | 267 +++++++++++------- .../CloudTAK/Menu/Videos/VideoLeaseModal.vue | 216 +++++++------- .../src/components/CloudTAK/util/Video.vue | 8 +- api/web/src/stores/map.ts | 1 + api/web/src/types.ts | 5 +- 6 files changed, 296 insertions(+), 231 deletions(-) diff --git a/api/web/package-lock.json b/api/web/package-lock.json index 37a131d8b..dfaa8ec06 100644 --- a/api/web/package-lock.json +++ b/api/web/package-lock.json @@ -3213,9 +3213,9 @@ ] }, "node_modules/@sinclair/typebox": { - "version": "0.33.16", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.33.16.tgz", - "integrity": "sha512-jsz4f3LxXGh217hJE3MAOB+i3pzgr9wLGUBiCRNWaG/rRcVoS4+dzQok9SeZLtwNdmY44oGYQWlJCjIJxeLKEw==", + "version": "0.33.17", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.33.17.tgz", + "integrity": "sha512-75232GRx3wp3P7NP+yc4nRK3XUAnaQShxTAzapgmQrgs0QvSq0/mOJGoZXRpH15cFCKyys+4laCPbBselqJ5Ag==", "license": "MIT" }, "node_modules/@surma/rollup-plugin-off-main-thread": { @@ -3955,9 +3955,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.7.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", - "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "version": "22.7.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.6.tgz", + "integrity": "sha512-/d7Rnj0/ExXDMcioS78/kf1lMzYk4BZV8MZGTBKzTGZ6/406ukkbYlIsZmMPhcR5KlkunDHQLrtAVmSq7r+mSw==", "dev": true, "license": "MIT", "dependencies": { @@ -5619,9 +5619,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.39", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.39.tgz", - "integrity": "sha512-4xkpSR6CjuiaNyvwiWDI85N9AxsvbPawB8xc7yzLPonYTuP19BVgYweKyUMFtHEZgIcHWMt1ks5Cqx2m+6/Grg==", + "version": "1.5.40", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.40.tgz", + "integrity": "sha512-LYm78o6if4zTasnYclgQzxEcgMoIcybWOhkATWepN95uwVVWV0/IW10v+2sIeHE+bIYWipLneTftVyQm45UY7g==", "dev": true, "license": "ISC" }, @@ -9168,9 +9168,9 @@ } }, "node_modules/sass": { - "version": "1.79.5", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.79.5.tgz", - "integrity": "sha512-W1h5kp6bdhqFh2tk3DsI771MoEJjvrSY/2ihJRJS4pjIyfJCw0nTsxqhnrUzaLMOJjFchj8rOvraI/YUVjtx5g==", + "version": "1.80.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.1.tgz", + "integrity": "sha512-9lBwDZ7j3y/1DKj5Ec249EVGo5CVpwnzIyIj+cqlCjKkApLnzsJ/l9SnV4YnORvW9dQwQN+gQvh/mFZ8CnDs7Q==", "license": "MIT", "dependencies": { "@parcel/watcher": "^2.4.1", @@ -9930,9 +9930,9 @@ } }, "node_modules/terra-draw": { - "version": "1.0.0-beta.6", - "resolved": "https://registry.npmjs.org/terra-draw/-/terra-draw-1.0.0-beta.6.tgz", - "integrity": "sha512-0ICoTJXL4fG3TeHXpZye5zu+PcAkFOliPn2LH+NMJFnCdjY6NGXhsQgXR53W0+Vd8cduZcBVe1VuaBmB6zZN/Q==", + "version": "1.0.0-beta.7", + "resolved": "https://registry.npmjs.org/terra-draw/-/terra-draw-1.0.0-beta.7.tgz", + "integrity": "sha512-k6Z29O3tpfqXDAivzVZUY/ohT6kC0zvrefJb3Dm/DE+yPG7Qp7Dy8dDK+FTFN3MpSpemThRyyXbic/Y6gtnWwQ==", "license": "MIT" }, "node_modules/terser": { diff --git a/api/web/src/components/CloudTAK/Menu/Videos.vue b/api/web/src/components/CloudTAK/Menu/Videos.vue index 0d24e22d4..8889fb66b 100644 --- a/api/web/src/components/CloudTAK/Menu/Videos.vue +++ b/api/web/src/components/CloudTAK/Menu/Videos.vue @@ -4,80 +4,133 @@ :loading='loading' > @@ -89,67 +142,65 @@ /> - diff --git a/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue b/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue index 63fa4a4c0..c919d68b6 100644 --- a/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue +++ b/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue @@ -5,7 +5,7 @@ type='button' class='btn-close' aria-label='Close' - @click='$emit("refresh")' + @click='emit("refresh")' /> @@ -63,7 +66,7 @@ > Done @@ -123,12 +126,12 @@ Advanced Options @@ -154,13 +157,20 @@
Video Streaming Protocols
-
-
- -
+ +
@@ -172,7 +182,7 @@ > UAS Tool Wizard @@ -187,9 +197,11 @@ - diff --git a/api/web/src/components/CloudTAK/util/Video.vue b/api/web/src/components/CloudTAK/util/Video.vue index 690b1238f..e731150ea 100644 --- a/api/web/src/components/CloudTAK/util/Video.vue +++ b/api/web/src/components/CloudTAK/util/Video.vue @@ -43,7 +43,7 @@