@camera.ui/server 2.1.14-beta.1 → 2.1.14-beta.3
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/interface/assets/{404-CVkDpT0X.js → 404-Ct2rp3W6.js} +1 -1
- package/dist/interface/assets/{About-CUgIR2xi.js → About-BkrFfbam.js} +1 -1
- package/dist/interface/assets/Automation-D2PHM9TZ.js +3 -0
- package/dist/interface/assets/AutomationImport-DbRJF8i2.js +2 -0
- package/dist/interface/assets/AutomationStore-D-PBrft2.js +2 -0
- package/dist/interface/assets/AutomationStoreDetail-RU-UXz0W.js +2 -0
- package/dist/interface/assets/Automations-D-AAcPfb.js +2 -0
- package/dist/interface/assets/Camera-BWdUUW_H.css +1 -0
- package/dist/interface/assets/Camera-Bz5NfM2e.js +2 -0
- package/dist/interface/assets/{CameraConsole-BLlgkKDp.js → CameraConsole-_v6lLT9V.js} +1 -1
- package/dist/interface/assets/{Cameras-DvK8E1Vk.js → Cameras-BICfDnxO.js} +2 -2
- package/dist/interface/assets/{Camview-DIEa8IRE.css → Camview-BZS4_jv1.css} +1 -1
- package/dist/interface/assets/Camview-CKX9B9Ak.js +1 -0
- package/dist/interface/assets/{CertificateUpload-BsnlaxRS.js → CertificateUpload-CWt_CAt6.js} +1 -1
- package/dist/interface/assets/Config-CKn4Gc_s.js +2 -0
- package/dist/interface/assets/{ConfigActionCameraControl-BGfvT6ME.js → ConfigActionCameraControl-BpZrhaAg.js} +1 -1
- package/dist/interface/assets/{ConfigActionDelay-D10_C6yo.js → ConfigActionDelay-D-Rn2YP6.js} +1 -1
- package/dist/interface/assets/{ConfigActionHttp-DL4jh9Wz.js → ConfigActionHttp-DzoBcypZ.js} +1 -1
- package/dist/interface/assets/{ConfigActionImageInput-DVvMUzrT.js → ConfigActionImageInput-DHBsjlY-.js} +1 -1
- package/dist/interface/assets/{ConfigActionMqtt-BqK3q4cC.js → ConfigActionMqtt-DBssl5vL.js} +1 -1
- package/dist/interface/assets/{ConfigActionNotification-D_H5Q68D.js → ConfigActionNotification-nDKENsVa.js} +1 -1
- package/dist/interface/assets/{ConfigActionNotificationControl-BnTJl4dr.js → ConfigActionNotificationControl-Gd955Nu4.js} +1 -1
- package/dist/interface/assets/{ConfigActionOutput-udY95_rH.js → ConfigActionOutput-CPlUnJPX.js} +1 -1
- package/dist/interface/assets/{ConfigActionPlugin-C51LrkZb.js → ConfigActionPlugin-DMT0GG9J.js} +1 -1
- package/dist/interface/assets/{ConfigActionSensor-B2tFf8x6.js → ConfigActionSensor-B9qfwZPK.js} +1 -1
- package/dist/interface/assets/{ConfigActionSnapshot-BzmeByH3.js → ConfigActionSnapshot-DmzC7Ka8.js} +1 -1
- package/dist/interface/assets/{ConfigActionVariable-BagC3lj5.js → ConfigActionVariable-BcTGZbYR.js} +1 -1
- package/dist/interface/assets/{ConfigConditionIfElse-CQOZJ19Y.js → ConfigConditionIfElse-C-0FNq8c.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSensorState-SGYpkNP5.js → ConfigConditionSensorState-DoOyDkd8.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSwitch-BXR6xUN8.js → ConfigConditionSwitch-DonNSgEC.js} +1 -1
- package/dist/interface/assets/{ConfigConditionTime-BrEhw1R9.js → ConfigConditionTime-b05J39ya.js} +1 -1
- package/dist/interface/assets/{ConfigSensorValueInput-DezTWtbA.js → ConfigSensorValueInput-DbKeWPpA.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerDetection-xo0imE_3.js → ConfigTriggerDetection-DvoA49uo.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerGeofence-BmJpP4Ew.js → ConfigTriggerGeofence-CZRFnbWY.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerManual-CmAdnZQK.js → ConfigTriggerManual-DYDhaI_A.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerMqtt-F19dhVm1.js → ConfigTriggerMqtt-CkClS0me.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSchedule-BGci3Aed.js → ConfigTriggerSchedule-Co2A9pH7.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSensor-DSEDGB2X.js → ConfigTriggerSensor-B6KlmsnV.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSystem-DPy8Zir4.js → ConfigTriggerSystem-CC-NtLwh.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerWebhook-Dv0Kmwg8.js → ConfigTriggerWebhook-CPjRwtA-.js} +1 -1
- package/dist/interface/assets/{Console-Cuh-Vc4u.js → Console-BbdPBqEC.js} +1 -1
- package/dist/interface/assets/{CuiAutomationRunsDialog-B1UeVC6Q.js → CuiAutomationRunsDialog-DoPIIX-T.js} +1 -1
- package/dist/interface/assets/{CuiBottomSheet-BjkDE7_9.js → CuiBottomSheet-B6X4pbeR.js} +1 -1
- package/dist/interface/assets/CuiBottomSheet-CNc2pbC7.js +1 -0
- package/dist/interface/assets/CuiCameraPipCard-BlZJUCJP.js +1 -0
- package/dist/interface/assets/{CuiCameraRecordings-HKwhFpea.js → CuiCameraRecordings-BvQ_6Elk.js} +1 -1
- package/dist/interface/assets/{CuiCameraShares-D-fhJCro.js → CuiCameraShares-CGYScB2u.js} +1 -1
- package/dist/interface/assets/CuiCameraTable-Cgm7BoLZ.js +1 -0
- package/dist/interface/assets/{CuiCameraTable-BTVfK-HY.js → CuiCameraTable-Cm-wfsDL.js} +1 -1
- package/dist/interface/assets/{CuiChartTable-DAUYP-EW.js → CuiChartTable-CKP8f68c.js} +1 -1
- package/dist/interface/assets/{CuiConsole-C7aZj4wK.js → CuiConsole-BWrpJYcX.js} +1 -1
- package/dist/interface/assets/{CuiDataTable-1B8aaZQO.js → CuiDataTable-BozSktV7.js} +1 -1
- package/dist/interface/assets/{CuiLightControl-CSA1PYc8.js → CuiLightControl-DRNXOigw.js} +1 -1
- package/dist/interface/assets/{CuiList-D-hOSNou.js → CuiList-DRkSKm6_.js} +1 -1
- package/dist/interface/assets/CuiPluginCard-DQLIw-q8.js +2 -0
- package/dist/interface/assets/{CuiPluginCategoryChip-qnn-HD6g.js → CuiPluginCategoryChip-CcKK1e-h.js} +1 -1
- package/dist/interface/assets/CuiPluginOAuthButton-Bbh4geGP.js +2 -0
- package/dist/interface/assets/{CuiPluginTrustBadge-C-8MN2Qc.js → CuiPluginTrustBadge-UJafoYxB.js} +1 -1
- package/dist/interface/assets/{CuiQRCode-D1qmU4qU.js → CuiQRCode-gqnAR_Zp.js} +1 -1
- package/dist/interface/assets/{CuiSchema-DnHOpBg4.js → CuiSchema-Bhs017IB.js} +1 -1
- package/dist/interface/assets/{CuiTopNavbarItem-Csb3O1-n.js → CuiTopNavbarItem-C-7LPPKD.js} +1 -1
- package/dist/interface/assets/Faces-BfBHLOZg.js +1 -0
- package/dist/interface/assets/FirstSteps-zHSDaE1p.js +1 -0
- package/dist/interface/assets/Floorplan-BlT1vOq0.js +1 -0
- package/dist/interface/assets/Instances-BNylwtFA.js +1 -0
- package/dist/interface/assets/{Logs-DQFS2AUi.js → Logs-Bh8kvHG-.js} +2 -2
- package/dist/interface/assets/{Menu-COvvZ_vz.js → Menu-BDdiFqwe.js} +1 -1
- package/dist/interface/assets/Metrics-dqXxkjt9.js +9 -0
- package/dist/interface/assets/{OAuthDeviceFlow-3ZC2QCAs.js → OAuthDeviceFlow-BRTodx33.js} +1 -1
- package/dist/interface/assets/Plugin-BZZ9P2-2.js +1 -0
- package/dist/interface/assets/{PluginConsole-BaUkghQD.js → PluginConsole-DxxCx7q1.js} +1 -1
- package/dist/interface/assets/PluginDetail-l_l3WOqM.js +2 -0
- package/dist/interface/assets/{PluginSchema-f-ER7hlx.js → PluginSchema-D0stZt2c.js} +1 -1
- package/dist/interface/assets/PluginSearch-C_4Txq7k.js +1 -0
- package/dist/interface/assets/PluginSearch-lqGiQjP4.js +2 -0
- package/dist/interface/assets/{PluginUpdateProgress-BfYNLvVX.js → PluginUpdateProgress-CUUVf_wg.js} +1 -1
- package/dist/interface/assets/Plugins-Y634pLhv.js +1 -0
- package/dist/interface/assets/Recordings-Ct6GmMEP.js +1 -0
- package/dist/interface/assets/{SensorEdit-BZtiJyoI.js → SensorEdit-DnPyIBu5.js} +1 -1
- package/dist/interface/assets/{SensorHistory-BFkT3teu.js → SensorHistory-Bwmg24QZ.js} +1 -1
- package/dist/interface/assets/Sensors-BaMYFgjD.js +2 -0
- package/dist/interface/assets/{Settings-DV3JZFjc.js → Settings-DulVBel0.js} +1 -1
- package/dist/interface/assets/SettingsAccount-CL2RTnFz.js +1 -0
- package/dist/interface/assets/SettingsAccount-DbArOHXx.js +1 -0
- package/dist/interface/assets/SettingsAppearance-CPrCyxBA.js +1 -0
- package/dist/interface/assets/{SettingsAppearance-CC6StMAi.js → SettingsAppearance-cq1t3BEj.js} +1 -1
- package/dist/interface/assets/SettingsBackup-21a3QmN1.js +1 -0
- package/dist/interface/assets/{SettingsList-04HiM3OT.js → SettingsList-dO_4W9uY.js} +1 -1
- package/dist/interface/assets/{SettingsMqtt-XaJdsYPn.js → SettingsMqtt-CAxcvp74.js} +1 -1
- package/dist/interface/assets/{SettingsNotifications-CUoYMHwr.js → SettingsNotifications-C8OyC6Uo.js} +1 -1
- package/dist/interface/assets/{SettingsPermissions-gFDNSlTh.js → SettingsPermissions-BPZlOEWO.js} +1 -1
- package/dist/interface/assets/{SettingsRecordings-Bw64UZWe.js → SettingsRecordings-Boja0QZp.js} +1 -1
- package/dist/interface/assets/SettingsRemote-Dga6BXDI.js +2 -0
- package/dist/interface/assets/SettingsSystem-DnipKTG6.js +2 -0
- package/dist/interface/assets/SettingsUsers-Bxf1RaY3.js +1 -0
- package/dist/interface/assets/{Terminal-CrNjqzTs.js → Terminal-Cr3hOv8-.js} +1 -1
- package/dist/interface/assets/Updates-DiBrlchb.js +2 -0
- package/dist/interface/assets/{VariableInput-n0TxKRqq.js → VariableInput-C7XFQ66c.js} +1 -1
- package/dist/interface/assets/{VariableSuggestions-C4LmaCAo.js → VariableSuggestions-DohkCyGS.js} +1 -1
- package/dist/interface/assets/{VersionsHandler-BPocJcb0.js → VersionsHandler-DFef44HF.js} +1 -1
- package/dist/interface/assets/{VirtualSensorCreate-BPvbrzGS.js → VirtualSensorCreate-9X6C1NR1.js} +1 -1
- package/dist/interface/assets/Workers-D5OtbF4f.js +2 -0
- package/dist/interface/assets/api-Br1U09Hq.js +4 -0
- package/dist/interface/assets/{api-DO5wBndX.css → api-SOlhy6R4.css} +1 -1
- package/dist/interface/assets/{api-BXmkXIE8.js → api-ZL-_Y0-o.js} +1 -1
- package/dist/interface/assets/{auth-BKJnreuu.js → auth-CUXeNcmI.js} +1 -1
- package/dist/interface/assets/{automations-CVuIXlAQ.js → automations-Bz9Wo-Xf.js} +1 -1
- package/dist/interface/assets/{cameraSources-C3cl6FVD.js → cameraSources-BpaS7lCe.js} +1 -1
- package/dist/interface/assets/cloudHandoff-Colhf5P9.js +1 -0
- package/dist/interface/assets/{config-Sw94rZxF.js → config-bmrb5S6z.js} +1 -1
- package/dist/interface/assets/{flowSchema-BOrDqdeG.js → flowSchema-D4Ys_7rr.js} +1 -1
- package/dist/interface/assets/{intercomService-CfCIMUlA.js → intercomService-CmFnb1sI.js} +1 -1
- package/dist/interface/assets/main-CrXBqh3b.js +3 -0
- package/dist/interface/assets/{mqtt-BaCMJJk_.js → mqtt-Cotm4qW5.js} +1 -1
- package/dist/interface/assets/{notifications-l-x8vA4D.js → notifications-D4SOTDPx.js} +1 -1
- package/dist/interface/assets/{plugins-GA9v-eQx.js → plugins-Bxyydn6v.js} +1 -1
- package/dist/interface/assets/{rooms-DX7PBdpP.js → rooms-DdSOohLs.js} +1 -1
- package/dist/interface/assets/sensorIcons-CtVSmjCW.js +1 -0
- package/dist/interface/assets/{sensors-LJkBCaMk.js → sensors-C4ZGeFC2.js} +1 -1
- package/dist/interface/assets/{server-dOx3q8o1.js → server-DWPgetQJ.js} +1 -1
- package/dist/interface/assets/{theme-DgrclY58.js → theme-BTgw7al1.js} +1 -1
- package/dist/interface/assets/{types-D19FOdYo.js → types-BX3Shvk-.js} +1 -1
- package/dist/interface/assets/{types-CSWXRySW.js → types-DJucLQEM.js} +1 -1
- package/dist/interface/assets/{types-Yq0FH8fa.js → types-sQfxKKSk.js} +1 -1
- package/dist/interface/assets/ungrouped-CfLdttI0.js +1 -0
- package/dist/interface/assets/{updates-BVN6uGXy.js → updates-DSQhfbpi.js} +1 -1
- package/dist/interface/assets/{useAppVersion-BUDIkitU.js → useAppVersion-Dm0wl8Ks.js} +1 -1
- package/dist/interface/assets/{useBackupRestore-CnSZNCC8.js → useBackupRestore-ARFlxu4a.js} +1 -1
- package/dist/interface/assets/{useCameraOptions-Cgb4eV2d.js → useCameraOptions-CkKmF0Hk.js} +1 -1
- package/dist/interface/assets/{useLogsSocket-CGKtL049.js → useLogsSocket-BQGKfynj.js} +1 -1
- package/dist/interface/assets/{useNavLayout-Dcngcb73.js → useNavLayout-CB6pDWQI.js} +1 -1
- package/dist/interface/assets/{usePermissions-zJF4LCPm.js → usePermissions-CKQU5_yK.js} +1 -1
- package/dist/interface/assets/{usePluginUpdates-DP--lRxm.js → usePluginUpdates-DsX5Nf9S.js} +1 -1
- package/dist/interface/assets/{usePushRegistration-BhPBp28J.js → usePushRegistration-CR4ZsM1s.js} +1 -1
- package/dist/interface/assets/{useServerRestart-BpCDYbPH.js → useServerRestart-B0ux2xXZ.js} +1 -1
- package/dist/interface/assets/{useStreamStatus-BoVMk6KT.js → useStreamStatus-B13lBsjn.js} +1 -1
- package/dist/interface/assets/{useTabSwipe--t-Qqa31.js → useTabSwipe-CC9fSJyW.js} +1 -1
- package/dist/interface/assets/{useUpdateChannel-DAuhU-__.js → useUpdateChannel-4932QugL.js} +1 -1
- package/dist/interface/assets/{useUpdatesSocket-C-j3b3tU.js → useUpdatesSocket-BYOu1jFQ.js} +1 -1
- package/dist/interface/assets/{useUserOptions-CcLVC73O.js → useUserOptions-7qZi1YVO.js} +1 -1
- package/dist/interface/assets/{vendor-cameraui-phsC2Mmi.js → vendor-cameraui-C5_h4c-5.js} +12 -12
- package/dist/interface/assets/{vendor-core-C0ZWoGJD.js → vendor-core-DeodbhZZ.js} +1 -1
- package/dist/interface/assets/{vendor-primevue-nPess0JU.js → vendor-primevue-C9-jpd5L.js} +1 -1
- package/dist/interface/ha/{404-PedrGUiq.js → 404-BJV77Tm3.js} +1 -1
- package/dist/interface/ha/{About-l5fkBqG7.js → About-B9m7sPyi.js} +3 -3
- package/dist/interface/ha/{Automation-CaSlGjT4.js → Automation-CpRTKtII.js} +157 -157
- package/dist/interface/ha/{AutomationImport-BNavtjDq.js → AutomationImport-Cwx9PKHq.js} +6 -6
- package/dist/interface/ha/{AutomationStore-BVSW8TVt.js → AutomationStore-D1DJAo3Y.js} +49 -49
- package/dist/interface/ha/{AutomationStoreDetail-DHZwlpz0.js → AutomationStoreDetail-BWkMk3zp.js} +6 -6
- package/dist/interface/ha/{Automations-CZ2jvH6d.js → Automations-2-dpUnyN.js} +96 -96
- package/dist/interface/ha/{Camera-CggUrrPm.js → Camera-BFQCXQ-9.js} +160 -160
- package/dist/interface/ha/{CameraConsole-DpzF48TF.js → CameraConsole-DN2AUzCO.js} +3 -3
- package/dist/interface/ha/{Cameras-K-kQF5tG.js → Cameras-Cp2tLuzn.js} +25 -25
- package/dist/interface/ha/{Camview-zJVP7JwZ.js → Camview-9-QATaMt.js} +333 -327
- package/dist/interface/ha/{Config-Bsud2DYI.js → Config-B7BWUVjy.js} +109 -109
- package/dist/interface/ha/{ConfigActionCameraControl-Czkfw_NO.js → ConfigActionCameraControl-B4bligkf.js} +3 -3
- package/dist/interface/ha/{ConfigActionHttp-LfbxbfgG.js → ConfigActionHttp-Ci1pT2TU.js} +2 -2
- package/dist/interface/ha/{ConfigActionImageInput-Ce2GJzCm.js → ConfigActionImageInput-JL7XqPlF.js} +1 -1
- package/dist/interface/ha/{ConfigActionMqtt-KmCGcNZb.js → ConfigActionMqtt-CErH-8g0.js} +4 -4
- package/dist/interface/ha/{ConfigActionNotification-DUMY_3IT.js → ConfigActionNotification-DbB5il5h.js} +3 -3
- package/dist/interface/ha/{ConfigActionNotificationControl-B9Z2i5WR.js → ConfigActionNotificationControl-BidGFW5w.js} +2 -2
- package/dist/interface/ha/{ConfigActionOutput-CX-ZQjcs.js → ConfigActionOutput-BbEPcSqB.js} +1 -1
- package/dist/interface/ha/{ConfigActionPlugin-y5PuPwdk.js → ConfigActionPlugin-BQUbQheX.js} +5 -5
- package/dist/interface/ha/{ConfigActionSensor-CC39Rpxi.js → ConfigActionSensor-ZwXZF672.js} +4 -4
- package/dist/interface/ha/{ConfigActionSnapshot-CWyhx6rk.js → ConfigActionSnapshot-CKCKSlvU.js} +2 -2
- package/dist/interface/ha/{ConfigActionVariable-BNRLCthd.js → ConfigActionVariable-DB-leNOV.js} +1 -1
- package/dist/interface/ha/{ConfigConditionIfElse-BayS5_Dr.js → ConfigConditionIfElse-268mse2c.js} +3 -3
- package/dist/interface/ha/{ConfigConditionSensorState-DLXNqL-R.js → ConfigConditionSensorState-DwPY2W53.js} +4 -4
- package/dist/interface/ha/{ConfigConditionSwitch-BBesQgWi.js → ConfigConditionSwitch-C9zW3TAK.js} +4 -4
- package/dist/interface/ha/{ConfigSensorValueInput-5JzesEuD.js → ConfigSensorValueInput-cKpE0FZE.js} +3 -3
- package/dist/interface/ha/{ConfigTriggerDetection--BcjPuyh.js → ConfigTriggerDetection-C0S-k9O5.js} +3 -3
- package/dist/interface/ha/{ConfigTriggerGeofence-BZi5a2Yv.js → ConfigTriggerGeofence-CjmlCNj3.js} +2 -2
- package/dist/interface/ha/{ConfigTriggerMqtt-B6C9injX.js → ConfigTriggerMqtt-YpTYEXuH.js} +1 -1
- package/dist/interface/ha/{ConfigTriggerSensor-beixHfSD.js → ConfigTriggerSensor-jTkbOjQw.js} +1 -1
- package/dist/interface/ha/{ConfigTriggerSystem-BHDpn485.js → ConfigTriggerSystem-ChQOH5XE.js} +2 -2
- package/dist/interface/ha/{ConfigTriggerWebhook-D9cuCU_p.js → ConfigTriggerWebhook--Xitqvob.js} +1 -1
- package/dist/interface/ha/{Console-CbQnrt6X.js → Console-BLBwNOGF.js} +2 -2
- package/dist/interface/ha/{CuiAutomationRunsDialog-CckgCRNS.js → CuiAutomationRunsDialog-DZpflYbm.js} +2 -2
- package/dist/interface/ha/{CuiBottomSheet-juhGdTsO.js → CuiBottomSheet-x112x30L.js} +1 -1
- package/dist/interface/ha/{CuiCameraRecordings-CLzZiXhk.js → CuiCameraRecordings-kyJmGt96.js} +7 -7
- package/dist/interface/ha/{CuiCameraShares-Dzx1jZGE.js → CuiCameraShares-C64w7YIg.js} +2 -2
- package/dist/interface/ha/{CuiCameraTable-ug0ik9N-.js → CuiCameraTable-BcucTb-H.js} +2 -2
- package/dist/interface/ha/{CuiChartTable-7EnAA-WG.js → CuiChartTable-HtK2jIrg.js} +3 -3
- package/dist/interface/ha/{CuiConsole-DOnyBSL7.js → CuiConsole-B6UN73LC.js} +1 -1
- package/dist/interface/ha/{CuiDataTable-Cx9GBqsV.js → CuiDataTable-C06T8Rgf.js} +1 -1
- package/dist/interface/ha/{CuiPluginCard-ChLIfOms.js → CuiPluginCard-Ca1syMp2.js} +90 -90
- package/dist/interface/ha/{CuiPluginOAuthButton-B6vPOEx2.js → CuiPluginOAuthButton-B_kD1J7y.js} +3 -3
- package/dist/interface/ha/{CuiPluginTrustBadge-BvPV93D0.js → CuiPluginTrustBadge-BGnfwBkE.js} +1 -1
- package/dist/interface/ha/{CuiQRCode-Djr3z54t.js → CuiQRCode-C8afEdjI.js} +2 -2
- package/dist/interface/ha/{CuiSchema-dl7TXv-k.js → CuiSchema-BDqA8ICl.js} +115 -115
- package/dist/interface/ha/{CuiTopNavbarItem-BXoda5eM.js → CuiTopNavbarItem-Cowg2EeV.js} +1 -1
- package/dist/interface/ha/{Faces-DnqWMGWW.js → Faces-COKq1uOY.js} +98 -98
- package/dist/interface/ha/{FirstSteps-CFawb017.js → FirstSteps-B6Rpbo6X.js} +62 -62
- package/dist/interface/ha/{Floorplan-Mv-Ootly.js → Floorplan-C7Z973FS.js} +36 -36
- package/dist/interface/ha/{Instances-DJjZ3btI.js → Instances-D5jpC7_k.js} +3 -3
- package/dist/interface/ha/{Logs-CLFhW1xq.js → Logs-BQ7844YD.js} +8 -8
- package/dist/interface/ha/{Menu-D7QTRqMJ.js → Menu-BA3FMf84.js} +2 -2
- package/dist/interface/ha/{Metrics-CCvFtezL.js → Metrics-CW7eFTFq.js} +312 -312
- package/dist/interface/ha/{OAuthDeviceFlow-4YupTNsK.js → OAuthDeviceFlow-DY0EmFd2.js} +4 -4
- package/dist/interface/ha/{Plugin-BHU0yhBa.js → Plugin-CDTqk1Za.js} +26 -26
- package/dist/interface/ha/{PluginConsole-CNrLuFQM.js → PluginConsole-BHPYWTQI.js} +4 -4
- package/dist/interface/ha/{PluginDetail-Bm3X-xN4.js → PluginDetail-CCanv1XC.js} +9 -9
- package/dist/interface/ha/{PluginSearch-C0be8cYD.js → PluginSearch-CN5u42N5.js} +43 -43
- package/dist/interface/ha/{PluginUpdateProgress-DVvgYMLG.js → PluginUpdateProgress-CYIL5ZH9.js} +3 -3
- package/dist/interface/ha/{Plugins-R-uz0Se-.js → Plugins-Cej_rQF0.js} +7 -7
- package/dist/interface/ha/{Recordings-DAwbihs8.js → Recordings-CUBsiex_.js} +39 -39
- package/dist/interface/ha/{SensorEdit-BxE1cRLR.js → SensorEdit-CHw_qb02.js} +3 -3
- package/dist/interface/ha/{SensorHistory-DUGlH2pU.js → SensorHistory-CN-cU83N.js} +2 -2
- package/dist/interface/ha/{Sensors-Cax5RlPH.js → Sensors-CsDHqjPN.js} +296 -296
- package/dist/interface/ha/{Settings-DKtlCoyz.js → Settings-xYx7OlnI.js} +2 -2
- package/dist/interface/ha/{SettingsAccount-2e_Vjpev.js → SettingsAccount-CS3pzQOR.js} +11 -11
- package/dist/interface/ha/{SettingsAppearance-DCm60FhX.js → SettingsAppearance-DJ7N-8pK.js} +3 -3
- package/dist/interface/ha/{SettingsBackup-CiM_nNWt.js → SettingsBackup-CIa5Xieg.js} +29 -29
- package/dist/interface/ha/{SettingsList-D4D3cmLo.js → SettingsList-B15eyCEc.js} +1 -1
- package/dist/interface/ha/{SettingsMqtt-CID4L0PD.js → SettingsMqtt-CAV58dIf.js} +3 -3
- package/dist/interface/ha/{SettingsNotifications-DGJkhm8T.js → SettingsNotifications-CaFA1fgA.js} +3 -3
- package/dist/interface/ha/{SettingsRecordings-pR4L0wgy.js → SettingsRecordings-CdU1gIj-.js} +4 -4
- package/dist/interface/ha/{SettingsRemote-CYg-LSQK.js → SettingsRemote-CfZF4rVJ.js} +251 -251
- package/dist/interface/ha/{SettingsSystem-BeYJN1Ut.js → SettingsSystem-pAKtXD6a.js} +10 -10
- package/dist/interface/ha/{SettingsUsers-F4CZggSR.js → SettingsUsers-bb02QZmu.js} +10 -10
- package/dist/interface/ha/{Terminal-iQahUx9P.js → Terminal-D8nt8rJZ.js} +3 -3
- package/dist/interface/ha/{Updates-ClQ77p-o.js → Updates-CN1ovwX3.js} +11 -11
- package/dist/interface/ha/{VariableInput-BOHBmNff.js → VariableInput-CknW9Awp.js} +1 -1
- package/dist/interface/ha/{VersionsHandler-Cx9u0oj8.js → VersionsHandler-DL_zS-ms.js} +8 -8
- package/dist/interface/ha/{VirtualSensorCreate-CvSzLo4N.js → VirtualSensorCreate-DhYEEPoo.js} +1 -1
- package/dist/interface/ha/{Workers-CEJtdSu-.js → Workers-22Qvr1uT.js} +9 -9
- package/dist/interface/ha/{api-CWJkvtnM.js → api-BqtwQvFZ.js} +4735 -4705
- package/dist/interface/ha/{api-BmNBy1ay.js → api-jFJQoLDe.js} +1 -1
- package/dist/interface/ha/{auth-X6tkVYJs.js → auth-DYjwhf8n.js} +1 -1
- package/dist/interface/ha/{automationBlueprint-D1TiCF7R.js → automationBlueprint-BinFQ4tN.js} +2 -2
- package/dist/interface/ha/cameraui-cards.js +1 -1
- package/dist/interface/ha/{cards-CNOyNWMA.js → cards-JO0NQxtH.js} +42 -41
- package/dist/interface/ha/{config-E4Jkelkr.js → config-BZ6AkzPk.js} +1 -1
- package/dist/interface/ha/{dist-Ca9_5rzq.js → dist-BQFunPaA.js} +281 -267
- package/dist/interface/ha/{mqtt-BmDCmG9h.js → mqtt-DvoRfg48.js} +1 -1
- package/dist/interface/ha/{notifications-B51yvrGL.js → notifications-BXyPUJeI.js} +1 -1
- package/dist/interface/ha/{plugins-dkWbXWVM.js → plugins-B7xVEI2U.js} +1 -1
- package/dist/interface/ha/{rooms-B-FUXQ1p.js → rooms-wdWj7L04.js} +1 -1
- package/dist/interface/ha/{server-CKJKoFfg.js → server-BoeQx2s1.js} +1 -1
- package/dist/interface/ha/{types-J_J0HKlK.js → types-BLB8t9IM.js} +2 -2
- package/dist/interface/ha/{ungrouped-BpaM88Y-.js → ungrouped-BTlRpp_C.js} +11 -11
- package/dist/interface/ha/{updates-BdVmkKAa.js → updates-DJQ3mgFB.js} +6 -6
- package/dist/interface/ha/{useAppVersion-DzDaOsKc.js → useAppVersion-DBQHtFHV.js} +1 -1
- package/dist/interface/ha/{useLogsSocket-CWUE-KXV.js → useLogsSocket-DUVEzjQv.js} +1 -1
- package/dist/interface/ha/{useNavLayout-BqpyvD2F.js → useNavLayout-Tm6brv5T.js} +1 -1
- package/dist/interface/ha/{useServerRestart-0c4gA1fG.js → useServerRestart-qfZkaizw.js} +1 -1
- package/dist/interface/ha/{useTabSwipe-C8LdKw23.js → useTabSwipe-DZZV2CAu.js} +1 -1
- package/dist/interface/ha/{useUpdateChannel-CHVLthZB.js → useUpdateChannel-CAAsjUty.js} +2 -2
- package/dist/interface/ha/{useUpdatesSocket-CaxEs511.js → useUpdatesSocket-UVjukmiK.js} +1 -1
- package/dist/interface/ha/{useUserOptions-Rk_71WAK.js → useUserOptions-fca_GryG.js} +1 -1
- package/dist/interface/index.html +26 -26
- package/dist/interface/sw.js +1 -1
- package/dist/server/package.json +5 -5
- package/dist/server/src/api/types/index.d.ts +1 -0
- package/dist/server/src/camera/decoder/event-manager.js +2 -1
- package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
- package/dist/server/src/camera/decoder/event-trace.d.ts +2 -0
- package/dist/server/src/camera/decoder/event-trace.js +28 -1
- package/dist/server/src/camera/decoder/event-trace.js.map +1 -1
- package/package.json +5 -5
- package/dist/interface/assets/Automation-BYRKp0AC.js +0 -3
- package/dist/interface/assets/AutomationImport-L_OzZZgi.js +0 -2
- package/dist/interface/assets/AutomationStore-DaNQqJoT.js +0 -2
- package/dist/interface/assets/AutomationStoreDetail-Seor4Ohh.js +0 -2
- package/dist/interface/assets/Automations-BMQIkpUa.js +0 -2
- package/dist/interface/assets/Camera-3umh2Xjc.js +0 -2
- package/dist/interface/assets/Camera-LSq1bWmA.css +0 -1
- package/dist/interface/assets/Camview-DSO2lWxT.js +0 -1
- package/dist/interface/assets/Config-BXj83-No.js +0 -2
- package/dist/interface/assets/CuiBottomSheet-C9G-NoMU.js +0 -1
- package/dist/interface/assets/CuiCameraPipCard-nrln9zp-.js +0 -1
- package/dist/interface/assets/CuiCameraTable-DGg4_c_u.js +0 -1
- package/dist/interface/assets/CuiPluginCard-D1Hkyiy4.js +0 -2
- package/dist/interface/assets/CuiPluginOAuthButton-CXextmBv.js +0 -2
- package/dist/interface/assets/Faces-C0QpQxuF.js +0 -1
- package/dist/interface/assets/FirstSteps-BqZQovY7.js +0 -1
- package/dist/interface/assets/Floorplan-CW-W5ZkV.js +0 -1
- package/dist/interface/assets/Instances-VSkiqKKf.js +0 -1
- package/dist/interface/assets/Metrics-cvbQzChA.js +0 -9
- package/dist/interface/assets/Plugin-DjQd3Y9J.js +0 -1
- package/dist/interface/assets/PluginDetail-Ofj1hk2q.js +0 -2
- package/dist/interface/assets/PluginSearch-Ce3S1HDv.js +0 -1
- package/dist/interface/assets/PluginSearch-D5eQsj5p.js +0 -2
- package/dist/interface/assets/Plugins-DtDN9z0k.js +0 -1
- package/dist/interface/assets/Recordings-CQGnTZFt.js +0 -1
- package/dist/interface/assets/Sensors-DSR-AUqb.js +0 -2
- package/dist/interface/assets/SettingsAccount-Cd5JPsv2.js +0 -1
- package/dist/interface/assets/SettingsAccount-D4ib7Asi.js +0 -1
- package/dist/interface/assets/SettingsAppearance-BYsQmdyo.js +0 -1
- package/dist/interface/assets/SettingsBackup-BcVFCbhB.js +0 -1
- package/dist/interface/assets/SettingsRemote-BnFW-uT-.js +0 -2
- package/dist/interface/assets/SettingsSystem-Cdjg5GNY.js +0 -2
- package/dist/interface/assets/SettingsUsers-DphPL78H.js +0 -1
- package/dist/interface/assets/Updates-V5B9LSD-.js +0 -2
- package/dist/interface/assets/Workers-DEvQNzUi.js +0 -2
- package/dist/interface/assets/api-x8zXlvtm.js +0 -4
- package/dist/interface/assets/cloudHandoff-BZvvihwX.js +0 -1
- package/dist/interface/assets/main-Jl93jEZK.js +0 -3
- package/dist/interface/assets/sensorIcons-BTgouEmX.js +0 -1
- package/dist/interface/assets/ungrouped-B_u9a5wm.js +0 -1
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
import { c as e } from "./ripple-BilzxWfY.js";
|
|
2
2
|
import { B as t, D as n, Dt as r, G as i, H as a, Jt as o, M as s, Wt as c, Y as l, _t as u, d, f, kt as p, l as m, lt as h, ot as g, p as _, qt as v, r as y, rt as b, u as x, ut as S, wt as C, x as w, xt as T, y as E, yt as D, z as ee } from "./runtime-core.esm-bundler-D8slQ3BU.js";
|
|
3
3
|
import { t as te } from "./tooltip-BIrD_hC8.js";
|
|
4
|
-
import { An as ne, Br as re, Cn as ie, Dn as ae, Dr as oe, En as se, Er as ce, F as O, Hn as le, N as k, Ot as
|
|
5
|
-
import { o as
|
|
6
|
-
import { r as
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
4
|
+
import { An as ne, Br as re, Cn as ie, Dn as ae, Dr as oe, En as se, Er as ce, F as O, Hn as le, Ht as ue, N as k, Ot as de, P as fe, Rn as A, Sn as pe, Tn as j, Ur as me, a as he, fr as ge, gi as M, it as _e, kn as ve, m as ye, ot as N, pi as be, qt as xe, rn as P, vn as Se, vr as F, w as I, yr as Ce } from "./api-BqtwQvFZ.js";
|
|
5
|
+
import { o as we } from "./intercomService-jB2mTgsn.js";
|
|
6
|
+
import { r as Te } from "./pinia-3D39Do4a.js";
|
|
7
|
+
import { n as Ee } from "./vue-i18n-Dcb07o5U.js";
|
|
8
|
+
import { t as De } from "./button-BlYuI0Q7.js";
|
|
9
9
|
import { t as L } from "./inputtext-DGIESrd0.js";
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { c as
|
|
14
|
-
import { n as
|
|
10
|
+
import { t as Oe } from "./divider-jkWvVbPJ.js";
|
|
11
|
+
import { t as ke } from "./speeddial-Dv9txWte.js";
|
|
12
|
+
import { t as Ae } from "./delete-D-m8mqly.js";
|
|
13
|
+
import { c as je, d as Me, u as Ne } from "./cards-JO0NQxtH.js";
|
|
14
|
+
import { n as Pe, t as Fe } from "./CuiTopNavbarItem-Cowg2EeV.js";
|
|
15
15
|
//#region ~icons/mdi/pencil
|
|
16
|
-
var
|
|
16
|
+
var Ie = {
|
|
17
17
|
viewBox: "0 0 24 24",
|
|
18
18
|
width: "1.2em",
|
|
19
19
|
height: "1.2em"
|
|
20
20
|
};
|
|
21
|
-
function
|
|
22
|
-
return a(), _("svg",
|
|
21
|
+
function Le(e, t) {
|
|
22
|
+
return a(), _("svg", Ie, [...t[0] ||= [x("path", {
|
|
23
23
|
fill: "currentColor",
|
|
24
24
|
d: "M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z"
|
|
25
25
|
}, null, -1)]]);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Re = u({
|
|
28
28
|
name: "mdi-pencil",
|
|
29
|
-
render:
|
|
30
|
-
}),
|
|
29
|
+
render: Le
|
|
30
|
+
}), ze = {
|
|
31
31
|
viewBox: "0 0 24 24",
|
|
32
32
|
width: "1.2em",
|
|
33
33
|
height: "1.2em"
|
|
34
34
|
};
|
|
35
|
-
function
|
|
36
|
-
return a(), _("svg",
|
|
35
|
+
function Be(e, t) {
|
|
36
|
+
return a(), _("svg", ze, [...t[0] ||= [x("path", {
|
|
37
37
|
fill: "currentColor",
|
|
38
38
|
d: "m9.5 13.09l1.41 1.41l-4.5 4.5H10v2H3v-7h2v3.59zm1.41-3.59L9.5 10.91L5 6.41V10H3V3h7v2H6.41zm3.59 3.59l4.5 4.5V14h2v7h-7v-2h3.59l-4.5-4.5zM13.09 9.5l4.5-4.5H14V3h7v7h-2V6.41l-4.5 4.5z"
|
|
39
39
|
}, null, -1)]]);
|
|
40
40
|
}
|
|
41
|
-
var
|
|
41
|
+
var Ve = u({
|
|
42
42
|
name: "mdi-arrow-expand-all",
|
|
43
|
-
render:
|
|
44
|
-
}),
|
|
43
|
+
render: Be
|
|
44
|
+
}), He = {
|
|
45
45
|
viewBox: "0 0 24 24",
|
|
46
46
|
width: "1.2em",
|
|
47
47
|
height: "1.2em"
|
|
48
48
|
};
|
|
49
|
-
function
|
|
50
|
-
return a(), _("svg",
|
|
49
|
+
function Ue(e, t) {
|
|
50
|
+
return a(), _("svg", He, [...t[0] ||= [x("path", {
|
|
51
51
|
fill: "currentColor",
|
|
52
52
|
d: "M7.5 5.6L5 7l1.4-2.5L5 2l2.5 1.4L10 2L8.6 4.5L10 7zm12 9.8L22 14l-1.4 2.5L22 19l-2.5-1.4L17 19l1.4-2.5L17 14zM22 2l-1.4 2.5L22 7l-2.5-1.4L17 7l1.4-2.5L17 2l2.5 1.4zm-8.66 10.78l2.44-2.44l-2.12-2.12l-2.44 2.44zm1.03-5.49l2.34 2.34c.39.37.39 1.02 0 1.41L5.04 22.71c-.39.39-1.04.39-1.41 0l-2.34-2.34c-.39-.37-.39-1.02 0-1.41L12.96 7.29c.39-.39 1.04-.39 1.41 0"
|
|
53
53
|
}, null, -1)]]);
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var We = u({
|
|
56
56
|
name: "mdi-auto-fix",
|
|
57
|
-
render:
|
|
58
|
-
}),
|
|
57
|
+
render: Ue
|
|
58
|
+
}), Ge = {
|
|
59
59
|
viewBox: "0 0 24 24",
|
|
60
60
|
width: "1.2em",
|
|
61
61
|
height: "1.2em"
|
|
62
62
|
};
|
|
63
|
-
function
|
|
64
|
-
return a(), _("svg",
|
|
63
|
+
function Ke(e, t) {
|
|
64
|
+
return a(), _("svg", Ge, [...t[0] ||= [x("path", {
|
|
65
65
|
fill: "currentColor",
|
|
66
66
|
"fill-rule": "evenodd",
|
|
67
67
|
d: "M9 3a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm10 0a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 10a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2zM9 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z",
|
|
68
68
|
"clip-rule": "evenodd"
|
|
69
69
|
}, null, -1)]]);
|
|
70
70
|
}
|
|
71
|
-
var
|
|
71
|
+
var qe = u({
|
|
72
72
|
name: "mingcute-grid2-fill",
|
|
73
|
-
render:
|
|
74
|
-
}),
|
|
73
|
+
render: Ke
|
|
74
|
+
}), Je = {
|
|
75
75
|
viewBox: "0 0 24 24",
|
|
76
76
|
width: "1.2em",
|
|
77
77
|
height: "1.2em"
|
|
78
78
|
};
|
|
79
|
-
function
|
|
80
|
-
return a(), _("svg",
|
|
79
|
+
function Ye(e, t) {
|
|
80
|
+
return a(), _("svg", Je, [...t[0] ||= [x("path", {
|
|
81
81
|
fill: "currentColor",
|
|
82
82
|
d: "M17.41 2H6.59A4.58 4.58 0 0 0 2 6.59v10.82A4.58 4.58 0 0 0 6.59 22h10.82A4.58 4.58 0 0 0 22 17.41V6.59A4.58 4.58 0 0 0 17.41 2m-2.653 12.447a1.924 1.924 0 0 1-1.924 1.923h-5.86a1.924 1.924 0 0 1-1.923-1.923v-4.87a1.923 1.923 0 0 1 1.927-1.924h5.856a1.925 1.925 0 0 1 1.924 1.924Zm4.2.74a.771.771 0 0 1-1.266.59l-2.211-1.854a.85.85 0 0 1-.3-.653v-2.52a.85.85 0 0 1 .31-.657l2.206-1.82a.769.769 0 0 1 1.26.594Z"
|
|
83
83
|
}, null, -1)]]);
|
|
84
84
|
}
|
|
85
|
-
var
|
|
85
|
+
var Xe = u({
|
|
86
86
|
name: "cbi-iosfacetime",
|
|
87
|
-
render:
|
|
88
|
-
}),
|
|
87
|
+
render: Ye
|
|
88
|
+
}), Ze = {
|
|
89
89
|
viewBox: "0 0 24 24",
|
|
90
90
|
width: "1.2em",
|
|
91
91
|
height: "1.2em"
|
|
92
92
|
};
|
|
93
|
-
function
|
|
94
|
-
return a(), _("svg",
|
|
93
|
+
function Qe(e, t) {
|
|
94
|
+
return a(), _("svg", Ze, [...t[0] ||= [x("path", {
|
|
95
95
|
fill: "currentColor",
|
|
96
96
|
d: "m8.471 7.237l3.056 12.992c.233.993 1.63 1.04 1.929.065l2.945-9.58l.384 1.527a1 1 0 0 0 .97.756H21a1 1 0 1 0 0-2h-2.466l-1.069-4.241c-.247-.981-1.628-1.017-1.925-.05l-2.912 9.472L9.475 2.771c-.24-1.02-1.688-1.03-1.943-.014l-2.065 8.24H3a1 1 0 0 0 0 2h3.247a1 1 0 0 0 .97-.757z"
|
|
97
97
|
}, null, -1)]]);
|
|
98
98
|
}
|
|
99
|
-
var
|
|
99
|
+
var $e = u({
|
|
100
100
|
name: "fluent-pulse-24-filled",
|
|
101
|
-
render:
|
|
102
|
-
}),
|
|
101
|
+
render: Qe
|
|
102
|
+
}), et = {
|
|
103
103
|
viewBox: "0 0 16 16",
|
|
104
104
|
width: "1.2em",
|
|
105
105
|
height: "1.2em"
|
|
106
106
|
};
|
|
107
107
|
function R(e, t) {
|
|
108
|
-
return a(), _("svg",
|
|
108
|
+
return a(), _("svg", et, [...t[0] ||= [x("path", {
|
|
109
109
|
fill: "currentColor",
|
|
110
110
|
d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124m5.393.984a.75.75 0 1 0-1.06 1.06a5.5 5.5 0 0 1 0 7.78a.75.75 0 1 0 1.06 1.06a7 7 0 0 0 0-9.9"
|
|
111
111
|
}, null, -1), x("path", {
|
|
@@ -113,7 +113,7 @@ function R(e, t) {
|
|
|
113
113
|
d: "M10.828 5.172a.75.75 0 1 0-1.06 1.06a2.5 2.5 0 0 1 0 3.536a.75.75 0 1 0 1.06 1.06a4 4 0 0 0 0-5.656"
|
|
114
114
|
}, null, -1)]]);
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var tt = u({
|
|
117
117
|
name: "heroicons-speaker-wave-16-solid",
|
|
118
118
|
render: R
|
|
119
119
|
}), z = {
|
|
@@ -127,7 +127,7 @@ function B(e, t) {
|
|
|
127
127
|
d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124M11.28 5.72a.75.75 0 1 0-1.06 1.06L11.44 8l-1.22 1.22a.75.75 0 1 0 1.06 1.06l1.22-1.22l1.22 1.22a.75.75 0 1 0 1.06-1.06L13.56 8l1.22-1.22a.75.75 0 0 0-1.06-1.06L12.5 6.94z"
|
|
128
128
|
}, null, -1)]]);
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var nt = u({
|
|
131
131
|
name: "heroicons-speaker-x-mark-16-solid",
|
|
132
132
|
render: B
|
|
133
133
|
}), V = {
|
|
@@ -149,7 +149,7 @@ function H(e, t) {
|
|
|
149
149
|
d: "M31.66 10H41l-10 8h10"
|
|
150
150
|
})], -1)]]);
|
|
151
151
|
}
|
|
152
|
-
var
|
|
152
|
+
var rt = u({
|
|
153
153
|
name: "icon-park-solid-sleep",
|
|
154
154
|
render: H
|
|
155
155
|
}), U = {
|
|
@@ -163,21 +163,21 @@ function W(e, t) {
|
|
|
163
163
|
d: "M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M4.438 6.563Q4 6.125 4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7t-1.062-.437M12 12"
|
|
164
164
|
}, null, -1)]]);
|
|
165
165
|
}
|
|
166
|
-
var
|
|
166
|
+
var it = u({
|
|
167
167
|
name: "material-symbols-motion-photos-auto-outline-rounded",
|
|
168
168
|
render: W
|
|
169
|
-
}),
|
|
169
|
+
}), at = {
|
|
170
170
|
viewBox: "0 0 24 24",
|
|
171
171
|
width: "1.2em",
|
|
172
172
|
height: "1.2em"
|
|
173
173
|
};
|
|
174
174
|
function G(e, t) {
|
|
175
|
-
return a(), _("svg",
|
|
175
|
+
return a(), _("svg", at, [...t[0] ||= [x("path", {
|
|
176
176
|
fill: "currentColor",
|
|
177
177
|
d: "M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3zm-7 3H3V6h16v7h2V6c0-1.11-.89-2-2-2H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h11z"
|
|
178
178
|
}, null, -1)]]);
|
|
179
179
|
}
|
|
180
|
-
var
|
|
180
|
+
var ot = u({
|
|
181
181
|
name: "mdi-card-plus-outline",
|
|
182
182
|
render: G
|
|
183
183
|
}), K = {
|
|
@@ -191,7 +191,7 @@ function q(e, t) {
|
|
|
191
191
|
d: "M12 2a7 7 0 0 1 7 7a7 7 0 0 1-7 7a7 7 0 0 1-7-7a7 7 0 0 1 7-7m0 2a5 5 0 0 0-5 5a5 5 0 0 0 5 5a5 5 0 0 0 5-5a5 5 0 0 0-5-5m0 2a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3M6 22a2 2 0 0 1-2-2c0-.38.1-.73.29-1.03l1.82-3.16A9 9 0 0 0 12 18c2.25 0 4.31-.83 5.89-2.19l1.82 3.16c.19.3.29.65.29 1.03a2 2 0 0 1-2 2z"
|
|
192
192
|
}, null, -1)]]);
|
|
193
193
|
}
|
|
194
|
-
var
|
|
194
|
+
var st = u({
|
|
195
195
|
name: "mdi-webcam",
|
|
196
196
|
render: q
|
|
197
197
|
}), J = {
|
|
@@ -205,70 +205,70 @@ function Y(e, t) {
|
|
|
205
205
|
d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v8a.75.75 0 0 0 1.5 0v-3.25h3.5V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.5 0v3.25h-3.5z"
|
|
206
206
|
}, null, -1)]]);
|
|
207
207
|
}
|
|
208
|
-
var
|
|
208
|
+
var ct = u({
|
|
209
209
|
name: "mynaui-letter-h-square-solid",
|
|
210
210
|
render: Y
|
|
211
|
-
}),
|
|
211
|
+
}), lt = {
|
|
212
212
|
viewBox: "0 0 24 24",
|
|
213
213
|
width: "1.2em",
|
|
214
214
|
height: "1.2em"
|
|
215
215
|
};
|
|
216
|
-
function
|
|
217
|
-
return a(), _("svg",
|
|
216
|
+
function ut(e, t) {
|
|
217
|
+
return a(), _("svg", lt, [...t[0] ||= [x("path", {
|
|
218
218
|
fill: "currentColor",
|
|
219
219
|
d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v7.5c0 .414.336.75.75.75H15a.75.75 0 0 0 0-1.5h-4.75z"
|
|
220
220
|
}, null, -1)]]);
|
|
221
221
|
}
|
|
222
|
-
var
|
|
222
|
+
var dt = u({
|
|
223
223
|
name: "mynaui-letter-l-square-solid",
|
|
224
|
-
render:
|
|
225
|
-
}),
|
|
224
|
+
render: ut
|
|
225
|
+
}), ft = {
|
|
226
226
|
viewBox: "0 0 24 24",
|
|
227
227
|
width: "1.2em",
|
|
228
228
|
height: "1.2em"
|
|
229
229
|
};
|
|
230
230
|
function X(e, t) {
|
|
231
|
-
return a(), _("svg",
|
|
231
|
+
return a(), _("svg", ft, [...t[0] ||= [x("path", {
|
|
232
232
|
fill: "currentColor",
|
|
233
233
|
d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057m.233 5.3A.75.75 0 0 0 8.25 8v8a.75.75 0 0 0 1.5 0v-5.75l1.65 2.2a.75.75 0 0 0 1.2 0l1.65-2.2V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.35-.45l-2.4 3.2z"
|
|
234
234
|
}, null, -1)]]);
|
|
235
235
|
}
|
|
236
|
-
var
|
|
236
|
+
var pt = u({
|
|
237
237
|
name: "mynaui-letter-m-square-solid",
|
|
238
238
|
render: X
|
|
239
|
-
}),
|
|
239
|
+
}), mt = {
|
|
240
240
|
viewBox: "0 0 24 24",
|
|
241
241
|
width: "1.2em",
|
|
242
242
|
height: "1.2em"
|
|
243
243
|
};
|
|
244
|
-
function
|
|
245
|
-
return a(), _("svg",
|
|
244
|
+
function ht(e, t) {
|
|
245
|
+
return a(), _("svg", mt, [...t[0] ||= [x("path", {
|
|
246
246
|
fill: "currentColor",
|
|
247
247
|
d: "M12 .36A5.4 5.4 0 0 0 6.62 5.3a5.4 5.4 0 0 0-1.22-.14a5.4 5.4 0 0 0-2.143 10.357a5.4 5.4 0 0 0-.737 2.723a5.4 5.4 0 0 0 9.54 3.466a5.4 5.4 0 0 0 8.833-6.137a5.4 5.4 0 0 0-3.505-10.152A5.4 5.4 0 0 0 12 .36M6.283 7.228h10.592c.746 0 1.352.605 1.352 1.349v7.646a1.35 1.35 0 0 1-1.352 1.348h-3.608l-7.24 3.55l1.1-3.55h-.844a1.35 1.35 0 0 1-1.352-1.348V8.577c0-.744.606-1.349 1.352-1.349"
|
|
248
248
|
}, null, -1)]]);
|
|
249
249
|
}
|
|
250
|
-
var
|
|
250
|
+
var gt = u({
|
|
251
251
|
name: "simple-icons-webrtc",
|
|
252
|
-
render:
|
|
253
|
-
}),
|
|
252
|
+
render: ht
|
|
253
|
+
}), _t = {
|
|
254
254
|
viewBox: "0 0 24 24",
|
|
255
255
|
width: "1.2em",
|
|
256
256
|
height: "1.2em"
|
|
257
257
|
};
|
|
258
|
-
function
|
|
259
|
-
return a(), _("svg",
|
|
258
|
+
function vt(e, t) {
|
|
259
|
+
return a(), _("svg", _t, [...t[0] ||= [x("path", {
|
|
260
260
|
fill: "currentColor",
|
|
261
261
|
d: "M12 2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3m7 9c0 3.53-2.61 6.44-6 6.93V21h-2v-3.07c-3.39-.49-6-3.4-6-6.93h2a5 5 0 0 0 5 5a5 5 0 0 0 5-5z"
|
|
262
262
|
}, null, -1)]]);
|
|
263
263
|
}
|
|
264
|
-
var
|
|
264
|
+
var yt = u({
|
|
265
265
|
name: "mdi-microphone",
|
|
266
|
-
render:
|
|
267
|
-
}),
|
|
266
|
+
render: vt
|
|
267
|
+
}), bt = { class: "flex flex-col gap-3" }, Z = { class: "text-wrap" }, xt = { class: "w-full h-full flex items-center justify-center relative" }, St = /* @__PURE__ */ w({
|
|
268
268
|
__name: "AudioVisualizer",
|
|
269
269
|
emits: ["listening"],
|
|
270
270
|
setup(e, { expose: r, emit: i }) {
|
|
271
|
-
let s = i, c =
|
|
271
|
+
let s = i, c = we(), l = M(), u = n("dialogRefProps"), d = b("canvasRef"), f = C(), p = C(), g = T(!1), v = m(() => !!u.loading?.value);
|
|
272
272
|
async function y() {
|
|
273
273
|
if (g.value) w();
|
|
274
274
|
else try {
|
|
@@ -321,8 +321,8 @@ var _t = u({
|
|
|
321
321
|
return t(() => {
|
|
322
322
|
w();
|
|
323
323
|
}), r({ isLoading: v }), (e, t) => {
|
|
324
|
-
let n =
|
|
325
|
-
return a(), _("div",
|
|
324
|
+
let n = yt, r = De;
|
|
325
|
+
return a(), _("div", bt, [x("span", Z, o(e.$t("components.dialog.message.intercom_info")), 1), x("div", xt, [E(r, {
|
|
326
326
|
rounded: "",
|
|
327
327
|
class: "w-[60px] h-[60px] absolute z-1",
|
|
328
328
|
onClick: y
|
|
@@ -340,7 +340,7 @@ var _t = u({
|
|
|
340
340
|
}, null, 512)])]);
|
|
341
341
|
};
|
|
342
342
|
}
|
|
343
|
-
}),
|
|
343
|
+
}), Q = ["fill"], Ct = /* @__PURE__ */ w({
|
|
344
344
|
__name: "CuiCameraGridIcon1",
|
|
345
345
|
props: { color: { default: "currentColor" } },
|
|
346
346
|
setup(e) {
|
|
@@ -351,9 +351,9 @@ var _t = u({
|
|
|
351
351
|
role: "img",
|
|
352
352
|
"area-hidden": "true",
|
|
353
353
|
fill: p(t)
|
|
354
|
-
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z" }, null, -1)]], 8,
|
|
354
|
+
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z" }, null, -1)]], 8, Q));
|
|
355
355
|
}
|
|
356
|
-
}), $ = ["fill"],
|
|
356
|
+
}), $ = ["fill"], wt = /* @__PURE__ */ w({
|
|
357
357
|
__name: "CuiCameraGridIcon10",
|
|
358
358
|
props: { color: { default: "currentColor" } },
|
|
359
359
|
setup(e) {
|
|
@@ -366,7 +366,7 @@ var _t = u({
|
|
|
366
366
|
fill: p(t)
|
|
367
367
|
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm726 275h226v130H735V276Zm-242 0h234v130H493V276Zm0 265V414h234v127H493ZM9 541V276h476v265H9Zm726 0V414h226v127H735ZM961 9v121H735V9h226ZM735 138h226v130H735V138ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Z" }, null, -1)]], 8, $));
|
|
368
368
|
}
|
|
369
|
-
}),
|
|
369
|
+
}), Tt = ["fill"], Et = /* @__PURE__ */ w({
|
|
370
370
|
__name: "CuiCameraGridIcon12",
|
|
371
371
|
props: { color: { default: "currentColor" } },
|
|
372
372
|
setup(e) {
|
|
@@ -377,9 +377,9 @@ var _t = u({
|
|
|
377
377
|
role: "img",
|
|
378
378
|
"area-hidden": "true",
|
|
379
379
|
fill: p(t)
|
|
380
|
-
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8,
|
|
380
|
+
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, Tt));
|
|
381
381
|
}
|
|
382
|
-
}),
|
|
382
|
+
}), Dt = ["fill"], Ot = /* @__PURE__ */ w({
|
|
383
383
|
__name: "CuiCameraGridIcon13",
|
|
384
384
|
props: { color: { default: "currentColor" } },
|
|
385
385
|
setup(e) {
|
|
@@ -390,9 +390,9 @@ var _t = u({
|
|
|
390
390
|
role: "img",
|
|
391
391
|
"area-hidden": "true",
|
|
392
392
|
fill: p(t)
|
|
393
|
-
}, [...n[0] ||= [x("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z" }, null, -1)]], 8,
|
|
393
|
+
}, [...n[0] ||= [x("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z" }, null, -1)]], 8, Dt));
|
|
394
394
|
}
|
|
395
|
-
}),
|
|
395
|
+
}), kt = ["fill"], At = /* @__PURE__ */ w({
|
|
396
396
|
__name: "CuiCameraGridIcon15",
|
|
397
397
|
props: { color: { default: "currentColor" } },
|
|
398
398
|
setup(e) {
|
|
@@ -403,9 +403,9 @@ var _t = u({
|
|
|
403
403
|
role: "img",
|
|
404
404
|
"area-hidden": "true",
|
|
405
405
|
fill: p(t)
|
|
406
|
-
}, [...n[0] ||= [x("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-144V276H485v129.5H250.5Zm-8-129.5v129.5H9V276h233.5Zm570 90H961v82H812.5v-82Zm-160 0h152v82h-152v-82ZM961 276v82H812.5v-82H961Zm-308.5 0h152v82h-152v-82Zm0 180h152v85h-152v-85ZM961 541H812.5v-85H961v85Zm-316.5-93H493v-82h151.5v82Zm0-172v82H493v-82h151.5Zm0 180v85H493v-85h151.5ZM485 413.5V541H250.5V413.5H485Zm-242.5 0V541H9V413.5h233.5ZM961 9v259H493V9h468ZM9 9h476v259H9V9Z" }, null, -1)]], 8,
|
|
406
|
+
}, [...n[0] ||= [x("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-144V276H485v129.5H250.5Zm-8-129.5v129.5H9V276h233.5Zm570 90H961v82H812.5v-82Zm-160 0h152v82h-152v-82ZM961 276v82H812.5v-82H961Zm-308.5 0h152v82h-152v-82Zm0 180h152v85h-152v-85ZM961 541H812.5v-85H961v85Zm-316.5-93H493v-82h151.5v82Zm0-172v82H493v-82h151.5Zm0 180v85H493v-85h151.5ZM485 413.5V541H250.5V413.5H485Zm-242.5 0V541H9V413.5h233.5ZM961 9v259H493V9h468ZM9 9h476v259H9V9Z" }, null, -1)]], 8, kt));
|
|
407
407
|
}
|
|
408
|
-
}),
|
|
408
|
+
}), jt = ["fill"], Mt = /* @__PURE__ */ w({
|
|
409
409
|
__name: "CuiCameraGridIcon16",
|
|
410
410
|
props: { color: { default: "currentColor" } },
|
|
411
411
|
setup(e) {
|
|
@@ -416,9 +416,9 @@ var _t = u({
|
|
|
416
416
|
role: "img",
|
|
417
417
|
"area-hidden": "true",
|
|
418
418
|
fill: p(t)
|
|
419
|
-
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v121.5H732.5V9H961ZM724.5 9v121.5H493V9h231.5ZM493 268V138.5h231.5V268H493Zm0 137.5V276h231.5v129.5H493Zm468 0H732.5V276H961v129.5ZM493 541V413.5h231.5V541H493Zm468 0H732.5V413.5H961V541Zm0-273H732.5V138.5H961V268ZM485 9v121.5H250.5V9H485ZM250.5 138.5H485V268H250.5V138.5ZM242.5 9v121.5H9V9h233.5ZM9 138.5h233.5V268H9V138.5ZM250.5 276H485v129.5H250.5V276Zm0 137.5H485V541H250.5V413.5Zm-8-137.5v129.5H9V276h233.5ZM9 541V413.5h233.5V541H9Z" }, null, -1)]], 8,
|
|
419
|
+
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v121.5H732.5V9H961ZM724.5 9v121.5H493V9h231.5ZM493 268V138.5h231.5V268H493Zm0 137.5V276h231.5v129.5H493Zm468 0H732.5V276H961v129.5ZM493 541V413.5h231.5V541H493Zm468 0H732.5V413.5H961V541Zm0-273H732.5V138.5H961V268ZM485 9v121.5H250.5V9H485ZM250.5 138.5H485V268H250.5V138.5ZM242.5 9v121.5H9V9h233.5ZM9 138.5h233.5V268H9V138.5ZM250.5 276H485v129.5H250.5V276Zm0 137.5H485V541H250.5V413.5Zm-8-137.5v129.5H9V276h233.5ZM9 541V413.5h233.5V541H9Z" }, null, -1)]], 8, jt));
|
|
420
420
|
}
|
|
421
|
-
}),
|
|
421
|
+
}), Nt = ["fill"], Pt = /* @__PURE__ */ w({
|
|
422
422
|
__name: "CuiCameraGridIcon20",
|
|
423
423
|
props: { color: { default: "currentColor" } },
|
|
424
424
|
setup(e) {
|
|
@@ -429,9 +429,9 @@ var _t = u({
|
|
|
429
429
|
role: "img",
|
|
430
430
|
"area-hidden": "true",
|
|
431
431
|
fill: p(t)
|
|
432
|
-
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 94v82H812.5V95H961Zm-156.5 82h-152V95h152v82ZM961 9v78H812.5V9H961ZM652.5 9h152v78h-152V9Zm0 176h152v83h-152v-83ZM961 268H812.5v-83H961v83Zm-308.5 8h152v82h-152v-82Zm160 0H961v82H812.5v-82Zm-168-181v82H493V95h151.5Zm0-86v78H493V9h151.5ZM493 268v-83h151.5v83H493Zm0 90v-82h151.5v82H493ZM9 9h476v259H9V9Zm952 357v82H812.5v-82H961Zm-156.5 0v82h-152v-82h152Zm-152 90h152v85h-152v-85ZM961 541H812.5v-85H961v85ZM644.5 366v82H493v-82h151.5ZM493 541v-85h151.5v85H493ZM9 276h476v265H9V276Z" }, null, -1)]], 8,
|
|
432
|
+
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 94v82H812.5V95H961Zm-156.5 82h-152V95h152v82ZM961 9v78H812.5V9H961ZM652.5 9h152v78h-152V9Zm0 176h152v83h-152v-83ZM961 268H812.5v-83H961v83Zm-308.5 8h152v82h-152v-82Zm160 0H961v82H812.5v-82Zm-168-181v82H493V95h151.5Zm0-86v78H493V9h151.5ZM493 268v-83h151.5v83H493Zm0 90v-82h151.5v82H493ZM9 9h476v259H9V9Zm952 357v82H812.5v-82H961Zm-156.5 0v82h-152v-82h152Zm-152 90h152v85h-152v-85ZM961 541H812.5v-85H961v85ZM644.5 366v82H493v-82h151.5ZM493 541v-85h151.5v85H493ZM9 276h476v265H9V276Z" }, null, -1)]], 8, Nt));
|
|
433
433
|
}
|
|
434
|
-
}),
|
|
434
|
+
}), Ft = ["fill"], It = /* @__PURE__ */ w({
|
|
435
435
|
__name: "CuiCameraGridIcon26",
|
|
436
436
|
props: { color: { default: "currentColor" } },
|
|
437
437
|
setup(e) {
|
|
@@ -445,9 +445,9 @@ var _t = u({
|
|
|
445
445
|
}, [...n[0] ||= [x("path", {
|
|
446
446
|
"fill-rule": "evenodd",
|
|
447
447
|
d: "M1.5 9A7.5 7.5 0 0 1 9 1.5h952a7.5 7.5 0 0 1 7.5 7.5v532a7.5 7.5 0 0 1-7.5 7.5H9a7.5 7.5 0 0 1-7.5-7.5V9Zm960 168V94h-153v83h153Zm-160 0h-153V94h153v83Zm7-90h153V9a.5.5 0 0 0-.5-.5H808.5V87Zm-7-78.5V87h-153V8.5h153Zm0 175.5v84.5h-153V184h153Zm7 84.5V184h153v84.5h-153Zm-167-91.5V94h-149v83h149Zm0-90V8.5h-149V87h149Zm-149 97h149v84.5h-149V184Zm0 91.5H719V402H492.5V275.5Zm0 133.5v132.5H719V409H492.5Zm233.5 0v132.5h235a.5.5 0 0 0 .5-.5V409H726Zm235.5-7V275.5H726V402h235.5Zm-476-270V8.5H252V132h233.5ZM245 139H8.5v129.5H245V139Zm0-7V8.5H9a.5.5 0 0 0-.5.5v123H245Zm240.5 136.5V139H252v129.5h233.5Zm-477 7h157v81H8.5v-81Zm164 81v-81h153v81h-153Zm153 7h-153v83h153v-83Zm7 83v-83h153v83h-153Zm-7 7h-153v88h153v-88Zm7 88v-88h153v88h-153Zm0-185v-81h153v81h-153Zm-324 7h157v83H8.5v-83Zm0 90h157v88H9a.5.5 0 0 1-.5-.5v-87.5Z"
|
|
448
|
-
}, null, -1)]], 8,
|
|
448
|
+
}, null, -1)]], 8, Ft));
|
|
449
449
|
}
|
|
450
|
-
}),
|
|
450
|
+
}), Lt = ["fill"], Rt = /* @__PURE__ */ w({
|
|
451
451
|
__name: "CuiCameraGridIcon4",
|
|
452
452
|
props: { color: { default: "currentColor" } },
|
|
453
453
|
setup(e) {
|
|
@@ -458,9 +458,9 @@ var _t = u({
|
|
|
458
458
|
role: "img",
|
|
459
459
|
"area-hidden": "true",
|
|
460
460
|
fill: p(t)
|
|
461
|
-
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v259H493V9h468ZM493 541V276h468v265H493ZM485 9v259H9V9h476ZM9 541V276h476v265H9Z" }, null, -1)]], 8,
|
|
461
|
+
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v259H493V9h468ZM493 541V276h468v265H493ZM485 9v259H9V9h476ZM9 541V276h476v265H9Z" }, null, -1)]], 8, Lt));
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), zt = ["fill"], Bt = /* @__PURE__ */ w({
|
|
464
464
|
__name: "CuiCameraGridIcon6",
|
|
465
465
|
props: { color: { default: "currentColor" } },
|
|
466
466
|
setup(e) {
|
|
@@ -471,9 +471,9 @@ var _t = u({
|
|
|
471
471
|
role: "img",
|
|
472
472
|
"area-hidden": "true",
|
|
473
473
|
fill: p(t)
|
|
474
|
-
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm641.5 187.5H961v171H650.5v-171ZM961 9v171.5H650.5V9H961ZM642.5 9v350.5H9V9h633.5ZM9 541V367.5h315.5V541H9Zm323.5-173.5h310V541h-310V367.5Zm318 0H961V541H650.5V367.5Z" }, null, -1)]], 8,
|
|
474
|
+
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm641.5 187.5H961v171H650.5v-171ZM961 9v171.5H650.5V9H961ZM642.5 9v350.5H9V9h633.5ZM9 541V367.5h315.5V541H9Zm323.5-173.5h310V541h-310V367.5Zm318 0H961V541H650.5V367.5Z" }, null, -1)]], 8, zt));
|
|
475
475
|
}
|
|
476
|
-
}),
|
|
476
|
+
}), Vt = ["fill"], Ht = /* @__PURE__ */ w({
|
|
477
477
|
__name: "CuiCameraGridIcon7",
|
|
478
478
|
props: { color: { default: "currentColor" } },
|
|
479
479
|
setup(e) {
|
|
@@ -484,9 +484,9 @@ var _t = u({
|
|
|
484
484
|
role: "img",
|
|
485
485
|
"area-hidden": "true",
|
|
486
486
|
fill: p(t)
|
|
487
|
-
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm725.5 275H961v130H734.5V276Zm0 265V414H961v127H734.5Zm-8-265v130H493V276h233.5ZM493 541V414h233.5v127H493ZM9 276h476v265H9V276ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8,
|
|
487
|
+
}, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm725.5 275H961v130H734.5V276Zm0 265V414H961v127H734.5Zm-8-265v130H493V276h233.5ZM493 541V414h233.5v127H493ZM9 276h476v265H9V276ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, Vt));
|
|
488
488
|
}
|
|
489
|
-
}),
|
|
489
|
+
}), Ut = ["fill"], Wt = /* @__PURE__ */ w({
|
|
490
490
|
__name: "CuiCameraGridIcon9",
|
|
491
491
|
props: { color: { default: "currentColor" } },
|
|
492
492
|
setup(e) {
|
|
@@ -497,24 +497,24 @@ var _t = u({
|
|
|
497
497
|
role: "img",
|
|
498
498
|
"area-hidden": "true",
|
|
499
499
|
fill: p(t)
|
|
500
|
-
}, [...n[0] ||= [x("path", { d: "M969.5 359v-.5h-.5V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V366.5h.5V359ZM961 187v171.5H651V187h310ZM651 541V366.5h310V541H651Zm-8-354v171.5H330V187h313ZM330 541V366.5h313V541H330Zm-8-354v171.5H9V187h313ZM9 541V366.5h313V541H9ZM961 9v170H651V9h310ZM643 9v170H330V9h313ZM322 9v170H9V9h313Z" }, null, -1)]], 8,
|
|
500
|
+
}, [...n[0] ||= [x("path", { d: "M969.5 359v-.5h-.5V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V366.5h.5V359ZM961 187v171.5H651V187h310ZM651 541V366.5h310V541H651Zm-8-354v171.5H330V187h313ZM330 541V366.5h313V541H330Zm-8-354v171.5H9V187h313ZM9 541V366.5h313V541H9ZM961 9v170H651V9h310ZM643 9v170H330V9h313ZM322 9v170H9V9h313Z" }, null, -1)]], 8, Ut));
|
|
501
501
|
}
|
|
502
|
-
}),
|
|
502
|
+
}), Gt = {
|
|
503
503
|
for: "name",
|
|
504
504
|
class: "cui-label"
|
|
505
|
-
},
|
|
505
|
+
}, Kt = {
|
|
506
506
|
key: 0,
|
|
507
507
|
class: "flex flex-col gap-6 justify-center"
|
|
508
|
-
},
|
|
508
|
+
}, qt = {
|
|
509
509
|
key: 0,
|
|
510
510
|
class: "text-red-500 text-center mb-5"
|
|
511
|
-
},
|
|
511
|
+
}, Jt = { class: "md:max-h-[350px] overflow-y-auto" }, Yt = { class: "block cui-label mb-3" }, Xt = {
|
|
512
512
|
key: 1,
|
|
513
513
|
class: "flex flex-col gap-6 justify-center"
|
|
514
|
-
},
|
|
514
|
+
}, Zt = {
|
|
515
515
|
key: 0,
|
|
516
516
|
class: "text-red-500 text-center mb-5"
|
|
517
|
-
},
|
|
517
|
+
}, Qt = { class: "md:max-h-[450px] overflow-y-auto" }, $t = { class: "block cui-label mb-3" }, en = { class: "view-select-container" }, tn = ["onClick"], nn = /*#__PURE__*/ F(/* @__PURE__ */ w({
|
|
518
518
|
__name: "CamviewForm",
|
|
519
519
|
props: {
|
|
520
520
|
form: {},
|
|
@@ -523,7 +523,7 @@ var _t = u({
|
|
|
523
523
|
views: {}
|
|
524
524
|
},
|
|
525
525
|
setup(t, { expose: u }) {
|
|
526
|
-
let v = new
|
|
526
|
+
let v = new be(), S = t, C = we(), w = M(), { t: D } = Ee(), te = n("dialogRefProps"), re = ye(), { user: ie } = Te(re), { mutateAsync: ae, isPending: oe } = v.createViewQuery(), { mutateAsync: se, isPending: ce } = v.patchViewQuery(), { form: le, type: ue, cameras: A, views: pe } = r(S), j = b("formRef"), me = T([
|
|
527
527
|
1,
|
|
528
528
|
4,
|
|
529
529
|
6,
|
|
@@ -536,57 +536,57 @@ var _t = u({
|
|
|
536
536
|
16,
|
|
537
537
|
20,
|
|
538
538
|
26
|
|
539
|
-
]),
|
|
540
|
-
!
|
|
541
|
-
let
|
|
542
|
-
function
|
|
543
|
-
let t =
|
|
544
|
-
t === -1 ?
|
|
539
|
+
]), ge = T(!0), _e = T(!0), N = T([]), xe = T(!!le.value), P = T(le.value ? he(le.value) : {});
|
|
540
|
+
!xe.value && ue.value === "view" && (P.value.viewSize = me.value[0]);
|
|
541
|
+
let Se = m(() => !!(te.loading?.value || oe.value || ce.value));
|
|
542
|
+
function F(e) {
|
|
543
|
+
let t = N.value.findIndex((t) => t.name === e.name);
|
|
544
|
+
t === -1 ? N.value.push(e) : N.value.splice(t, 1);
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Ce(e) {
|
|
547
547
|
switch (e) {
|
|
548
|
-
case 1: return
|
|
549
|
-
case 4: return
|
|
550
|
-
case 6: return
|
|
551
|
-
case 7: return
|
|
552
|
-
case 9: return
|
|
553
|
-
case 10: return
|
|
554
|
-
case 12: return
|
|
555
|
-
case 13: return
|
|
556
|
-
case 15: return
|
|
557
|
-
case 16: return
|
|
558
|
-
case 20: return
|
|
559
|
-
case 26: return
|
|
560
|
-
default: return
|
|
548
|
+
case 1: return Ct;
|
|
549
|
+
case 4: return Rt;
|
|
550
|
+
case 6: return Bt;
|
|
551
|
+
case 7: return Ht;
|
|
552
|
+
case 9: return Wt;
|
|
553
|
+
case 10: return wt;
|
|
554
|
+
case 12: return Et;
|
|
555
|
+
case 13: return Ot;
|
|
556
|
+
case 15: return At;
|
|
557
|
+
case 16: return Mt;
|
|
558
|
+
case 20: return Pt;
|
|
559
|
+
case 26: return It;
|
|
560
|
+
default: return Ct;
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
async function
|
|
564
|
-
if (!
|
|
565
|
-
let e =
|
|
566
|
-
if (e && !
|
|
563
|
+
async function De() {
|
|
564
|
+
if (!j.value || !ie.value) return;
|
|
565
|
+
let e = pe.value.find((e) => e.name === P.value.name);
|
|
566
|
+
if (e && !xe.value) return C.error("View already exists", e), w.add({
|
|
567
567
|
severity: "error",
|
|
568
568
|
detail: D("components.toast.validation_failed"),
|
|
569
569
|
life: 3e3
|
|
570
570
|
}), null;
|
|
571
|
-
if (
|
|
572
|
-
if (
|
|
571
|
+
if (ue.value === "dnd") {
|
|
572
|
+
if (_e.value) return C.error("No cameras selected"), w.add({
|
|
573
573
|
severity: "error",
|
|
574
574
|
detail: D("components.toast.validation_failed"),
|
|
575
575
|
life: 3e3
|
|
576
576
|
}), null;
|
|
577
|
-
let e =
|
|
577
|
+
let e = N.value.map((e, t) => ({
|
|
578
578
|
cameraId: e._id,
|
|
579
579
|
index: t
|
|
580
580
|
}));
|
|
581
|
-
|
|
582
|
-
let t = await
|
|
583
|
-
return t?.valid ?
|
|
581
|
+
P.value.cameras = e, P.value.type = "dnd", P.value.viewSize = 1, j.value.setFieldValue("type", "dnd"), j.value.setFieldValue("viewSize", 1), j.value.setFieldValue("cameras", e);
|
|
582
|
+
let t = await j.value.validate();
|
|
583
|
+
return t?.valid ? xe.value ? await se({
|
|
584
584
|
username: ie.value.username,
|
|
585
|
-
viewid:
|
|
586
|
-
viewData:
|
|
585
|
+
viewid: P.value._id,
|
|
586
|
+
viewData: P.value
|
|
587
587
|
}) : await ae({
|
|
588
588
|
username: ie.value.username,
|
|
589
|
-
viewData:
|
|
589
|
+
viewData: P.value
|
|
590
590
|
}) : (C.error("Validation failed", t), w.add({
|
|
591
591
|
severity: "error",
|
|
592
592
|
detail: D("components.toast.validation_failed"),
|
|
@@ -594,57 +594,57 @@ var _t = u({
|
|
|
594
594
|
}), null);
|
|
595
595
|
}
|
|
596
596
|
{
|
|
597
|
-
if (
|
|
597
|
+
if (ge.value) return C.error("No view selected"), w.add({
|
|
598
598
|
severity: "error",
|
|
599
599
|
detail: D("components.toast.validation_failed"),
|
|
600
600
|
life: 3e3
|
|
601
601
|
}), null;
|
|
602
|
-
|
|
603
|
-
let e = await
|
|
604
|
-
return e?.valid ?
|
|
602
|
+
P.value.cameras = [], P.value.type = "view", j.value.setFieldValue("type", "view"), j.value.setFieldValue("cameras", []);
|
|
603
|
+
let e = await j.value.validate();
|
|
604
|
+
return e?.valid ? he(P.value) : (C.error("Validation failed", e), w.add({
|
|
605
605
|
severity: "error",
|
|
606
606
|
detail: D("components.toast.validation_failed"),
|
|
607
607
|
life: 3e3
|
|
608
608
|
}), null);
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
return g(
|
|
612
|
-
for (let [t, n] of Object.entries(e))
|
|
613
|
-
e.viewSize && (
|
|
611
|
+
return g(P, (e) => {
|
|
612
|
+
for (let [t, n] of Object.entries(e)) j.value?.setFieldValue(t, n);
|
|
613
|
+
e.viewSize && (ge.value = !1), e.cameras?.length && (_e.value = !1);
|
|
614
614
|
}, {
|
|
615
615
|
deep: !0,
|
|
616
616
|
immediate: !0
|
|
617
|
-
}), g(
|
|
618
|
-
|
|
617
|
+
}), g(N, (e) => {
|
|
618
|
+
_e.value = e.length === 0;
|
|
619
619
|
}, { deep: !0 }), ee(() => {
|
|
620
|
-
|
|
620
|
+
N.value = A.value?.filter((e) => P.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
|
|
621
621
|
}), u({
|
|
622
|
-
isLoading:
|
|
623
|
-
onConfirm:
|
|
622
|
+
isLoading: Se,
|
|
623
|
+
onConfirm: De
|
|
624
624
|
}), (t, n) => {
|
|
625
|
-
let r = L, u =
|
|
625
|
+
let r = L, u = de, m = Oe, g = ve, v = ne;
|
|
626
626
|
return a(), d(p(O), {
|
|
627
627
|
ref_key: "formRef",
|
|
628
|
-
ref:
|
|
628
|
+
ref: j,
|
|
629
629
|
class: "flex flex-col gap-6",
|
|
630
630
|
"validation-schema": p(I),
|
|
631
|
-
"initial-values": p(
|
|
631
|
+
"initial-values": p(P)
|
|
632
632
|
}, {
|
|
633
633
|
default: h(() => [
|
|
634
|
-
E(p(
|
|
635
|
-
modelValue: p(
|
|
636
|
-
"onUpdate:modelValue": n[0] ||= (e) => p(
|
|
634
|
+
E(p(fe), {
|
|
635
|
+
modelValue: p(P).name,
|
|
636
|
+
"onUpdate:modelValue": n[0] ||= (e) => p(P).name = e,
|
|
637
637
|
modelModifiers: { trim: !0 },
|
|
638
638
|
name: "name",
|
|
639
639
|
as: "div",
|
|
640
640
|
class: "flex flex-col field-gap"
|
|
641
641
|
}, {
|
|
642
642
|
default: h(({ field: n, errors: i }) => [
|
|
643
|
-
x("label",
|
|
643
|
+
x("label", Gt, o(t.$t("components.form.label.name")), 1),
|
|
644
644
|
E(u, null, {
|
|
645
645
|
default: h(() => [E(r, s(n, {
|
|
646
646
|
invalid: i.length > 0,
|
|
647
|
-
loading: p(
|
|
647
|
+
loading: p(Se),
|
|
648
648
|
type: "text"
|
|
649
649
|
}), null, 16, ["invalid", "loading"])]),
|
|
650
650
|
_: 2
|
|
@@ -660,69 +660,69 @@ var _t = u({
|
|
|
660
660
|
_: 1
|
|
661
661
|
}, 8, ["modelValue"]),
|
|
662
662
|
E(m, { class: "m-0 py-3" }),
|
|
663
|
-
p(
|
|
664
|
-
default: h(() => [p(
|
|
663
|
+
p(ue) === "dnd" ? (a(), _("div", Kt, [E(e, { name: "fade" }, {
|
|
664
|
+
default: h(() => [p(_e) ? (a(), _("span", qt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
|
|
665
665
|
_: 1
|
|
666
|
-
}), x("div",
|
|
666
|
+
}), x("div", Jt, [x("label", Yt, o(t.$t("components.form.label.cameras")), 1), (a(!0), _(y, null, i(p(A), (e, t) => (a(), _("div", {
|
|
667
667
|
key: t,
|
|
668
668
|
class: "cui-list-item"
|
|
669
669
|
}, [E(v, {
|
|
670
670
|
class: "h-14",
|
|
671
|
-
active: p(
|
|
672
|
-
onClick: (t) =>
|
|
671
|
+
active: p(N).some((t) => t.name === e.name),
|
|
672
|
+
onClick: (t) => F(e)
|
|
673
673
|
}, {
|
|
674
674
|
append: h(() => [E(g, {
|
|
675
|
-
"model-value": p(
|
|
676
|
-
"onUpdate:modelValue": (t) =>
|
|
675
|
+
"model-value": p(N).some((t) => t.name === e.name),
|
|
676
|
+
"onUpdate:modelValue": (t) => F(e)
|
|
677
677
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
678
678
|
default: h(() => [x("span", null, o(e.name), 1)]),
|
|
679
679
|
_: 2
|
|
680
|
-
}, 1032, ["active", "onClick"])]))), 128))])])) : (a(), _("div",
|
|
681
|
-
default: h(() => [p(
|
|
680
|
+
}, 1032, ["active", "onClick"])]))), 128))])])) : (a(), _("div", Xt, [E(e, { name: "fade" }, {
|
|
681
|
+
default: h(() => [p(ge) ? (a(), _("span", Zt, o(t.$t("components.form.error.no_view_selected")), 1)) : f("", !0)]),
|
|
682
682
|
_: 1
|
|
683
|
-
}), x("div",
|
|
683
|
+
}), x("div", Qt, [x("label", $t, o(t.$t("components.form.label.views")), 1), x("div", en, [(a(!0), _(y, null, i(p(me), (e) => (a(), _("div", {
|
|
684
684
|
key: e,
|
|
685
685
|
class: "view-select-item w-full",
|
|
686
|
-
onClick: (t) => p(
|
|
687
|
-
}, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(
|
|
686
|
+
onClick: (t) => p(P).viewSize = e
|
|
687
|
+
}, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(P).viewSize === e }]) }, [(a(), d(l(Ce(e)), { style: {
|
|
688
688
|
width: "100%",
|
|
689
689
|
height: "100%"
|
|
690
|
-
} }))], 2), x("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(
|
|
690
|
+
} }))], 2), x("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(P).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, tn))), 128))])])]))
|
|
691
691
|
]),
|
|
692
692
|
_: 1
|
|
693
693
|
}, 8, ["validation-schema", "initial-values"]);
|
|
694
694
|
};
|
|
695
695
|
}
|
|
696
|
-
}), [["__scopeId", "data-v-641aac54"]]),
|
|
696
|
+
}), [["__scopeId", "data-v-641aac54"]]), rn = { class: "h-full w-full dark-mode relative" }, an = {
|
|
697
697
|
key: 0,
|
|
698
698
|
class: "flex flex-col w-full h-full items-center justify-center"
|
|
699
|
-
},
|
|
699
|
+
}, on = {
|
|
700
700
|
key: 1,
|
|
701
701
|
class: "flex flex-col w-full h-full"
|
|
702
|
-
},
|
|
702
|
+
}, sn = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, cn = { class: "text-muted text-sm" }, ln = { class: "relative w-6 h-6" }, un = /*#__PURE__*/ F(/* @__PURE__ */ w({
|
|
703
703
|
__name: "Camview",
|
|
704
704
|
props: {
|
|
705
705
|
navbarWidth: { default: 0 },
|
|
706
706
|
navbarLeft: { default: 0 }
|
|
707
707
|
},
|
|
708
708
|
setup(t) {
|
|
709
|
-
let n = new
|
|
709
|
+
let n = new be(), i = new xe(), u = t, y = Ee(), { t: C } = y, w = _e(), ee = N(), { bottombarHeight: ne } = oe(), { smBreakpoint: O, lgBreakpoint: k, mdBreakpoint: de } = ce(), fe = ye(), { user: M } = Te(fe), ve = re(), { uiSettings: F } = Te(ve), { data: I, isLoading: we } = i.getCamerasQuery({
|
|
710
710
|
page: 1,
|
|
711
711
|
pageSize: -1
|
|
712
|
-
}), { data: L, isLoading:
|
|
712
|
+
}), { data: L, isLoading: Ie } = n.getViewsQuery(M.value?.username ?? "", {
|
|
713
713
|
page: 1,
|
|
714
714
|
pageSize: -1
|
|
715
|
-
}), { mutate:
|
|
715
|
+
}), { mutate: Le, isPending: ze } = n.removeViewQuery(), { mutateAsync: Be, isPending: He } = n.createViewQuery(), { mutateAsync: Ue, isPending: Ge } = n.patchViewQuery(), { mutateAsync: Ke } = n.patchViewQuerySilent(), { navbarWidth: Je, navbarLeft: Ye } = r(u), Ze = b("menuRef"), Qe = b("newViewMenuRef"), et = b("cardFitMenuRef"), R = b("viewDndRef"), z = T({}), B = T(!1), V = T(!1), H = T(!1), U = T(!1), W = T(!1), at = T(!1), G = T(!0), K = T("always-on"), q = T("low-resolution"), J = T("auto"), Y = T([]), lt = T(), ut = T(null), ft = D({
|
|
716
716
|
sourceRole: q.value,
|
|
717
717
|
activityMode: K.value,
|
|
718
718
|
streamingMode: J.value
|
|
719
|
-
}), X = m(() =>
|
|
719
|
+
}), X = m(() => we.value || Ie.value || ze.value || He.value || Ge.value), mt = m(() => Je.value + Ye.value), ht = m(() => ({
|
|
720
720
|
locale: y.locale.value,
|
|
721
721
|
dayNames: w.config.locale?.dayNames,
|
|
722
722
|
dayNamesShort: w.config.locale?.dayNamesShort,
|
|
723
723
|
monthNames: w.config.locale?.monthNames,
|
|
724
724
|
monthNamesShort: w.config.locale?.monthNamesShort
|
|
725
|
-
})),
|
|
725
|
+
})), _t = m(() => lt.value ?? $.value?.cardFit ?? "aspect"), vt = m(() => [
|
|
726
726
|
"aspect",
|
|
727
727
|
"contain",
|
|
728
728
|
"fill",
|
|
@@ -730,22 +730,23 @@ var _t = u({
|
|
|
730
730
|
].map((e) => ({
|
|
731
731
|
label: C(`views.camview.card_fit_${e}`),
|
|
732
732
|
description: C(`views.camview.card_fit_${e}_info`),
|
|
733
|
-
active:
|
|
734
|
-
onClick: () =>
|
|
735
|
-
}))),
|
|
733
|
+
active: _t.value === e,
|
|
734
|
+
onClick: () => Ut(e)
|
|
735
|
+
}))), yt = m(() => ({
|
|
736
736
|
doubleClickZoom: !1,
|
|
737
737
|
flatCard: !0,
|
|
738
|
-
cardFit:
|
|
738
|
+
cardFit: _t.value,
|
|
739
739
|
cameraNameOverlay: !0,
|
|
740
740
|
control: !0,
|
|
741
741
|
toolbar: !1,
|
|
742
|
-
expandableCard: (
|
|
743
|
-
detectionIndicatorOverlay: !H.value,
|
|
742
|
+
expandableCard: ($.value?.cameras?.length ?? 0) > 1,
|
|
743
|
+
detectionIndicatorOverlay: !H.value && Q.value,
|
|
744
|
+
detectionIconsOverlay: !H.value && Q.value,
|
|
744
745
|
boundingBoxOverlay: !1,
|
|
745
746
|
cardClickAction: "expand",
|
|
746
747
|
viewTransition: !0,
|
|
747
748
|
cardProps: { pt: { root: { style: "background: #000" } } }
|
|
748
|
-
})),
|
|
749
|
+
})), bt = m(() => L.value?.result.length ? k.value ? {
|
|
749
750
|
width: W.value ? "calc(100% - 400px)" : "100%",
|
|
750
751
|
height: "100%",
|
|
751
752
|
overflowY: "scroll"
|
|
@@ -757,69 +758,74 @@ var _t = u({
|
|
|
757
758
|
width: "100%",
|
|
758
759
|
height: "100%",
|
|
759
760
|
overflowY: "scroll"
|
|
760
|
-
}), Z = m(() => B.value || V.value),
|
|
761
|
+
}), Z = m(() => B.value || V.value), xt = m(() => !!R.value?.isFullscreen), Q = m(() => F.value.camview.detections !== !1), Ct = m(() => [
|
|
761
762
|
{
|
|
762
|
-
label:
|
|
763
|
-
icon:
|
|
764
|
-
command:
|
|
763
|
+
label: xt.value ? C("components.form.tooltip.fullscreen_off") : C("components.form.tooltip.fullscreen_on"),
|
|
764
|
+
icon: xt.value ? ie : pe,
|
|
765
|
+
command: Wt
|
|
765
766
|
},
|
|
766
767
|
{
|
|
767
768
|
label: G.value ? C("components.form.tooltip.unmute") : C("components.form.tooltip.mute"),
|
|
768
|
-
icon: G.value ?
|
|
769
|
-
command:
|
|
769
|
+
icon: G.value ? nt : tt,
|
|
770
|
+
command: Gt
|
|
770
771
|
},
|
|
771
772
|
{
|
|
772
773
|
label: C("components.form.tooltip.intercom"),
|
|
773
|
-
icon:
|
|
774
|
-
command: () =>
|
|
774
|
+
icon: Se,
|
|
775
|
+
command: () => Mt("intercom")
|
|
775
776
|
},
|
|
776
777
|
{
|
|
777
778
|
label: J.value === "auto" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_auto")}` : J.value === "webrtc" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_webrtc")}` : `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_mse")}`,
|
|
778
|
-
icon: J.value === "auto" ?
|
|
779
|
-
command: () =>
|
|
779
|
+
icon: J.value === "auto" ? it : J.value === "webrtc" ? gt : Xe,
|
|
780
|
+
command: () => Jt()
|
|
780
781
|
},
|
|
781
782
|
{
|
|
782
783
|
label: K.value === "always-on" ? C("components.form.tooltip.activity_mode_always_on") : K.value === "standby" ? C("components.form.tooltip.activity_mode_standby") : C("components.form.tooltip.activity_mode_activity"),
|
|
783
|
-
icon: K.value === "always-on" ?
|
|
784
|
-
command: () =>
|
|
784
|
+
icon: K.value === "always-on" ? st : K.value === "standby" ? rt : $e,
|
|
785
|
+
command: () => Kt()
|
|
785
786
|
},
|
|
786
787
|
{
|
|
787
788
|
label: q.value === "low-resolution" ? `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_low")}` : q.value === "mid-resolution" ? `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_mid")}` : `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_high")}`,
|
|
788
|
-
icon: q.value === "low-resolution" ?
|
|
789
|
-
command: () =>
|
|
789
|
+
icon: q.value === "low-resolution" ? dt : q.value === "mid-resolution" ? pt : ct,
|
|
790
|
+
command: () => qt()
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
label: `${C("components.form.tooltip.detections")}: ${Q.value ? C("components.form.tooltip.detections_on") : C("components.form.tooltip.detections_off")}`,
|
|
794
|
+
icon: Q.value ? P : ue,
|
|
795
|
+
command: () => F.value.camview.detections = !Q.value
|
|
790
796
|
}
|
|
791
|
-
]),
|
|
797
|
+
]), $ = m(() => {
|
|
792
798
|
let e = L.value?.result.find((e) => e._id === F.value.camview.viewid) || L.value?.result[0];
|
|
793
799
|
return e ? (z.value = e, F.value.camview.viewid = e._id) : z.value = {}, e;
|
|
794
|
-
}),
|
|
795
|
-
let e =
|
|
796
|
-
return e &&
|
|
797
|
-
}),
|
|
800
|
+
}), wt = m(() => $.value?.cameras?.map((e) => e.cameraId) ?? []), Tt = m(() => {
|
|
801
|
+
let e = ut.value;
|
|
802
|
+
return e && wt.value.includes(e) ? [e] : wt.value;
|
|
803
|
+
}), Et = m(() => {
|
|
798
804
|
let e = {};
|
|
799
805
|
for (let t of I.value?.result ?? []) e[t._id] = t.name;
|
|
800
806
|
return e;
|
|
801
|
-
}), { master:
|
|
807
|
+
}), { master: Dt } = A(wt, {
|
|
802
808
|
sourceRole: "low",
|
|
803
|
-
activeIds:
|
|
804
|
-
}),
|
|
809
|
+
activeIds: Tt
|
|
810
|
+
}), Ot = m(() => Dt.mode.value !== "idle" && Dt.currentTimestamp.value > 0 ? Math.floor(Dt.currentTimestamp.value / 1e3) : void 0), kt = m(() => Z.value && z.value.viewSize > 0 ? z.value.viewSize : $.value ? $.value.viewSize : 1), At = m(() => {
|
|
805
811
|
let e = [];
|
|
806
812
|
for (let t of L.value?.result || []) e.push({
|
|
807
813
|
label: t.name,
|
|
808
|
-
active: t._id ===
|
|
809
|
-
onClick: () =>
|
|
814
|
+
active: t._id === $.value?._id,
|
|
815
|
+
onClick: () => Nt(t)
|
|
810
816
|
});
|
|
811
817
|
return e;
|
|
812
|
-
}),
|
|
818
|
+
}), jt = m(() => [{
|
|
813
819
|
label: C("views.camview.new_view"),
|
|
814
|
-
icon:
|
|
815
|
-
onClick: () =>
|
|
820
|
+
icon: ot,
|
|
821
|
+
onClick: () => Mt("newView")
|
|
816
822
|
}]);
|
|
817
|
-
function
|
|
823
|
+
function Mt(e) {
|
|
818
824
|
switch (e) {
|
|
819
825
|
case "newView":
|
|
820
826
|
case "editView": {
|
|
821
827
|
let t = e === "editView", n = C(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
|
|
822
|
-
t ? B.value = !0 : V.value = !0, ee.openComponentDialog(
|
|
828
|
+
t ? B.value = !0 : V.value = !0, ee.openComponentDialog(nn, {
|
|
823
829
|
data: {
|
|
824
830
|
title: n,
|
|
825
831
|
loading: X,
|
|
@@ -841,14 +847,14 @@ var _t = u({
|
|
|
841
847
|
break;
|
|
842
848
|
}
|
|
843
849
|
case "intercom":
|
|
844
|
-
ee.openComponentDialog(
|
|
850
|
+
ee.openComponentDialog(St, {
|
|
845
851
|
data: {
|
|
846
852
|
title: C("components.dialog.title.intercom"),
|
|
847
853
|
hideConfirmButton: !0,
|
|
848
854
|
loading: X,
|
|
849
855
|
contentProps: {}
|
|
850
856
|
},
|
|
851
|
-
events: { listening:
|
|
857
|
+
events: { listening: Yt }
|
|
852
858
|
});
|
|
853
859
|
break;
|
|
854
860
|
case "removeView": ee.openTextDialog({
|
|
@@ -858,23 +864,23 @@ var _t = u({
|
|
|
858
864
|
contentText: C("components.dialog.message.confirm_remove_layout"),
|
|
859
865
|
confirmButtonProps: { severity: "danger" }
|
|
860
866
|
},
|
|
861
|
-
onConfirm:
|
|
867
|
+
onConfirm: Pt
|
|
862
868
|
});
|
|
863
869
|
}
|
|
864
870
|
}
|
|
865
|
-
function
|
|
871
|
+
function Nt(e) {
|
|
866
872
|
F.value.camview.viewid = e._id;
|
|
867
873
|
}
|
|
868
|
-
function
|
|
869
|
-
|
|
870
|
-
username:
|
|
871
|
-
viewid:
|
|
874
|
+
function Pt() {
|
|
875
|
+
!$.value || !M.value || Le({
|
|
876
|
+
username: M.value.username,
|
|
877
|
+
viewid: $.value._id
|
|
872
878
|
}, { onSuccess: (e) => {
|
|
873
879
|
e.length ? F.value.camview.viewid = e[0]._id : F.value.camview.viewid = void 0;
|
|
874
880
|
} });
|
|
875
881
|
}
|
|
876
|
-
async function
|
|
877
|
-
if (!
|
|
882
|
+
async function Ft() {
|
|
883
|
+
if (!M.value || Object.keys(z.value).length === 0) return;
|
|
878
884
|
let e = Y.value.filter((e) => e.lastDroppedCamera).map((e) => ({
|
|
879
885
|
cameraId: e.lastDroppedCamera._id,
|
|
880
886
|
index: e.index,
|
|
@@ -882,28 +888,28 @@ var _t = u({
|
|
|
882
888
|
rowSpan: e.rowSpan
|
|
883
889
|
})).sort((e, t) => e.index - t.index);
|
|
884
890
|
if (!e.length) return;
|
|
885
|
-
let t =
|
|
886
|
-
t.cameras = e, t._id ?
|
|
887
|
-
username:
|
|
891
|
+
let t = he(z.value);
|
|
892
|
+
t.cameras = e, t._id ? Ht(await Ue({
|
|
893
|
+
username: M.value.username,
|
|
888
894
|
viewid: t._id,
|
|
889
895
|
viewData: t
|
|
890
|
-
})) :
|
|
891
|
-
username:
|
|
896
|
+
})) : Ht(await Be({
|
|
897
|
+
username: M.value.username,
|
|
892
898
|
viewData: t
|
|
893
899
|
}));
|
|
894
900
|
}
|
|
895
|
-
function
|
|
901
|
+
function It(e, t) {
|
|
896
902
|
Y.value[e].lastDroppedCamera = t;
|
|
897
903
|
}
|
|
898
|
-
function
|
|
904
|
+
function Lt(e) {
|
|
899
905
|
Y.value = Y.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
|
|
900
906
|
}
|
|
901
|
-
function
|
|
907
|
+
function Rt(e) {
|
|
902
908
|
return `${O.value ? "mobile" : "desktop"}:${e}`;
|
|
903
909
|
}
|
|
904
|
-
function
|
|
905
|
-
let t =
|
|
906
|
-
t && (F.value.camview.layouts || (F.value.camview.layouts = {}), F.value.camview.layouts[
|
|
910
|
+
function zt(e) {
|
|
911
|
+
let t = $.value?._id;
|
|
912
|
+
t && (F.value.camview.layouts || (F.value.camview.layouts = {}), F.value.camview.layouts[Rt(t)] = e.map((e) => ({
|
|
907
913
|
index: e.index,
|
|
908
914
|
cameraId: e.cameraId,
|
|
909
915
|
x: e.x ?? 0,
|
|
@@ -912,74 +918,74 @@ var _t = u({
|
|
|
912
918
|
h: e.rowSpan ?? 1
|
|
913
919
|
})));
|
|
914
920
|
}
|
|
915
|
-
function
|
|
916
|
-
|
|
921
|
+
function Bt(e, t) {
|
|
922
|
+
ut.value = t ? e._id : null;
|
|
917
923
|
}
|
|
918
|
-
function
|
|
919
|
-
let t =
|
|
920
|
-
!t || !e.cameraId || e.cameraId === t ||
|
|
924
|
+
function Vt(e) {
|
|
925
|
+
let t = ut.value;
|
|
926
|
+
!t || !e.cameraId || e.cameraId === t || wt.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
|
|
921
927
|
}
|
|
922
|
-
function
|
|
928
|
+
function Ht(e) {
|
|
923
929
|
F.value.camview.viewid = e._id, V.value = !1, B.value = !1;
|
|
924
930
|
}
|
|
925
|
-
async function
|
|
926
|
-
let t =
|
|
927
|
-
if (!(!t || !n ||
|
|
928
|
-
|
|
931
|
+
async function Ut(e) {
|
|
932
|
+
let t = $.value, n = M.value?.username;
|
|
933
|
+
if (!(!t || !n || _t.value === e)) {
|
|
934
|
+
lt.value = e;
|
|
929
935
|
try {
|
|
930
|
-
await
|
|
936
|
+
await Ke({
|
|
931
937
|
username: n,
|
|
932
938
|
viewid: t._id,
|
|
933
939
|
viewData: { cardFit: e }
|
|
934
940
|
});
|
|
935
941
|
} catch {
|
|
936
|
-
|
|
942
|
+
lt.value = void 0;
|
|
937
943
|
}
|
|
938
944
|
}
|
|
939
945
|
}
|
|
940
|
-
function
|
|
946
|
+
function Wt() {
|
|
941
947
|
R.value?.toggleFullscreen();
|
|
942
948
|
}
|
|
943
|
-
function
|
|
949
|
+
function Gt() {
|
|
944
950
|
G.value = !G.value, R.value?.toggleAllPlayerMute(G.value);
|
|
945
951
|
}
|
|
946
|
-
function
|
|
952
|
+
function Kt(e) {
|
|
947
953
|
let t = K.value;
|
|
948
954
|
t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), R.value?.toggleAllPlayerActivityMode(t), K.value = t;
|
|
949
955
|
}
|
|
950
|
-
async function
|
|
956
|
+
async function qt(e) {
|
|
951
957
|
let t = q.value;
|
|
952
958
|
t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await R.value?.toggleAllPlayerSourceRole(t), q.value = t;
|
|
953
959
|
}
|
|
954
|
-
async function
|
|
960
|
+
async function Jt(e) {
|
|
955
961
|
let t = J.value;
|
|
956
962
|
t === "auto" && (t = "webrtc");
|
|
957
963
|
let n = e || (t === "mse" ? "webrtc" : "mse");
|
|
958
964
|
await R.value?.toggleAllPlayerStreamingMode(n), J.value = n;
|
|
959
965
|
}
|
|
960
|
-
async function
|
|
966
|
+
async function Yt(e) {
|
|
961
967
|
await R.value?.toggleAllPlayerMicrophone(e);
|
|
962
968
|
}
|
|
963
969
|
return g(U, (e) => {
|
|
964
|
-
e && (
|
|
965
|
-
}), g(() =>
|
|
966
|
-
|
|
970
|
+
e && (at.value = !0);
|
|
971
|
+
}), g(() => $.value?._id, () => {
|
|
972
|
+
lt.value = void 0;
|
|
967
973
|
}), g([
|
|
968
|
-
|
|
969
|
-
|
|
974
|
+
kt,
|
|
975
|
+
$,
|
|
970
976
|
I,
|
|
971
977
|
Z,
|
|
972
978
|
F,
|
|
973
979
|
O
|
|
974
980
|
], () => {
|
|
975
|
-
let e = Array.from({ length:
|
|
981
|
+
let e = Array.from({ length: kt.value }).map((e, t) => ({
|
|
976
982
|
accept: "camera",
|
|
977
983
|
index: t,
|
|
978
984
|
lastDroppedCamera: void 0
|
|
979
985
|
}));
|
|
980
986
|
if (!V.value) {
|
|
981
|
-
let t =
|
|
982
|
-
for (let t of
|
|
987
|
+
let t = $.value?._id, n = t ? Rt(t) : void 0, r = n ? F.value.camview.layouts?.[n] : void 0, i = new Set(I.value?.result.map((e) => e._id) ?? []), a = !1;
|
|
988
|
+
for (let t of $.value?.cameras || []) {
|
|
983
989
|
if (!e[t.index]) continue;
|
|
984
990
|
let n = I.value?.result.find((e) => e._id === t.cameraId);
|
|
985
991
|
e[t.index].lastDroppedCamera = n;
|
|
@@ -993,19 +999,19 @@ var _t = u({
|
|
|
993
999
|
deep: !0,
|
|
994
1000
|
immediate: !0
|
|
995
1001
|
}), (t, n) => {
|
|
996
|
-
let r =
|
|
997
|
-
return a(), _("div",
|
|
1002
|
+
let r = Fe, i = Me, u = ge, m = qe, g = We, y = Ve, b = j, C = se, w = Oe, T = Ae, D = Re, ee = Ne, re = Pe, ie = Ce, oe = me, ce = De, ue = ke, fe = ae, A = te;
|
|
1003
|
+
return a(), _("div", rn, [
|
|
998
1004
|
E(re, {
|
|
999
|
-
"left-offset": p(
|
|
1005
|
+
"left-offset": p(mt),
|
|
1000
1006
|
animate: ""
|
|
1001
1007
|
}, {
|
|
1002
|
-
left: h(() => [!p(V) && p(
|
|
1008
|
+
left: h(() => [!p(V) && p($) ? (a(), d(r, {
|
|
1003
1009
|
key: 0,
|
|
1004
1010
|
type: "dropdown",
|
|
1005
|
-
label: p(
|
|
1006
|
-
"menu-open": p(
|
|
1011
|
+
label: p($).name,
|
|
1012
|
+
"menu-open": p(Ze)?.isOpen,
|
|
1007
1013
|
disabled: p(X) || p(B),
|
|
1008
|
-
onClick: n[0] ||= (e) => p(
|
|
1014
|
+
onClick: n[0] ||= (e) => p(Ze)?.toggleMenu(e)
|
|
1009
1015
|
}, null, 8, [
|
|
1010
1016
|
"label",
|
|
1011
1017
|
"menu-open",
|
|
@@ -1016,7 +1022,7 @@ var _t = u({
|
|
|
1016
1022
|
disabled: p(X)
|
|
1017
1023
|
}, null, 8, ["label", "disabled"])) : f("", !0)]),
|
|
1018
1024
|
right: h(() => [
|
|
1019
|
-
!p(Z) && p(
|
|
1025
|
+
!p(Z) && p($) ? S((a(), d(r, {
|
|
1020
1026
|
key: 0,
|
|
1021
1027
|
active: p(H),
|
|
1022
1028
|
onClick: n[1] ||= (e) => H.value = !p(H)
|
|
@@ -1032,12 +1038,12 @@ var _t = u({
|
|
|
1032
1038
|
}))]),
|
|
1033
1039
|
_: 1
|
|
1034
1040
|
}, 8, ["active"])), [[
|
|
1035
|
-
|
|
1041
|
+
A,
|
|
1036
1042
|
{ value: p(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
|
|
1037
1043
|
void 0,
|
|
1038
1044
|
{ bottom: !0 }
|
|
1039
1045
|
]]) : f("", !0),
|
|
1040
|
-
!p(Z) && p(
|
|
1046
|
+
!p(Z) && p($) && p(H) && !p(O) ? S((a(), d(r, {
|
|
1041
1047
|
key: 1,
|
|
1042
1048
|
onClick: n[2] ||= (e) => p(R)?.fitAspectRatios()
|
|
1043
1049
|
}, {
|
|
@@ -1047,12 +1053,12 @@ var _t = u({
|
|
|
1047
1053
|
})]),
|
|
1048
1054
|
_: 1
|
|
1049
1055
|
})), [[
|
|
1050
|
-
|
|
1056
|
+
A,
|
|
1051
1057
|
{ value: t.$t("views.camview.rearrange_fit_aspect") },
|
|
1052
1058
|
void 0,
|
|
1053
1059
|
{ bottom: !0 }
|
|
1054
1060
|
]]) : f("", !0),
|
|
1055
|
-
!p(Z) && p(
|
|
1061
|
+
!p(Z) && p($) && p(H) && !p(O) ? S((a(), d(r, {
|
|
1056
1062
|
key: 2,
|
|
1057
1063
|
onClick: n[3] ||= (e) => p(R)?.compactGrid()
|
|
1058
1064
|
}, {
|
|
@@ -1062,16 +1068,16 @@ var _t = u({
|
|
|
1062
1068
|
})]),
|
|
1063
1069
|
_: 1
|
|
1064
1070
|
})), [[
|
|
1065
|
-
|
|
1071
|
+
A,
|
|
1066
1072
|
{ value: t.$t("views.camview.rearrange_auto") },
|
|
1067
1073
|
void 0,
|
|
1068
1074
|
{ bottom: !0 }
|
|
1069
1075
|
]]) : f("", !0),
|
|
1070
|
-
!p(Z) && p(
|
|
1076
|
+
!p(Z) && p($) && p(H) && !p(O) ? S((a(), d(r, {
|
|
1071
1077
|
key: 3,
|
|
1072
|
-
active: p(
|
|
1073
|
-
"menu-open": p(
|
|
1074
|
-
onClick: n[4] ||= (e) => p(
|
|
1078
|
+
active: p(_t) !== "aspect",
|
|
1079
|
+
"menu-open": p(et)?.isOpen,
|
|
1080
|
+
onClick: n[4] ||= (e) => p(et)?.toggleMenu(e)
|
|
1075
1081
|
}, {
|
|
1076
1082
|
icon: h(() => [E(y, {
|
|
1077
1083
|
width: "100%",
|
|
@@ -1079,12 +1085,12 @@ var _t = u({
|
|
|
1079
1085
|
})]),
|
|
1080
1086
|
_: 1
|
|
1081
1087
|
}, 8, ["active", "menu-open"])), [[
|
|
1082
|
-
|
|
1088
|
+
A,
|
|
1083
1089
|
{ value: t.$t("views.camview.card_fit") },
|
|
1084
1090
|
void 0,
|
|
1085
1091
|
{ bottom: !0 }
|
|
1086
1092
|
]]) : f("", !0),
|
|
1087
|
-
!p(Z) && p(
|
|
1093
|
+
!p(Z) && p($) ? S((a(), d(r, {
|
|
1088
1094
|
key: 4,
|
|
1089
1095
|
active: p(U),
|
|
1090
1096
|
onClick: n[5] ||= (e) => U.value = !p(U)
|
|
@@ -1100,19 +1106,19 @@ var _t = u({
|
|
|
1100
1106
|
}))]),
|
|
1101
1107
|
_: 1
|
|
1102
1108
|
}, 8, ["active"])), [[
|
|
1103
|
-
|
|
1109
|
+
A,
|
|
1104
1110
|
{ value: p(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
|
|
1105
1111
|
void 0,
|
|
1106
1112
|
{ bottom: !0 }
|
|
1107
1113
|
]]) : f("", !0),
|
|
1108
|
-
!p(Z) && p(
|
|
1114
|
+
!p(Z) && p($) ? (a(), d(w, {
|
|
1109
1115
|
key: 5,
|
|
1110
1116
|
layout: "vertical"
|
|
1111
1117
|
})) : f("", !0),
|
|
1112
|
-
!p(Z) && p(
|
|
1118
|
+
!p(Z) && p($) ? S((a(), d(r, {
|
|
1113
1119
|
key: 6,
|
|
1114
1120
|
disabled: p(H),
|
|
1115
|
-
onClick: n[6] ||= (e) =>
|
|
1121
|
+
onClick: n[6] ||= (e) => Mt("removeView")
|
|
1116
1122
|
}, {
|
|
1117
1123
|
icon: h(() => [E(T, {
|
|
1118
1124
|
width: "100%",
|
|
@@ -1120,12 +1126,12 @@ var _t = u({
|
|
|
1120
1126
|
})]),
|
|
1121
1127
|
_: 1
|
|
1122
1128
|
}, 8, ["disabled"])), [[
|
|
1123
|
-
|
|
1129
|
+
A,
|
|
1124
1130
|
{ value: t.$t("components.form.tooltip.delete") },
|
|
1125
1131
|
void 0,
|
|
1126
1132
|
{ bottom: !0 }
|
|
1127
1133
|
]]) : f("", !0),
|
|
1128
|
-
!p(B) && !p(V) && p(
|
|
1134
|
+
!p(B) && !p(V) && p($) ? S((a(), d(r, {
|
|
1129
1135
|
key: 7,
|
|
1130
1136
|
disabled: p(H),
|
|
1131
1137
|
onClick: n[7] ||= (e) => B.value = !0
|
|
@@ -1136,7 +1142,7 @@ var _t = u({
|
|
|
1136
1142
|
})]),
|
|
1137
1143
|
_: 1
|
|
1138
1144
|
}, 8, ["disabled"])), [[
|
|
1139
|
-
|
|
1145
|
+
A,
|
|
1140
1146
|
{ value: t.$t("components.form.tooltip.edit") },
|
|
1141
1147
|
void 0,
|
|
1142
1148
|
{ bottom: !0 }
|
|
@@ -1144,16 +1150,16 @@ var _t = u({
|
|
|
1144
1150
|
!p(B) && !p(V) ? S((a(), d(r, {
|
|
1145
1151
|
key: 8,
|
|
1146
1152
|
disabled: p(H),
|
|
1147
|
-
onClick: p(
|
|
1153
|
+
onClick: p(Qe)?.toggleMenu
|
|
1148
1154
|
}, {
|
|
1149
1155
|
icon: h(() => [E(ee, {
|
|
1150
|
-
class: c(["transform transition-transform duration-300", { "rotate-45": p(
|
|
1156
|
+
class: c(["transform transition-transform duration-300", { "rotate-45": p(Qe)?.isOpen }]),
|
|
1151
1157
|
width: "100%",
|
|
1152
1158
|
height: "100%"
|
|
1153
1159
|
}, null, 8, ["class"])]),
|
|
1154
1160
|
_: 1
|
|
1155
1161
|
}, 8, ["disabled", "onClick"])), [[
|
|
1156
|
-
|
|
1162
|
+
A,
|
|
1157
1163
|
{ value: t.$t("components.form.tooltip.new") },
|
|
1158
1164
|
void 0,
|
|
1159
1165
|
{ bottom: !0 }
|
|
@@ -1168,7 +1174,7 @@ var _t = u({
|
|
|
1168
1174
|
label: t.$t("components.form.button.save"),
|
|
1169
1175
|
disabled: p(Y).every((e) => e.lastDroppedCamera === void 0),
|
|
1170
1176
|
primary: "",
|
|
1171
|
-
onClick:
|
|
1177
|
+
onClick: Ft
|
|
1172
1178
|
}, null, 8, ["label", "disabled"])) : f("", !0)
|
|
1173
1179
|
]),
|
|
1174
1180
|
_: 1
|
|
@@ -1184,31 +1190,31 @@ var _t = u({
|
|
|
1184
1190
|
"h-full items-center justify-center": p(k) || !p(L)?.result.length,
|
|
1185
1191
|
"w-full items-start justify-start": !p(k) && p(L)?.result.length
|
|
1186
1192
|
}]),
|
|
1187
|
-
style: v(p(
|
|
1188
|
-
}, [p(X) ? (a(), _("div",
|
|
1193
|
+
style: v(p(bt))
|
|
1194
|
+
}, [p(X) ? (a(), _("div", an, [(a(), d(ie, {
|
|
1189
1195
|
key: 0,
|
|
1190
1196
|
class: "w-[30px] h-[30px] m-0",
|
|
1191
1197
|
"stroke-width": "5"
|
|
1192
|
-
}))])) : !p(
|
|
1198
|
+
}))])) : !p($) && !p(V) ? (a(), _("div", on, [x("div", sn, [E(oe, { class: "w-12 h-12 text-muted" }), x("span", cn, o(t.$t("views.camview.no_views_configured")), 1)])])) : p($) || p(V) ? (a(), _("div", {
|
|
1193
1199
|
key: 2,
|
|
1194
1200
|
class: c(["w-full h-full", { "p-2 pb-0": !p(O) }])
|
|
1195
|
-
}, [(a(), d(
|
|
1201
|
+
}, [(a(), d(je, {
|
|
1196
1202
|
ref_key: "viewDndRef",
|
|
1197
1203
|
ref: R,
|
|
1198
1204
|
key: p(F).camview.viewid + (p(V) ? "-new" : p(B) ? "-edit" : "-view"),
|
|
1199
1205
|
cameras: p(I)?.result || [],
|
|
1200
1206
|
"edit-mode": p(V) || p(B),
|
|
1201
1207
|
"rearrange-mode": p(H),
|
|
1202
|
-
"view-size": p(V) ? p(z).viewSize : p(
|
|
1208
|
+
"view-size": p(V) ? p(z).viewSize : p(kt),
|
|
1203
1209
|
title: p(z).name,
|
|
1204
1210
|
cards: p(Y),
|
|
1205
|
-
"camera-card-props": p(
|
|
1206
|
-
"camera-card-models": p(
|
|
1207
|
-
onDrop:
|
|
1208
|
-
onRemove:
|
|
1209
|
-
onChangeViewSize: n[9] ||= (e) =>
|
|
1210
|
-
onExpand:
|
|
1211
|
-
onRearrange:
|
|
1211
|
+
"camera-card-props": p(yt),
|
|
1212
|
+
"camera-card-models": p(ft),
|
|
1213
|
+
onDrop: It,
|
|
1214
|
+
onRemove: Lt,
|
|
1215
|
+
onChangeViewSize: n[9] ||= (e) => Mt("editView"),
|
|
1216
|
+
onExpand: Bt,
|
|
1217
|
+
onRearrange: zt
|
|
1212
1218
|
}, null, 8, [
|
|
1213
1219
|
"cameras",
|
|
1214
1220
|
"edit-mode",
|
|
@@ -1221,20 +1227,20 @@ var _t = u({
|
|
|
1221
1227
|
]))], 2)) : f("", !0)], 6), E(e, {
|
|
1222
1228
|
name: p(k) ? "slide-left" : "slide-up",
|
|
1223
1229
|
onBeforeEnter: n[10] ||= (e) => W.value = !0,
|
|
1224
|
-
onAfterEnter: n[11] ||= (e) =>
|
|
1230
|
+
onAfterEnter: n[11] ||= (e) => at.value = !1,
|
|
1225
1231
|
onBeforeLeave: n[12] ||= (e) => W.value = !1
|
|
1226
1232
|
}, {
|
|
1227
1233
|
default: h(() => [p(U) ? (a(), d(p(le), {
|
|
1228
1234
|
key: 0,
|
|
1229
|
-
"camera-ids": p(
|
|
1230
|
-
"event-camera-ids": p(
|
|
1231
|
-
"camera-names": p(
|
|
1232
|
-
"initial-timestamp": p(
|
|
1233
|
-
onEventSelect:
|
|
1234
|
-
loading: p(
|
|
1235
|
+
"camera-ids": p(Tt),
|
|
1236
|
+
"event-camera-ids": p(wt),
|
|
1237
|
+
"camera-names": p(Et),
|
|
1238
|
+
"initial-timestamp": p(Ot),
|
|
1239
|
+
onEventSelect: Vt,
|
|
1240
|
+
loading: p(at),
|
|
1235
1241
|
type: p(k) ? "vertical" : "horizontal",
|
|
1236
1242
|
"dark-mode": "",
|
|
1237
|
-
"md-breakpoint": p(
|
|
1243
|
+
"md-breakpoint": p(de),
|
|
1238
1244
|
class: c(["shrink-0 transition-[left] duration-200", {
|
|
1239
1245
|
"h-full w-[400px] pt-2 pr-2": p(k),
|
|
1240
1246
|
"h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !p(k),
|
|
@@ -1245,10 +1251,10 @@ var _t = u({
|
|
|
1245
1251
|
"!rounded-none border-l-0! border-r-0!": p(O)
|
|
1246
1252
|
},
|
|
1247
1253
|
style: v(p(k) ? void 0 : {
|
|
1248
|
-
left: `${p(
|
|
1254
|
+
left: `${p(mt)}px`,
|
|
1249
1255
|
bottom: `calc(${p(ne)}px + env(safe-area-inset-bottom, 0px))`
|
|
1250
1256
|
}),
|
|
1251
|
-
"locale-settings": p(
|
|
1257
|
+
"locale-settings": p(ht)
|
|
1252
1258
|
}, null, 8, [
|
|
1253
1259
|
"camera-ids",
|
|
1254
1260
|
"event-camera-ids",
|
|
@@ -1264,9 +1270,9 @@ var _t = u({
|
|
|
1264
1270
|
])) : f("", !0)]),
|
|
1265
1271
|
_: 1
|
|
1266
1272
|
}, 8, ["name"])], 6),
|
|
1267
|
-
!p(Z) && p(
|
|
1273
|
+
!p(Z) && p($) ? (a(), d(ue, {
|
|
1268
1274
|
key: 0,
|
|
1269
|
-
model: p(
|
|
1275
|
+
model: p(Ct),
|
|
1270
1276
|
direction: "up",
|
|
1271
1277
|
"transition-delay": 80,
|
|
1272
1278
|
"tooltip-options": {
|
|
@@ -1288,7 +1294,7 @@ var _t = u({
|
|
|
1288
1294
|
loading: p(X),
|
|
1289
1295
|
onClick: t
|
|
1290
1296
|
}, {
|
|
1291
|
-
icon: h(() => [x("div",
|
|
1297
|
+
icon: h(() => [x("div", ln, [
|
|
1292
1298
|
x("div", { class: c(["bg-white absolute top-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] rotate-45 top-1/2 -translate-y-1/2 rounded-none": e }]) }, null, 2),
|
|
1293
1299
|
x("div", { class: c(["bg-white absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-1.5 h-1.5 rounded-full transition-all duration-100", { "opacity-0 scale-0": e }]) }, null, 2),
|
|
1294
1300
|
x("div", { class: c(["bg-white absolute bottom-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] -rotate-45 bottom-1/2 translate-y-1/2 rounded-none": e }]) }, null, 2)
|
|
@@ -1308,30 +1314,30 @@ var _t = u({
|
|
|
1308
1314
|
}), {
|
|
1309
1315
|
icon: h(() => [(a(), d(l(e.icon)))]),
|
|
1310
1316
|
_: 2
|
|
1311
|
-
}, 1040, ["loading", "onClick"])), [[
|
|
1317
|
+
}, 1040, ["loading", "onClick"])), [[A, { value: e.label }]])]),
|
|
1312
1318
|
_: 1
|
|
1313
1319
|
}, 8, ["model", "style"])) : f("", !0),
|
|
1314
|
-
E(
|
|
1320
|
+
E(fe, {
|
|
1315
1321
|
ref_key: "menuRef",
|
|
1316
|
-
ref:
|
|
1317
|
-
items: p(
|
|
1322
|
+
ref: Ze,
|
|
1323
|
+
items: p(At),
|
|
1318
1324
|
popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
|
|
1319
1325
|
}, null, 8, ["items"]),
|
|
1320
|
-
E(
|
|
1326
|
+
E(fe, {
|
|
1321
1327
|
ref_key: "cardFitMenuRef",
|
|
1322
|
-
ref:
|
|
1323
|
-
items: p(
|
|
1328
|
+
ref: et,
|
|
1329
|
+
items: p(vt),
|
|
1324
1330
|
popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
|
|
1325
1331
|
}, null, 8, ["items"]),
|
|
1326
|
-
E(
|
|
1332
|
+
E(fe, {
|
|
1327
1333
|
ref_key: "newViewMenuRef",
|
|
1328
|
-
ref:
|
|
1329
|
-
items: p(
|
|
1334
|
+
ref: Qe,
|
|
1335
|
+
items: p(jt),
|
|
1330
1336
|
popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
|
|
1331
1337
|
}, null, 8, ["items"])
|
|
1332
1338
|
]);
|
|
1333
1339
|
};
|
|
1334
1340
|
}
|
|
1335
|
-
}), [["__scopeId", "data-v-
|
|
1341
|
+
}), [["__scopeId", "data-v-ea6025c5"]]);
|
|
1336
1342
|
//#endregion
|
|
1337
|
-
export {
|
|
1343
|
+
export { un as default };
|