@camera.ui/browser 0.0.179 → 0.0.181
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/index.d.ts +5 -0
- package/dist/index.js +6 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ import { SchemaConfig } from '@camera.ui/sdk';
|
|
|
85
85
|
import { SecuritySystemProperties } from '@camera.ui/sdk';
|
|
86
86
|
import { SecuritySystemProperty } from '@camera.ui/sdk';
|
|
87
87
|
import { SecuritySystemState } from '@camera.ui/sdk';
|
|
88
|
+
import type { SensorSourceState } from '@camera.ui/sdk';
|
|
88
89
|
import { SensorType } from '@camera.ui/sdk';
|
|
89
90
|
import { ShallowRef } from 'vue';
|
|
90
91
|
import { SirenControlProperties } from '@camera.ui/sdk';
|
|
@@ -1217,6 +1218,8 @@ export declare interface SensorRegistryRPC {
|
|
|
1217
1218
|
setDisplayName(sensorId: string, displayName: string): void;
|
|
1218
1219
|
}
|
|
1219
1220
|
|
|
1221
|
+
export declare function setFullscreenRoot(el: HTMLElement | null): void;
|
|
1222
|
+
|
|
1220
1223
|
/* Excluded from this release type: SirenControlProperties */
|
|
1221
1224
|
|
|
1222
1225
|
/* Excluded from this release type: SirenProperty */
|
|
@@ -1252,6 +1255,8 @@ export declare interface StoredSensorData {
|
|
|
1252
1255
|
boundCameraId?: string;
|
|
1253
1256
|
exposed: boolean;
|
|
1254
1257
|
origin?: string;
|
|
1258
|
+
address?: string;
|
|
1259
|
+
sourceState?: SensorSourceState;
|
|
1255
1260
|
connected: boolean;
|
|
1256
1261
|
properties: Record<string, unknown>;
|
|
1257
1262
|
capabilities: string[];
|
package/dist/index.js
CHANGED
|
@@ -4002,6 +4002,10 @@ var streamManager = new StreamManager();
|
|
|
4002
4002
|
//#endregion
|
|
4003
4003
|
//#region src/composables/useFullscreen.ts
|
|
4004
4004
|
var fsRegistry = /* @__PURE__ */ new WeakMap();
|
|
4005
|
+
var fullscreenRoot = null;
|
|
4006
|
+
function setFullscreenRoot(el) {
|
|
4007
|
+
fullscreenRoot = el;
|
|
4008
|
+
}
|
|
4005
4009
|
var fullscreenStack = [];
|
|
4006
4010
|
var topmostFullscreenWrapper = shallowRef(null);
|
|
4007
4011
|
function refreshTopmost() {
|
|
@@ -4035,7 +4039,7 @@ function useCuiFullscreen(target, options = {}) {
|
|
|
4035
4039
|
};
|
|
4036
4040
|
fsRegistry.set(el, state);
|
|
4037
4041
|
el.setAttribute("data-cui-fullscreen", mode);
|
|
4038
|
-
document.body.appendChild(wrapper);
|
|
4042
|
+
(fullscreenRoot ?? document.body).appendChild(wrapper);
|
|
4039
4043
|
wrapper.appendChild(el);
|
|
4040
4044
|
document.body.style.overflow = "hidden";
|
|
4041
4045
|
document.documentElement.style.overflow = "hidden";
|
|
@@ -4828,4 +4832,4 @@ function useTerminal() {
|
|
|
4828
4832
|
};
|
|
4829
4833
|
}
|
|
4830
4834
|
//#endregion
|
|
4831
|
-
export { CAMERA_UI_INJECTION_KEY, NamespaceManager, STREAM_CONFIG, acquireSensorManager, clearCameraCache, clearOAuthCache, clearPluginCache, clearSensorCache, clearSnapshotCache, clearStorageCache, createActivityMode, createCameraUiPlugin, createReactiveCameraDevice, createSensorManager, getSnapshotUrl, isReactiveAudioSensor, isReactiveBatteryInfo, isReactiveCarbonDioxideInfo, isReactiveCarbonMonoxideSensor, isReactiveClassifierSensor, isReactiveColdSensor, isReactiveContactSensor, isReactiveDoorbellTrigger, isReactiveFaceSensor, isReactiveGarageControl, isReactiveGasSensor, isReactiveHeatSensor, isReactiveHumidityInfo, isReactiveIlluminanceInfo, isReactiveLeakSensor, isReactiveLicensePlateSensor, isReactiveLightControl, isReactiveLockControl, isReactiveMotionSensor, isReactiveObjectSensor, isReactiveOccupancySensor, isReactivePTZControl, isReactivePowerSensor, isReactiveProblemSensor, isReactiveSecuritySystem, isReactiveSirenControl, isReactiveSmokeSensor, isReactiveSwitchControl, isReactiveTamperSensor, isReactiveTemperatureInfo, isReactiveVibrationSensor, refreshClientSubscriptions, releaseSensorManager, resetClientState, rpcCall, useAllSensors, useAudioSensor, useCameraById, useCameraStorage, useCameraStream, useCameraUi, useClassifierSensors, useCoreManager, useCuiFullscreen, useDeviceManager, useFaceSensor, useLicensePlateSensor, useMotionSensor, useOAuth, useObjectSensor, usePTZControl, usePlugin, usePluginStorage, useRpcCall, useRpcSubscription, useSensorById, useSensorByType, useSensorStorage, useSensors, useSensorsByType, useSnapshot, useTabVisibility, useTerminal, useTopmostFullscreenElement };
|
|
4835
|
+
export { CAMERA_UI_INJECTION_KEY, NamespaceManager, STREAM_CONFIG, acquireSensorManager, clearCameraCache, clearOAuthCache, clearPluginCache, clearSensorCache, clearSnapshotCache, clearStorageCache, createActivityMode, createCameraUiPlugin, createReactiveCameraDevice, createSensorManager, getSnapshotUrl, isReactiveAudioSensor, isReactiveBatteryInfo, isReactiveCarbonDioxideInfo, isReactiveCarbonMonoxideSensor, isReactiveClassifierSensor, isReactiveColdSensor, isReactiveContactSensor, isReactiveDoorbellTrigger, isReactiveFaceSensor, isReactiveGarageControl, isReactiveGasSensor, isReactiveHeatSensor, isReactiveHumidityInfo, isReactiveIlluminanceInfo, isReactiveLeakSensor, isReactiveLicensePlateSensor, isReactiveLightControl, isReactiveLockControl, isReactiveMotionSensor, isReactiveObjectSensor, isReactiveOccupancySensor, isReactivePTZControl, isReactivePowerSensor, isReactiveProblemSensor, isReactiveSecuritySystem, isReactiveSirenControl, isReactiveSmokeSensor, isReactiveSwitchControl, isReactiveTamperSensor, isReactiveTemperatureInfo, isReactiveVibrationSensor, refreshClientSubscriptions, releaseSensorManager, resetClientState, rpcCall, setFullscreenRoot, useAllSensors, useAudioSensor, useCameraById, useCameraStorage, useCameraStream, useCameraUi, useClassifierSensors, useCoreManager, useCuiFullscreen, useDeviceManager, useFaceSensor, useLicensePlateSensor, useMotionSensor, useOAuth, useObjectSensor, usePTZControl, usePlugin, usePluginStorage, useRpcCall, useRpcSubscription, useSensorById, useSensorByType, useSensorStorage, useSensors, useSensorsByType, useSnapshot, useTabVisibility, useTerminal, useTopmostFullscreenElement };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camera.ui/browser",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.181",
|
|
4
4
|
"description": "camera.ui browser client",
|
|
5
5
|
"author": "seydx (https://github.com/cameraui/clients)",
|
|
6
6
|
"type": "module",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@camera.ui/logger": "file:../../packages/logger",
|
|
41
|
-
"@camera.ui/rpc": "^1.0.
|
|
42
|
-
"@camera.ui/sdk": "~1.2.
|
|
41
|
+
"@camera.ui/rpc": "^1.0.12",
|
|
42
|
+
"@camera.ui/sdk": "~1.2.35",
|
|
43
43
|
"@camera.ui/transport": "file:../../packages/transport",
|
|
44
44
|
"@eneris/push-receiver": "^4.3.1",
|
|
45
45
|
"@microsoft/api-extractor": "^7.59.0",
|