@camera.ui/server 2.2.6 → 2.2.8

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.
Files changed (560) hide show
  1. package/dist/interface/assets/{404-BLVuKvLk.js → 404-BYV0u5qE.js} +1 -1
  2. package/dist/interface/assets/{About-C-AJ0jfI.js → About-DBOS1rfw.js} +1 -1
  3. package/dist/interface/assets/Assistant-BRcHj8hq.js +1 -0
  4. package/dist/interface/assets/Automation-C0Emde7z.js +3 -0
  5. package/dist/interface/assets/{AutomationImport-C8VYjDzf.js → AutomationImport-Iu-K82Os.js} +2 -2
  6. package/dist/interface/assets/{AutomationStore-CE4PKRGd.js → AutomationStore-C2G0Bk8c.js} +2 -2
  7. package/dist/interface/assets/{AutomationStoreDetail-DavWfjLv.js → AutomationStoreDetail-BbvLRJ5u.js} +2 -2
  8. package/dist/interface/assets/Automations-D-vfqRnZ.js +2 -0
  9. package/dist/interface/assets/Camera-BpurrgAr.js +2 -0
  10. package/dist/interface/assets/Camera-D0B7yyVD.css +1 -0
  11. package/dist/interface/assets/{CameraConsole-C4AmtcrM.js → CameraConsole-JBD3ZmJ6.js} +2 -2
  12. package/dist/interface/assets/{Cameras-DR577Bno.js → Cameras-R5mJGMK9.js} +2 -2
  13. package/dist/interface/assets/{Camview-Bri_T7Tq.css → Camview-DH6_8CxH.css} +1 -1
  14. package/dist/interface/assets/Camview-IbOVRx20.js +1 -0
  15. package/dist/interface/assets/{CertificateUpload-BYFKZCP9.js → CertificateUpload-B9S4EOQs.js} +1 -1
  16. package/dist/interface/assets/Config-CbFl5Wcp.js +2 -0
  17. package/dist/interface/assets/{ConfigActionAssistant-YtCVI8LZ.js → ConfigActionAssistant-DIOh6-np.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionCameraControl-Dg_1zOYt.js → ConfigActionCameraControl-Bw_egtpP.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionDelay-_EqbfWgo.js → ConfigActionDelay-B9i4YZjy.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionHttp-BzwLv2tn.js → ConfigActionHttp-DFtxAa3U.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionImageInput-CLdY2sV4.js → ConfigActionImageInput-CuTH4Nw2.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionMqtt-lGqYshl3.js → ConfigActionMqtt-B9SfWP-G.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionNotification-D5Dj3EoU.js → ConfigActionNotification-BGMIByJT.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionNotificationControl-Dy5fKamr.js → ConfigActionNotificationControl-Cz72szMd.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionOutput-DzsQ31L0.js → ConfigActionOutput-BG6DoIRe.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionPlugin-BFrBcXvL.js → ConfigActionPlugin-B5oRSE9n.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionSensor-CX8ePlan.js → ConfigActionSensor-BErRRYfl.js} +1 -1
  28. package/dist/interface/assets/{ConfigActionSnapshot-BATLRmh6.js → ConfigActionSnapshot-Di-uxMrg.js} +1 -1
  29. package/dist/interface/assets/{ConfigActionVariable-Dgn5jvaR.js → ConfigActionVariable-BBpUti5A.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionIfElse-D5IIBjyk.js → ConfigConditionIfElse-DjOKPXQw.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionSensorState-C0JxBWdG.js → ConfigConditionSensorState-BzvvZvD0.js} +1 -1
  32. package/dist/interface/assets/{ConfigConditionSwitch-Brlgd0XP.js → ConfigConditionSwitch-DQvdfUxR.js} +1 -1
  33. package/dist/interface/assets/{ConfigConditionTime-CM4bSMyU.js → ConfigConditionTime-BqOElX5C.js} +1 -1
  34. package/dist/interface/assets/{ConfigSensorValueInput-CtuH8dCa.js → ConfigSensorValueInput-BT-0LhSH.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerDetection-DsL7lLQl.js → ConfigTriggerDetection-1OkudUah.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerGeofence-CAGIk1_W.js → ConfigTriggerGeofence-HGatk3C5.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerManual-DgkR-GWy.js → ConfigTriggerManual-DpRr_vVq.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerMqtt-B_iFalAQ.js → ConfigTriggerMqtt-C_MId3BY.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSchedule-E_QWfNKy.js → ConfigTriggerSchedule-BmwDqd6N.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerSensor-hYNbLXUu.js → ConfigTriggerSensor-Rgx8q4g8.js} +1 -1
  41. package/dist/interface/assets/{ConfigTriggerSystem-DR1EFpE9.js → ConfigTriggerSystem-4VsHPmbn.js} +1 -1
  42. package/dist/interface/assets/{ConfigTriggerWebhook-C-B5GGFH.js → ConfigTriggerWebhook-Bs7zEfY0.js} +1 -1
  43. package/dist/interface/assets/Console-oCuuVKET.js +1 -0
  44. package/dist/interface/assets/{CuiAssistantConversation-BmshW6Vc.css → CuiAssistantConversation-BmBhwrNh.css} +1 -1
  45. package/dist/interface/assets/CuiAssistantConversation-Bsyxau9v.js +5 -0
  46. package/dist/interface/assets/CuiAutomationRunsDialog-sRh_K6JI.js +1 -0
  47. package/dist/interface/assets/CuiBottomSheet-DWoSHzC7.js +1 -0
  48. package/dist/interface/assets/{CuiBottomSheet-C2sM2E3M.js → CuiBottomSheet-Dd3uOtnC.js} +1 -1
  49. package/dist/interface/assets/CuiCameraPipCard-D6REm8uT.js +1 -0
  50. package/dist/interface/assets/CuiCameraPipCard-TYTCfwXf.css +1 -0
  51. package/dist/interface/assets/CuiCameraRecordings-C2tvrbbw.js +1 -0
  52. package/dist/interface/assets/{CuiCameraShares-B6jdUBVm.js → CuiCameraShares-jrrUEHoZ.js} +1 -1
  53. package/dist/interface/assets/CuiCameraTable-BOzTWLwd.js +1 -0
  54. package/dist/interface/assets/{CuiCameraTable-CpBo25Qc.js → CuiCameraTable-C7WLZ2pA.js} +2 -2
  55. package/dist/interface/assets/CuiChartTable-BYrIX7LV.js +1 -0
  56. package/dist/interface/assets/CuiChartTable-DCr_AsSw.css +1 -0
  57. package/dist/interface/assets/{CuiConsole-BGptpT6r.js → CuiConsole-CkZML0iY.js} +2 -2
  58. package/dist/interface/assets/CuiDataTable-BFIhx1D3.js +1 -0
  59. package/dist/interface/assets/{CuiLightControl-wbZi3fA1.js → CuiLightControl-DitIWqUr.js} +1 -1
  60. package/dist/interface/assets/{CuiList-Dsu5m0TA.js → CuiList-BewTNr2X.js} +1 -1
  61. package/dist/interface/assets/CuiMarkdownContent-Do04YgHe.js +1 -0
  62. package/dist/interface/assets/{CuiMarkdownContent-BYBQX_aF.js → CuiMarkdownContent-qOPm3VEi.js} +1 -1
  63. package/dist/interface/assets/CuiPluginCard-Bd2HFduI.js +2 -0
  64. package/dist/interface/assets/{CuiPluginCategoryChip-BtJ_6_gN.js → CuiPluginCategoryChip-DlzOwRgc.js} +1 -1
  65. package/dist/interface/assets/{CuiPluginOAuthButton-Duf35I8K.js → CuiPluginOAuthButton-BQZkTcgo.js} +2 -2
  66. package/dist/interface/assets/{CuiPluginTrustBadge-jxXeRTH2.js → CuiPluginTrustBadge-DbqdfdaL.js} +1 -1
  67. package/dist/interface/assets/{CuiQRCode-BNchrpoB.js → CuiQRCode-2WsWJQFi.js} +1 -1
  68. package/dist/interface/assets/{CuiSchema-DGTMkVSe.js → CuiSchema-BL0QZmP2.js} +1 -1
  69. package/dist/interface/assets/{CuiTopNavbarItem-CHtLvn53.js → CuiTopNavbarItem-Ti2TueU1.js} +1 -1
  70. package/dist/interface/assets/Faces-DARrGLXf.js +1 -0
  71. package/dist/interface/assets/{FirstSteps-HzaBMDbH.js → FirstSteps-DBYPBvGr.js} +1 -1
  72. package/dist/interface/assets/Floorplan-BaZvzoyv.js +1 -0
  73. package/dist/interface/assets/{Instances-Dl-6rL5O.js → Instances-r0xReURi.js} +1 -1
  74. package/dist/interface/assets/{Logs-DsJkuQFq.js → Logs-DMehPk0t.js} +2 -2
  75. package/dist/interface/assets/{Menu-D_woMkjL.js → Menu-C34RRyLd.js} +1 -1
  76. package/dist/interface/assets/Metrics-BjoC71_O.js +12 -0
  77. package/dist/interface/assets/Metrics-DsHBab6t.css +1 -0
  78. package/dist/interface/assets/{OAuthDeviceFlow-CXfILAE1.js → OAuthDeviceFlow-CdZxelf2.js} +1 -1
  79. package/dist/interface/assets/Plugin-npx7CnwV.js +1 -0
  80. package/dist/interface/assets/{PluginConsole-C96m5zKy.js → PluginConsole-D1BRQCO9.js} +2 -2
  81. package/dist/interface/assets/PluginDetail-nwTrJmO6.js +2 -0
  82. package/dist/interface/assets/{PluginSchema-u1bqXU29.js → PluginSchema-B9VsBHOU.js} +1 -1
  83. package/dist/interface/assets/PluginSearch-CP2kQWKf.js +1 -0
  84. package/dist/interface/assets/PluginSearch-WEvbKMRs.js +2 -0
  85. package/dist/interface/assets/{PluginUpdateProgress-BT4lN9HT.js → PluginUpdateProgress-uj0XPV-_.js} +1 -1
  86. package/dist/interface/assets/Plugins-CPx9Hszm.js +1 -0
  87. package/dist/interface/assets/{RecentEventsFilter-Kp_lTOuG.js → RecentEventsFilter-D5VSH2K1.js} +1 -1
  88. package/dist/interface/assets/Recordings-De6Zcv0M.js +1 -0
  89. package/dist/interface/assets/SensorEdit-SD_oHBRo.js +1 -0
  90. package/dist/interface/assets/{SensorHistory-Cet35_RO.js → SensorHistory-SxiLOloa.js} +1 -1
  91. package/dist/interface/assets/Sensors-Djl64M-W.js +2 -0
  92. package/dist/interface/assets/{Settings-C-LCDIbK.js → Settings-CAf2reGs.js} +1 -1
  93. package/dist/interface/assets/SettingsAccount-BGj5Ni91.js +1 -0
  94. package/dist/interface/assets/SettingsAccount-Dy6WC8ql.js +1 -0
  95. package/dist/interface/assets/SettingsAppearance-BGFhMlRk.js +1 -0
  96. package/dist/interface/assets/{SettingsAppearance-BS4EQNjH.js → SettingsAppearance-DQzQmVzE.js} +1 -1
  97. package/dist/interface/assets/SettingsAssistant-BwYVyuN3.js +1 -0
  98. package/dist/interface/assets/{SettingsBackup-DBlV1gej.js → SettingsBackup-CVExGnOo.js} +1 -1
  99. package/dist/interface/assets/{SettingsList-D8eSwbBY.js → SettingsList-vo7sz_MY.js} +1 -1
  100. package/dist/interface/assets/SettingsMqtt-B1CuOcML.js +1 -0
  101. package/dist/interface/assets/SettingsNotifications-CCQ6eiq8.js +1 -0
  102. package/dist/interface/assets/{SettingsPermissions-CJiz0Z7B.js → SettingsPermissions-BlOf6HEy.js} +1 -1
  103. package/dist/interface/assets/{SettingsRecordings-CLz9Zp47.js → SettingsRecordings-7tTBg6m1.js} +1 -1
  104. package/dist/interface/assets/SettingsRemote-CsIGx-LU.css +1 -0
  105. package/dist/interface/assets/SettingsRemote-DBgKmIdv.js +2 -0
  106. package/dist/interface/assets/{SettingsSystem-txTFGomQ.js → SettingsSystem-DaFMsZpN.js} +2 -2
  107. package/dist/interface/assets/{SettingsUsers-CUp6vQPc.js → SettingsUsers-DXACwVPi.js} +1 -1
  108. package/dist/interface/assets/Terminal-DtGqlHbk.js +4 -0
  109. package/dist/interface/assets/{Training-Bkn52mPJ.css → Training-C-ToeAl4.css} +1 -1
  110. package/dist/interface/assets/Training-Ca11D1Vj.js +1 -0
  111. package/dist/interface/assets/Updates-yenwuqnD.js +2 -0
  112. package/dist/interface/assets/{VariableInput-183LygmK.js → VariableInput-CcILik4M.js} +1 -1
  113. package/dist/interface/assets/{VariableSuggestions-DwLtlzVz.js → VariableSuggestions-Bj0HdrYW.js} +1 -1
  114. package/dist/interface/assets/{VersionsHandler-DkbkcypK.js → VersionsHandler-BA8Lcysg.js} +1 -1
  115. package/dist/interface/assets/{VirtualSensorCreate-Bn4tgdxA.js → VirtualSensorCreate-DvHyw7I2.js} +1 -1
  116. package/dist/interface/assets/{Workers-DH59zE1C.css → Workers-Dey1snI4.css} +1 -1
  117. package/dist/interface/assets/Workers-Dyo44zxe.js +2 -0
  118. package/dist/interface/assets/{account-DwW7pBOb.js → account-DjBQulDn.js} +1 -1
  119. package/dist/interface/assets/ace-BPAekgyf.js +1 -0
  120. package/dist/interface/assets/{ace.config-CCyX_Ohk.js → ace.config-CvKE-yp1.js} +1 -1
  121. package/dist/interface/assets/{alert-circle-BdUVAt1B.js → alert-circle-B-JCMbb9.js} +1 -1
  122. package/dist/interface/assets/{alert-outline-IRxYbw0j.js → alert-outline-B4ZZowEj.js} +1 -1
  123. package/dist/interface/assets/api-CHQlxVtZ.css +2 -0
  124. package/dist/interface/assets/{api-h4HRB3ef.js → api-CKbL5jC7.js} +1 -1
  125. package/dist/interface/assets/api-CLazgL-g.js +4 -0
  126. package/dist/interface/assets/{arrow-left-Bk-ZrOVr.js → arrow-left-PeaVwpHd.js} +1 -1
  127. package/dist/interface/assets/{assistant-4hYyIu6D.js → assistant-CwmHp5bB.js} +1 -1
  128. package/dist/interface/assets/{assistantModels-BsSgRsws.js → assistantModels-D3ncWWu0.js} +1 -1
  129. package/dist/interface/assets/{auth-DFesRtwI.js → auth-AfZrkJ2f.js} +1 -1
  130. package/dist/interface/assets/{automations-D2bnX8uw.js → automations-DOCG0q8-.js} +1 -1
  131. package/dist/interface/assets/{back-filled-D-X19YMO.js → back-filled-CJoz7Gkl.js} +1 -1
  132. package/dist/interface/assets/{bell-ring-DreEHgoT.js → bell-ring-CBf0Yn3H.js} +1 -1
  133. package/dist/interface/assets/{brain-DuDAg544.js → brain-uZ03n3LW.js} +1 -1
  134. package/dist/interface/assets/cameraSources-mHEz9ROa.js +1 -0
  135. package/dist/interface/assets/{cctv-DM-C_8_6.js → cctv-VgKQ-dBV.js} +1 -1
  136. package/dist/interface/assets/{check-circle-Bevuw8-0.js → check-circle-BU-KNgPB.js} +1 -1
  137. package/dist/interface/assets/{check-circle-outline-aMxkvksr.js → check-circle-outline-BsxzAMed.js} +1 -1
  138. package/dist/interface/assets/{chevron-down-CCFn9Z56.js → chevron-down-CxK4Sfjs.js} +1 -1
  139. package/dist/interface/assets/{chevron-up-CSImUM3_.js → chevron-up-DWfNH8va.js} +1 -1
  140. package/dist/interface/assets/{clock-outline-DH3WIEJt.js → clock-outline-BtWx4GaF.js} +1 -1
  141. package/dist/interface/assets/{close-CMxyM4v9.js → close-Be7oB7d_.js} +1 -1
  142. package/dist/interface/assets/{close-circle-CfgJCZ9A.js → close-circle-D7Jmhp_7.js} +1 -1
  143. package/dist/interface/assets/{cloud-check-CbdFLIdR.js → cloud-check-zCGJxpWI.js} +1 -1
  144. package/dist/interface/assets/cloudHandoff-zJCrDmwk.js +1 -0
  145. package/dist/interface/assets/{config-DDaCrMSU.js → config-AG0SnOiY.js} +1 -1
  146. package/dist/interface/assets/{content-copy-Bz49QPOI.js → content-copy-BcYlfuFc.js} +1 -1
  147. package/dist/interface/assets/{copy-DA6QQHRt.js → copy-DuY-M96E.js} +1 -1
  148. package/dist/interface/assets/{cube-scan-IiH8zwm2.js → cube-scan-Cae03i_N.js} +1 -1
  149. package/dist/interface/assets/{database-refresh-outline-CIUDpcuq.js → database-refresh-outline-B3OEQFF7.js} +1 -1
  150. package/dist/interface/assets/{delete-Btu-UVx9.js → delete-BWgOAzKl.js} +1 -1
  151. package/dist/interface/assets/{dist-D_qWDAKp.js → dist-DmpuuM9s.js} +1 -1
  152. package/dist/interface/assets/{dots-vertical-D496SIss.js → dots-vertical-Kby1GY8_.js} +1 -1
  153. package/dist/interface/assets/{download-BSC7lwq_.js → download-C291Yq7I.js} +1 -1
  154. package/dist/interface/assets/esm-B2TVBF3B.js +1 -0
  155. package/dist/interface/assets/esm-BEntuCG7.js +1 -0
  156. package/dist/interface/assets/esm-BRnyrFH8.js +1 -0
  157. package/dist/interface/assets/esm-CCwXzd_8.js +1 -0
  158. package/dist/interface/assets/esm-CEjwTsuD.js +1 -0
  159. package/dist/interface/assets/esm-CGGV9tC4.js +1 -0
  160. package/dist/interface/assets/esm-CI2tTOc5.js +1 -0
  161. package/dist/interface/assets/esm-CgxZmMYv.js +1 -0
  162. package/dist/interface/assets/esm-Csc6f5Fy.js +1 -0
  163. package/dist/interface/assets/esm-Qzx3d-Ie.js +1 -0
  164. package/dist/interface/assets/esm-a_w7mTdx.js +1 -0
  165. package/dist/interface/assets/esm-iKfsu7-H.js +1 -0
  166. package/dist/interface/assets/esm-ks5kvk_e.js +1 -0
  167. package/dist/interface/assets/esm-nJfTguKF.js +1 -0
  168. package/dist/interface/assets/{eventIcons-UQutPG3p.js → eventIcons-C3JWChgS.js} +1 -1
  169. package/dist/interface/assets/{eye-off-CSU0U8g7.js → eye-off-zGCIHKOK.js} +1 -1
  170. package/dist/interface/assets/{flowSchema-YJtAu9gB.js → flowSchema-B0d3VjU7.js} +1 -1
  171. package/dist/interface/assets/{help-circle-outline-Cr_yNhPi.js → help-circle-outline-DXFepDAG.js} +1 -1
  172. package/dist/interface/assets/{history-anuCbp1T.js → history-D-FlZdKD.js} +1 -1
  173. package/dist/interface/assets/{home-N3bDR1vX.js → home-DPdzRxcM.js} +1 -1
  174. package/dist/interface/assets/{information-outline-CMWIvLNB.js → information-outline-ChOM9qgI.js} +1 -1
  175. package/dist/interface/assets/{intercomService-CjoJaOZ7.js → intercomService-DG3EeZ6s.js} +1 -1
  176. package/dist/interface/assets/{lan-CYXjdk7L.js → lan-DvYEO83l.js} +1 -1
  177. package/dist/interface/assets/{main-DVa5U7UB.css → main-CGY9cVyi.css} +1 -1
  178. package/dist/interface/assets/main-DkHV6YgB.js +3 -0
  179. package/dist/interface/assets/{microphone-BB2pATI_.js → microphone-D-T9xga4.js} +1 -1
  180. package/dist/interface/assets/{minus-BCp3ZNKO.js → minus-4T4INuO4.js} +1 -1
  181. package/dist/interface/assets/mqtt-DE2VbNdt.js +1 -0
  182. package/dist/interface/assets/native-CtfXrwj5.js +1 -0
  183. package/dist/interface/assets/native-JMtkOkIV.js +1 -0
  184. package/dist/interface/assets/{nodeDefinitions-ByrqsENY.js → nodeDefinitions-Dp8cnne1.js} +1 -1
  185. package/dist/interface/assets/{notifications-5yeK345h.js → notifications-8FH4ApEz.js} +1 -1
  186. package/dist/interface/assets/{pause-BQlxwAW2.js → pause-DHqHYA3V.js} +1 -1
  187. package/dist/interface/assets/{pencil-outline-CIQL5Kui.js → pencil-outline-D-GmPf8M.js} +1 -1
  188. package/dist/interface/assets/{pencil-CDsNnEXi.js → pencil-vACi-JzY.js} +1 -1
  189. package/dist/interface/assets/plugin-Dt5Xetfz.js +1 -0
  190. package/dist/interface/assets/{plugins-BTOdE_zv.js → plugins-2JLUEMYc.js} +1 -1
  191. package/dist/interface/assets/{plus-Bp4q9G7S.js → plus-BBUb8_uL.js} +1 -1
  192. package/dist/interface/assets/{plus-CySoovdr.js → plus-BJb7U4bN.js} +1 -1
  193. package/dist/interface/assets/{power-WmBLDR0-.js → power-Dm_aNIz-.js} +1 -1
  194. package/dist/interface/assets/{radar-CyYAmume.js → radar-Dcvdz--e.js} +1 -1
  195. package/dist/interface/assets/{refresh-CHTA3jVN.js → refresh-CO4F18Je.js} +1 -1
  196. package/dist/interface/assets/{restore-C8RNM5yX.js → restore-xRBt3Grb.js} +1 -1
  197. package/dist/interface/assets/{rooms-BCdm6IAx.js → rooms-DoAfzA8W.js} +1 -1
  198. package/dist/interface/assets/{round-alt-arrow-left-bold-Gh5mi_yR.js → round-alt-arrow-left-bold-CZHXzGS5.js} +1 -1
  199. package/dist/interface/assets/{search-BajCVmOI.js → search-D75YW08B.js} +1 -1
  200. package/dist/interface/assets/{sensorIcons-5Ynqwo3e.js → sensorIcons-BntiOPX7.js} +1 -1
  201. package/dist/interface/assets/{sensorSlots-BF70tpV7.js → sensorSlots-biaL-O8E.js} +1 -1
  202. package/dist/interface/assets/{sensors-CeFEEz8r.js → sensors-DyAMdS-H.js} +1 -1
  203. package/dist/interface/assets/server-BDRUGj61.js +1 -0
  204. package/dist/interface/assets/{settings-DnksaK7m.js → settings-DDOgc5BX.js} +1 -1
  205. package/dist/interface/assets/{source-branch-CzqIPffP.js → source-branch-DVHuYlkZ.js} +1 -1
  206. package/dist/interface/assets/{theme-DF_XA58O.js → theme-CLxrnR60.js} +1 -1
  207. package/dist/interface/assets/{trash-2-DJeEhHf4.js → trash-2-DDKPtl2x.js} +1 -1
  208. package/dist/interface/assets/{trash-can-outline-DrT6iw7I.js → trash-can-outline-DVH3zgo0.js} +1 -1
  209. package/dist/interface/assets/{trash-fill-Bb_-UicM.js → trash-fill-C_IJ4Vu2.js} +1 -1
  210. package/dist/interface/assets/{trash2-Dsl8gfxq.js → trash2-DY0XTaJD.js} +1 -1
  211. package/dist/interface/assets/{types-CklFkUXk.js → types-8JXzkoC8.js} +1 -1
  212. package/dist/interface/assets/{types-ArGM5-5O.js → types-B4LLKzDW.js} +1 -1
  213. package/dist/interface/assets/types-a7Nw-P-m.js +1 -0
  214. package/dist/interface/assets/{undo-DoqJW-k7.js → undo-YRkBYCnf.js} +1 -1
  215. package/dist/interface/assets/ungrouped-BoAbb9w3.js +1 -0
  216. package/dist/interface/assets/ungrouped-ChmBvcXp.css +1 -0
  217. package/dist/interface/assets/updates-F-veEP1I.js +1 -0
  218. package/dist/interface/assets/{upload-DtIcwiNC.js → upload-2WcHRjTq.js} +1 -1
  219. package/dist/interface/assets/{upload-C3w1XH-o.js → upload-BiE7VzTj.js} +1 -1
  220. package/dist/interface/assets/{useAppVersion-Dcvu95bZ.js → useAppVersion-BjUQmB7M.js} +1 -1
  221. package/dist/interface/assets/{useAssistantActions-Cc_O6M9_.js → useAssistantActions-CNEJol4o.js} +1 -1
  222. package/dist/interface/assets/useBackupRestore-Biqn_lhh.js +1 -0
  223. package/dist/interface/assets/{useCameraOptions-8I4MTDgj.js → useCameraOptions-D_oduve2.js} +1 -1
  224. package/dist/interface/assets/useKeyboardInset-CPWSVYlA.js +1 -0
  225. package/dist/interface/assets/{useLogsSocket-bpOiLgWT.js → useLogsSocket-B_jXUqv8.js} +1 -1
  226. package/dist/interface/assets/{useNavLayout-Cjf6Da2u.js → useNavLayout-DEngIIeU.js} +1 -1
  227. package/dist/interface/assets/{usePermissions-BXTw4tII.js → usePermissions-DAO92InI.js} +1 -1
  228. package/dist/interface/assets/{usePluginUpdates-bOMj-IvL.js → usePluginUpdates-CJi8Y_wl.js} +1 -1
  229. package/dist/interface/assets/{usePushRegistration-HOvLuUVP.js → usePushRegistration-j9WCeFbv.js} +2 -2
  230. package/dist/interface/assets/{useServerRestart-CQN4cdHJ.js → useServerRestart-BVks5tuC.js} +1 -1
  231. package/dist/interface/assets/{useStreamStatus-Da7c2Wme.js → useStreamStatus-DQ0NSyU8.js} +1 -1
  232. package/dist/interface/assets/{useTabSwipe-fFuyJJBQ.js → useTabSwipe-CVq7EcIY.js} +1 -1
  233. package/dist/interface/assets/{useUpdateChannel-Ca1RX32u.js → useUpdateChannel-C0fjDvNP.js} +1 -1
  234. package/dist/interface/assets/{useUpdatesSocket-DHZNpLQX.js → useUpdatesSocket-DXKF9hzc.js} +1 -1
  235. package/dist/interface/assets/useUserOptions-UjMeAL5n.js +1 -0
  236. package/dist/interface/assets/{variable-ywTlRfo5.js → variable-Cp8o-q8t.js} +1 -1
  237. package/dist/interface/assets/vendor-Df81FCJz.js +29 -0
  238. package/dist/interface/assets/{vendor-ace-CvEoip98.js → vendor-ace-QSsGUspX.js} +1 -1
  239. package/dist/interface/assets/{vendor-cameraui-CK4yHsJi.js → vendor-cameraui-GmMRyJ2R.js} +45 -45
  240. package/dist/interface/assets/{vendor-capacitor-Bs_WzL0Q.js → vendor-capacitor-t5EIN1GG.js} +2 -2
  241. package/dist/interface/assets/{vendor-chart-DBK083Hu.js → vendor-chart-BiJYkx5_.js} +1 -1
  242. package/dist/interface/assets/{vendor-core-B-Q4es-f.js → vendor-core-BeAannbA.js} +1 -1
  243. package/dist/interface/assets/{vendor-dnd-DGQLvX6Y.js → vendor-dnd-C1kMh9_t.js} +1 -1
  244. package/dist/interface/assets/{vendor-draggabilly-D8CK6M-y.js → vendor-draggabilly-Cw1oJ6qc.js} +1 -1
  245. package/dist/interface/assets/vendor-leaflet-OSZlONe5.js +1 -0
  246. package/dist/interface/assets/{vendor-markdown-qHIinIUE.js → vendor-markdown-DTWiWKBj.js} +1 -1
  247. package/dist/interface/assets/{vendor-primevue-Cmp3VjIC.js → vendor-primevue-Zx6t06A4.js} +77 -77
  248. package/dist/interface/assets/{vendor-vueflow-bSwRZ9X8.js → vendor-vueflow-DWU_IzGe.js} +1 -1
  249. package/dist/interface/assets/web-B98ahwoP.js +1 -0
  250. package/dist/interface/assets/web-BSsSrRZf.js +1 -0
  251. package/dist/interface/assets/web-BiNRDta4.js +1 -0
  252. package/dist/interface/assets/web-BjKL51lK-CZKmYhby.js +1 -0
  253. package/dist/interface/assets/web-BjtOcquy.js +1 -0
  254. package/dist/interface/assets/web-CkTE9nCG.js +1 -0
  255. package/dist/interface/assets/web-Cvogq5S5.js +1 -0
  256. package/dist/interface/assets/web-D-A4EBKj.js +1 -0
  257. package/dist/interface/assets/web-DVGMBduz.js +1 -0
  258. package/dist/interface/assets/web-SpWB7I6X.js +1 -0
  259. package/dist/interface/assets/web-k0ihT_qK.js +1 -0
  260. package/dist/interface/assets/web-ovBpm7Dl.js +1 -0
  261. package/dist/interface/assets/web-z5Xz9tOQ.js +1 -0
  262. package/dist/interface/assets/web-zfhkFevT.js +1 -0
  263. package/dist/interface/assets/{webhook-CWKf2Qxu.js → webhook-DIjChTrs.js} +1 -1
  264. package/dist/interface/assets/workbox-window.prod.es5-DRKojI0e.js +1 -0
  265. package/dist/interface/assets/{zoom-in-CHkXAWHy.js → zoom-in-rMB152Uz.js} +1 -1
  266. package/dist/interface/ha/{404-C0mWQGWl.js → 404-D5gfy0Cd.js} +1 -1
  267. package/dist/interface/ha/{About-ByE7XErJ.js → About-JzlpCzBN.js} +3 -3
  268. package/dist/interface/ha/{Assistant-Z3FTR868.js → Assistant-DgOfGesf.js} +2239 -1725
  269. package/dist/interface/ha/{Automation-COQqTFNw.js → Automation-BDaWYiBu.js} +146 -146
  270. package/dist/interface/ha/{AutomationImport-ueWqMBX9.js → AutomationImport-BNB_PJ9R.js} +6 -6
  271. package/dist/interface/ha/{AutomationStore-DBO4aZqy.js → AutomationStore-_TeOt1wz.js} +73 -73
  272. package/dist/interface/ha/{AutomationStoreDetail-DMnYu7hf.js → AutomationStoreDetail-jjIEZoRi.js} +20 -20
  273. package/dist/interface/ha/{Automations-CMdbidc0.js → Automations-DM6FEVOw.js} +110 -110
  274. package/dist/interface/ha/Camera-sH9fRv18.js +670 -0
  275. package/dist/interface/ha/{CameraConsole-oMNZfKE6.js → CameraConsole-BoVql05l.js} +4 -4
  276. package/dist/interface/ha/{Cameras-CsqrLx97.js → Cameras-cQBGvXq7.js} +349 -347
  277. package/dist/interface/ha/{Camview-Br0LUakz.js → Camview-mkG5FXZM.js} +323 -319
  278. package/dist/interface/ha/{Config-Y5eUNSW7.js → Config-BNPDzo_h.js} +11 -11
  279. package/dist/interface/ha/{ConfigActionAssistant-hl-6ZACj.js → ConfigActionAssistant-C-8P3DYz.js} +4 -4
  280. package/dist/interface/ha/{ConfigActionCameraControl-DnXlVFWD.js → ConfigActionCameraControl-x1ksGL7m.js} +3 -3
  281. package/dist/interface/ha/{ConfigActionHttp-BkpkMmRd.js → ConfigActionHttp-DzCJp85z.js} +2 -2
  282. package/dist/interface/ha/{ConfigActionImageInput-Dp78_QS_.js → ConfigActionImageInput-C5C5U_2z.js} +1 -1
  283. package/dist/interface/ha/{ConfigActionMqtt-DA_UWb5j.js → ConfigActionMqtt-T29xb75r.js} +4 -4
  284. package/dist/interface/ha/{ConfigActionNotification-CQ4Ses3a.js → ConfigActionNotification-BcnyilF9.js} +3 -3
  285. package/dist/interface/ha/{ConfigActionNotificationControl-Cb5PNGz-.js → ConfigActionNotificationControl-D3wIVKuU.js} +2 -2
  286. package/dist/interface/ha/{ConfigActionOutput-DLuNHwRb.js → ConfigActionOutput-hD-yVczw.js} +1 -1
  287. package/dist/interface/ha/{ConfigActionPlugin-ChKFCNaj.js → ConfigActionPlugin-Bz1O-O4Q.js} +5 -5
  288. package/dist/interface/ha/{ConfigActionSensor-DOutFalW.js → ConfigActionSensor-FOz-PYl_.js} +5 -5
  289. package/dist/interface/ha/{ConfigActionSnapshot-GWgY6YIN.js → ConfigActionSnapshot-CmxEOuK1.js} +2 -2
  290. package/dist/interface/ha/{ConfigActionVariable-bu-9VYTG.js → ConfigActionVariable-BCvkrdCh.js} +1 -1
  291. package/dist/interface/ha/{ConfigConditionIfElse-iNp8tlZV.js → ConfigConditionIfElse-icfTG9OA.js} +3 -3
  292. package/dist/interface/ha/{ConfigConditionSensorState-Dn7kcHpJ.js → ConfigConditionSensorState-ClUAsm0d.js} +4 -4
  293. package/dist/interface/ha/{ConfigConditionSwitch-DaUlDgo0.js → ConfigConditionSwitch-C8AMCkn6.js} +5 -5
  294. package/dist/interface/ha/{ConfigSensorValueInput-D6m6suqJ.js → ConfigSensorValueInput-ChvDQzGd.js} +4 -4
  295. package/dist/interface/ha/{ConfigTriggerDetection-C5B_DC_L.js → ConfigTriggerDetection-aUSyaClu.js} +2 -2
  296. package/dist/interface/ha/{ConfigTriggerGeofence-B4WVNcK5.js → ConfigTriggerGeofence-DsJeJWP4.js} +7 -7
  297. package/dist/interface/ha/{ConfigTriggerMqtt-wnMfk_Un.js → ConfigTriggerMqtt-CsAxA7QZ.js} +1 -1
  298. package/dist/interface/ha/{ConfigTriggerSensor-xFpI5KPu.js → ConfigTriggerSensor-CTxr9cfU.js} +1 -1
  299. package/dist/interface/ha/{ConfigTriggerSystem-YI9WYYVM.js → ConfigTriggerSystem-C8UEfpfs.js} +2 -2
  300. package/dist/interface/ha/{ConfigTriggerWebhook-58c2KgUe.js → ConfigTriggerWebhook-frEE-SCB.js} +1 -1
  301. package/dist/interface/ha/{Console-Coiqh32K.js → Console-A3VtbsLg.js} +12 -12
  302. package/dist/interface/ha/{CuiAutomationRunsDialog-CJ2MGfEY.js → CuiAutomationRunsDialog-BlJvhBiX.js} +2 -2
  303. package/dist/interface/ha/{CuiBottomSheet-BlG9Pl9j.js → CuiBottomSheet-Cu-t3H0Z.js} +1 -1
  304. package/dist/interface/ha/{CuiCameraRecordings-DLXEB4Q7.js → CuiCameraRecordings-R5ArEmqJ.js} +10 -10
  305. package/dist/interface/ha/{CuiCameraShares-BCIeaM6u.js → CuiCameraShares-B9pfRkM4.js} +5 -5
  306. package/dist/interface/ha/{CuiCameraTable-PYYC7sOu.js → CuiCameraTable-CKjGKaMC.js} +9 -9
  307. package/dist/interface/ha/{CuiChartTable-FQ2iR5Hd.js → CuiChartTable-BxWjRe-k.js} +89 -74
  308. package/dist/interface/ha/{CuiConsole-C77k5q_-.js → CuiConsole-C5fzsR7t.js} +4 -4
  309. package/dist/interface/ha/{CuiDataTable-CIKQLseG.js → CuiDataTable-BOdQDY8J.js} +5 -5
  310. package/dist/interface/ha/{CuiPluginCard-DZNXKP_P.js → CuiPluginCard-BT71RRAD.js} +33 -33
  311. package/dist/interface/ha/{CuiPluginOAuthButton-DVf52_Zc.js → CuiPluginOAuthButton-moh9uS7G.js} +7 -7
  312. package/dist/interface/ha/{CuiPluginTrustBadge-CPljYiM8.js → CuiPluginTrustBadge-F_pVWkPJ.js} +1 -1
  313. package/dist/interface/ha/{CuiQRCode-oe8PLnLj.js → CuiQRCode-BNuj-nJ4.js} +6 -6
  314. package/dist/interface/ha/{CuiSchema-CQy94ZTs.js → CuiSchema-Cb_8Ks-I.js} +125 -125
  315. package/dist/interface/ha/{CuiTopNavbarItem-D6OHZLQY.js → CuiTopNavbarItem-BGzrrTls.js} +1 -1
  316. package/dist/interface/ha/{Faces-DxAPvemO.js → Faces-CsM5VO8Q.js} +247 -247
  317. package/dist/interface/ha/{FirstSteps-ZINTSaeL.js → FirstSteps-BFX0-EEi.js} +12 -12
  318. package/dist/interface/ha/{Floorplan-DkbL8ppT.js → Floorplan-D6MGqSJT.js} +198 -199
  319. package/dist/interface/ha/{Instances-totWtqd7.js → Instances-CHzIUyyA.js} +72 -72
  320. package/dist/interface/ha/{Logs-CzabIFja.js → Logs-DZKM3dWv.js} +10 -10
  321. package/dist/interface/ha/{Menu-DcVBOQfw.js → Menu-BQz4dfQi.js} +8 -8
  322. package/dist/interface/ha/{Metrics-B_SN5hbp.js → Metrics-CdpWJ1mm.js} +310 -308
  323. package/dist/interface/ha/{OAuthDeviceFlow-B28TPsTQ.js → OAuthDeviceFlow-DUELtx3X.js} +9 -9
  324. package/dist/interface/ha/{Plugin-B2PbbB8d.js → Plugin-5bbTF0Rv.js} +92 -92
  325. package/dist/interface/ha/{PluginConsole-_KeG4FvO.js → PluginConsole-C__0lzsS.js} +4 -4
  326. package/dist/interface/ha/{PluginDetail-GK_Fx14e.js → PluginDetail-Blrktk9W.js} +9 -9
  327. package/dist/interface/ha/{PluginSearch-qSy4aqAW.js → PluginSearch-BKbdwHQ1.js} +121 -121
  328. package/dist/interface/ha/{PluginUpdateProgress-C4Q2j6VO.js → PluginUpdateProgress-IsNiecu3.js} +3 -3
  329. package/dist/interface/ha/{Plugins-D0tvZHie.js → Plugins-CC2Dwlx5.js} +53 -53
  330. package/dist/interface/ha/{Recordings-CpxJYaAa.js → Recordings-B1XsJrzs.js} +303 -301
  331. package/dist/interface/ha/{SensorEdit-8KtqLXEu.js → SensorEdit-Bi2Yx_ji.js} +46 -46
  332. package/dist/interface/ha/{SensorHistory-CPTTsdjM.js → SensorHistory-sqG_6eav.js} +2 -2
  333. package/dist/interface/ha/{Sensors-DJt_Hnn2.js → Sensors-DLtOh1p4.js} +509 -510
  334. package/dist/interface/ha/{Settings-B-OdG5pG.js → Settings-DI3_zenm.js} +38 -38
  335. package/dist/interface/ha/{SettingsAccount-Ba2-2Lbi.js → SettingsAccount-pS86Qyr-.js} +251 -251
  336. package/dist/interface/ha/{SettingsAppearance-D56HjSuQ.js → SettingsAppearance-tS3bubKQ.js} +4 -4
  337. package/dist/interface/ha/{SettingsAssistant-DglU0auc.js → SettingsAssistant-LejCRXsF.js} +501 -501
  338. package/dist/interface/ha/{SettingsBackup-DZx4McDz.js → SettingsBackup-CkhD1Kze.js} +23 -23
  339. package/dist/interface/ha/{SettingsList-D9nIGkbE.js → SettingsList-bibwvPSM.js} +2 -2
  340. package/dist/interface/ha/{SettingsMqtt-BOszh--k.js → SettingsMqtt-DSt0B4Qg.js} +18 -18
  341. package/dist/interface/ha/{SettingsNotifications-DBVpZfp0.js → SettingsNotifications-BF7ajNwE.js} +118 -118
  342. package/dist/interface/ha/{SettingsRecordings-D3oJnizu.js → SettingsRecordings-BTIdncxg.js} +9 -9
  343. package/dist/interface/ha/{SettingsRemote-BOotvcOT.js → SettingsRemote-Cba4P1-O.js} +347 -344
  344. package/dist/interface/ha/{SettingsSystem-Bg11qoQX.js → SettingsSystem-_Nnh2ZF5.js} +9 -9
  345. package/dist/interface/ha/{SettingsUsers-KpLs9Jnh.js → SettingsUsers-BfHFoxJi.js} +83 -83
  346. package/dist/interface/ha/{Terminal-D6opTHYI.js → Terminal-Dv_7oWmS.js} +11 -11
  347. package/dist/interface/ha/Training-CaSFA5oH.js +1699 -0
  348. package/dist/interface/ha/{Updates-C_OvXJjd.js → Updates-BHl5H7zE.js} +15 -15
  349. package/dist/interface/ha/{VariableInput-CfaDp67S.js → VariableInput-DtLo7-Nw.js} +1 -1
  350. package/dist/interface/ha/{VersionsHandler-D1FVeYUZ.js → VersionsHandler-CF0DSeol.js} +10 -10
  351. package/dist/interface/ha/{VirtualSensorCreate-DJIgMVrt.js → VirtualSensorCreate-C907EgIz.js} +2 -2
  352. package/dist/interface/ha/Workers-Dz1d9gEQ.js +814 -0
  353. package/dist/interface/ha/{ace-B3bPzJu9.js → ace-C9MtBQVV.js} +1 -1
  354. package/dist/interface/ha/{ace.config-Dt55Nqby.js → ace.config-CSXnaIzV.js} +1 -1
  355. package/dist/interface/ha/{api-D2VzV4is.js → api-DUqpDJ2N.js} +14361 -14070
  356. package/dist/interface/ha/{api-CDawdL4p.js → api-gId1nlMj.js} +4 -4
  357. package/dist/interface/ha/{assistant-BmDAfChm.js → assistant-BaR65gIY.js} +50 -50
  358. package/dist/interface/ha/{auth-CvLz9C4w.js → auth-Btsz_KxO.js} +38 -38
  359. package/dist/interface/ha/{automationBlueprint-BhNaeOZ1.js → automationBlueprint-CuO3iOiM.js} +3 -3
  360. package/dist/interface/ha/cameraui-cards.js +1 -1
  361. package/dist/interface/ha/{cards-MQrnU0T8.js → cards-DWhezIPP.js} +1447 -1407
  362. package/dist/interface/ha/{config-t_oAKFkJ.js → config-BKStpoEQ.js} +12 -12
  363. package/dist/interface/ha/{dist-oFWkn6pD.js → dist-CM7R4_Gj.js} +34 -25
  364. package/dist/interface/ha/{mqtt-C20h1uze.js → mqtt-ajcSmTB-.js} +14 -14
  365. package/dist/interface/ha/{notifications-Cy9DKiEn.js → notifications-Cf9dXHEO.js} +18 -18
  366. package/dist/interface/ha/{pinia-BokSpDzj.js → pinia-DIKO5lnE.js} +267 -259
  367. package/dist/interface/ha/{plugins-jozYyBhV.js → plugins-ml823dJV.js} +61 -61
  368. package/dist/interface/ha/{rooms-DyfT3cXp.js → rooms-C5gUErBi.js} +9 -9
  369. package/dist/interface/ha/{server-hCCjQjZE.js → server-dArenpJI.js} +26 -26
  370. package/dist/interface/ha/{types-RG0SckNR.js → types-DYymuACA.js} +25 -25
  371. package/dist/interface/ha/{ungrouped-BbyfoCQp.js → ungrouped-BHLAySWP.js} +237 -213
  372. package/dist/interface/ha/{updates-hUgVDgoD.js → updates-D5sFzGtC.js} +33 -33
  373. package/dist/interface/ha/{useAppVersion-wNhZDuvR.js → useAppVersion-C5x3Ap4_.js} +1 -1
  374. package/dist/interface/ha/{useKeyboardInset-Cmbvb_W3.js → useKeyboardInset-Cj0T2AFX.js} +1 -1
  375. package/dist/interface/ha/{useLogsSocket-y9Aex3tJ.js → useLogsSocket-DtvfQlPh.js} +1 -1
  376. package/dist/interface/ha/{useNavLayout-Ehb0t34k.js → useNavLayout-HSFBA4JV.js} +13 -13
  377. package/dist/interface/ha/{useServerRestart-CRSVcz3z.js → useServerRestart-Ci0SppGW.js} +1 -1
  378. package/dist/interface/ha/{useTabSwipe-B_bseZkI.js → useTabSwipe-CPKkRmaH.js} +1 -1
  379. package/dist/interface/ha/{useUpdateChannel-C_GU6lj6.js → useUpdateChannel-CXHHovK3.js} +2 -2
  380. package/dist/interface/ha/{useUpdatesSocket-CYgHb7UX.js → useUpdatesSocket-DVST2YXV.js} +1 -1
  381. package/dist/interface/ha/{useUserOptions-pVYr-s3O.js → useUserOptions-BYcYI6QA.js} +1 -1
  382. package/dist/interface/index.html +70 -70
  383. package/dist/interface/sw.js +1 -1
  384. package/dist/server/package.json +16 -16
  385. package/dist/server/requirements.txt +2 -2
  386. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/config.py +8 -0
  387. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/device.py +5 -1
  388. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/camera_config_internal.py +5 -1
  389. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/manager/__init__.py +2 -1
  390. package/dist/server/src/api/controllers/api.controller.js +1 -1
  391. package/dist/server/src/api/controllers/api.controller.js.map +1 -1
  392. package/dist/server/src/api/controllers/plugins.controller.js +1 -0
  393. package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
  394. package/dist/server/src/api/controllers/workers.controller.d.ts +2 -2
  395. package/dist/server/src/api/controllers/workers.controller.js +8 -2
  396. package/dist/server/src/api/controllers/workers.controller.js.map +1 -1
  397. package/dist/server/src/api/database/record-schemas.d.ts +3 -0
  398. package/dist/server/src/api/database/record-schemas.js +1 -0
  399. package/dist/server/src/api/database/record-schemas.js.map +1 -1
  400. package/dist/server/src/api/database/types.d.ts +4 -0
  401. package/dist/server/src/api/routes/workers.routes.js +4 -4
  402. package/dist/server/src/api/routes/workers.routes.js.map +1 -1
  403. package/dist/server/src/api/schemas/cameras.schema.d.ts +38 -0
  404. package/dist/server/src/api/schemas/cameras.schema.js +22 -0
  405. package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
  406. package/dist/server/src/api/schemas/users.schema.d.ts +12 -0
  407. package/dist/server/src/api/schemas/users.schema.js +4 -0
  408. package/dist/server/src/api/schemas/users.schema.js.map +1 -1
  409. package/dist/server/src/api/schemas/workers.schema.d.ts +5 -4
  410. package/dist/server/src/api/schemas/workers.schema.js +6 -3
  411. package/dist/server/src/api/schemas/workers.schema.js.map +1 -1
  412. package/dist/server/src/api/services/cameras.service.d.ts +3 -0
  413. package/dist/server/src/api/services/cameras.service.js +47 -2
  414. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  415. package/dist/server/src/api/services/plugins.service.d.ts +1 -0
  416. package/dist/server/src/api/services/plugins.service.js +5 -1
  417. package/dist/server/src/api/services/plugins.service.js.map +1 -1
  418. package/dist/server/src/api/services/workers.service.d.ts +2 -0
  419. package/dist/server/src/api/services/workers.service.js +15 -0
  420. package/dist/server/src/api/services/workers.service.js.map +1 -1
  421. package/dist/server/src/api/types/index.d.ts +3 -2
  422. package/dist/server/src/api/websocket/nsp/notifications.d.ts +1 -0
  423. package/dist/server/src/api/websocket/nsp/notifications.js +7 -0
  424. package/dist/server/src/api/websocket/nsp/notifications.js.map +1 -1
  425. package/dist/server/src/assistant/automation-catalog.js +12 -2
  426. package/dist/server/src/assistant/automation-catalog.js.map +1 -1
  427. package/dist/server/src/assistant/pricing.js +39 -10
  428. package/dist/server/src/assistant/pricing.js.map +1 -1
  429. package/dist/server/src/assistant/providers.js +9 -1
  430. package/dist/server/src/assistant/providers.js.map +1 -1
  431. package/dist/server/src/camera/decoder/event-manager.d.ts +1 -2
  432. package/dist/server/src/camera/decoder/event-manager.js +37 -59
  433. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  434. package/dist/server/src/manager/coreManager.d.ts +2 -1
  435. package/dist/server/src/manager/coreManager.js +9 -2
  436. package/dist/server/src/manager/coreManager.js.map +1 -1
  437. package/dist/server/src/manager/notificationManager.d.ts +1 -0
  438. package/dist/server/src/manager/notificationManager.js +11 -0
  439. package/dist/server/src/manager/notificationManager.js.map +1 -1
  440. package/dist/server/src/plugins/runtime/node/proxy/coreManager.js +1 -1
  441. package/dist/server/src/plugins/runtime/node/proxy/coreManager.js.map +1 -1
  442. package/dist/server/src/plugins/runtime/python/proxy/camera_device.py +3 -0
  443. package/dist/server/src/plugins/runtime/python/proxy/core_manager.py +1 -1
  444. package/dist/server/src/plugins/runtime/python/rpc/typings.py +1 -1
  445. package/dist/server/src/rpc/interfaces/core.d.ts +1 -1
  446. package/dist/server/src/sensors/registry.d.ts +2 -0
  447. package/dist/server/src/sensors/registry.js +24 -0
  448. package/dist/server/src/sensors/registry.js.map +1 -1
  449. package/dist/server/src/services/config/index.d.ts +1 -0
  450. package/dist/server/src/services/config/index.js +12 -1
  451. package/dist/server/src/services/config/index.js.map +1 -1
  452. package/dist/server/src/utils/ipc.js +23 -17
  453. package/dist/server/src/utils/ipc.js.map +1 -1
  454. package/dist/server/src/workers/agent.js +2 -0
  455. package/dist/server/src/workers/agent.js.map +1 -1
  456. package/dist/server/src/workers/manager.d.ts +1 -0
  457. package/dist/server/src/workers/manager.js +22 -0
  458. package/dist/server/src/workers/manager.js.map +1 -1
  459. package/dist/server/src/workers/types.d.ts +5 -0
  460. package/dist/server/src/workers/types.js.map +1 -1
  461. package/npm-shrinkwrap.json +111 -111
  462. package/package.json +16 -16
  463. package/dist/interface/assets/Assistant-BJKGIvVo.js +0 -1
  464. package/dist/interface/assets/Automation-C95DzuZb.js +0 -3
  465. package/dist/interface/assets/Automations-BOP_17Ri.js +0 -2
  466. package/dist/interface/assets/Camera-BW9ikKqh.css +0 -1
  467. package/dist/interface/assets/Camera-C5S7eI9a.js +0 -2
  468. package/dist/interface/assets/Camview-CHxKB41T.js +0 -1
  469. package/dist/interface/assets/Config-BrDDGWpr.js +0 -2
  470. package/dist/interface/assets/Console-cIr6lYux.js +0 -1
  471. package/dist/interface/assets/CuiAssistantConversation-Bigl43Ph.js +0 -5
  472. package/dist/interface/assets/CuiAutomationRunsDialog-Ci7SWAml.js +0 -1
  473. package/dist/interface/assets/CuiBottomSheet-ViBOgklN.js +0 -1
  474. package/dist/interface/assets/CuiCameraPipCard-BQKk4fxY.css +0 -1
  475. package/dist/interface/assets/CuiCameraPipCard-wdK7xir-.js +0 -1
  476. package/dist/interface/assets/CuiCameraRecordings-BB7bF67B.js +0 -1
  477. package/dist/interface/assets/CuiCameraTable-CHnQFkce.js +0 -1
  478. package/dist/interface/assets/CuiChartTable-DXY7rY3O.css +0 -1
  479. package/dist/interface/assets/CuiChartTable-dIcxGtfl.js +0 -1
  480. package/dist/interface/assets/CuiDataTable-CQmp5mAy.js +0 -1
  481. package/dist/interface/assets/CuiMarkdownContent-DTAm-EDR.js +0 -1
  482. package/dist/interface/assets/CuiPluginCard-BjIc7It9.js +0 -2
  483. package/dist/interface/assets/Faces-p18jNfXl.js +0 -1
  484. package/dist/interface/assets/Floorplan-DYyEx7WO.js +0 -1
  485. package/dist/interface/assets/Metrics-ChVnC6f6.css +0 -1
  486. package/dist/interface/assets/Metrics-l3UwykCM.js +0 -12
  487. package/dist/interface/assets/Plugin-Ldj3HygQ.js +0 -1
  488. package/dist/interface/assets/PluginDetail-CnfaI1vh.js +0 -2
  489. package/dist/interface/assets/PluginSearch-BiXG3Xk2.js +0 -2
  490. package/dist/interface/assets/PluginSearch-BuE7we1T.js +0 -1
  491. package/dist/interface/assets/Plugins-Csx6AXaW.js +0 -1
  492. package/dist/interface/assets/Recordings-D0KTY5cI.js +0 -1
  493. package/dist/interface/assets/SensorEdit-zs-f_o1N.js +0 -1
  494. package/dist/interface/assets/Sensors-BLAoalEt.js +0 -2
  495. package/dist/interface/assets/SettingsAccount-BsN7jGmo.js +0 -1
  496. package/dist/interface/assets/SettingsAccount-DuVyCSE-.js +0 -1
  497. package/dist/interface/assets/SettingsAppearance-DQcGbYbV.js +0 -1
  498. package/dist/interface/assets/SettingsAssistant-DViJklFd.js +0 -1
  499. package/dist/interface/assets/SettingsMqtt-JoszJJgV.js +0 -1
  500. package/dist/interface/assets/SettingsNotifications-3veSrxa_.js +0 -1
  501. package/dist/interface/assets/SettingsRemote-CtP6Gz9C.css +0 -1
  502. package/dist/interface/assets/SettingsRemote-DUyl8k7I.js +0 -2
  503. package/dist/interface/assets/Terminal-hln2UuSR.js +0 -4
  504. package/dist/interface/assets/Training-D6lhvUf-.js +0 -1
  505. package/dist/interface/assets/Updates-BwSWt9w7.js +0 -2
  506. package/dist/interface/assets/Workers-B6b15izn.js +0 -2
  507. package/dist/interface/assets/ace-DzzM-RlW.js +0 -1
  508. package/dist/interface/assets/api-C9mnOxie.js +0 -4
  509. package/dist/interface/assets/api-Cj9a6qPu.css +0 -2
  510. package/dist/interface/assets/cameraSources-DmVZWs4-.js +0 -1
  511. package/dist/interface/assets/cloudHandoff-Ba98bzeq.js +0 -1
  512. package/dist/interface/assets/esm-Bn9gXwX4.js +0 -1
  513. package/dist/interface/assets/esm-BzM6y2-F.js +0 -1
  514. package/dist/interface/assets/esm-CP3JWrtj.js +0 -1
  515. package/dist/interface/assets/esm-CjAXkqCf.js +0 -1
  516. package/dist/interface/assets/esm-Cqxk-j1S.js +0 -1
  517. package/dist/interface/assets/esm-DFHd3JNU.js +0 -1
  518. package/dist/interface/assets/esm-DfMLJtug.js +0 -1
  519. package/dist/interface/assets/esm-DhDrpq7a.js +0 -1
  520. package/dist/interface/assets/esm-DvhM-SOd.js +0 -1
  521. package/dist/interface/assets/esm-G63bqygQ.js +0 -1
  522. package/dist/interface/assets/esm-Gn-Y59hU.js +0 -1
  523. package/dist/interface/assets/esm-KJSOz2vj.js +0 -1
  524. package/dist/interface/assets/esm-Ryfc94Tm.js +0 -1
  525. package/dist/interface/assets/esm-rSfI5Poy.js +0 -1
  526. package/dist/interface/assets/eye-off-outline-DCxLRGo_.js +0 -1
  527. package/dist/interface/assets/main-C796FmqQ.js +0 -3
  528. package/dist/interface/assets/mqtt-DGBPptzB.js +0 -1
  529. package/dist/interface/assets/native-CZJE8bTs.js +0 -1
  530. package/dist/interface/assets/native-DKZwialB.js +0 -1
  531. package/dist/interface/assets/plugin-DSEMkqaK.js +0 -1
  532. package/dist/interface/assets/server-bhW2Mw4D.js +0 -1
  533. package/dist/interface/assets/types-BcAxmlqC.js +0 -1
  534. package/dist/interface/assets/ungrouped-BnQIcSQd.css +0 -1
  535. package/dist/interface/assets/ungrouped-CkIlDUwl.js +0 -1
  536. package/dist/interface/assets/updates-D3x_kPMM.js +0 -1
  537. package/dist/interface/assets/useBackupRestore-xp5KhKVn.js +0 -1
  538. package/dist/interface/assets/useKeyboardInset-C0Lp0UcX.js +0 -1
  539. package/dist/interface/assets/useUserOptions-BQdOB-Dp.js +0 -1
  540. package/dist/interface/assets/vendor-gFkr2qsZ.js +0 -23
  541. package/dist/interface/assets/vendor-leaflet-DkAk6mAj.js +0 -1
  542. package/dist/interface/assets/web-BDNQnMmA.js +0 -1
  543. package/dist/interface/assets/web-B_9Qyt8E.js +0 -1
  544. package/dist/interface/assets/web-BhJykCtq.js +0 -1
  545. package/dist/interface/assets/web-BjKL51lK-wWFeZlLg.js +0 -1
  546. package/dist/interface/assets/web-C7nJwIOa.js +0 -1
  547. package/dist/interface/assets/web-CGJsJQDb.js +0 -1
  548. package/dist/interface/assets/web-CJwASxrl.js +0 -1
  549. package/dist/interface/assets/web-CLe0L31Y.js +0 -1
  550. package/dist/interface/assets/web-DEv1hAn1.js +0 -1
  551. package/dist/interface/assets/web-DaeQvsXT.js +0 -1
  552. package/dist/interface/assets/web-H3-wNunW.js +0 -1
  553. package/dist/interface/assets/web-LCdyqJq1.js +0 -1
  554. package/dist/interface/assets/web-XZWYTK65.js +0 -1
  555. package/dist/interface/assets/web-rU5hlxxW.js +0 -1
  556. package/dist/interface/assets/workbox-window.prod.es5-BEYAF-e-.js +0 -1
  557. package/dist/interface/ha/Camera-C28q_3pu.js +0 -657
  558. package/dist/interface/ha/Training-OB2KOQ7L.js +0 -1694
  559. package/dist/interface/ha/Workers-cJMI4mYX.js +0 -765
  560. package/dist/interface/ha/eye-off-outline-ACbzsGuK.js +0 -19
