@camstack/addon-osd-manager 0.1.235 → 0.1.237
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/{MotionZonesSettings-CXYmJeEj.mjs → MotionZonesSettings-7Vbym3TT.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-s1lxaThA.mjs → PrivacyMaskSettings-wnU8Ju8m.mjs} +4 -4
- package/dist/{SceneMonitorEditor-DVTGOyG4.mjs → SceneMonitorEditor-vGtrP-cH.mjs} +3 -3
- package/dist/_stub.js +257 -251
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-HPUeQ2rW.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-jEKBdGBv.mjs} +3 -3
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BereOozp.mjs +26 -0
- package/dist/{hostInit-CVNfJUNs.mjs → hostInit-axhhtI5J.mjs} +2 -2
- package/dist/index.js +104 -11
- package/dist/index.mjs +104 -11
- package/dist/{player-overlays-Dww91Wz6.mjs → player-overlays-Bl7_5BCk.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-Hqunukz5.mjs → responsive-BhiSaPOR.mjs} +1 -1
- package/dist/{scene-monitor-copy-Cg3vheyc.mjs → scene-monitor-copy-Dkm9sS_o.mjs} +1 -1
- package/dist/{square-DLF3YKUK.mjs → square--YygXCVY.mjs} +1 -1
- package/dist/{trash-2-DZZ-mygA.mjs → trash-2-C74NEbN7.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-D4ppKOBm.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Cz3C_9Hg.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-M-4Jyqe4.mjs +0 -26
package/dist/_stub.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./virtualExposes-BgZ5Cn7S.mjs";
|
|
2
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
2
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Cz3C_9Hg.mjs";
|
|
3
3
|
import { _ as e, b as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, p as d, r as f, t as p, u as m, v as h } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-BbmIfQSr.mjs";
|
|
4
|
-
import { a as g, d as _, f as v, i as y, l as b, n as x, o as S, p as C, r as w, t as T, u as E } from "./responsive-
|
|
5
|
-
import { d as D, l as O, u as ee } from "./scene-monitor-copy-
|
|
6
|
-
import { i as te, r as ne } from "./player-overlays-
|
|
7
|
-
import { r as re, t as ie } from "./square
|
|
8
|
-
import { t as ae } from "./trash-2-
|
|
9
|
-
import {
|
|
4
|
+
import { a as g, d as _, f as v, i as y, l as b, n as x, o as S, p as C, r as w, t as T, u as E } from "./responsive-BhiSaPOR.mjs";
|
|
5
|
+
import { d as D, l as O, u as ee } from "./scene-monitor-copy-Dkm9sS_o.mjs";
|
|
6
|
+
import { i as te, r as ne } from "./player-overlays-Bl7_5BCk.mjs";
|
|
7
|
+
import { r as re, t as ie } from "./square--YygXCVY.mjs";
|
|
8
|
+
import { t as ae } from "./trash-2-C74NEbN7.mjs";
|
|
9
|
+
import { _ as oe, a as k, c as se, d as ce, f as A, h as j, l as le, m as ue, n as de, o as fe, p as M, r as pe, s as me, t as he, u as ge } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BereOozp.mjs";
|
|
10
10
|
import { t as _e } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BpP33rwB.mjs";
|
|
11
11
|
import { n as N, r as P, t as ve } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
|
|
12
12
|
import { t as ye } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_2_dom__loadShare__.js-qB5uHZAd.mjs";
|
|
@@ -2194,336 +2194,336 @@ typeof globalThis < "u" && !Kn && (globalThis.__camstackTrpcReact = F), t(), t()
|
|
|
2194
2194
|
//#endregion
|
|
2195
2195
|
//#region ../ui-library/src/composites/device-meta.ts
|
|
2196
2196
|
var qn = {
|
|
2197
|
-
[
|
|
2197
|
+
[M.Camera]: {
|
|
2198
2198
|
icon: D,
|
|
2199
2199
|
label: "Camera"
|
|
2200
2200
|
},
|
|
2201
|
-
[
|
|
2201
|
+
[M.Hub]: {
|
|
2202
2202
|
icon: Ht,
|
|
2203
2203
|
label: "Hub"
|
|
2204
2204
|
},
|
|
2205
|
-
[
|
|
2205
|
+
[M.Light]: {
|
|
2206
2206
|
icon: wt,
|
|
2207
2207
|
label: "Light"
|
|
2208
2208
|
},
|
|
2209
|
-
[
|
|
2209
|
+
[M.Siren]: {
|
|
2210
2210
|
icon: un,
|
|
2211
2211
|
label: "Siren"
|
|
2212
2212
|
},
|
|
2213
|
-
[
|
|
2213
|
+
[M.Switch]: {
|
|
2214
2214
|
icon: Cn,
|
|
2215
2215
|
label: "Switch"
|
|
2216
2216
|
},
|
|
2217
|
-
[
|
|
2217
|
+
[M.Sensor]: {
|
|
2218
2218
|
icon: xe,
|
|
2219
2219
|
label: "Sensor"
|
|
2220
2220
|
},
|
|
2221
|
-
[
|
|
2221
|
+
[M.Thermostat]: {
|
|
2222
2222
|
icon: Sn,
|
|
2223
2223
|
label: "Thermostat"
|
|
2224
2224
|
},
|
|
2225
|
-
[
|
|
2225
|
+
[M.Climate]: {
|
|
2226
2226
|
icon: Se,
|
|
2227
2227
|
label: "Air conditioner"
|
|
2228
2228
|
},
|
|
2229
|
-
[
|
|
2229
|
+
[M.Button]: {
|
|
2230
2230
|
icon: Ge,
|
|
2231
2231
|
label: "Button"
|
|
2232
2232
|
},
|
|
2233
|
-
[
|
|
2233
|
+
[M.EventEmitter]: {
|
|
2234
2234
|
icon: Un,
|
|
2235
2235
|
label: "Event Emitter"
|
|
2236
2236
|
},
|
|
2237
|
-
[
|
|
2237
|
+
[M.Update]: {
|
|
2238
2238
|
icon: en,
|
|
2239
2239
|
label: "Update"
|
|
2240
2240
|
},
|
|
2241
|
-
[
|
|
2241
|
+
[M.Generic]: {
|
|
2242
2242
|
icon: Ie,
|
|
2243
2243
|
label: "Generic"
|
|
2244
2244
|
},
|
|
2245
|
-
[
|
|
2245
|
+
[M.Notifier]: {
|
|
2246
2246
|
icon: Ae,
|
|
2247
2247
|
label: "Notifier"
|
|
2248
2248
|
},
|
|
2249
|
-
[
|
|
2249
|
+
[M.Script]: {
|
|
2250
2250
|
icon: nn,
|
|
2251
2251
|
label: "Script"
|
|
2252
2252
|
},
|
|
2253
|
-
[
|
|
2253
|
+
[M.Automation]: {
|
|
2254
2254
|
icon: Vn,
|
|
2255
2255
|
label: "Automation"
|
|
2256
2256
|
},
|
|
2257
|
-
[
|
|
2257
|
+
[M.Lock]: {
|
|
2258
2258
|
icon: kt,
|
|
2259
2259
|
label: "Lock"
|
|
2260
2260
|
},
|
|
2261
|
-
[
|
|
2261
|
+
[M.Cover]: {
|
|
2262
2262
|
icon: Ne,
|
|
2263
2263
|
label: "Cover"
|
|
2264
2264
|
},
|
|
2265
|
-
[
|
|
2265
|
+
[M.Valve]: {
|
|
2266
2266
|
icon: qt,
|
|
2267
2267
|
label: "Valve"
|
|
2268
2268
|
},
|
|
2269
|
-
[
|
|
2269
|
+
[M.Humidifier]: {
|
|
2270
2270
|
icon: Ln,
|
|
2271
2271
|
label: "Humidifier"
|
|
2272
2272
|
},
|
|
2273
|
-
[
|
|
2273
|
+
[M.WaterHeater]: {
|
|
2274
2274
|
icon: Ee,
|
|
2275
2275
|
label: "Water heater"
|
|
2276
2276
|
},
|
|
2277
|
-
[
|
|
2277
|
+
[M.Fan]: {
|
|
2278
2278
|
icon: ut,
|
|
2279
2279
|
label: "Fan"
|
|
2280
2280
|
},
|
|
2281
|
-
[
|
|
2281
|
+
[M.MediaPlayer]: {
|
|
2282
2282
|
icon: Pt,
|
|
2283
2283
|
label: "Media player"
|
|
2284
2284
|
},
|
|
2285
|
-
[
|
|
2285
|
+
[M.AlarmPanel]: {
|
|
2286
2286
|
icon: on,
|
|
2287
2287
|
label: "Alarm panel"
|
|
2288
2288
|
},
|
|
2289
|
-
[
|
|
2289
|
+
[M.Control]: {
|
|
2290
2290
|
icon: pn,
|
|
2291
2291
|
label: "Control"
|
|
2292
2292
|
},
|
|
2293
|
-
[
|
|
2293
|
+
[M.Presence]: {
|
|
2294
2294
|
icon: jt,
|
|
2295
2295
|
label: "Presence"
|
|
2296
2296
|
},
|
|
2297
|
-
[
|
|
2297
|
+
[M.Weather]: {
|
|
2298
2298
|
icon: Qe,
|
|
2299
2299
|
label: "Weather"
|
|
2300
2300
|
},
|
|
2301
|
-
[
|
|
2301
|
+
[M.Vacuum]: {
|
|
2302
2302
|
icon: Fe,
|
|
2303
2303
|
label: "Vacuum"
|
|
2304
2304
|
},
|
|
2305
|
-
[
|
|
2305
|
+
[M.LawnMower]: {
|
|
2306
2306
|
icon: Tn,
|
|
2307
2307
|
label: "Lawn mower"
|
|
2308
2308
|
},
|
|
2309
|
-
[
|
|
2309
|
+
[M.Container]: {
|
|
2310
2310
|
icon: Ie,
|
|
2311
2311
|
label: "Container"
|
|
2312
2312
|
},
|
|
2313
|
-
[
|
|
2313
|
+
[M.Image]: {
|
|
2314
2314
|
icon: bt,
|
|
2315
2315
|
label: "Image"
|
|
2316
2316
|
},
|
|
2317
|
-
[
|
|
2317
|
+
[M.PetFeeder]: {
|
|
2318
2318
|
icon: Pe,
|
|
2319
2319
|
label: "Pet feeder"
|
|
2320
2320
|
}
|
|
2321
2321
|
}, Jn = {
|
|
2322
|
-
[
|
|
2322
|
+
[A.Siren]: {
|
|
2323
2323
|
icon: un,
|
|
2324
2324
|
label: "Siren"
|
|
2325
2325
|
},
|
|
2326
|
-
[
|
|
2326
|
+
[A.Floodlight]: {
|
|
2327
2327
|
icon: wt,
|
|
2328
2328
|
label: "Floodlight"
|
|
2329
2329
|
},
|
|
2330
|
-
[
|
|
2330
|
+
[A.Spotlight]: {
|
|
2331
2331
|
icon: pt,
|
|
2332
2332
|
label: "Spotlight"
|
|
2333
2333
|
},
|
|
2334
|
-
[
|
|
2334
|
+
[A.PirSensor]: {
|
|
2335
2335
|
icon: Qt,
|
|
2336
2336
|
label: "PIR sensor"
|
|
2337
2337
|
},
|
|
2338
|
-
[
|
|
2338
|
+
[A.Chime]: {
|
|
2339
2339
|
icon: Ae,
|
|
2340
2340
|
label: "Chime"
|
|
2341
2341
|
},
|
|
2342
|
-
[
|
|
2342
|
+
[A.Autotrack]: {
|
|
2343
2343
|
icon: nt,
|
|
2344
2344
|
label: "Auto-track"
|
|
2345
2345
|
},
|
|
2346
|
-
[
|
|
2346
|
+
[A.Nightvision]: {
|
|
2347
2347
|
icon: It,
|
|
2348
2348
|
label: "Night vision"
|
|
2349
2349
|
},
|
|
2350
|
-
[
|
|
2350
|
+
[A.PrivacyMask]: {
|
|
2351
2351
|
icon: re,
|
|
2352
2352
|
label: "Privacy mask"
|
|
2353
2353
|
},
|
|
2354
|
-
[
|
|
2354
|
+
[A.Doorbell]: {
|
|
2355
2355
|
icon: it,
|
|
2356
2356
|
label: "Doorbell"
|
|
2357
2357
|
},
|
|
2358
|
-
[
|
|
2358
|
+
[A.BinaryHelper]: {
|
|
2359
2359
|
icon: Cn,
|
|
2360
2360
|
label: "Binary helper"
|
|
2361
2361
|
},
|
|
2362
|
-
[
|
|
2362
|
+
[A.MotionSensor]: {
|
|
2363
2363
|
icon: ht,
|
|
2364
2364
|
label: "Motion sensor"
|
|
2365
2365
|
},
|
|
2366
|
-
[
|
|
2366
|
+
[A.ContactSensor]: {
|
|
2367
2367
|
icon: at,
|
|
2368
2368
|
label: "Contact sensor"
|
|
2369
2369
|
},
|
|
2370
|
-
[
|
|
2370
|
+
[A.LeakSensor]: {
|
|
2371
2371
|
icon: st,
|
|
2372
2372
|
label: "Leak sensor"
|
|
2373
2373
|
},
|
|
2374
|
-
[
|
|
2374
|
+
[A.SmokeSensor]: {
|
|
2375
2375
|
icon: Ce,
|
|
2376
2376
|
label: "Smoke sensor"
|
|
2377
2377
|
},
|
|
2378
|
-
[
|
|
2378
|
+
[A.COSensor]: {
|
|
2379
2379
|
icon: Bn,
|
|
2380
2380
|
label: "CO sensor"
|
|
2381
2381
|
},
|
|
2382
|
-
[
|
|
2382
|
+
[A.GasSensor]: {
|
|
2383
2383
|
icon: ft,
|
|
2384
2384
|
label: "Gas sensor"
|
|
2385
2385
|
},
|
|
2386
|
-
[
|
|
2386
|
+
[A.TamperSensor]: {
|
|
2387
2387
|
icon: on,
|
|
2388
2388
|
label: "Tamper sensor"
|
|
2389
2389
|
},
|
|
2390
|
-
[
|
|
2390
|
+
[A.VibrationSensor]: {
|
|
2391
2391
|
icon: Pn,
|
|
2392
2392
|
label: "Vibration sensor"
|
|
2393
2393
|
},
|
|
2394
|
-
[
|
|
2394
|
+
[A.ConnectivitySensor]: {
|
|
2395
2395
|
icon: zn,
|
|
2396
2396
|
label: "Connectivity"
|
|
2397
2397
|
},
|
|
2398
|
-
[
|
|
2398
|
+
[A.SoundSensor]: {
|
|
2399
2399
|
icon: Fn,
|
|
2400
2400
|
label: "Sound sensor"
|
|
2401
2401
|
},
|
|
2402
|
-
[
|
|
2402
|
+
[A.BinarySensor]: {
|
|
2403
2403
|
icon: Cn,
|
|
2404
2404
|
label: "Binary sensor"
|
|
2405
2405
|
},
|
|
2406
|
-
[
|
|
2406
|
+
[A.TemperatureSensor]: {
|
|
2407
2407
|
icon: Sn,
|
|
2408
2408
|
label: "Temperature"
|
|
2409
2409
|
},
|
|
2410
|
-
[
|
|
2410
|
+
[A.HumiditySensor]: {
|
|
2411
2411
|
icon: ct,
|
|
2412
2412
|
label: "Humidity"
|
|
2413
2413
|
},
|
|
2414
|
-
[
|
|
2414
|
+
[A.AmbientLightSensor]: {
|
|
2415
2415
|
icon: yn,
|
|
2416
2416
|
label: "Ambient light"
|
|
2417
2417
|
},
|
|
2418
|
-
[
|
|
2418
|
+
[A.PressureSensor]: {
|
|
2419
2419
|
icon: gt,
|
|
2420
2420
|
label: "Pressure"
|
|
2421
2421
|
},
|
|
2422
|
-
[
|
|
2422
|
+
[A.WindSensor]: {
|
|
2423
2423
|
icon: Bn,
|
|
2424
2424
|
label: "Wind"
|
|
2425
2425
|
},
|
|
2426
|
-
[
|
|
2426
|
+
[A.RainSensor]: {
|
|
2427
2427
|
icon: Xe,
|
|
2428
2428
|
label: "Rain"
|
|
2429
2429
|
},
|
|
2430
|
-
[
|
|
2430
|
+
[A.UvSensor]: {
|
|
2431
2431
|
icon: vn,
|
|
2432
2432
|
label: "UV index"
|
|
2433
2433
|
},
|
|
2434
|
-
[
|
|
2434
|
+
[A.SolarRadiationSensor]: {
|
|
2435
2435
|
icon: bn,
|
|
2436
2436
|
label: "Solar radiation"
|
|
2437
2437
|
},
|
|
2438
|
-
[
|
|
2438
|
+
[A.SoilMoistureSensor]: {
|
|
2439
2439
|
icon: _n,
|
|
2440
2440
|
label: "Soil moisture"
|
|
2441
2441
|
},
|
|
2442
|
-
[
|
|
2442
|
+
[A.PowerSensor]: {
|
|
2443
2443
|
icon: Un,
|
|
2444
2444
|
label: "Power"
|
|
2445
2445
|
},
|
|
2446
|
-
[
|
|
2446
|
+
[A.EnergySensor]: {
|
|
2447
2447
|
icon: Un,
|
|
2448
2448
|
label: "Energy"
|
|
2449
2449
|
},
|
|
2450
|
-
[
|
|
2450
|
+
[A.VoltageSensor]: {
|
|
2451
2451
|
icon: Un,
|
|
2452
2452
|
label: "Voltage"
|
|
2453
2453
|
},
|
|
2454
|
-
[
|
|
2454
|
+
[A.CurrentSensor]: {
|
|
2455
2455
|
icon: Un,
|
|
2456
2456
|
label: "Current"
|
|
2457
2457
|
},
|
|
2458
|
-
[
|
|
2458
|
+
[A.AirQualitySensor]: {
|
|
2459
2459
|
icon: Bn,
|
|
2460
2460
|
label: "Air quality"
|
|
2461
2461
|
},
|
|
2462
|
-
[
|
|
2462
|
+
[A.BatterySensor]: {
|
|
2463
2463
|
icon: gt,
|
|
2464
2464
|
label: "Battery"
|
|
2465
2465
|
},
|
|
2466
|
-
[
|
|
2466
|
+
[A.NumericSensor]: {
|
|
2467
2467
|
icon: vt,
|
|
2468
2468
|
label: "Numeric sensor"
|
|
2469
2469
|
},
|
|
2470
|
-
[
|
|
2470
|
+
[A.EnumSensor]: {
|
|
2471
2471
|
icon: Et,
|
|
2472
2472
|
label: "Enum sensor"
|
|
2473
2473
|
},
|
|
2474
|
-
[
|
|
2474
|
+
[A.DateTimeSensor]: {
|
|
2475
2475
|
icon: qe,
|
|
2476
2476
|
label: "Date / time"
|
|
2477
2477
|
},
|
|
2478
|
-
[
|
|
2478
|
+
[A.GenericSensor]: {
|
|
2479
2479
|
icon: gt,
|
|
2480
2480
|
label: "Sensor"
|
|
2481
2481
|
},
|
|
2482
|
-
[
|
|
2482
|
+
[A.NumericControl]: {
|
|
2483
2483
|
icon: pn,
|
|
2484
2484
|
label: "Numeric control"
|
|
2485
2485
|
},
|
|
2486
|
-
[
|
|
2486
|
+
[A.SelectControl]: {
|
|
2487
2487
|
icon: Tt,
|
|
2488
2488
|
label: "Select control"
|
|
2489
2489
|
},
|
|
2490
|
-
[
|
|
2490
|
+
[A.TextControl]: {
|
|
2491
2491
|
icon: kn,
|
|
2492
2492
|
label: "Text control"
|
|
2493
2493
|
},
|
|
2494
|
-
[
|
|
2494
|
+
[A.DateTimeControl]: {
|
|
2495
2495
|
icon: qe,
|
|
2496
2496
|
label: "Date / time control"
|
|
2497
2497
|
},
|
|
2498
|
-
[
|
|
2498
|
+
[A.MobilePushNotifier]: {
|
|
2499
2499
|
icon: mn,
|
|
2500
2500
|
label: "Mobile push"
|
|
2501
2501
|
},
|
|
2502
|
-
[
|
|
2502
|
+
[A.MessagingNotifier]: {
|
|
2503
2503
|
icon: Nt,
|
|
2504
2504
|
label: "Messaging"
|
|
2505
2505
|
},
|
|
2506
|
-
[
|
|
2506
|
+
[A.EmailNotifier]: {
|
|
2507
2507
|
icon: At,
|
|
2508
2508
|
label: "Email"
|
|
2509
2509
|
},
|
|
2510
|
-
[
|
|
2510
|
+
[A.GenericNotifier]: {
|
|
2511
2511
|
icon: Ae,
|
|
2512
2512
|
label: "Notifier"
|
|
2513
2513
|
}
|
|
2514
|
-
}, Yn = new Set(Object.values(
|
|
2515
|
-
new Set(Object.values(
|
|
2514
|
+
}, Yn = new Set(Object.values(M));
|
|
2515
|
+
new Set(Object.values(A));
|
|
2516
2516
|
function Xn(e) {
|
|
2517
2517
|
return Yn.has(e);
|
|
2518
2518
|
}
|
|
2519
|
-
var Zn = qn[
|
|
2520
|
-
Jn[
|
|
2519
|
+
var Zn = qn[M.Generic];
|
|
2520
|
+
Jn[A.GenericSensor];
|
|
2521
2521
|
function Qn(e) {
|
|
2522
2522
|
return Xn(e) ? qn[e] ?? Zn : Zn;
|
|
2523
2523
|
}
|
|
2524
2524
|
//#endregion
|
|
2525
2525
|
//#region ../ui-library/src/composites/icon-glyphs.ts
|
|
2526
|
-
Object.values(
|
|
2526
|
+
Object.values(M).map((e) => {
|
|
2527
2527
|
let t = Qn(e);
|
|
2528
2528
|
return {
|
|
2529
2529
|
id: e,
|
|
@@ -2936,18 +2936,18 @@ var tr = (e, t) => {
|
|
|
2936
2936
|
di,
|
|
2937
2937
|
ei,
|
|
2938
2938
|
{ size: [R, L] }
|
|
2939
|
-
],
|
|
2939
|
+
], j = () => [
|
|
2940
2940
|
Gr,
|
|
2941
2941
|
ci,
|
|
2942
2942
|
ti
|
|
2943
|
-
],
|
|
2943
|
+
], le = () => [
|
|
2944
2944
|
"",
|
|
2945
2945
|
"none",
|
|
2946
2946
|
"full",
|
|
2947
2947
|
l,
|
|
2948
2948
|
R,
|
|
2949
2949
|
L
|
|
2950
|
-
],
|
|
2950
|
+
], ue = () => [
|
|
2951
2951
|
"",
|
|
2952
2952
|
I,
|
|
2953
2953
|
ci,
|
|
@@ -3547,41 +3547,41 @@ var tr = (e, t) => {
|
|
|
3547
3547
|
oi
|
|
3548
3548
|
] }],
|
|
3549
3549
|
"bg-color": [{ bg: k() }],
|
|
3550
|
-
"gradient-from-pos": [{ from:
|
|
3551
|
-
"gradient-via-pos": [{ via:
|
|
3552
|
-
"gradient-to-pos": [{ to:
|
|
3550
|
+
"gradient-from-pos": [{ from: j() }],
|
|
3551
|
+
"gradient-via-pos": [{ via: j() }],
|
|
3552
|
+
"gradient-to-pos": [{ to: j() }],
|
|
3553
3553
|
"gradient-from": [{ from: k() }],
|
|
3554
3554
|
"gradient-via": [{ via: k() }],
|
|
3555
3555
|
"gradient-to": [{ to: k() }],
|
|
3556
|
-
rounded: [{ rounded:
|
|
3557
|
-
"rounded-s": [{ "rounded-s":
|
|
3558
|
-
"rounded-e": [{ "rounded-e":
|
|
3559
|
-
"rounded-t": [{ "rounded-t":
|
|
3560
|
-
"rounded-r": [{ "rounded-r":
|
|
3561
|
-
"rounded-b": [{ "rounded-b":
|
|
3562
|
-
"rounded-l": [{ "rounded-l":
|
|
3563
|
-
"rounded-ss": [{ "rounded-ss":
|
|
3564
|
-
"rounded-se": [{ "rounded-se":
|
|
3565
|
-
"rounded-ee": [{ "rounded-ee":
|
|
3566
|
-
"rounded-es": [{ "rounded-es":
|
|
3567
|
-
"rounded-tl": [{ "rounded-tl":
|
|
3568
|
-
"rounded-tr": [{ "rounded-tr":
|
|
3569
|
-
"rounded-br": [{ "rounded-br":
|
|
3570
|
-
"rounded-bl": [{ "rounded-bl":
|
|
3571
|
-
"border-w": [{ border:
|
|
3572
|
-
"border-w-x": [{ "border-x":
|
|
3573
|
-
"border-w-y": [{ "border-y":
|
|
3574
|
-
"border-w-s": [{ "border-s":
|
|
3575
|
-
"border-w-e": [{ "border-e":
|
|
3576
|
-
"border-w-bs": [{ "border-bs":
|
|
3577
|
-
"border-w-be": [{ "border-be":
|
|
3578
|
-
"border-w-t": [{ "border-t":
|
|
3579
|
-
"border-w-r": [{ "border-r":
|
|
3580
|
-
"border-w-b": [{ "border-b":
|
|
3581
|
-
"border-w-l": [{ "border-l":
|
|
3582
|
-
"divide-x": [{ "divide-x":
|
|
3556
|
+
rounded: [{ rounded: le() }],
|
|
3557
|
+
"rounded-s": [{ "rounded-s": le() }],
|
|
3558
|
+
"rounded-e": [{ "rounded-e": le() }],
|
|
3559
|
+
"rounded-t": [{ "rounded-t": le() }],
|
|
3560
|
+
"rounded-r": [{ "rounded-r": le() }],
|
|
3561
|
+
"rounded-b": [{ "rounded-b": le() }],
|
|
3562
|
+
"rounded-l": [{ "rounded-l": le() }],
|
|
3563
|
+
"rounded-ss": [{ "rounded-ss": le() }],
|
|
3564
|
+
"rounded-se": [{ "rounded-se": le() }],
|
|
3565
|
+
"rounded-ee": [{ "rounded-ee": le() }],
|
|
3566
|
+
"rounded-es": [{ "rounded-es": le() }],
|
|
3567
|
+
"rounded-tl": [{ "rounded-tl": le() }],
|
|
3568
|
+
"rounded-tr": [{ "rounded-tr": le() }],
|
|
3569
|
+
"rounded-br": [{ "rounded-br": le() }],
|
|
3570
|
+
"rounded-bl": [{ "rounded-bl": le() }],
|
|
3571
|
+
"border-w": [{ border: ue() }],
|
|
3572
|
+
"border-w-x": [{ "border-x": ue() }],
|
|
3573
|
+
"border-w-y": [{ "border-y": ue() }],
|
|
3574
|
+
"border-w-s": [{ "border-s": ue() }],
|
|
3575
|
+
"border-w-e": [{ "border-e": ue() }],
|
|
3576
|
+
"border-w-bs": [{ "border-bs": ue() }],
|
|
3577
|
+
"border-w-be": [{ "border-be": ue() }],
|
|
3578
|
+
"border-w-t": [{ "border-t": ue() }],
|
|
3579
|
+
"border-w-r": [{ "border-r": ue() }],
|
|
3580
|
+
"border-w-b": [{ "border-b": ue() }],
|
|
3581
|
+
"border-w-l": [{ "border-l": ue() }],
|
|
3582
|
+
"divide-x": [{ "divide-x": ue() }],
|
|
3583
3583
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
3584
|
-
"divide-y": [{ "divide-y":
|
|
3584
|
+
"divide-y": [{ "divide-y": ue() }],
|
|
3585
3585
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
3586
3586
|
"border-style": [{ border: [
|
|
3587
3587
|
...de(),
|
|
@@ -3637,12 +3637,12 @@ var tr = (e, t) => {
|
|
|
3637
3637
|
si
|
|
3638
3638
|
] }],
|
|
3639
3639
|
"inset-shadow-color": [{ "inset-shadow": k() }],
|
|
3640
|
-
"ring-w": [{ ring:
|
|
3640
|
+
"ring-w": [{ ring: ue() }],
|
|
3641
3641
|
"ring-w-inset": ["ring-inset"],
|
|
3642
3642
|
"ring-color": [{ ring: k() }],
|
|
3643
3643
|
"ring-offset-w": [{ "ring-offset": [I, ti] }],
|
|
3644
3644
|
"ring-offset-color": [{ "ring-offset": k() }],
|
|
3645
|
-
"inset-ring-w": [{ "inset-ring":
|
|
3645
|
+
"inset-ring-w": [{ "inset-ring": ue() }],
|
|
3646
3646
|
"inset-ring-color": [{ "inset-ring": k() }],
|
|
3647
3647
|
"text-shadow": [{ "text-shadow": [
|
|
3648
3648
|
"none",
|
|
@@ -4890,7 +4890,7 @@ function Ta() {
|
|
|
4890
4890
|
function Ea() {
|
|
4891
4891
|
return Ta().confirm;
|
|
4892
4892
|
}
|
|
4893
|
-
t(), v("camstack:device-context", null), t(), t(), v("camstack:widget-registry", null), t(), t(), t(), t(),
|
|
4893
|
+
t(), v("camstack:device-context", null), t(), t(), v("camstack:widget-registry", null), t(), t(), t(), t(), M.Camera;
|
|
4894
4894
|
//#endregion
|
|
4895
4895
|
//#region ../ui-library/src/hooks/use-device-capability.ts
|
|
4896
4896
|
function B(e) {
|
|
@@ -5150,7 +5150,7 @@ function Ha({ className: e, ...t }) {
|
|
|
5150
5150
|
}
|
|
5151
5151
|
//#endregion
|
|
5152
5152
|
//#region ../../node_modules/qrcode.react/lib/esm/index.js
|
|
5153
|
-
t(), t(), t(), t(), t(), t(), t(), s(() => import("./MotionZonesSettings-
|
|
5153
|
+
t(), t(), t(), t(), t(), t(), t(), s(() => import("./MotionZonesSettings-7Vbym3TT.mjs").then((e) => ({ default: e.MotionZonesSettings }))), s(() => import("./PrivacyMaskSettings-wnU8Ju8m.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), t(), t();
|
|
5154
5154
|
var Ua = Object.defineProperty, Wa = Object.getOwnPropertySymbols, Ga = Object.prototype.hasOwnProperty, Ka = Object.prototype.propertyIsEnumerable, qa = (e, t, n) => t in e ? Ua(e, t, {
|
|
5155
5155
|
enumerable: !0,
|
|
5156
5156
|
configurable: !0,
|
|
@@ -6414,7 +6414,7 @@ function Go({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
|
|
|
6414
6414
|
page: se,
|
|
6415
6415
|
labels: b,
|
|
6416
6416
|
onPageChange: ee
|
|
6417
|
-
}) : null,
|
|
6417
|
+
}) : null, j = x === void 0 ? e : [Io(x, ce, (e) => String(n ? n(e, t.indexOf(e)) : t.indexOf(e))), ...e];
|
|
6418
6418
|
if (t.length === 0 && o) return /* @__PURE__ */ N("div", {
|
|
6419
6419
|
className: `rounded-lg ${c ? "border border-border" : ""} bg-surface px-3 py-4 text-xs text-foreground-subtle text-center ${s ?? ""}`,
|
|
6420
6420
|
children: o
|
|
@@ -6427,14 +6427,14 @@ function Go({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
|
|
|
6427
6427
|
children: ce.map((e, t) => /* @__PURE__ */ N(Ko, {
|
|
6428
6428
|
row: e,
|
|
6429
6429
|
rowIndex: t,
|
|
6430
|
-
columns:
|
|
6430
|
+
columns: j,
|
|
6431
6431
|
bordered: c,
|
|
6432
6432
|
onRowClick: r,
|
|
6433
6433
|
rowClassName: u
|
|
6434
6434
|
}, n ? n(e, t) : t))
|
|
6435
6435
|
}), A]
|
|
6436
6436
|
});
|
|
6437
|
-
let
|
|
6437
|
+
let le = /* @__PURE__ */ N("div", {
|
|
6438
6438
|
className: [
|
|
6439
6439
|
"rounded-lg",
|
|
6440
6440
|
c ? "border border-border" : "",
|
|
@@ -6448,7 +6448,7 @@ function Go({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
|
|
|
6448
6448
|
style: { minWidth: `${i}px` },
|
|
6449
6449
|
children: [/* @__PURE__ */ N("thead", {
|
|
6450
6450
|
className: "bg-surface",
|
|
6451
|
-
children: /* @__PURE__ */ N("tr", { children:
|
|
6451
|
+
children: /* @__PURE__ */ N("tr", { children: j.map((e) => {
|
|
6452
6452
|
let t = e.align ?? "left", n = e.nowrap ?? !0, r = e.sortValue !== void 0, i = k !== null && k.columnKey === e.key;
|
|
6453
6453
|
return /* @__PURE__ */ N("th", {
|
|
6454
6454
|
"aria-sort": r ? Uo(k, e.key) : void 0,
|
|
@@ -6473,7 +6473,7 @@ function Go({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
|
|
|
6473
6473
|
return /* @__PURE__ */ N("tr", {
|
|
6474
6474
|
onClick: o ? () => r(e, t) : void 0,
|
|
6475
6475
|
className: [o ? "cursor-pointer hover:bg-primary/5" : "hover:bg-primary/5", a].filter(Boolean).join(" "),
|
|
6476
|
-
children:
|
|
6476
|
+
children: j.map((n) => {
|
|
6477
6477
|
let r = n.align ?? "left", i = n.nowrap ?? !0;
|
|
6478
6478
|
return /* @__PURE__ */ N("td", {
|
|
6479
6479
|
"data-cell": n.key,
|
|
@@ -6491,10 +6491,10 @@ function Go({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
|
|
|
6491
6491
|
});
|
|
6492
6492
|
return A === null ? p ? /* @__PURE__ */ N("div", {
|
|
6493
6493
|
className: `flex min-h-0 flex-1 flex-col ${s ?? ""}`,
|
|
6494
|
-
children:
|
|
6495
|
-
}) :
|
|
6494
|
+
children: le
|
|
6495
|
+
}) : le : /* @__PURE__ */ P("div", {
|
|
6496
6496
|
className: p ? `flex min-h-0 flex-1 flex-col ${s ?? ""}` : s,
|
|
6497
|
-
children: [
|
|
6497
|
+
children: [le, A]
|
|
6498
6498
|
});
|
|
6499
6499
|
}
|
|
6500
6500
|
function Ko({ row: e, rowIndex: t, columns: n, bordered: r, onRowClick: i, rowClassName: a }) {
|
|
@@ -6792,7 +6792,7 @@ var fs = {
|
|
|
6792
6792
|
//#endregion
|
|
6793
6793
|
//#region ../ui-library/src/composites/detection-result-tree.tsx
|
|
6794
6794
|
Object.freeze({
|
|
6795
|
-
...Object.fromEntries(Object.values(
|
|
6795
|
+
...Object.fromEntries(Object.values(ue).filter((e) => e.category === "detection" || e.kind === "motion").map((e) => [e.kind, e.color])),
|
|
6796
6796
|
...fs
|
|
6797
6797
|
}), t(), t();
|
|
6798
6798
|
//#endregion
|
|
@@ -7259,30 +7259,30 @@ var H = class {
|
|
|
7259
7259
|
this.allowedErrorProps.push(...e);
|
|
7260
7260
|
}
|
|
7261
7261
|
};
|
|
7262
|
-
H.defaultInstance = new H(), H.serialize = H.defaultInstance.serialize.bind(H.defaultInstance), H.deserialize = H.defaultInstance.deserialize.bind(H.defaultInstance), H.stringify = H.defaultInstance.stringify.bind(H.defaultInstance), H.parse = H.defaultInstance.parse.bind(H.defaultInstance), H.registerClass = H.defaultInstance.registerClass.bind(H.defaultInstance), H.registerSymbol = H.defaultInstance.registerSymbol.bind(H.defaultInstance), H.registerCustom = H.defaultInstance.registerCustom.bind(H.defaultInstance), H.allowErrorProps = H.defaultInstance.allowErrorProps.bind(H.defaultInstance), H.serialize, H.deserialize, H.stringify, H.parse, H.registerClass, H.registerCustom, H.registerSymbol, H.allowErrorProps, t(), p(null), t(), t(), t(), p(null), t(), t(), t(),
|
|
7262
|
+
H.defaultInstance = new H(), H.serialize = H.defaultInstance.serialize.bind(H.defaultInstance), H.deserialize = H.defaultInstance.deserialize.bind(H.defaultInstance), H.stringify = H.defaultInstance.stringify.bind(H.defaultInstance), H.parse = H.defaultInstance.parse.bind(H.defaultInstance), H.registerClass = H.defaultInstance.registerClass.bind(H.defaultInstance), H.registerSymbol = H.defaultInstance.registerSymbol.bind(H.defaultInstance), H.registerCustom = H.defaultInstance.registerCustom.bind(H.defaultInstance), H.allowErrorProps = H.defaultInstance.allowErrorProps.bind(H.defaultInstance), H.serialize, H.deserialize, H.stringify, H.parse, H.registerClass, H.registerCustom, H.registerSymbol, H.allowErrorProps, t(), p(null), t(), t(), t(), p(null), t(), t(), t(), j.AddonStarted, j.AddonInstalled, j.AddonRestarted, j.AddonUpdated, j.AddonStopped, j.AddonUninstalled, j.AddonCrashed, j.AddonError, j.DetectionPhaseTransition, j.DetectionResult, j.DetectionEvent, j.DetectionCameraNative, j.ProviderMotion, j.MotionOnMotionChanged, j.MotionAnalysis, j.MotionZonesRaw, j.ProviderDetection, j.PipelineAudioInferenceResult, j.AgentOnline, j.AgentOffline, j.DeviceRegistered, j.DeviceUnregistered, j.DeviceStateChanged, j.EventEmitted;
|
|
7263
7263
|
var Sc = Object.freeze([...fe()]), Cc = Object.freeze([
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7264
|
+
j.PipelineCameraMetricsSnapshot,
|
|
7265
|
+
j.PipelineRunnerLoadSnapshot,
|
|
7266
|
+
j.PipelineEngineMetricsSnapshot,
|
|
7267
|
+
j.PipelineInferenceResult,
|
|
7268
|
+
j.PipelineTrace,
|
|
7269
|
+
j.PipelineProgress,
|
|
7270
|
+
j.StreamBrokerMetricsSnapshot,
|
|
7271
|
+
j.MetricsNodeResourcesSnapshot,
|
|
7272
|
+
j.MetricsNodeProcessesSnapshot,
|
|
7273
|
+
j.ClusterTopologySnapshot,
|
|
7274
|
+
j.MotionAnalysis,
|
|
7275
|
+
j.MotionZonesRaw,
|
|
7276
|
+
j.DetectionResult,
|
|
7277
|
+
j.PipelineAudioInferenceResult,
|
|
7278
|
+
j.PlatformProbePhase,
|
|
7279
|
+
j.BenchmarkProgress,
|
|
7280
|
+
j.ModelDownloadProgress,
|
|
7281
|
+
j.ProviderMotion
|
|
7282
7282
|
]), wc = new Set(Cc);
|
|
7283
7283
|
//#endregion
|
|
7284
7284
|
//#region ../ui-library/src/composites/device-controls/atoms.tsx
|
|
7285
|
-
Object.freeze(Sc.filter((e) => !wc.has(e))), t(), Object.freeze([...new Set(
|
|
7285
|
+
Object.freeze(Sc.filter((e) => !wc.has(e))), t(), Object.freeze([...new Set(oe.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), t(), t();
|
|
7286
7286
|
function Tc({ value: e, unit: t, onDelta: n }) {
|
|
7287
7287
|
return /* @__PURE__ */ P("div", {
|
|
7288
7288
|
className: "flex h-8 w-full overflow-hidden rounded-lg border border-border bg-surface",
|
|
@@ -8465,7 +8465,7 @@ t();
|
|
|
8465
8465
|
//#endregion
|
|
8466
8466
|
//#region ../ui-library/src/lib/resolve-sensor-display.ts
|
|
8467
8467
|
function bl(e) {
|
|
8468
|
-
if (e !== void 0) return
|
|
8468
|
+
if (e !== void 0) return k(e) ?? e;
|
|
8469
8469
|
}
|
|
8470
8470
|
var xl = (e) => e;
|
|
8471
8471
|
function Sl(e) {
|
|
@@ -14306,7 +14306,7 @@ var wp = {
|
|
|
14306
14306
|
HeroCard: Wl
|
|
14307
14307
|
}
|
|
14308
14308
|
};
|
|
14309
|
-
Object.fromEntries(Object.values(
|
|
14309
|
+
Object.fromEntries(Object.values(M).map((e) => [e, wp[ge[e]]])), M.Cover, M.Valve, M.Thermostat, M.Climate, M.Control, M.Button, M.MediaPlayer, M.AlarmPanel, M.Lock, M.Vacuum, M.LawnMower, M.Humidifier, M.Switch, M.Siren, M.Light, M.Fan, M.WaterHeater, M.Sensor, M.Presence, M.EventEmitter, M.Notifier, M.Script, M.Automation, M.Camera, M.Hub, M.Update, M.Generic, M.Weather, M.Container, M.Image, M.PetFeeder, new Set(Object.values(M));
|
|
14310
14310
|
//#endregion
|
|
14311
14311
|
//#region ../ui-library/src/lib/format-last-seen.ts
|
|
14312
14312
|
var Tp = 1e3;
|
|
@@ -17532,7 +17532,7 @@ function cb(e, t = {}) {
|
|
|
17532
17532
|
}
|
|
17533
17533
|
//#endregion
|
|
17534
17534
|
//#region ../ui-library/src/composites/device-selector-picker.tsx
|
|
17535
|
-
t(), t(), t(), t(), t(), t(), t(), p(null), t(), new Set([
|
|
17535
|
+
t(), t(), t(), t(), t(), t(), t(), p(null), t(), new Set([M.Sensor, M.Presence]), t(), p({}), t(), t(), Object.freeze([]), t(), t(), t(), v("camstack:device-quick-detail", null), t(), t(), t(), t(), t(), t(), t(), t(), t(), t(), $({
|
|
17536
17536
|
id: Q(),
|
|
17537
17537
|
stableId: X(),
|
|
17538
17538
|
addonId: X(),
|
|
@@ -19016,83 +19016,87 @@ function hS(e, t) {
|
|
|
19016
19016
|
let n = oS[e];
|
|
19017
19017
|
return t ? e === "camera" || e === "device" ? "No cameras available — the rule applies to all devices." : `No ${n} available — the rule applies to every ${e}.` : `No ${n} available.`;
|
|
19018
19018
|
}
|
|
19019
|
-
function gS({ devices: e, listState: t, fleet: n, value: r, onChange: i, emptyMeansAll: o = !1, savedHadDevices: s = !1, noun: c = "camera", groupTitle: u = fS, emptyLabel: d, annotate: f, disabled: p = !1, testId: m, showAll: h = !1 }) {
|
|
19020
|
-
let
|
|
19019
|
+
function gS({ devices: e, listState: t, fleet: n, value: r, onChange: i, emptyMeansAll: o = !1, savedHadDevices: s = !1, noun: c = "camera", groupTitle: u = fS, emptyLabel: d, annotate: f, disabled: p = !1, testId: m, showAll: h = !1, lockedIds: g, lockedNote: _ = "Already added" }) {
|
|
19020
|
+
let v = l(() => Jx(e), [e]), y = n ?? {
|
|
19021
19021
|
state: t,
|
|
19022
|
-
devices: t === "answered" ?
|
|
19023
|
-
}, [
|
|
19024
|
-
r.length > 0 && !
|
|
19025
|
-
let
|
|
19026
|
-
return t === "answered" && iS(t,
|
|
19022
|
+
devices: t === "answered" ? v : void 0
|
|
19023
|
+
}, b = l(() => new Set(g ?? []), [g]), x = (e) => i(b.size === 0 ? e : e.filter((e) => !b.has(e))), [S, C] = a(!1), [w, T] = a(!1), [E, D] = a(s || r.length > 0);
|
|
19024
|
+
r.length > 0 && !E && D(!0);
|
|
19025
|
+
let O = mS(r, v, y, c), ee = ix(O, w || h), te = S || h, ne = aS(o, r.length, E), re = oS[c];
|
|
19026
|
+
return t === "answered" && iS(t, v.length, r.length) ? /* @__PURE__ */ P("div", {
|
|
19027
19027
|
"data-testid": m,
|
|
19028
19028
|
children: [/* @__PURE__ */ N("p", {
|
|
19029
19029
|
className: "text-[10px] text-foreground-subtle mt-0.5",
|
|
19030
19030
|
children: hS(c, o)
|
|
19031
|
-
}),
|
|
19031
|
+
}), ne && /* @__PURE__ */ N(cS, { noun: c })]
|
|
19032
19032
|
}) : /* @__PURE__ */ P("div", {
|
|
19033
19033
|
className: "mt-1 space-y-1.5",
|
|
19034
19034
|
"data-testid": m,
|
|
19035
19035
|
children: [
|
|
19036
|
-
t === "pending" && /* @__PURE__ */ N(lS, { noun:
|
|
19037
|
-
t === "failed" && /* @__PURE__ */ N(uS, { noun: c === "camera" ? "devices" :
|
|
19036
|
+
t === "pending" && /* @__PURE__ */ N(lS, { noun: re }),
|
|
19037
|
+
t === "failed" && /* @__PURE__ */ N(uS, { noun: c === "camera" ? "devices" : re }),
|
|
19038
19038
|
/* @__PURE__ */ P("div", {
|
|
19039
19039
|
className: "flex flex-wrap items-center gap-1",
|
|
19040
19040
|
children: [
|
|
19041
|
-
|
|
19041
|
+
O.length === 0 ? /* @__PURE__ */ N("span", {
|
|
19042
19042
|
className: "text-[11px] text-foreground-subtle",
|
|
19043
19043
|
children: d ?? (o ? `Every ${c} — no restriction` : "None selected")
|
|
19044
|
-
}) :
|
|
19044
|
+
}) : ee.shown.map((e) => /* @__PURE__ */ N(Ca, {
|
|
19045
19045
|
testId: `picker-chip-${String(e.id)}`,
|
|
19046
19046
|
label: e.label,
|
|
19047
19047
|
warning: e.removed,
|
|
19048
19048
|
...p ? {} : { onRemove: () => i(r.filter((t) => t !== e.id)) }
|
|
19049
19049
|
}, e.id)),
|
|
19050
|
-
|
|
19050
|
+
ee.hidden > 0 && /* @__PURE__ */ P("button", {
|
|
19051
19051
|
type: "button",
|
|
19052
19052
|
className: "rounded-md border border-border px-1.5 py-0.5 text-[11px] text-foreground-subtle hover:bg-surface-hover",
|
|
19053
|
-
onClick: () =>
|
|
19053
|
+
onClick: () => T(!0),
|
|
19054
19054
|
children: [
|
|
19055
19055
|
"+",
|
|
19056
|
-
|
|
19056
|
+
ee.hidden,
|
|
19057
19057
|
" more"
|
|
19058
19058
|
]
|
|
19059
19059
|
}),
|
|
19060
|
-
|
|
19060
|
+
w && O.length > 6 && /* @__PURE__ */ N("button", {
|
|
19061
19061
|
type: "button",
|
|
19062
19062
|
className: "text-[11px] text-foreground-subtle underline",
|
|
19063
|
-
onClick: () =>
|
|
19063
|
+
onClick: () => T(!1),
|
|
19064
19064
|
children: "Show fewer"
|
|
19065
19065
|
}),
|
|
19066
19066
|
t !== "pending" && !h && /* @__PURE__ */ N("button", {
|
|
19067
19067
|
type: "button",
|
|
19068
19068
|
disabled: p,
|
|
19069
|
-
"aria-expanded":
|
|
19070
|
-
onClick: () =>
|
|
19069
|
+
"aria-expanded": S,
|
|
19070
|
+
onClick: () => C((e) => !e),
|
|
19071
19071
|
className: "rounded-md border border-dashed border-border px-1.5 py-0.5 text-[11px] text-foreground hover:bg-surface-hover disabled:opacity-50",
|
|
19072
|
-
children:
|
|
19072
|
+
children: S ? "Done" : r.length === 0 ? `Add ${re}…` : "Edit…"
|
|
19073
19073
|
})
|
|
19074
19074
|
]
|
|
19075
19075
|
}),
|
|
19076
|
-
|
|
19077
|
-
devices:
|
|
19076
|
+
te && t === "answered" && (pS(c) ? /* @__PURE__ */ N(_S, {
|
|
19077
|
+
devices: v,
|
|
19078
19078
|
value: r,
|
|
19079
|
-
onChange:
|
|
19079
|
+
onChange: x,
|
|
19080
|
+
locked: b,
|
|
19081
|
+
lockedNote: _,
|
|
19080
19082
|
annotate: f,
|
|
19081
19083
|
groupTitle: u,
|
|
19082
19084
|
noun: c,
|
|
19083
19085
|
disabled: p,
|
|
19084
19086
|
showAll: h
|
|
19085
19087
|
}) : /* @__PURE__ */ N(bS, {
|
|
19086
|
-
devices:
|
|
19088
|
+
devices: v,
|
|
19087
19089
|
value: r,
|
|
19088
|
-
onChange:
|
|
19090
|
+
onChange: x,
|
|
19091
|
+
locked: b,
|
|
19092
|
+
lockedNote: _,
|
|
19089
19093
|
annotate: f,
|
|
19090
19094
|
groupTitle: u,
|
|
19091
19095
|
noun: c,
|
|
19092
19096
|
disabled: p,
|
|
19093
19097
|
showAll: h
|
|
19094
19098
|
})),
|
|
19095
|
-
|
|
19099
|
+
ne && /* @__PURE__ */ N(cS, { noun: c })
|
|
19096
19100
|
]
|
|
19097
19101
|
});
|
|
19098
19102
|
}
|
|
@@ -19114,57 +19118,57 @@ var yS = {
|
|
|
19114
19118
|
state: "answered",
|
|
19115
19119
|
zones: []
|
|
19116
19120
|
};
|
|
19117
|
-
function bS({ devices: e, value: t, onChange: n, annotate: r, groupTitle: i, noun: o, disabled: s,
|
|
19118
|
-
let [
|
|
19121
|
+
function bS({ devices: e, value: t, onChange: n, annotate: r, groupTitle: i, noun: o, disabled: s, locked: c, lockedNote: u, showAll: d, grouping: f }) {
|
|
19122
|
+
let [p, m] = a(Cx), [h, g] = a(/* @__PURE__ */ new Map()), [_, v] = a(60), y = d || qb(p.query).length > 0, b = f?.groupBy, x = f?.zones ?? yS, S = l(() => jx(e, p, x), [
|
|
19119
19123
|
e,
|
|
19120
|
-
|
|
19121
|
-
|
|
19122
|
-
]),
|
|
19123
|
-
|
|
19124
|
+
p,
|
|
19125
|
+
x
|
|
19126
|
+
]), C = l(() => b === void 0 ? null : yx(S, t, b, x), [
|
|
19127
|
+
S,
|
|
19124
19128
|
t,
|
|
19125
|
-
v,
|
|
19126
|
-
y
|
|
19127
|
-
]), S = l(() => x === null ? ex(Qb(b, t), t, p, _) : bx(x, t, p, _), [
|
|
19128
|
-
x,
|
|
19129
19129
|
b,
|
|
19130
|
+
x
|
|
19131
|
+
]), w = l(() => C === null ? ex(Qb(S, t), t, h, y) : bx(C, t, h, y), [
|
|
19132
|
+
C,
|
|
19133
|
+
S,
|
|
19130
19134
|
t,
|
|
19131
|
-
|
|
19132
|
-
_
|
|
19133
|
-
]), C = x?.groupBy ?? null, w = l(() => Ox(e, "type", d.types, y), [
|
|
19134
|
-
e,
|
|
19135
|
-
d.types,
|
|
19135
|
+
h,
|
|
19136
19136
|
y
|
|
19137
|
-
]), T = l(() => Ox(e, "
|
|
19137
|
+
]), T = C?.groupBy ?? null, E = l(() => Ox(e, "type", p.types, x), [
|
|
19138
19138
|
e,
|
|
19139
|
-
|
|
19140
|
-
|
|
19141
|
-
]),
|
|
19139
|
+
p.types,
|
|
19140
|
+
x
|
|
19141
|
+
]), D = l(() => Ox(e, "zone", p.zones, x), [
|
|
19142
|
+
e,
|
|
19143
|
+
p.zones,
|
|
19144
|
+
x
|
|
19145
|
+
]), O = l(() => f === void 0 ? [] : Ox(e, "location", p.locations, x), [
|
|
19142
19146
|
e,
|
|
19143
|
-
|
|
19144
|
-
|
|
19145
|
-
|
|
19146
|
-
]),
|
|
19147
|
+
p.locations,
|
|
19148
|
+
x,
|
|
19149
|
+
f
|
|
19150
|
+
]), ee = l(() => Fx(t, e, S), [
|
|
19147
19151
|
e,
|
|
19148
19152
|
t,
|
|
19149
|
-
|
|
19150
|
-
]),
|
|
19153
|
+
S
|
|
19154
|
+
]), te = ax(w, d ? w.length : _), ne = (e, t) => g((n) => new Map([...n, [e.key, !t]]));
|
|
19151
19155
|
return /* @__PURE__ */ P("div", {
|
|
19152
19156
|
className: "rounded-md border border-border bg-surface p-2",
|
|
19153
19157
|
"data-testid": "device-picker-panel",
|
|
19154
19158
|
children: [
|
|
19155
19159
|
/* @__PURE__ */ N(Gx, {
|
|
19156
|
-
filters:
|
|
19160
|
+
filters: p,
|
|
19157
19161
|
onFiltersChange: (e) => {
|
|
19158
|
-
|
|
19162
|
+
m(e), v(60);
|
|
19159
19163
|
},
|
|
19160
|
-
typeOptions:
|
|
19161
|
-
zoneOptions:
|
|
19162
|
-
locationOptions:
|
|
19163
|
-
zones:
|
|
19164
|
-
...
|
|
19165
|
-
groupBy:
|
|
19166
|
-
onGroupByChange:
|
|
19167
|
-
fallback:
|
|
19164
|
+
typeOptions: E,
|
|
19165
|
+
zoneOptions: D,
|
|
19166
|
+
locationOptions: O,
|
|
19167
|
+
zones: x,
|
|
19168
|
+
...f === void 0 ? {} : { grouping: {
|
|
19169
|
+
groupBy: f.groupBy,
|
|
19170
|
+
onGroupByChange: f.onGroupByChange,
|
|
19171
|
+
fallback: C?.fallback ?? null
|
|
19168
19172
|
} },
|
|
19169
19173
|
searchPlaceholder: vS(o),
|
|
19170
19174
|
searchLabel: o === "camera" || o === "device" ? "Search devices" : `Search ${oS[o]}`,
|
|
@@ -19173,7 +19177,7 @@ function bS({ devices: e, value: t, onChange: n, annotate: r, groupTitle: i, nou
|
|
|
19173
19177
|
/* @__PURE__ */ P("p", {
|
|
19174
19178
|
className: "mt-1 text-[10px] text-foreground-subtle",
|
|
19175
19179
|
children: [
|
|
19176
|
-
|
|
19180
|
+
S.length,
|
|
19177
19181
|
" of ",
|
|
19178
19182
|
e.length,
|
|
19179
19183
|
" shown · ",
|
|
@@ -19181,38 +19185,40 @@ function bS({ devices: e, value: t, onChange: n, annotate: r, groupTitle: i, nou
|
|
|
19181
19185
|
" selected"
|
|
19182
19186
|
]
|
|
19183
19187
|
}),
|
|
19184
|
-
|
|
19188
|
+
w.length === 0 ? /* @__PURE__ */ N("p", {
|
|
19185
19189
|
className: "py-2 text-[11px] text-foreground-subtle italic",
|
|
19186
19190
|
children: o === "camera" || o === "device" ? "No device matches." : `No ${o} matches.`
|
|
19187
19191
|
}) : /* @__PURE__ */ P("div", {
|
|
19188
|
-
className:
|
|
19192
|
+
className: d ? "mt-1" : "mt-1 max-h-72 overflow-y-auto",
|
|
19189
19193
|
"data-testid": "device-picker-rows",
|
|
19190
|
-
children: [
|
|
19194
|
+
children: [te.rows.map((e) => /* @__PURE__ */ N(SS, {
|
|
19191
19195
|
row: e,
|
|
19192
19196
|
value: t,
|
|
19193
19197
|
onChange: n,
|
|
19194
|
-
onToggleGroup:
|
|
19198
|
+
onToggleGroup: ne,
|
|
19195
19199
|
annotate: r,
|
|
19196
19200
|
groupTitle: i,
|
|
19197
|
-
groupBy:
|
|
19198
|
-
disabled: s
|
|
19199
|
-
|
|
19201
|
+
groupBy: T,
|
|
19202
|
+
disabled: s,
|
|
19203
|
+
locked: c,
|
|
19204
|
+
lockedNote: u
|
|
19205
|
+
}, e.key)), te.remaining > 0 && /* @__PURE__ */ P("button", {
|
|
19200
19206
|
type: "button",
|
|
19201
19207
|
className: "mt-1 w-full rounded border border-border py-1 text-[11px] text-foreground-subtle hover:bg-surface-hover",
|
|
19202
|
-
onClick: () =>
|
|
19208
|
+
onClick: () => v((e) => e + 60),
|
|
19203
19209
|
children: [
|
|
19204
19210
|
"Show ",
|
|
19205
|
-
Math.min(
|
|
19211
|
+
Math.min(te.remaining, 60),
|
|
19206
19212
|
" more (",
|
|
19207
|
-
|
|
19213
|
+
te.remaining,
|
|
19208
19214
|
" left)"
|
|
19209
19215
|
]
|
|
19210
19216
|
})]
|
|
19211
19217
|
}),
|
|
19212
|
-
|
|
19218
|
+
ee > 0 && /* @__PURE__ */ P("p", {
|
|
19213
19219
|
className: "mt-1 text-[10px] text-foreground-subtle",
|
|
19214
19220
|
"data-testid": "picker-hidden-selected",
|
|
19215
|
-
children: [
|
|
19221
|
+
children: [ee, " selected hidden by filters"]
|
|
19216
19222
|
})
|
|
19217
19223
|
]
|
|
19218
19224
|
});
|
|
@@ -19226,7 +19232,7 @@ function xS(e, t) {
|
|
|
19226
19232
|
].filter((e) => e !== null);
|
|
19227
19233
|
return r.length > 0 ? r.join(" · ") : void 0;
|
|
19228
19234
|
}
|
|
19229
|
-
function SS({ row: e, value: t, onChange: n, onToggleGroup: r, annotate: i, groupTitle: a, groupBy: o, disabled: s }) {
|
|
19235
|
+
function SS({ row: e, value: t, onChange: n, onToggleGroup: r, annotate: i, groupTitle: a, groupBy: o, disabled: s, locked: c, lockedNote: l }) {
|
|
19230
19236
|
if (e.kind === "header") {
|
|
19231
19237
|
let { group: i, expanded: o } = e;
|
|
19232
19238
|
return /* @__PURE__ */ P("div", {
|
|
@@ -19273,14 +19279,14 @@ function SS({ row: e, value: t, onChange: n, onToggleGroup: r, annotate: i, grou
|
|
|
19273
19279
|
]
|
|
19274
19280
|
});
|
|
19275
19281
|
}
|
|
19276
|
-
let c = i?.(e.device.id),
|
|
19282
|
+
let u = c.has(e.device.id), d = u ? l : i?.(e.device.id), f = xS(e.device, o);
|
|
19277
19283
|
return /* @__PURE__ */ P("label", {
|
|
19278
19284
|
className: "flex cursor-pointer items-center gap-2.5 px-3 py-1 text-xs text-foreground hover:bg-surface-hover",
|
|
19279
19285
|
"data-testid": "device-picker-row",
|
|
19280
19286
|
children: [/* @__PURE__ */ N("input", {
|
|
19281
19287
|
type: "checkbox",
|
|
19282
|
-
checked: e.selected,
|
|
19283
|
-
disabled: s,
|
|
19288
|
+
checked: e.selected || u,
|
|
19289
|
+
disabled: s || u,
|
|
19284
19290
|
onChange: () => n(tx(t, e.device.id)),
|
|
19285
19291
|
className: "accent-primary",
|
|
19286
19292
|
"data-device-id": String(e.device.id)
|
|
@@ -19291,13 +19297,13 @@ function SS({ row: e, value: t, onChange: n, onToggleGroup: r, annotate: i, grou
|
|
|
19291
19297
|
className: "truncate",
|
|
19292
19298
|
children: e.device.name
|
|
19293
19299
|
}),
|
|
19294
|
-
|
|
19300
|
+
f !== void 0 && /* @__PURE__ */ N("span", {
|
|
19295
19301
|
className: "truncate text-[10px] text-foreground-subtle",
|
|
19296
|
-
children:
|
|
19302
|
+
children: f
|
|
19297
19303
|
}),
|
|
19298
|
-
|
|
19299
|
-
className: "text-[10px] text-warning",
|
|
19300
|
-
children:
|
|
19304
|
+
d !== void 0 && /* @__PURE__ */ N("span", {
|
|
19305
|
+
className: u ? "text-[10px] text-foreground-subtle" : "text-[10px] text-warning",
|
|
19306
|
+
children: d
|
|
19301
19307
|
})
|
|
19302
19308
|
]
|
|
19303
19309
|
})]
|
|
@@ -19307,7 +19313,7 @@ function SS({ row: e, value: t, onChange: n, onToggleGroup: r, annotate: i, grou
|
|
|
19307
19313
|
//#region ../ui-library/src/composites/unit-picker/UnitPicker.tsx
|
|
19308
19314
|
var CS = "w-full min-w-0 px-1.5 py-0.5 text-[11px] bg-background border border-border rounded focus:outline-none focus:border-primary disabled:opacity-50 disabled:cursor-not-allowed";
|
|
19309
19315
|
function wS({ dimension: e, value: t, onChange: n, disabled: r = !1, emptyReason: i, inheritLabel: a, className: o, id: s, "aria-label": c }) {
|
|
19310
|
-
let l = e === void 0 ? [] :
|
|
19316
|
+
let l = e === void 0 ? [] : le(e), u = e === void 0;
|
|
19311
19317
|
return /* @__PURE__ */ P("div", {
|
|
19312
19318
|
className: "flex flex-col gap-0.5 min-w-0 w-full",
|
|
19313
19319
|
children: [/* @__PURE__ */ P("select", {
|
|
@@ -19321,7 +19327,7 @@ function wS({ dimension: e, value: t, onChange: n, disabled: r = !1, emptyReason
|
|
|
19321
19327
|
n("");
|
|
19322
19328
|
return;
|
|
19323
19329
|
}
|
|
19324
|
-
n(
|
|
19330
|
+
n(k(t) ?? t);
|
|
19325
19331
|
},
|
|
19326
19332
|
disabled: r || u,
|
|
19327
19333
|
children: [a !== void 0 && /* @__PURE__ */ N("option", {
|
|
@@ -19400,7 +19406,7 @@ function OS({ label: e, value: t, onChange: n, chips: r, multiline: i = !1, plac
|
|
|
19400
19406
|
]
|
|
19401
19407
|
});
|
|
19402
19408
|
}
|
|
19403
|
-
t(), v("camstack:zone-editing", null), t(), t(), t(), t(), t(), s(() => import("./MaskShapeCanvas-CU-mFCnh.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), s(() => import("./MotionZonesSettings-
|
|
19409
|
+
t(), v("camstack:zone-editing", null), t(), t(), t(), t(), t(), s(() => import("./MaskShapeCanvas-CU-mFCnh.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), s(() => import("./MotionZonesSettings-7Vbym3TT.mjs").then((e) => ({ default: e.MotionZonesSettings }))), s(() => import("./SceneMonitorEditor-vGtrP-cH.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), s(() => import("./PrivacyMaskSettings-wnU8Ju8m.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
|
|
19404
19410
|
//#endregion
|
|
19405
19411
|
//#region src/ui/osd-page-model.ts
|
|
19406
19412
|
function kS() {
|
|
@@ -19709,7 +19715,7 @@ function aC(e) {
|
|
|
19709
19715
|
return e.find((e) => e.valueType === "number") ?? e[0];
|
|
19710
19716
|
}
|
|
19711
19717
|
//#endregion
|
|
19712
|
-
//#region ../types/dist/sleep
|
|
19718
|
+
//#region ../types/dist/sleep-DAX0-2v9.mjs
|
|
19713
19719
|
var oC = [
|
|
19714
19720
|
"f32le",
|
|
19715
19721
|
"pcmu",
|
|
@@ -22168,11 +22174,11 @@ function kC(e, t) {
|
|
|
22168
22174
|
//#region src/unit-display.ts
|
|
22169
22175
|
function AC(e) {
|
|
22170
22176
|
if (e === void 0) return;
|
|
22171
|
-
let t =
|
|
22172
|
-
if (t !== void 0) return
|
|
22177
|
+
let t = k(e);
|
|
22178
|
+
if (t !== void 0) return se(t);
|
|
22173
22179
|
}
|
|
22174
22180
|
function jC(e, t, n) {
|
|
22175
|
-
let r = t === void 0 ? void 0 :
|
|
22181
|
+
let r = t === void 0 ? void 0 : k(t), i = n === void 0 ? void 0 : k(n);
|
|
22176
22182
|
if (r === void 0 || i === void 0 || r === i) return {
|
|
22177
22183
|
value: e,
|
|
22178
22184
|
unit: i ?? r ?? ""
|