@@ -1,106 +1,106 @@
1
1
  import { c as e } from "./ripple-ZDATPc2w.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-_TfE0DWz.js";
3
3
  import { t as te } from "./tooltip-BDrlgLof.js";
4
- import { An as ne, Ar as re, Cn as ie, Dn as ae, En as oe, Er as O, F as k, I as se, Jt as ce, Ot as le, P as A, Si as j, Sn as M, T as N, Tn as ue, Ut as de, Wn as fe, Wr as P, Yn as pe, _r as me, a as he, g as ge, gt as _e, jn as F, jr as I, mt as ve, qr as L, vn as ye, wr as be, yi as xe } from "./api-D2VzV4is.js";
5
- import { o as Se } from "./intercomService-B7HkLs6z.js";
6
- import { r as Ce } from "./pinia-BokSpDzj.js";
4
+ import { An as O, Cn as ne, Dn as re, En as ie, Er as ae, F as k, I as oe, Jn as se, Jt as ce, Kr as le, Mr as ue, Nr as de, Or as A, Ot as j, P as fe, Sn as M, T as N, Tn as pe, Ut as me, Xn as he, Yr as P, a as ge, dt as _e, g as ve, gt as F, jn as I, vn as ye, wi as be, xi as xe, yr as Se } from "./api-DUqpDJ2N.js";
5
+ import { o as L } from "./intercomService-B7HkLs6z.js";
6
+ import { r as Ce } from "./pinia-DIKO5lnE.js";
7
7
  import { n as we } from "./vue-i18n-D5EAy78K.js";
8
8
  import { f as Te } from "./eventIcons-BFNUgeGr.js";
9
9
  import { t as Ee } from "./button-BouAFgf5.js";
10
- import { t as R } from "./inputtext-C_ygnPrC.js";
11
- import { t as De } from "./divider-DeFEXTGs.js";
12
- import { t as Oe } from "./speeddial-B5p0fuqL.js";
13
- import { t as ke } from "./delete-DWdURc9X.js";
14
- import { c as Ae, d as je, u as Me } from "./cards-MQrnU0T8.js";
15
- import { t as Ne } from "./microphone-C4oQPpzp.js";
16
- import { n as Pe, t as Fe } from "./CuiTopNavbarItem-D6OHZLQY.js";
10
+ import { t as De } from "./inputtext-C_ygnPrC.js";
11
+ import { t as Oe } from "./divider-DeFEXTGs.js";
12
+ import { t as ke } from "./speeddial-B5p0fuqL.js";
13
+ import { t as Ae } from "./delete-DWdURc9X.js";
14
+ import { c as je, d as Me, u as Ne } from "./cards-DWhezIPP.js";
15
+ import { t as Pe } from "./microphone-C4oQPpzp.js";
16
+ import { n as Fe, t as Ie } from "./CuiTopNavbarItem-BGzrrTls.js";
17
17
  //#region ~icons/mdi/pencil
18
- var Ie = {
18
+ var Le = {
19
19
  viewBox: "0 0 24 24",
20
20
  width: "1.2em",
21
21
  height: "1.2em"
22
22
  };
23
- function Le(e, t) {
24
- return a(), _("svg", Ie, [...t[0] ||= [x("path", {
23
+ function Re(e, t) {
24
+ return a(), _("svg", Le, [...t[0] ||= [x("path", {
25
25
  fill: "currentColor",
26
26
  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"
27
27
  }, null, -1)]]);
28
28
  }
29
- var Re = u({
29
+ var ze = u({
30
30
  name: "mdi-pencil",
31
- render: Le
32
- }), ze = {
31
+ render: Re
32
+ }), Be = {
33
33
  viewBox: "0 0 24 24",
34
34
  width: "1.2em",
35
35
  height: "1.2em"
36
36
  };
37
- function Be(e, t) {
38
- return a(), _("svg", ze, [...t[0] ||= [x("path", {
37
+ function Ve(e, t) {
38
+ return a(), _("svg", Be, [...t[0] ||= [x("path", {
39
39
  fill: "currentColor",
40
40
  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"
41
41
  }, null, -1)]]);
42
42
  }
43
- var Ve = u({
43
+ var He = u({
44
44
  name: "mdi-arrow-expand-all",
45
- render: Be
46
- }), He = {
45
+ render: Ve
46
+ }), Ue = {
47
47
  viewBox: "0 0 24 24",
48
48
  width: "1.2em",
49
49
  height: "1.2em"
50
50
  };
51
- function Ue(e, t) {
52
- return a(), _("svg", He, [...t[0] ||= [x("path", {
51
+ function We(e, t) {
52
+ return a(), _("svg", Ue, [...t[0] ||= [x("path", {
53
53
  fill: "currentColor",
54
54
  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"
55
55
  }, null, -1)]]);
56
56
  }
57
- var We = u({
57
+ var Ge = u({
58
58
  name: "mdi-auto-fix",
59
- render: Ue
60
- }), Ge = {
59
+ render: We
60
+ }), Ke = {
61
61
  viewBox: "0 0 24 24",
62
62
  width: "1.2em",
63
63
  height: "1.2em"
64
64
  };
65
- function Ke(e, t) {
66
- return a(), _("svg", Ge, [...t[0] ||= [x("path", {
65
+ function qe(e, t) {
66
+ return a(), _("svg", Ke, [...t[0] ||= [x("path", {
67
67
  fill: "currentColor",
68
68
  "fill-rule": "evenodd",
69
69
  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",
70
70
  "clip-rule": "evenodd"
71
71
  }, null, -1)]]);
72
72
  }
73
- var qe = u({
73
+ var Je = u({
74
74
  name: "mingcute-grid2-fill",
75
- render: Ke
76
- }), Je = {
75
+ render: qe
76
+ }), Ye = {
77
77
  viewBox: "0 0 24 24",
78
78
  width: "1.2em",
79
79
  height: "1.2em"
80
80
  };
81
- function Ye(e, t) {
82
- return a(), _("svg", Je, [...t[0] ||= [x("path", {
81
+ function Xe(e, t) {
82
+ return a(), _("svg", Ye, [...t[0] ||= [x("path", {
83
83
  fill: "currentColor",
84
84
  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"
85
85
  }, null, -1)]]);
86
86
  }
87
- var Xe = u({
87
+ var Ze = u({
88
88
  name: "cbi-iosfacetime",
89
- render: Ye
90
- }), Ze = {
89
+ render: Xe
90
+ }), Qe = {
91
91
  viewBox: "0 0 24 24",
92
92
  width: "1.2em",
93
93
  height: "1.2em"
94
94
  };
95
- function Qe(e, t) {
96
- return a(), _("svg", Ze, [...t[0] ||= [x("path", {
95
+ function R(e, t) {
96
+ return a(), _("svg", Qe, [...t[0] ||= [x("path", {
97
97
  fill: "currentColor",
98
98
  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"
99
99
  }, null, -1)]]);
100
100
  }
101
101
  var $e = u({
102
102
  name: "fluent-pulse-24-filled",
103
- render: Qe
103
+ render: R
104
104
  }), z = {
105
105
  viewBox: "0 0 16 16",
106
106
  width: "1.2em",
@@ -154,20 +154,20 @@ function W(e, t) {
154
154
  var nt = u({
155
155
  name: "icon-park-solid-sleep",
156
156
  render: W
157
- }), G = {
157
+ }), rt = {
158
158
  viewBox: "0 0 24 24",
159
159
  width: "1.2em",
160
160
  height: "1.2em"
161
161
  };
162
- function rt(e, t) {
163
- return a(), _("svg", G, [...t[0] ||= [x("path", {
162
+ function G(e, t) {
163
+ return a(), _("svg", rt, [...t[0] ||= [x("path", {
164
164
  fill: "currentColor",
165
165
  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"
166
166
  }, null, -1)]]);
167
167
  }
168
168
  var it = u({
169
169
  name: "material-symbols-motion-photos-auto-outline-rounded",
170
- render: rt
170
+ render: G
171
171
  }), K = {
172
172
  viewBox: "0 0 24 24",
173
173
  width: "1.2em",
@@ -196,67 +196,67 @@ function Y(e, t) {
196
196
  var ot = u({
197
197
  name: "mdi-webcam",
198
198
  render: Y
199
- }), X = {
199
+ }), st = {
200
200
  viewBox: "0 0 24 24",
201
201
  width: "1.2em",
202
202
  height: "1.2em"
203
203
  };
204
- function st(e, t) {
205
- return a(), _("svg", X, [...t[0] ||= [x("path", {
204
+ function ct(e, t) {
205
+ return a(), _("svg", st, [...t[0] ||= [x("path", {
206
206
  fill: "currentColor",
207
207
  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"
208
208
  }, null, -1)]]);
209
209
  }
210
- var ct = u({
210
+ var lt = u({
211
211
  name: "mynaui-letter-h-square-solid",
212
- render: st
213
- }), lt = {
212
+ render: ct
213
+ }), ut = {
214
214
  viewBox: "0 0 24 24",
215
215
  width: "1.2em",
216
216
  height: "1.2em"
217
217
  };
218
- function ut(e, t) {
219
- return a(), _("svg", lt, [...t[0] ||= [x("path", {
218
+ function dt(e, t) {
219
+ return a(), _("svg", ut, [...t[0] ||= [x("path", {
220
220
  fill: "currentColor",
221
221
  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"
222
222
  }, null, -1)]]);
223
223
  }
224
- var dt = u({
224
+ var ft = u({
225
225
  name: "mynaui-letter-l-square-solid",
226
- render: ut
227
- }), Z = {
226
+ render: dt
227
+ }), X = {
228
228
  viewBox: "0 0 24 24",
229
229
  width: "1.2em",
230
230
  height: "1.2em"
231
231
  };
232
- function ft(e, t) {
233
- return a(), _("svg", Z, [...t[0] ||= [x("path", {
232
+ function pt(e, t) {
233
+ return a(), _("svg", X, [...t[0] ||= [x("path", {
234
234
  fill: "currentColor",
235
235
  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"
236
236
  }, null, -1)]]);
237
237
  }
238
- var pt = u({
238
+ var mt = u({
239
239
  name: "mynaui-letter-m-square-solid",
240
- render: ft
241
- }), mt = {
240
+ render: pt
241
+ }), ht = {
242
242
  viewBox: "0 0 24 24",
243
243
  width: "1.2em",
244
244
  height: "1.2em"
245
245
  };
246
- function ht(e, t) {
247
- return a(), _("svg", mt, [...t[0] ||= [x("path", {
246
+ function gt(e, t) {
247
+ return a(), _("svg", ht, [...t[0] ||= [x("path", {
248
248
  fill: "currentColor",
249
249
  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"
250
250
  }, null, -1)]]);
251
251
  }
252
- var gt = u({
252
+ var _t = u({
253
253
  name: "simple-icons-webrtc",
254
- render: ht
255
- }), _t = { class: "flex flex-col gap-3" }, vt = { class: "text-wrap" }, yt = { class: "w-full h-full flex items-center justify-center relative" }, bt = /* @__PURE__ */ w({
254
+ render: gt
255
+ }), vt = { class: "flex flex-col gap-3" }, yt = { class: "text-wrap" }, bt = { class: "w-full h-full flex items-center justify-center relative" }, xt = /* @__PURE__ */ w({
256
256
  __name: "AudioVisualizer",
257
257
  emits: ["listening"],
258
258
  setup(e, { expose: r, emit: i }) {
259
- let s = i, c = Se(), l = j(), u = n("dialogRefProps"), d = b("canvasRef"), f = C(), p = C(), g = T(!1), v = m(() => !!u.loading?.value);
259
+ let s = i, c = L(), l = be(), u = n("dialogRefProps"), d = b("canvasRef"), f = C(), p = C(), g = T(!1), v = m(() => !!u.loading?.value);
260
260
  async function y() {
261
261
  if (g.value) w();
262
262
  else try {
@@ -309,8 +309,8 @@ var gt = u({
309
309
  return t(() => {
310
310
  w();
311
311
  }), r({ isLoading: v }), (e, t) => {
312
- let n = Ne, r = Ee;
313
- return a(), _("div", _t, [x("span", vt, o(e.$t("components.dialog.message.intercom_info")), 1), x("div", yt, [E(r, {
312
+ let n = Pe, r = Ee;
313
+ return a(), _("div", vt, [x("span", yt, o(e.$t("components.dialog.message.intercom_info")), 1), x("div", bt, [E(r, {
314
314
  rounded: "",
315
315
  class: "w-[60px] h-[60px] absolute z-1",
316
316
  onClick: y
@@ -328,7 +328,7 @@ var gt = u({
328
328
  }, null, 512)])]);
329
329
  };
330
330
  }
331
- }), xt = ["fill"], Q = /* @__PURE__ */ w({
331
+ }), Z = ["fill"], St = /* @__PURE__ */ w({
332
332
  __name: "CuiCameraGridIcon1",
333
333
  props: { color: { default: "currentColor" } },
334
334
  setup(e) {
@@ -339,9 +339,9 @@ var gt = u({
339
339
  role: "img",
340
340
  "area-hidden": "true",
341
341
  fill: p(t)
342
- }, [...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, xt));
342
+ }, [...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, Z));
343
343
  }
344
- }), St = ["fill"], Ct = /* @__PURE__ */ w({
344
+ }), Ct = ["fill"], wt = /* @__PURE__ */ w({
345
345
  __name: "CuiCameraGridIcon10",
346
346
  props: { color: { default: "currentColor" } },
347
347
  setup(e) {
@@ -352,9 +352,9 @@ var gt = u({
352
352
  role: "img",
353
353
  "area-hidden": "true",
354
354
  fill: p(t)
355
- }, [...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, St));
355
+ }, [...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, Ct));
356
356
  }
357
- }), wt = ["fill"], $ = /* @__PURE__ */ w({
357
+ }), Q = ["fill"], $ = /* @__PURE__ */ w({
358
358
  __name: "CuiCameraGridIcon12",
359
359
  props: { color: { default: "currentColor" } },
360
360
  setup(e) {
@@ -365,7 +365,7 @@ var gt = u({
365
365
  role: "img",
366
366
  "area-hidden": "true",
367
367
  fill: p(t)
368
- }, [...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, wt));
368
+ }, [...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, Q));
369
369
  }
370
370
  }), Tt = ["fill"], Et = /* @__PURE__ */ w({
371
371
  __name: "CuiCameraGridIcon13",
@@ -502,7 +502,7 @@ var gt = u({
502
502
  }, Yt = {
503
503
  key: 0,
504
504
  class: "text-red-500 text-center mb-5"
505
- }, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/ O(/* @__PURE__ */ w({
505
+ }, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/ A(/* @__PURE__ */ w({
506
506
  __name: "CamviewForm",
507
507
  props: {
508
508
  form: {},
@@ -511,7 +511,7 @@ var gt = u({
511
511
  views: {}
512
512
  },
513
513
  setup(t, { expose: u }) {
514
- let v = new xe(), S = t, C = Se(), w = j(), { t: D } = we(), te = n("dialogRefProps"), re = ge(), { user: ie } = Ce(re), { mutateAsync: ae, isPending: oe } = v.createViewQuery(), { mutateAsync: O, isPending: ce } = v.patchViewQuery(), { form: M, type: ue, cameras: de, views: fe } = r(S), P = b("formRef"), pe = T([
514
+ let v = new xe(), S = t, C = L(), w = be(), { t: D } = we(), te = n("dialogRefProps"), ne = ve(), { user: re } = Ce(ne), { mutateAsync: ie, isPending: ae } = v.createViewQuery(), { mutateAsync: se, isPending: ce } = v.patchViewQuery(), { form: le, type: ue, cameras: de, views: A } = r(S), M = b("formRef"), pe = T([
515
515
  1,
516
516
  4,
517
517
  6,
@@ -524,57 +524,57 @@ var gt = u({
524
524
  16,
525
525
  20,
526
526
  26
527
- ]), me = T(!0), _e = T(!0), I = T([]), ve = T(!!M.value), L = T(M.value ? he(M.value) : {});
528
- !ve.value && ue.value === "view" && (L.value.viewSize = pe.value[0]);
529
- let ye = m(() => !!(te.loading?.value || oe.value || ce.value));
530
- function be(e) {
531
- let t = I.value.findIndex((t) => t.name === e.name);
532
- t === -1 ? I.value.push(e) : I.value.splice(t, 1);
527
+ ]), me = T(!0), he = T(!0), P = T([]), _e = T(!!le.value), F = T(le.value ? ge(le.value) : {});
528
+ !_e.value && ue.value === "view" && (F.value.viewSize = pe.value[0]);
529
+ let ye = m(() => !!(te.loading?.value || ae.value || ce.value));
530
+ function Se(e) {
531
+ let t = P.value.findIndex((t) => t.name === e.name);
532
+ t === -1 ? P.value.push(e) : P.value.splice(t, 1);
533
533
  }
534
534
  function Te(e) {
535
535
  switch (e) {
536
- case 1: return Q;
536
+ case 1: return St;
537
537
  case 4: return It;
538
538
  case 6: return Rt;
539
539
  case 7: return Bt;
540
540
  case 9: return Ht;
541
- case 10: return Ct;
541
+ case 10: return wt;
542
542
  case 12: return $;
543
543
  case 13: return Et;
544
544
  case 15: return Ot;
545
545
  case 16: return At;
546
546
  case 20: return Mt;
547
547
  case 26: return Pt;
548
- default: return Q;
548
+ default: return St;
549
549
  }
550
550
  }
551
551
  async function Ee() {
552
- if (!P.value || !ie.value) return;
553
- let e = fe.value.find((e) => e.name === L.value.name);
554
- if (e && !ve.value) return C.error("View already exists", e), w.add({
552
+ if (!M.value || !re.value) return;
553
+ let e = A.value.find((e) => e.name === F.value.name);
554
+ if (e && !_e.value) return C.error("View already exists", e), w.add({
555
555
  severity: "error",
556
556
  detail: D("components.toast.validation_failed"),
557
557
  life: 3e3
558
558
  }), null;
559
559
  if (ue.value === "dnd") {
560
- if (_e.value) return C.error("No cameras selected"), w.add({
560
+ if (he.value) return C.error("No cameras selected"), w.add({
561
561
  severity: "error",
562
562
  detail: D("components.toast.validation_failed"),
563
563
  life: 3e3
564
564
  }), null;
565
- let e = I.value.map((e, t) => ({
565
+ let e = P.value.map((e, t) => ({
566
566
  cameraId: e._id,
567
567
  index: t
568
568
  }));
569
- L.value.cameras = e, L.value.type = "dnd", L.value.viewSize = 1, P.value.setFieldValue("type", "dnd"), P.value.setFieldValue("viewSize", 1), P.value.setFieldValue("cameras", e);
570
- let t = await P.value.validate();
571
- return t?.valid ? ve.value ? await O({
572
- username: ie.value.username,
573
- viewid: L.value._id,
574
- viewData: L.value
575
- }) : await ae({
576
- username: ie.value.username,
577
- viewData: L.value
569
+ F.value.cameras = e, F.value.type = "dnd", F.value.viewSize = 1, M.value.setFieldValue("type", "dnd"), M.value.setFieldValue("viewSize", 1), M.value.setFieldValue("cameras", e);
570
+ let t = await M.value.validate();
571
+ return t?.valid ? _e.value ? await se({
572
+ username: re.value.username,
573
+ viewid: F.value._id,
574
+ viewData: F.value
575
+ }) : await ie({
576
+ username: re.value.username,
577
+ viewData: F.value
578
578
  }) : (C.error("Validation failed", t), w.add({
579
579
  severity: "error",
580
580
  detail: D("components.toast.validation_failed"),
@@ -587,41 +587,41 @@ var gt = u({
587
587
  detail: D("components.toast.validation_failed"),
588
588
  life: 3e3
589
589
  }), null;
590
- L.value.cameras = [], L.value.type = "view", P.value.setFieldValue("type", "view"), P.value.setFieldValue("cameras", []);
591
- let e = await P.value.validate();
592
- return e?.valid ? he(L.value) : (C.error("Validation failed", e), w.add({
590
+ F.value.cameras = [], F.value.type = "view", M.value.setFieldValue("type", "view"), M.value.setFieldValue("cameras", []);
591
+ let e = await M.value.validate();
592
+ return e?.valid ? ge(F.value) : (C.error("Validation failed", e), w.add({
593
593
  severity: "error",
594
594
  detail: D("components.toast.validation_failed"),
595
595
  life: 3e3
596
596
  }), null);
597
597
  }
598
598
  }
599
- return g(L, (e) => {
600
- for (let [t, n] of Object.entries(e)) P.value?.setFieldValue(t, n);
601
- e.viewSize && (me.value = !1), e.cameras?.length && (_e.value = !1);
599
+ return g(F, (e) => {
600
+ for (let [t, n] of Object.entries(e)) M.value?.setFieldValue(t, n);
601
+ e.viewSize && (me.value = !1), e.cameras?.length && (he.value = !1);
602
602
  }, {
603
603
  deep: !0,
604
604
  immediate: !0
605
- }), g(I, (e) => {
606
- _e.value = e.length === 0;
605
+ }), g(P, (e) => {
606
+ he.value = e.length === 0;
607
607
  }, { deep: !0 }), ee(() => {
608
- I.value = de.value?.filter((e) => L.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
608
+ P.value = de.value?.filter((e) => F.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
609
609
  }), u({
610
610
  isLoading: ye,
611
611
  onConfirm: Ee
612
612
  }), (t, n) => {
613
- let r = R, u = le, m = De, g = ne, v = F;
614
- return a(), d(p(se), {
613
+ let r = De, u = j, m = Oe, g = O, v = I;
614
+ return a(), d(p(oe), {
615
615
  ref_key: "formRef",
616
- ref: P,
616
+ ref: M,
617
617
  class: "flex flex-col gap-6",
618
618
  "validation-schema": p(N),
619
- "initial-values": p(L)
619
+ "initial-values": p(F)
620
620
  }, {
621
621
  default: h(() => [
622
622
  E(p(k), {
623
- modelValue: p(L).name,
624
- "onUpdate:modelValue": n[0] ||= (e) => p(L).name = e,
623
+ modelValue: p(F).name,
624
+ "onUpdate:modelValue": n[0] ||= (e) => p(F).name = e,
625
625
  modelModifiers: { trim: !0 },
626
626
  name: "name",
627
627
  as: "div",
@@ -638,7 +638,7 @@ var gt = u({
638
638
  _: 2
639
639
  }, 1024),
640
640
  E(e, { name: "fade" }, {
641
- default: h(() => [E(p(A), {
641
+ default: h(() => [E(p(fe), {
642
642
  name: "name",
643
643
  class: "cui-input-error"
644
644
  })]),
@@ -649,19 +649,19 @@ var gt = u({
649
649
  }, 8, ["modelValue"]),
650
650
  E(m, { class: "m-0 py-3" }),
651
651
  p(ue) === "dnd" ? (a(), _("div", Wt, [E(e, { name: "fade" }, {
652
- default: h(() => [p(_e) ? (a(), _("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
652
+ default: h(() => [p(he) ? (a(), _("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
653
653
  _: 1
654
654
  }), x("div", Kt, [x("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), _(y, null, i(p(de), (e, t) => (a(), _("div", {
655
655
  key: t,
656
656
  class: "cui-list-item"
657
657
  }, [E(v, {
658
658
  class: "h-14",
659
- active: p(I).some((t) => t.name === e.name),
660
- onClick: (t) => be(e)
659
+ active: p(P).some((t) => t.name === e.name),
660
+ onClick: (t) => Se(e)
661
661
  }, {
662
662
  append: h(() => [E(g, {
663
- "model-value": p(I).some((t) => t.name === e.name),
664
- "onUpdate:modelValue": (t) => be(e)
663
+ "model-value": p(P).some((t) => t.name === e.name),
664
+ "onUpdate:modelValue": (t) => Se(e)
665
665
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
666
666
  default: h(() => [x("span", null, o(e.name), 1)]),
667
667
  _: 2
@@ -671,11 +671,11 @@ var gt = u({
671
671
  }), x("div", Xt, [x("label", Zt, o(t.$t("components.form.label.views")), 1), x("div", Qt, [(a(!0), _(y, null, i(p(pe), (e) => (a(), _("div", {
672
672
  key: e,
673
673
  class: "view-select-item w-full",
674
- onClick: (t) => p(L).viewSize = e
675
- }, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(L).viewSize === e }]) }, [(a(), d(l(Te(e)), { style: {
674
+ onClick: (t) => p(F).viewSize = e
675
+ }, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(F).viewSize === e }]) }, [(a(), d(l(Te(e)), { style: {
676
676
  width: "100%",
677
677
  height: "100%"
678
- } }))], 2), x("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(L).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, $t))), 128))])])]))
678
+ } }))], 2), x("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(F).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, $t))), 128))])])]))
679
679
  ]),
680
680
  _: 1
681
681
  }, 8, ["validation-schema", "initial-values"]);
@@ -687,124 +687,124 @@ var gt = u({
687
687
  }, rn = {
688
688
  key: 1,
689
689
  class: "flex flex-col w-full h-full"
690
- }, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/ O(/* @__PURE__ */ w({
690
+ }, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/ A(/* @__PURE__ */ w({
691
691
  __name: "Camview",
692
692
  props: {
693
693
  navbarWidth: { default: 0 },
694
694
  navbarLeft: { default: 0 }
695
695
  },
696
696
  setup(t) {
697
- let n = new xe(), i = new ce(), u = t, y = we(), { t: C } = y, w = ve(), ee = _e(), { bottombarHeight: ne } = I(), { smBreakpoint: O, lgBreakpoint: k, mdBreakpoint: se } = re(), le = ge(), { user: A } = Ce(le), j = P(), { uiSettings: N } = Ce(j), { data: F, isLoading: Se } = i.getCamerasQuery({
697
+ let n = new xe(), i = new ce(), u = t, { t: y } = we(), C = _e(), w = F(), { bottombarHeight: ee } = de(), { smBreakpoint: O, lgBreakpoint: k, mdBreakpoint: oe } = ue(), A = ve(), { user: j } = Ce(A), fe = le(), { uiSettings: N } = Ce(fe), { data: I, isLoading: be } = i.getCamerasQuery({
698
698
  page: 1,
699
699
  pageSize: -1
700
- }), { data: R, isLoading: Ne } = n.getViewsQuery(A.value?.username ?? "", {
700
+ }), { data: L, isLoading: De } = n.getViewsQuery(j.value?.username ?? "", {
701
701
  page: 1,
702
702
  pageSize: -1
703
- }), { mutate: Ie, isPending: Le } = n.removeViewQuery(), { mutateAsync: ze, isPending: Be } = n.createViewQuery(), { mutateAsync: He, isPending: Ue } = n.patchViewQuery(), { mutateAsync: Ge } = n.patchViewQuerySilent(), { navbarWidth: Ke, navbarLeft: Je } = r(u), Ye = b("menuRef"), Ze = b("newViewMenuRef"), Qe = b("cardFitMenuRef"), z = b("viewDndRef"), B = T({}), V = T(!1), H = T(!1), U = T(!1), W = T(!1), G = T(!1), rt = T(!1), K = T(!0), q = T("always-on"), J = T("low-resolution"), Y = T("auto"), X = T([]), st = T(), lt = T(null), ut = D({
704
- sourceRole: J.value,
705
- activityMode: q.value,
706
- streamingMode: Y.value
707
- }), Z = m(() => Se.value || Ne.value || Le.value || Be.value || Ue.value), ft = m(() => Se.value && !F.value || Ne.value && !R.value || Le.value || Be.value || Ue.value), mt = m(() => Ke.value + Je.value), ht = m(() => ({
708
- locale: y.locale.value,
709
- dayNames: w.config.locale?.dayNames,
710
- dayNamesShort: w.config.locale?.dayNamesShort,
711
- monthNames: w.config.locale?.monthNames,
712
- monthNamesShort: w.config.locale?.monthNamesShort
713
- })), _t = m(() => st.value ?? $.value?.cardFit ?? "aspect"), vt = m(() => [
703
+ }), { mutate: Pe, isPending: Le } = n.removeViewQuery(), { mutateAsync: Re, isPending: Be } = n.createViewQuery(), { mutateAsync: Ve, isPending: Ue } = n.patchViewQuery(), { mutateAsync: We } = n.patchViewQuerySilent(), { navbarWidth: Ke, navbarLeft: qe } = r(u), Ye = b("menuRef"), Xe = b("newViewMenuRef"), Qe = b("cardFitMenuRef"), R = b("viewDndRef"), z = T({}), B = T(!1), V = T(!1), H = T(!1), U = T(!1), W = T(!1), rt = T(!1), G = T(!0), K = T("always-on"), q = T("low-resolution"), J = T("auto"), Y = T([]), st = T(), ct = T(null), ut = T(null), dt = D({
704
+ sourceRole: q.value,
705
+ activityMode: K.value,
706
+ streamingMode: J.value
707
+ }), X = m(() => be.value || De.value || Le.value || Be.value || Ue.value), pt = m(() => be.value && !I.value || De.value && !L.value || Le.value || Be.value || Ue.value), ht = m(() => Ke.value + qe.value), gt = m(() => st.value ?? Q.value?.cardFit ?? "aspect"), vt = m(() => [
714
708
  "aspect",
715
709
  "contain",
716
710
  "fill",
717
711
  "cover"
718
712
  ].map((e) => ({
719
- label: C(`views.camview.card_fit_${e}`),
720
- description: C(`views.camview.card_fit_${e}_info`),
721
- active: _t.value === e,
722
- onClick: () => Wt(e)
713
+ label: y(`views.camview.card_fit_${e}`),
714
+ description: y(`views.camview.card_fit_${e}_info`),
715
+ active: gt.value === e,
716
+ onClick: () => Gt(e)
723
717
  }))), yt = m(() => ({
724
718
  doubleClickZoom: !1,
725
719
  flatCard: !0,
726
- cardFit: _t.value,
720
+ cardFit: gt.value,
727
721
  cameraNameOverlay: !0,
728
722
  control: !0,
729
723
  toolbar: !1,
730
- expandableCard: ($.value?.cameras?.length ?? 0) > 1,
731
- detectionIndicatorOverlay: !U.value && Ct.value,
732
- detectionIconsOverlay: !U.value && Ct.value,
724
+ expandableCard: (Q.value?.cameras?.length ?? 0) > 1,
725
+ detectionIndicatorOverlay: !H.value && Ct.value,
726
+ detectionIconsOverlay: !H.value && Ct.value,
733
727
  boundingBoxOverlay: !1,
734
728
  cardClickAction: "expand",
735
729
  viewTransition: !0,
730
+ fullscreenShortcuts: !0,
731
+ fullscreenTimeline: !0,
732
+ embeddedTimeline: !0,
736
733
  cardProps: { pt: { root: { style: "background: #000" } } }
737
- })), xt = m(() => R.value?.result.length ? k.value ? {
738
- width: G.value ? "calc(100% - 400px)" : "100%",
734
+ })), bt = m(() => L.value?.result.length ? k.value ? {
735
+ width: W.value ? "calc(100% - 400px)" : "100%",
739
736
  height: "100%",
740
737
  overflowY: "scroll"
741
738
  } : {
742
739
  height: "100%",
743
- paddingBottom: G.value ? ne.value > 0 ? "200px" : "192px" : "0px",
740
+ paddingBottom: W.value ? ee.value > 0 ? "200px" : "192px" : "0px",
744
741
  overflowY: "scroll"
745
742
  } : {
746
743
  width: "100%",
747
744
  height: "100%",
748
745
  overflowY: "scroll"
749
- }), Q = m(() => V.value || H.value), St = m(() => !!z.value?.isFullscreen), Ct = m(() => N.value.camview.detections !== !1), wt = m(() => [
746
+ }), Z = m(() => B.value || V.value), St = m(() => !!R.value?.isFullscreen), Ct = m(() => N.value.camview.detections !== !1), wt = m(() => [
750
747
  {
751
- label: St.value ? C("components.form.tooltip.fullscreen_off") : C("components.form.tooltip.fullscreen_on"),
752
- icon: St.value ? ie : M,
753
- command: Gt
748
+ label: St.value ? y("components.form.tooltip.fullscreen_off") : y("components.form.tooltip.fullscreen_on"),
749
+ icon: St.value ? ne : M,
750
+ command: Kt
754
751
  },
755
752
  {
756
- label: K.value ? C("components.form.tooltip.unmute") : C("components.form.tooltip.mute"),
757
- icon: K.value ? tt : et,
758
- command: Kt
753
+ label: G.value ? y("components.form.tooltip.unmute") : y("components.form.tooltip.mute"),
754
+ icon: G.value ? tt : et,
755
+ command: qt
759
756
  },
760
757
  {
761
- label: C("components.form.tooltip.intercom"),
758
+ label: y("components.form.tooltip.intercom"),
762
759
  icon: ye,
763
760
  command: () => Nt("intercom")
764
761
  },
765
762
  {
766
- label: Y.value === "auto" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_auto")}` : Y.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")}`,
767
- icon: Y.value === "auto" ? it : Y.value === "webrtc" ? gt : Xe,
768
- command: () => Yt()
763
+ label: J.value === "auto" ? `${y("components.form.tooltip.mode")}: ${y("components.form.tooltip.streaming_mode_auto")}` : J.value === "webrtc" ? `${y("components.form.tooltip.mode")}: ${y("components.form.tooltip.streaming_mode_webrtc")}` : `${y("components.form.tooltip.mode")}: ${y("components.form.tooltip.streaming_mode_mse")}`,
764
+ icon: J.value === "auto" ? it : J.value === "webrtc" ? _t : Ze,
765
+ command: () => Xt()
769
766
  },
770
767
  {
771
- label: q.value === "always-on" ? C("components.form.tooltip.activity_mode_always_on") : q.value === "standby" ? C("components.form.tooltip.activity_mode_standby") : C("components.form.tooltip.activity_mode_activity"),
772
- icon: q.value === "always-on" ? ot : q.value === "standby" ? nt : $e,
773
- command: () => qt()
768
+ label: K.value === "always-on" ? y("components.form.tooltip.activity_mode_always_on") : K.value === "standby" ? y("components.form.tooltip.activity_mode_standby") : y("components.form.tooltip.activity_mode_activity"),
769
+ icon: K.value === "always-on" ? ot : K.value === "standby" ? nt : $e,
770
+ command: () => Jt()
774
771
  },
775
772
  {
776
- label: J.value === "low-resolution" ? `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_low")}` : J.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")}`,
777
- icon: J.value === "low-resolution" ? dt : J.value === "mid-resolution" ? pt : ct,
778
- command: () => Jt()
773
+ label: q.value === "low-resolution" ? `${y("components.form.tooltip.resolution")}: ${y("components.form.tooltip.source_role_low")}` : q.value === "mid-resolution" ? `${y("components.form.tooltip.resolution")}: ${y("components.form.tooltip.source_role_mid")}` : `${y("components.form.tooltip.resolution")}: ${y("components.form.tooltip.source_role_high")}`,
774
+ icon: q.value === "low-resolution" ? ft : q.value === "mid-resolution" ? mt : lt,
775
+ command: () => Yt()
779
776
  },
780
777
  {
781
- label: `${C("components.form.tooltip.detections")}: ${Ct.value ? C("components.form.tooltip.detections_on") : C("components.form.tooltip.detections_off")}`,
782
- icon: Ct.value ? Te : de,
778
+ label: `${y("components.form.tooltip.detections")}: ${Ct.value ? y("components.form.tooltip.detections_on") : y("components.form.tooltip.detections_off")}`,
779
+ icon: Ct.value ? Te : me,
783
780
  command: () => N.value.camview.detections = !Ct.value
784
781
  }
785
- ]), $ = m(() => {
786
- let e = R.value?.result.find((e) => e._id === N.value.camview.viewid) || R.value?.result[0];
787
- return e ? (B.value = e, N.value.camview.viewid = e._id) : B.value = {}, e;
788
- }), Tt = m(() => $.value?.cameras?.map((e) => e.cameraId) ?? []), Et = m(() => {
789
- let e = lt.value;
790
- return e && Tt.value.includes(e) ? [e] : Tt.value;
782
+ ]), Q = m(() => {
783
+ let e = L.value?.result.find((e) => e._id === N.value.camview.viewid) || L.value?.result[0];
784
+ return e ? (z.value = e, N.value.camview.viewid = e._id) : z.value = {}, e;
785
+ }), $ = m(() => Q.value?.cameras?.map((e) => e.cameraId) ?? []), Tt = m(() => {
786
+ let e = ct.value;
787
+ return e && $.value.includes(e) ? [e] : $.value;
788
+ }), Et = m(() => {
789
+ let e = ut.value;
790
+ return e && $.value.includes(e) ? [e] : Tt.value;
791
791
  }), Dt = m(() => {
792
792
  let e = {};
793
- for (let t of F.value?.result ?? []) e[t._id] = t.name;
793
+ for (let t of I.value?.result ?? []) e[t._id] = t.name;
794
794
  return e;
795
- }), { master: Ot } = pe(Tt, {
795
+ }), { master: Ot } = he($, {
796
796
  sourceRole: "low",
797
797
  activeIds: Et
798
- }), kt = m(() => Ot.mode.value !== "idle" && Ot.currentTimestamp.value > 0 ? Math.floor(Ot.currentTimestamp.value / 1e3) : void 0), At = m(() => Q.value && B.value.viewSize > 0 ? B.value.viewSize : $.value ? $.value.viewSize : 1), jt = m(() => {
798
+ }), kt = m(() => Ot.mode.value !== "idle" && Ot.currentTimestamp.value > 0 ? Math.floor(Ot.currentTimestamp.value / 1e3) : void 0), At = m(() => Z.value && z.value.viewSize > 0 ? z.value.viewSize : Q.value ? Q.value.viewSize : 1), jt = m(() => {
799
799
  let e = [];
800
- for (let t of R.value?.result || []) e.push({
800
+ for (let t of L.value?.result || []) e.push({
801
801
  label: t.name,
802
- active: t._id === $.value?._id,
802
+ active: t._id === Q.value?._id,
803
803
  onClick: () => Pt(t)
804
804
  });
805
805
  return e;
806
806
  }), Mt = m(() => [{
807
- label: C("views.camview.new_view"),
807
+ label: y("views.camview.new_view"),
808
808
  icon: at,
809
809
  onClick: () => Nt("newView")
810
810
  }]);
@@ -812,44 +812,44 @@ var gt = u({
812
812
  switch (e) {
813
813
  case "newView":
814
814
  case "editView": {
815
- let t = e === "editView", n = C(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
816
- t ? V.value = !0 : H.value = !0, ee.openComponentDialog(en, {
815
+ let t = e === "editView", n = y(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
816
+ t ? B.value = !0 : V.value = !0, w.openComponentDialog(en, {
817
817
  data: {
818
818
  title: n,
819
- loading: Z,
820
- confirmText: C("components.form.button.next"),
819
+ loading: X,
820
+ confirmText: y("components.form.button.next"),
821
821
  contentProps: {
822
- form: t ? B.value : void 0,
822
+ form: t ? z.value : void 0,
823
823
  type: "view",
824
- cameras: F.value?.result || [],
825
- views: R.value?.result || []
824
+ cameras: I.value?.result || [],
825
+ views: L.value?.result || []
826
826
  }
827
827
  },
828
828
  onConfirm: (e) => {
829
- e && (B.value = e);
829
+ e && (z.value = e);
830
830
  },
831
831
  onCancel: () => {
832
- H.value = !1;
832
+ V.value = !1;
833
833
  }
834
834
  });
835
835
  break;
836
836
  }
837
837
  case "intercom":
838
- ee.openComponentDialog(bt, {
838
+ w.openComponentDialog(xt, {
839
839
  data: {
840
- title: C("components.dialog.title.intercom"),
840
+ title: y("components.dialog.title.intercom"),
841
841
  hideConfirmButton: !0,
842
- loading: Z,
842
+ loading: X,
843
843
  contentProps: {}
844
844
  },
845
- events: { listening: Xt }
845
+ events: { listening: Zt }
846
846
  });
847
847
  break;
848
- case "removeView": ee.openTextDialog({
848
+ case "removeView": w.openTextDialog({
849
849
  data: {
850
- title: C("components.dialog.title.confirm"),
851
- confirmText: C("components.form.button.remove"),
852
- contentText: C("components.dialog.message.confirm_remove_layout"),
850
+ title: y("components.dialog.title.confirm"),
851
+ confirmText: y("components.form.button.remove"),
852
+ contentText: y("components.dialog.message.confirm_remove_layout"),
853
853
  confirmButtonProps: { severity: "danger" }
854
854
  },
855
855
  onConfirm: Ft
@@ -860,43 +860,43 @@ var gt = u({
860
860
  N.value.camview.viewid = e._id;
861
861
  }
862
862
  function Ft() {
863
- $.value && A.value && Ie({
864
- username: A.value.username,
865
- viewid: $.value._id
863
+ Q.value && j.value && Pe({
864
+ username: j.value.username,
865
+ viewid: Q.value._id
866
866
  }, { onSuccess: (e) => {
867
867
  e.length ? N.value.camview.viewid = e[0]._id : N.value.camview.viewid = void 0;
868
868
  } });
869
869
  }
870
870
  async function It() {
871
- if (!A.value || Object.keys(B.value).length === 0) return;
872
- let e = X.value.filter((e) => e.lastDroppedCamera).map((e) => ({
871
+ if (!j.value || Object.keys(z.value).length === 0) return;
872
+ let e = Y.value.filter((e) => e.lastDroppedCamera).map((e) => ({
873
873
  cameraId: e.lastDroppedCamera._id,
874
874
  index: e.index,
875
875
  colSpan: e.colSpan,
876
876
  rowSpan: e.rowSpan
877
877
  })).sort((e, t) => e.index - t.index);
878
878
  if (!e.length) return;
879
- let t = he(B.value);
880
- t.cameras = e, t._id ? Ut(await He({
881
- username: A.value.username,
879
+ let t = ge(z.value);
880
+ t.cameras = e, t._id ? Wt(await Ve({
881
+ username: j.value.username,
882
882
  viewid: t._id,
883
883
  viewData: t
884
- })) : Ut(await ze({
885
- username: A.value.username,
884
+ })) : Wt(await Re({
885
+ username: j.value.username,
886
886
  viewData: t
887
887
  }));
888
888
  }
889
889
  function Lt(e, t) {
890
- X.value[e].lastDroppedCamera = t;
890
+ Y.value[e].lastDroppedCamera = t;
891
891
  }
892
892
  function Rt(e) {
893
- X.value = X.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
893
+ Y.value = Y.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
894
894
  }
895
895
  function zt(e) {
896
896
  return `${O.value ? "mobile" : "desktop"}:${e}`;
897
897
  }
898
898
  function Bt(e) {
899
- let t = $.value?._id;
899
+ let t = Q.value?._id;
900
900
  t && (N.value.camview.layouts || (N.value.camview.layouts = {}), N.value.camview.layouts[zt(t)] = e.map((e) => ({
901
901
  index: e.index,
902
902
  cameraId: e.cameraId,
@@ -907,21 +907,24 @@ var gt = u({
907
907
  })));
908
908
  }
909
909
  function Vt(e, t) {
910
- lt.value = t ? e._id : null;
910
+ ct.value = t ? e._id : null;
911
911
  }
912
- function Ht(e) {
913
- let t = lt.value;
914
- t && e.cameraId && e.cameraId !== t && Tt.value.includes(e.cameraId) && z.value?.expandCameraById(e.cameraId);
912
+ function Ht(e, t) {
913
+ t ? ut.value = e._id : ut.value === e._id && (ut.value = null);
915
914
  }
916
915
  function Ut(e) {
917
- N.value.camview.viewid = e._id, H.value = !1, V.value = !1;
916
+ let t = ct.value;
917
+ t && e.cameraId && e.cameraId !== t && $.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
918
+ }
919
+ function Wt(e) {
920
+ N.value.camview.viewid = e._id, V.value = !1, B.value = !1;
918
921
  }
919
- async function Wt(e) {
920
- let t = $.value, n = A.value?.username;
921
- if (t && n && _t.value !== e) {
922
+ async function Gt(e) {
923
+ let t = Q.value, n = j.value?.username;
924
+ if (t && n && gt.value !== e) {
922
925
  st.value = e;
923
926
  try {
924
- await Ge({
927
+ await We({
925
928
  username: n,
926
929
  viewid: t._id,
927
930
  viewData: { cardFit: e }
@@ -931,38 +934,38 @@ var gt = u({
931
934
  }
932
935
  }
933
936
  }
934
- function Gt() {
935
- z.value?.toggleFullscreen();
936
- }
937
937
  function Kt() {
938
- K.value = !K.value, z.value?.toggleAllPlayerMute(K.value);
938
+ R.value?.toggleFullscreen();
939
939
  }
940
- function qt(e) {
941
- let t = q.value;
942
- t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), z.value?.toggleAllPlayerActivityMode(t), q.value = t;
940
+ function qt() {
941
+ G.value = !G.value, R.value?.toggleAllPlayerMute(G.value);
943
942
  }
944
- async function Jt(e) {
945
- let t = J.value;
946
- t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await z.value?.toggleAllPlayerSourceRole(t), J.value = t;
943
+ function Jt(e) {
944
+ let t = K.value;
945
+ t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), R.value?.toggleAllPlayerActivityMode(t), K.value = t;
947
946
  }
948
947
  async function Yt(e) {
949
- let t = Y.value;
948
+ let t = q.value;
949
+ t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await R.value?.toggleAllPlayerSourceRole(t), q.value = t;
950
+ }
951
+ async function Xt(e) {
952
+ let t = J.value;
950
953
  t === "auto" && (t = "webrtc");
951
954
  let n = e || (t === "mse" ? "webrtc" : "mse");
952
- await z.value?.toggleAllPlayerStreamingMode(n), Y.value = n;
955
+ await R.value?.toggleAllPlayerStreamingMode(n), J.value = n;
953
956
  }
954
- async function Xt(e) {
955
- await z.value?.toggleAllPlayerMicrophone(e);
957
+ async function Zt(e) {
958
+ await R.value?.toggleAllPlayerMicrophone(e);
956
959
  }
957
- return g(W, (e) => {
960
+ return g(U, (e) => {
958
961
  e && (rt.value = !0);
959
- }), g(() => $.value?._id, () => {
962
+ }), g(() => Q.value?._id, () => {
960
963
  st.value = void 0;
961
964
  }), g([
962
965
  At,
963
- $,
964
- F,
965
966
  Q,
967
+ I,
968
+ Z,
966
969
  N,
967
970
  O
968
971
  ], () => {
@@ -971,51 +974,51 @@ var gt = u({
971
974
  index: t,
972
975
  lastDroppedCamera: void 0
973
976
  }));
974
- if (!H.value) {
975
- let t = $.value?._id, n = t ? zt(t) : void 0, r = n ? N.value.camview.layouts?.[n] : void 0, i = new Set(F.value?.result.map((e) => e._id) ?? []), a = !1;
976
- for (let t of $.value?.cameras || []) {
977
+ if (!V.value) {
978
+ let t = Q.value?._id, n = t ? zt(t) : void 0, r = n ? N.value.camview.layouts?.[n] : void 0, i = new Set(I.value?.result.map((e) => e._id) ?? []), a = !1;
979
+ for (let t of Q.value?.cameras || []) {
977
980
  if (!e[t.index]) continue;
978
- let n = F.value?.result.find((e) => e._id === t.cameraId);
981
+ let n = I.value?.result.find((e) => e._id === t.cameraId);
979
982
  e[t.index].lastDroppedCamera = n;
980
983
  let o = r?.find((e) => e.index === t.index);
981
984
  o && (!o.cameraId || i.has(o.cameraId) ? (e[t.index].x = o.x, e[t.index].y = o.y, e[t.index].colSpan = o.w, e[t.index].rowSpan = o.h) : a = !0);
982
985
  }
983
986
  a && n && N.value.camview.layouts?.[n] && (N.value.camview.layouts[n] = N.value.camview.layouts[n].filter((e) => !e.cameraId || i.has(e.cameraId)));
984
987
  }
985
- X.value = e;
988
+ Y.value = e;
986
989
  }, {
987
990
  deep: !0,
988
991
  immediate: !0
989
992
  }), (t, n) => {
990
- let r = Fe, i = je, u = me, m = qe, g = We, y = Ve, b = ue, C = oe, w = De, T = ke, D = Re, ee = Me, re = Pe, ie = be, ce = L, le = Ee, A = Oe, j = ae, M = te;
993
+ let r = Ie, i = Me, u = Se, m = Je, g = Ge, y = He, b = pe, w = ie, T = Oe, D = Ae, ne = ze, ce = Ne, le = Fe, ue = ae, de = P, A = Ee, j = ke, fe = re, M = te;
991
994
  return a(), _("div", tn, [
992
- E(re, {
993
- "left-offset": p(mt),
995
+ E(le, {
996
+ "left-offset": p(ht),
994
997
  animate: ""
995
998
  }, {
996
- left: h(() => [!p(H) && p($) ? (a(), d(r, {
999
+ left: h(() => [!p(V) && p(Q) ? (a(), d(r, {
997
1000
  key: 0,
998
1001
  type: "dropdown",
999
- label: p($).name,
1002
+ label: p(Q).name,
1000
1003
  "menu-open": p(Ye)?.isOpen,
1001
- disabled: p(Z) || p(V),
1004
+ disabled: p(X) || p(B),
1002
1005
  onClick: n[0] ||= (e) => p(Ye)?.toggleMenu(e)
1003
1006
  }, null, 8, [
1004
1007
  "label",
1005
1008
  "menu-open",
1006
1009
  "disabled"
1007
- ])) : p(H) && p(B).name ? (a(), d(r, {
1010
+ ])) : p(V) && p(z).name ? (a(), d(r, {
1008
1011
  key: 1,
1009
- label: p(B).name,
1010
- disabled: p(Z)
1012
+ label: p(z).name,
1013
+ disabled: p(X)
1011
1014
  }, null, 8, ["label", "disabled"])) : f("", !0)]),
1012
1015
  right: h(() => [
1013
- !p(Q) && p($) ? S((a(), d(r, {
1016
+ !p(Z) && p(Q) ? S((a(), d(r, {
1014
1017
  key: 0,
1015
- active: p(U),
1016
- onClick: n[1] ||= (e) => U.value = !p(U)
1018
+ active: p(H),
1019
+ onClick: n[1] ||= (e) => H.value = !p(H)
1017
1020
  }, {
1018
- icon: h(() => [p(U) ? (a(), d(u, {
1021
+ icon: h(() => [p(H) ? (a(), d(u, {
1019
1022
  key: 1,
1020
1023
  width: "100%",
1021
1024
  height: "100%"
@@ -1027,13 +1030,13 @@ var gt = u({
1027
1030
  _: 1
1028
1031
  }, 8, ["active"])), [[
1029
1032
  M,
1030
- { value: p(U) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1033
+ { value: p(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1031
1034
  void 0,
1032
1035
  { bottom: !0 }
1033
1036
  ]]) : f("", !0),
1034
- !p(Q) && p($) && p(U) && !p(O) ? S((a(), d(r, {
1037
+ !p(Z) && p(Q) && p(H) && !p(O) ? S((a(), d(r, {
1035
1038
  key: 1,
1036
- onClick: n[2] ||= (e) => p(z)?.fitAspectRatios()
1039
+ onClick: n[2] ||= (e) => p(R)?.fitAspectRatios()
1037
1040
  }, {
1038
1041
  icon: h(() => [E(m, {
1039
1042
  width: "100%",
@@ -1046,9 +1049,9 @@ var gt = u({
1046
1049
  void 0,
1047
1050
  { bottom: !0 }
1048
1051
  ]]) : f("", !0),
1049
- !p(Q) && p($) && p(U) && !p(O) ? S((a(), d(r, {
1052
+ !p(Z) && p(Q) && p(H) && !p(O) ? S((a(), d(r, {
1050
1053
  key: 2,
1051
- onClick: n[3] ||= (e) => p(z)?.compactGrid()
1054
+ onClick: n[3] ||= (e) => p(R)?.compactGrid()
1052
1055
  }, {
1053
1056
  icon: h(() => [E(g, {
1054
1057
  width: "100%",
@@ -1061,9 +1064,9 @@ var gt = u({
1061
1064
  void 0,
1062
1065
  { bottom: !0 }
1063
1066
  ]]) : f("", !0),
1064
- !p(Q) && p($) ? S((a(), d(r, {
1067
+ !p(Z) && p(Q) ? S((a(), d(r, {
1065
1068
  key: 3,
1066
- active: p(_t) !== "aspect",
1069
+ active: p(gt) !== "aspect",
1067
1070
  "menu-open": p(Qe)?.isOpen,
1068
1071
  onClick: n[4] ||= (e) => p(Qe)?.toggleMenu(e)
1069
1072
  }, {
@@ -1078,12 +1081,12 @@ var gt = u({
1078
1081
  void 0,
1079
1082
  { bottom: !0 }
1080
1083
  ]]) : f("", !0),
1081
- !p(Q) && p($) ? S((a(), d(r, {
1084
+ !p(Z) && p(Q) ? S((a(), d(r, {
1082
1085
  key: 4,
1083
- active: p(W),
1084
- onClick: n[5] ||= (e) => W.value = !p(W)
1086
+ active: p(U),
1087
+ onClick: n[5] ||= (e) => U.value = !p(U)
1085
1088
  }, {
1086
- icon: h(() => [p(W) ? (a(), d(C, {
1089
+ icon: h(() => [p(U) ? (a(), d(w, {
1087
1090
  key: 1,
1088
1091
  width: "100%",
1089
1092
  height: "100%"
@@ -1095,20 +1098,20 @@ var gt = u({
1095
1098
  _: 1
1096
1099
  }, 8, ["active"])), [[
1097
1100
  M,
1098
- { value: p(W) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1101
+ { value: p(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1099
1102
  void 0,
1100
1103
  { bottom: !0 }
1101
1104
  ]]) : f("", !0),
1102
- !p(Q) && p($) ? (a(), d(w, {
1105
+ !p(Z) && p(Q) ? (a(), d(T, {
1103
1106
  key: 5,
1104
1107
  layout: "vertical"
1105
1108
  })) : f("", !0),
1106
- !p(Q) && p($) ? S((a(), d(r, {
1109
+ !p(Z) && p(Q) ? S((a(), d(r, {
1107
1110
  key: 6,
1108
- disabled: p(U),
1111
+ disabled: p(H),
1109
1112
  onClick: n[6] ||= (e) => Nt("removeView")
1110
1113
  }, {
1111
- icon: h(() => [E(T, {
1114
+ icon: h(() => [E(D, {
1112
1115
  width: "100%",
1113
1116
  height: "100%"
1114
1117
  })]),
@@ -1119,12 +1122,12 @@ var gt = u({
1119
1122
  void 0,
1120
1123
  { bottom: !0 }
1121
1124
  ]]) : f("", !0),
1122
- !p(V) && !p(H) && p($) ? S((a(), d(r, {
1125
+ !p(B) && !p(V) && p(Q) ? S((a(), d(r, {
1123
1126
  key: 7,
1124
- disabled: p(U),
1125
- onClick: n[7] ||= (e) => V.value = !0
1127
+ disabled: p(H),
1128
+ onClick: n[7] ||= (e) => B.value = !0
1126
1129
  }, {
1127
- icon: h(() => [E(D, {
1130
+ icon: h(() => [E(ne, {
1128
1131
  width: "100%",
1129
1132
  height: "100%"
1130
1133
  })]),
@@ -1135,13 +1138,13 @@ var gt = u({
1135
1138
  void 0,
1136
1139
  { bottom: !0 }
1137
1140
  ]]) : f("", !0),
1138
- !p(V) && !p(H) ? S((a(), d(r, {
1141
+ !p(B) && !p(V) ? S((a(), d(r, {
1139
1142
  key: 8,
1140
- disabled: p(U),
1141
- onClick: p(Ze)?.toggleMenu
1143
+ disabled: p(H),
1144
+ onClick: p(Xe)?.toggleMenu
1142
1145
  }, {
1143
- icon: h(() => [E(ee, {
1144
- class: c(["transform transition-transform duration-300", { "rotate-45": p(Ze)?.isOpen }]),
1146
+ icon: h(() => [E(ce, {
1147
+ class: c(["transform transition-transform duration-300", { "rotate-45": p(Xe)?.isOpen }]),
1145
1148
  width: "100%",
1146
1149
  height: "100%"
1147
1150
  }, null, 8, ["class"])]),
@@ -1152,15 +1155,15 @@ var gt = u({
1152
1155
  void 0,
1153
1156
  { bottom: !0 }
1154
1157
  ]]) : f("", !0),
1155
- p(V) || p(H) ? (a(), d(r, {
1158
+ p(B) || p(V) ? (a(), d(r, {
1156
1159
  key: 9,
1157
1160
  label: t.$t("components.form.button.cancel"),
1158
- onClick: n[8] ||= (e) => p(V) ? V.value = !1 : H.value = !1
1161
+ onClick: n[8] ||= (e) => p(B) ? B.value = !1 : V.value = !1
1159
1162
  }, null, 8, ["label"])) : f("", !0),
1160
- p(V) || p(H) ? (a(), d(r, {
1163
+ p(B) || p(V) ? (a(), d(r, {
1161
1164
  key: 10,
1162
1165
  label: t.$t("components.form.button.save"),
1163
- disabled: p(X).every((e) => e.lastDroppedCamera === void 0),
1166
+ disabled: p(Y).every((e) => e.lastDroppedCamera === void 0),
1164
1167
  primary: "",
1165
1168
  onClick: It
1166
1169
  }, null, 8, ["label", "disabled"])) : f("", !0)
@@ -1175,33 +1178,34 @@ var gt = u({
1175
1178
  style: v({ paddingTop: `${p(55)}px` })
1176
1179
  }, [x("div", {
1177
1180
  class: c(["flex relative z-1 camview-content-transition", {
1178
- "h-full items-center justify-center": p(k) || !p(R)?.result.length,
1179
- "w-full items-start justify-start": !p(k) && p(R)?.result.length
1181
+ "h-full items-center justify-center": p(k) || !p(L)?.result.length,
1182
+ "w-full items-start justify-start": !p(k) && p(L)?.result.length
1180
1183
  }]),
1181
- style: v(p(xt))
1182
- }, [p(ft) ? (a(), _("div", nn, [(a(), d(ie, {
1184
+ style: v(p(bt))
1185
+ }, [p(pt) ? (a(), _("div", nn, [(a(), d(ue, {
1183
1186
  key: 0,
1184
1187
  class: "w-[30px] h-[30px] m-0",
1185
1188
  "stroke-width": "5"
1186
- }))])) : !p($) && !p(H) ? (a(), _("div", rn, [x("div", an, [E(ce, { class: "w-12 h-12 text-muted" }), x("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p($) || p(H) ? (a(), _("div", {
1189
+ }))])) : !p(Q) && !p(V) ? (a(), _("div", rn, [x("div", an, [E(de, { class: "w-12 h-12 text-muted" }), x("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p(Q) || p(V) ? (a(), _("div", {
1187
1190
  key: 2,
1188
1191
  class: c(["w-full h-full", { "p-2 pb-0": !p(O) }])
1189
- }, [(a(), d(Ae, {
1192
+ }, [(a(), d(je, {
1190
1193
  ref_key: "viewDndRef",
1191
- ref: z,
1192
- key: p(N).camview.viewid + (p(H) ? "-new" : p(V) ? "-edit" : "-view"),
1193
- cameras: p(F)?.result || [],
1194
- "edit-mode": p(H) || p(V),
1195
- "rearrange-mode": p(U),
1196
- "view-size": p(H) ? p(B).viewSize : p(At),
1197
- title: p(B).name,
1198
- cards: p(X),
1194
+ ref: R,
1195
+ key: p(N).camview.viewid + (p(V) ? "-new" : p(B) ? "-edit" : "-view"),
1196
+ cameras: p(I)?.result || [],
1197
+ "edit-mode": p(V) || p(B),
1198
+ "rearrange-mode": p(H),
1199
+ "view-size": p(V) ? p(z).viewSize : p(At),
1200
+ title: p(z).name,
1201
+ cards: p(Y),
1199
1202
  "camera-card-props": p(yt),
1200
- "camera-card-models": p(ut),
1203
+ "camera-card-models": p(dt),
1201
1204
  onDrop: Lt,
1202
1205
  onRemove: Rt,
1203
1206
  onChangeViewSize: n[9] ||= (e) => Nt("editView"),
1204
1207
  onExpand: Vt,
1208
+ onFullscreen: Ht,
1205
1209
  onRearrange: Bt
1206
1210
  }, null, 8, [
1207
1211
  "cameras",
@@ -1214,21 +1218,21 @@ var gt = u({
1214
1218
  "camera-card-models"
1215
1219
  ]))], 2)) : f("", !0)], 6), E(e, {
1216
1220
  name: p(k) ? "slide-left" : "slide-up",
1217
- onBeforeEnter: n[10] ||= (e) => G.value = !0,
1221
+ onBeforeEnter: n[10] ||= (e) => W.value = !0,
1218
1222
  onAfterEnter: n[11] ||= (e) => rt.value = !1,
1219
- onBeforeLeave: n[12] ||= (e) => G.value = !1
1223
+ onBeforeLeave: n[12] ||= (e) => W.value = !1
1220
1224
  }, {
1221
- default: h(() => [p(W) ? (a(), d(p(fe), {
1225
+ default: h(() => [p(U) && !p(ut) ? (a(), d(p(se), {
1222
1226
  key: 0,
1223
- "camera-ids": p(Et),
1224
- "event-camera-ids": p(Tt),
1227
+ "camera-ids": p(Tt),
1228
+ "event-camera-ids": p($),
1225
1229
  "camera-names": p(Dt),
1226
1230
  "initial-timestamp": p(kt),
1227
- onEventSelect: Ht,
1231
+ onEventSelect: Ut,
1228
1232
  loading: p(rt),
1229
1233
  type: p(k) ? "vertical" : "horizontal",
1230
1234
  "dark-mode": "",
1231
- "md-breakpoint": p(se),
1235
+ "md-breakpoint": p(oe),
1232
1236
  class: c(["shrink-0 transition-[left] duration-200", {
1233
1237
  "h-full w-[400px] pt-2 pr-2": p(k),
1234
1238
  "h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !p(k),
@@ -1239,10 +1243,10 @@ var gt = u({
1239
1243
  "!rounded-none border-l-0! border-r-0!": p(O)
1240
1244
  },
1241
1245
  style: v(p(k) ? void 0 : {
1242
- left: `${p(mt)}px`,
1243
- bottom: `calc(${p(ne)}px + var(--safe-area-inset-bottom))`
1246
+ left: `${p(ht)}px`,
1247
+ bottom: `calc(${p(ee)}px + var(--safe-area-inset-bottom))`
1244
1248
  }),
1245
- "locale-settings": p(ht)
1249
+ "locale-settings": p(C)
1246
1250
  }, null, 8, [
1247
1251
  "camera-ids",
1248
1252
  "event-camera-ids",
@@ -1258,7 +1262,7 @@ var gt = u({
1258
1262
  ])) : f("", !0)]),
1259
1263
  _: 1
1260
1264
  }, 8, ["name"])], 6),
1261
- !p(Q) && p($) ? (a(), d(A, {
1265
+ !p(Z) && p(Q) ? (a(), d(j, {
1262
1266
  key: 0,
1263
1267
  model: p(wt),
1264
1268
  direction: "up",
@@ -1270,16 +1274,16 @@ var gt = u({
1270
1274
  class: "absolute right-2 z-11 dark-mode",
1271
1275
  pt: { root: { style: "pointer-events: none" } },
1272
1276
  style: v({
1273
- bottom: p(k) ? "0" : `calc(${p(G) ? 192 : 0}px + ${p(ne) > 0 ? "0.5rem" : "0px"})`,
1274
- right: p(k) ? `calc(${p(G) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1277
+ bottom: p(k) ? "0" : `calc(${p(W) ? 192 : 0}px + ${p(ee) > 0 ? "0.5rem" : "0px"})`,
1278
+ right: p(k) ? `calc(${p(W) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1275
1279
  transition: "bottom 0.25s ease-out, right 0.25s ease-out"
1276
1280
  })
1277
1281
  }, {
1278
- button: h(({ visible: e, toggleCallback: t }) => [E(le, {
1282
+ button: h(({ visible: e, toggleCallback: t }) => [E(A, {
1279
1283
  severity: "secondary",
1280
1284
  class: c(["dark-mode opacity-40 hover:opacity-100 active:opacity-100 focus:opacity-100 transition pointer-events-auto", { "opacity-100": e }]),
1281
1285
  rounded: "",
1282
- loading: p(Z),
1286
+ loading: p(X),
1283
1287
  onClick: t
1284
1288
  }, {
1285
1289
  icon: h(() => [x("div", sn, [
@@ -1293,8 +1297,8 @@ var gt = u({
1293
1297
  "loading",
1294
1298
  "onClick"
1295
1299
  ])]),
1296
- item: h(({ item: e, toggleCallback: t }) => [S((a(), d(le, s({
1297
- loading: p(Z),
1300
+ item: h(({ item: e, toggleCallback: t }) => [S((a(), d(A, s({
1301
+ loading: p(X),
1298
1302
  severity: "secondary"
1299
1303
  }, e.buttonProps, {
1300
1304
  rounded: "",
@@ -1305,27 +1309,27 @@ var gt = u({
1305
1309
  }, 1040, ["loading", "onClick"])), [[M, { value: e.label }]])]),
1306
1310
  _: 1
1307
1311
  }, 8, ["model", "style"])) : f("", !0),
1308
- E(j, {
1312
+ E(fe, {
1309
1313
  ref_key: "menuRef",
1310
1314
  ref: Ye,
1311
1315
  items: p(jt),
1312
1316
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1313
1317
  }, null, 8, ["items"]),
1314
- E(j, {
1318
+ E(fe, {
1315
1319
  ref_key: "cardFitMenuRef",
1316
1320
  ref: Qe,
1317
1321
  items: p(vt),
1318
1322
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1319
1323
  }, null, 8, ["items"]),
1320
- E(j, {
1324
+ E(fe, {
1321
1325
  ref_key: "newViewMenuRef",
1322
- ref: Ze,
1326
+ ref: Xe,
1323
1327
  items: p(Mt),
1324
1328
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1325
1329
  }, null, 8, ["items"])
1326
1330
  ]);
1327
1331
  };
1328
1332
  }
1329
- }), [["__scopeId", "data-v-6918f9d7"]]);
1333
+ }), [["__scopeId", "data-v-fef4f94c"]]);
1330
1334
  //#endregion
1331
1335
  export { cn as default };