@camera.ui/server 2.2.5 → 2.2.7

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 (436) hide show
  1. package/dist/interface/assets/{404-CiOxoqnT.js → 404-C8EoOtBl.js} +1 -1
  2. package/dist/interface/assets/{About-DWOlfWEm.js → About-Q7ZmOGgl.js} +1 -1
  3. package/dist/interface/assets/{Assistant-CXx7EY1W.css → Assistant-BQ6Ld-bt.css} +1 -1
  4. package/dist/interface/assets/Assistant-DFLgklVe.js +1 -0
  5. package/dist/interface/assets/{Automation-BJgwUkUB.js → Automation-D__qvx8c.js} +3 -3
  6. package/dist/interface/assets/{AutomationImport-9GRAndAt.js → AutomationImport-CLQSdqg9.js} +2 -2
  7. package/dist/interface/assets/{AutomationStore-D_HR2Xby.js → AutomationStore-Dt6yTQDb.js} +2 -2
  8. package/dist/interface/assets/{AutomationStoreDetail-B9MxV2py.js → AutomationStoreDetail-DqBrBhUI.js} +2 -2
  9. package/dist/interface/assets/Automations-BH_7lYR7.js +2 -0
  10. package/dist/interface/assets/Camera-BW9ikKqh.css +1 -0
  11. package/dist/interface/assets/Camera-aquPHFwb.js +2 -0
  12. package/dist/interface/assets/{CameraConsole-BKPTLSTO.js → CameraConsole-rhle_cfW.js} +1 -1
  13. package/dist/interface/assets/{Cameras-DcrVCgLy.js → Cameras-Bzy3P0xN.js} +2 -2
  14. package/dist/interface/assets/{Camview-DasO326h.css → Camview-Bri_T7Tq.css} +1 -1
  15. package/dist/interface/assets/Camview-CjcQbtTl.js +1 -0
  16. package/dist/interface/assets/{CertificateUpload-BYFKZCP9.js → CertificateUpload-CWVu_52v.js} +1 -1
  17. package/dist/interface/assets/Config-Dc1zKIPq.js +2 -0
  18. package/dist/interface/assets/{ConfigActionAssistant-DM4tIhoa.js → ConfigActionAssistant-AfQfSqHZ.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionCameraControl-Deo0eDPS.js → ConfigActionCameraControl-BKQdHxqe.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionDelay-_EqbfWgo.js → ConfigActionDelay-B52HeJGb.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionHttp-BxJmoshF.js → ConfigActionHttp-BP5gvpQc.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionImageInput-KrzXFQDm.js → ConfigActionImageInput-DE2mSost.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionMqtt-BoYBomRC.js → ConfigActionMqtt-CYgnZjAE.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionNotification-CSAOijDt.js → ConfigActionNotification-C3q53I4n.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionNotificationControl-BOdyKiOs.js → ConfigActionNotificationControl-eDJ8r5ao.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionOutput-CwsPcnd_.js → ConfigActionOutput-DgYSYvy-.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionPlugin-D3wyULpp.js → ConfigActionPlugin-utolgAXk.js} +1 -1
  28. package/dist/interface/assets/{ConfigActionSensor-BmeaIxYY.js → ConfigActionSensor-CmEKQPqs.js} +1 -1
  29. package/dist/interface/assets/{ConfigActionSnapshot-DbyFKcYr.js → ConfigActionSnapshot-D7XucxVV.js} +1 -1
  30. package/dist/interface/assets/{ConfigActionVariable-cThGJ1Pc.js → ConfigActionVariable-C-Mjm3gr.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionIfElse-BugkJeXR.js → ConfigConditionIfElse-B24Rqb8y.js} +1 -1
  32. package/dist/interface/assets/{ConfigConditionSensorState-Bf-mMf4E.js → ConfigConditionSensorState-42-yFDmK.js} +1 -1
  33. package/dist/interface/assets/{ConfigConditionSwitch-DcpFoYET.js → ConfigConditionSwitch-DezH_nwm.js} +1 -1
  34. package/dist/interface/assets/{ConfigConditionTime-CM4bSMyU.js → ConfigConditionTime-Cg2Lwznd.js} +1 -1
  35. package/dist/interface/assets/{ConfigSensorValueInput-CgAI34__.js → ConfigSensorValueInput-YHBDCTZm.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerDetection-BWK6gfwM.js → ConfigTriggerDetection-DxEpodjG.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerGeofence-Cm3CU7Tl.js → ConfigTriggerGeofence-Bye8syxc.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerManual-DgkR-GWy.js → ConfigTriggerManual-s_lEDTV9.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerMqtt-BMFjTAso.js → ConfigTriggerMqtt-DqdZj7TU.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerSchedule-E_QWfNKy.js → ConfigTriggerSchedule-Q559hn6g.js} +1 -1
  41. package/dist/interface/assets/{ConfigTriggerSensor-DOdJkZRo.js → ConfigTriggerSensor-DIKkdbTF.js} +1 -1
  42. package/dist/interface/assets/{ConfigTriggerSystem-BFDIbZsE.js → ConfigTriggerSystem-CwNZ4xEg.js} +1 -1
  43. package/dist/interface/assets/{ConfigTriggerWebhook-DDoUEVHb.js → ConfigTriggerWebhook-9ZC6X4mK.js} +1 -1
  44. package/dist/interface/assets/Console-BqIDZ5vq.js +1 -0
  45. package/dist/interface/assets/CuiAssistantConversation-BmBhwrNh.css +1 -0
  46. package/dist/interface/assets/CuiAssistantConversation-CM7KdaX2.js +5 -0
  47. package/dist/interface/assets/CuiAutomationRunsDialog-CVjCLiVW.js +1 -0
  48. package/dist/interface/assets/CuiBottomSheet-CFohFiO2.js +1 -0
  49. package/dist/interface/assets/{CuiBottomSheet-FwsPnJ3n.js → CuiBottomSheet-D75L0Zny.js} +1 -1
  50. package/dist/interface/assets/CuiCameraPipCard-eiJjYZ5W.js +1 -0
  51. package/dist/interface/assets/CuiCameraRecordings-DdEWkJrO.js +1 -0
  52. package/dist/interface/assets/{CuiCameraShares-CSFwIYsg.js → CuiCameraShares-8mtgFsQ_.js} +1 -1
  53. package/dist/interface/assets/{CuiCameraTable-DBRfGX3I.js → CuiCameraTable-CmCT-XQF.js} +2 -2
  54. package/dist/interface/assets/CuiCameraTable-DHrKoD9s.js +1 -0
  55. package/dist/interface/assets/CuiChartTable-DCr_AsSw.css +1 -0
  56. package/dist/interface/assets/CuiChartTable-v8sGY6PD.js +1 -0
  57. package/dist/interface/assets/{CuiConsole-DQbAafiz.js → CuiConsole-DYV-FUE0.js} +2 -2
  58. package/dist/interface/assets/{CuiDataTable-JlD7Agky.js → CuiDataTable-C0gsYYpg.js} +1 -1
  59. package/dist/interface/assets/CuiLightControl-CFIwBj3C.js +1 -0
  60. package/dist/interface/assets/{CuiList-Dsu5m0TA.js → CuiList-9TVV8SB6.js} +1 -1
  61. package/dist/interface/assets/CuiPluginCard-DEfqwUhQ.js +2 -0
  62. package/dist/interface/assets/{CuiPluginCategoryChip-B2bR5LQa.js → CuiPluginCategoryChip-DhnIBJHa.js} +1 -1
  63. package/dist/interface/assets/{CuiPluginOAuthButton-DfEjfcY-.js → CuiPluginOAuthButton-DAuzNRAA.js} +2 -2
  64. package/dist/interface/assets/{CuiPluginTrustBadge-C6CW6Soh.js → CuiPluginTrustBadge-Bz710WwC.js} +1 -1
  65. package/dist/interface/assets/{CuiQRCode-DGKBhDib.js → CuiQRCode-B8-4GHSY.js} +1 -1
  66. package/dist/interface/assets/{CuiSchema-pAAVh28m.js → CuiSchema-C_CHuKuf.js} +1 -1
  67. package/dist/interface/assets/{CuiTopNavbarItem-ve-3Dsc3.js → CuiTopNavbarItem-CNEnOPSh.js} +1 -1
  68. package/dist/interface/assets/Faces-DRHMrrxh.js +1 -0
  69. package/dist/interface/assets/FirstSteps-Ci2Iqbe2.js +1 -0
  70. package/dist/interface/assets/Floorplan-CqWIbDbh.js +1 -0
  71. package/dist/interface/assets/Instances-gzKFKB1l.js +1 -0
  72. package/dist/interface/assets/{Logs-BhRactvQ.js → Logs-DL1yw_Pe.js} +2 -2
  73. package/dist/interface/assets/{Menu-DMCmUVDs.js → Menu-C0GQ63aj.js} +1 -1
  74. package/dist/interface/assets/Metrics-BYnnb7M0.js +12 -0
  75. package/dist/interface/assets/Metrics-DsHBab6t.css +1 -0
  76. package/dist/interface/assets/{OAuthDeviceFlow-BMEwVkIa.js → OAuthDeviceFlow-Zd6r9IHU.js} +1 -1
  77. package/dist/interface/assets/Plugin-DJIrYUnZ.js +1 -0
  78. package/dist/interface/assets/{PluginConsole-C4Ba_U_1.js → PluginConsole-ag0jPZQ_.js} +1 -1
  79. package/dist/interface/assets/{PluginDetail-13OWIzdd.js → PluginDetail-DmElwUuV.js} +2 -2
  80. package/dist/interface/assets/{PluginSchema-DN0cSU8s.js → PluginSchema-CxUujnVs.js} +1 -1
  81. package/dist/interface/assets/PluginSearch-B-2zH2Xy.js +1 -0
  82. package/dist/interface/assets/PluginSearch-BqzngVRL.js +2 -0
  83. package/dist/interface/assets/{PluginUpdateProgress-CeWuRp3Z.js → PluginUpdateProgress-CFut0RAe.js} +1 -1
  84. package/dist/interface/assets/Plugins-ZFcB_j6v.js +1 -0
  85. package/dist/interface/assets/{RecentEventsFilter-Kp_lTOuG.js → RecentEventsFilter-CqeHhECT.js} +1 -1
  86. package/dist/interface/assets/Recordings-BEKAn6QK.css +1 -0
  87. package/dist/interface/assets/Recordings-BJrtW9eG.js +1 -0
  88. package/dist/interface/assets/SensorEdit-Bi0gg-CL.js +1 -0
  89. package/dist/interface/assets/{SensorHistory-ClAcOgHj.js → SensorHistory-q0UR3qMG.js} +1 -1
  90. package/dist/interface/assets/Sensors-C_InhcHA.js +2 -0
  91. package/dist/interface/assets/Settings-Cv38rGWn.js +1 -0
  92. package/dist/interface/assets/SettingsAccount-B05739dn.js +1 -0
  93. package/dist/interface/assets/SettingsAccount-gm28wtbl.js +1 -0
  94. package/dist/interface/assets/{SettingsAppearance-CJt4xJEW.js → SettingsAppearance-DdyYUgmV.js} +1 -1
  95. package/dist/interface/assets/SettingsAppearance-DwUknDPV.js +1 -0
  96. package/dist/interface/assets/SettingsAssistant-B0PF3Rdg.css +1 -0
  97. package/dist/interface/assets/SettingsAssistant-ChHfkUKk.js +1 -0
  98. package/dist/interface/assets/{SettingsBackup-DIJmci05.js → SettingsBackup-DKwlPQhD.js} +1 -1
  99. package/dist/interface/assets/{SettingsList-Cb_dLy5T.js → SettingsList-D6hqnvUo.js} +1 -1
  100. package/dist/interface/assets/SettingsMqtt-C01fgLY0.js +1 -0
  101. package/dist/interface/assets/SettingsNotifications-D47cIquQ.js +1 -0
  102. package/dist/interface/assets/{SettingsPermissions-CJiz0Z7B.js → SettingsPermissions-BeTCTrAf.js} +1 -1
  103. package/dist/interface/assets/{SettingsRecordings-BEpwMh-y.js → SettingsRecordings-mwL6Dalr.js} +1 -1
  104. package/dist/interface/assets/SettingsRemote-MhaShPIf.js +2 -0
  105. package/dist/interface/assets/{SettingsSystem-Cncdpx8T.js → SettingsSystem-BXnzXgqm.js} +2 -2
  106. package/dist/interface/assets/{SettingsUsers-DZkz8WlI.js → SettingsUsers-D2mVlJin.js} +1 -1
  107. package/dist/interface/assets/Terminal-C1UoXDRK.js +4 -0
  108. package/dist/interface/assets/Training-A5ynOv_l.js +1 -0
  109. package/dist/interface/assets/{Training-Bkn52mPJ.css → Training-C-ToeAl4.css} +1 -1
  110. package/dist/interface/assets/{Updates-cCvbFq3w.js → Updates-kS_Tm8HD.js} +1 -1
  111. package/dist/interface/assets/{VariableInput-PVsqGYW0.js → VariableInput-D9PfI8Ut.js} +1 -1
  112. package/dist/interface/assets/{VariableSuggestions-DwLtlzVz.js → VariableSuggestions-DArWzQuE.js} +1 -1
  113. package/dist/interface/assets/{VersionsHandler-Df7dhddp.js → VersionsHandler-BZVMpB2v.js} +1 -1
  114. package/dist/interface/assets/{VirtualSensorCreate-FTKANjd-.js → VirtualSensorCreate-Cz-QFo4R.js} +1 -1
  115. package/dist/interface/assets/Workers-2sc4VMi9.js +2 -0
  116. package/dist/interface/assets/api-CGfJbsTz.css +2 -0
  117. package/dist/interface/assets/{api-DpqXhwcx.js → api-CzwdnGAH.js} +1 -1
  118. package/dist/interface/assets/api-DOpXVpef.js +4 -0
  119. package/dist/interface/assets/{assistant-Lz3mFLDo.js → assistant-hGCAgv-f.js} +1 -1
  120. package/dist/interface/assets/{auth-L7_5vsJs.js → auth-By-S-WEr.js} +1 -1
  121. package/dist/interface/assets/{automations-D1XFFSrm.js → automations-vwIwb2PQ.js} +1 -1
  122. package/dist/interface/assets/{cameraSources-DEGJDtmK.js → cameraSources-BMhXvtFt.js} +1 -1
  123. package/dist/interface/assets/cloudHandoff-BnzjCpJ2.js +1 -0
  124. package/dist/interface/assets/{config-CVqy37fG.js → config-BQxEwrK6.js} +1 -1
  125. package/dist/interface/assets/esm-Bn9gXwX4.js +1 -0
  126. package/dist/interface/assets/esm-BzM6y2-F.js +1 -0
  127. package/dist/interface/assets/esm-CP3JWrtj.js +1 -0
  128. package/dist/interface/assets/esm-CjAXkqCf.js +1 -0
  129. package/dist/interface/assets/esm-Cqxk-j1S.js +1 -0
  130. package/dist/interface/assets/esm-DFHd3JNU.js +1 -0
  131. package/dist/interface/assets/esm-DfMLJtug.js +1 -0
  132. package/dist/interface/assets/esm-DhDrpq7a.js +1 -0
  133. package/dist/interface/assets/esm-DvhM-SOd.js +1 -0
  134. package/dist/interface/assets/esm-G63bqygQ.js +1 -0
  135. package/dist/interface/assets/esm-Gn-Y59hU.js +1 -0
  136. package/dist/interface/assets/esm-KJSOz2vj.js +1 -0
  137. package/dist/interface/assets/esm-Ryfc94Tm.js +1 -0
  138. package/dist/interface/assets/esm-rSfI5Poy.js +1 -0
  139. package/dist/interface/assets/{flowSchema-CppNBDy1.js → flowSchema-BPq6iHks.js} +1 -1
  140. package/dist/interface/assets/{intercomService-CjoJaOZ7.js → intercomService-CXcjcPa9.js} +1 -1
  141. package/dist/interface/assets/main-By4L33Im.js +3 -0
  142. package/dist/interface/assets/{main-Bo0Lb1y2.css → main-DVa5U7UB.css} +1 -1
  143. package/dist/interface/assets/mqtt-DE1KQ8Td.js +1 -0
  144. package/dist/interface/assets/native-CZJE8bTs.js +1 -0
  145. package/dist/interface/assets/native-DKZwialB.js +1 -0
  146. package/dist/interface/assets/{notifications-By40oPng.js → notifications-BCyiD-TP.js} +1 -1
  147. package/dist/interface/assets/plugin-DSEMkqaK.js +1 -0
  148. package/dist/interface/assets/{plugins-09rEDbMz.js → plugins-BJPCV1YL.js} +1 -1
  149. package/dist/interface/assets/rooms-Dr4yiakO.js +1 -0
  150. package/dist/interface/assets/{sensorIcons-Csu5s0uk.js → sensorIcons-DofElQ3w.js} +1 -1
  151. package/dist/interface/assets/{sensorSlots-CtbKmsGG.js → sensorSlots-D2KJGvPw.js} +1 -1
  152. package/dist/interface/assets/{sensors-CbzNs18A.js → sensors-3llrL7s3.js} +1 -1
  153. package/dist/interface/assets/server-Dw5DD473.js +1 -0
  154. package/dist/interface/assets/{theme-GhzGwpqd.js → theme-C85LJhOY.js} +1 -1
  155. package/dist/interface/assets/{types-CklFkUXk.js → types-CPhy0Ovw.js} +1 -1
  156. package/dist/interface/assets/{types-D8QWPhe-.js → types-DYKmSGl4.js} +1 -1
  157. package/dist/interface/assets/types-i1kTodPP.js +1 -0
  158. package/dist/interface/assets/ungrouped-BlheTJCh.css +1 -0
  159. package/dist/interface/assets/ungrouped-C2CWO39a.js +1 -0
  160. package/dist/interface/assets/{updates-CGo0T4sn.js → updates-C2LhMkNR.js} +1 -1
  161. package/dist/interface/assets/{useAppVersion-CJlexqyz.js → useAppVersion-DkazK9Vu.js} +1 -1
  162. package/dist/interface/assets/{useAssistantActions-Cc_O6M9_.js → useAssistantActions-BZP6NL18.js} +1 -1
  163. package/dist/interface/assets/useBackupRestore-DMQW_CVC.js +1 -0
  164. package/dist/interface/assets/{useCameraOptions-CFISVNgk.js → useCameraOptions-DnI0xLrX.js} +1 -1
  165. package/dist/interface/assets/useKeyboardInset-Cr7SxKGN.js +1 -0
  166. package/dist/interface/assets/{useLogsSocket-D-ndWAg0.js → useLogsSocket-C3Y8S0Ar.js} +1 -1
  167. package/dist/interface/assets/{useNavLayout-CG0X_3kt.js → useNavLayout-C9pcDuVP.js} +1 -1
  168. package/dist/interface/assets/{usePermissions-BXTw4tII.js → usePermissions-CCTxwXF0.js} +1 -1
  169. package/dist/interface/assets/{usePluginUpdates-nW_dt66E.js → usePluginUpdates-DBhLWAua.js} +1 -1
  170. package/dist/interface/assets/{usePushRegistration-DCqOAxR4.js → usePushRegistration-CPRVdLAx.js} +2 -2
  171. package/dist/interface/assets/{useServerRestart-CxJGxAcU.js → useServerRestart-bScBLJ9r.js} +1 -1
  172. package/dist/interface/assets/{useStreamStatus-CXb1HbAq.js → useStreamStatus-Bfh-WmLH.js} +1 -1
  173. package/dist/interface/assets/{useTabSwipe-DHb8__wU.js → useTabSwipe-C_QOrvSW.js} +1 -1
  174. package/dist/interface/assets/{useUpdateChannel-BR4PMh1R.js → useUpdateChannel-g0h_4c55.js} +1 -1
  175. package/dist/interface/assets/{useUpdatesSocket-DKDRZhvc.js → useUpdatesSocket-CxrLRETs.js} +1 -1
  176. package/dist/interface/assets/{useUserOptions-lyc4WJ4L.js → useUserOptions-DN0t3gBr.js} +1 -1
  177. package/dist/interface/assets/vendor-cameraui-B28aGJJD.js +2326 -0
  178. package/dist/interface/assets/{vendor-capacitor-f9ShAzys.js → vendor-capacitor-Bs_WzL0Q.js} +2 -2
  179. package/dist/interface/assets/{vendor-core-B-Q4es-f.js → vendor-core-DIa0tPNH.js} +1 -1
  180. package/dist/interface/assets/{vendor-primevue-Cmp3VjIC.js → vendor-primevue-CZKUAkMA.js} +77 -77
  181. package/dist/interface/assets/web-BDNQnMmA.js +1 -0
  182. package/dist/interface/assets/web-BhJykCtq.js +1 -0
  183. package/dist/interface/assets/web-BjKL51lK-wWFeZlLg.js +1 -0
  184. package/dist/interface/assets/web-C7nJwIOa.js +1 -0
  185. package/dist/interface/assets/web-CGJsJQDb.js +1 -0
  186. package/dist/interface/assets/web-CJwASxrl.js +1 -0
  187. package/dist/interface/assets/web-CLe0L31Y.js +1 -0
  188. package/dist/interface/assets/web-DEv1hAn1.js +1 -0
  189. package/dist/interface/assets/web-DaeQvsXT.js +1 -0
  190. package/dist/interface/assets/web-H3-wNunW.js +1 -0
  191. package/dist/interface/assets/web-LCdyqJq1.js +1 -0
  192. package/dist/interface/assets/web-XZWYTK65.js +1 -0
  193. package/dist/interface/assets/web-rU5hlxxW.js +1 -0
  194. package/dist/interface/ha/{404-B2T8Gktj.js → 404-tl2VQ3qy.js} +1 -1
  195. package/dist/interface/ha/{About-CrTKzU9_.js → About-Cn7KOblU.js} +3 -3
  196. package/dist/interface/ha/{Assistant-BDHJmYx_.js → Assistant-DG2GGda0.js} +2281 -2128
  197. package/dist/interface/ha/{Automation-Czo5EsAg.js → Automation-D0_WpXx4.js} +170 -170
  198. package/dist/interface/ha/{AutomationImport-CuFAQbiX.js → AutomationImport-DdC3dEaC.js} +6 -6
  199. package/dist/interface/ha/{AutomationStore-D-6x0JIt.js → AutomationStore-BrLn4oBx.js} +73 -73
  200. package/dist/interface/ha/{AutomationStoreDetail-Dad4q1MN.js → AutomationStoreDetail-DoppNsNc.js} +6 -6
  201. package/dist/interface/ha/{Automations-C-oGM5SR.js → Automations-BaUJ9pVq.js} +70 -70
  202. package/dist/interface/ha/Camera-Cj5ImvZG.js +657 -0
  203. package/dist/interface/ha/{CameraConsole-hRGwbjsD.js → CameraConsole-7MhlS2VK.js} +3 -3
  204. package/dist/interface/ha/{Cameras-Bk5TFXA8.js → Cameras-vHYz8uSO.js} +182 -182
  205. package/dist/interface/ha/{Camview-CsKKqxxY.js → Camview-BEglAx26.js} +361 -361
  206. package/dist/interface/ha/{Config-Vl4-K3A_.js → Config-CHiK--zP.js} +110 -110
  207. package/dist/interface/ha/{ConfigActionAssistant-OWUX8glZ.js → ConfigActionAssistant-DynduZYV.js} +4 -4
  208. package/dist/interface/ha/{ConfigActionCameraControl-DEaOot8w.js → ConfigActionCameraControl-BEYePssz.js} +3 -3
  209. package/dist/interface/ha/{ConfigActionHttp-CSr2BpKL.js → ConfigActionHttp-h0vRWqZ5.js} +2 -2
  210. package/dist/interface/ha/{ConfigActionImageInput--O8Tyca-.js → ConfigActionImageInput-B9GMZYAR.js} +1 -1
  211. package/dist/interface/ha/{ConfigActionMqtt-DQJ4-gs2.js → ConfigActionMqtt-BEQpHBgf.js} +4 -4
  212. package/dist/interface/ha/{ConfigActionNotification-wR8CCA_T.js → ConfigActionNotification-BYsz8_aS.js} +3 -3
  213. package/dist/interface/ha/{ConfigActionNotificationControl-DNMrHwPz.js → ConfigActionNotificationControl-BxmIWVE8.js} +2 -2
  214. package/dist/interface/ha/{ConfigActionOutput-C-LVFxFP.js → ConfigActionOutput-DTOQSa1S.js} +1 -1
  215. package/dist/interface/ha/{ConfigActionPlugin-BCREAkNo.js → ConfigActionPlugin-NOsUs3QI.js} +5 -5
  216. package/dist/interface/ha/{ConfigActionSensor-D48CQ6qR.js → ConfigActionSensor-YWnsH_LV.js} +5 -5
  217. package/dist/interface/ha/{ConfigActionSnapshot-DpDy88Mg.js → ConfigActionSnapshot-DHJnTvin.js} +2 -2
  218. package/dist/interface/ha/{ConfigActionVariable-D9BxmwvB.js → ConfigActionVariable-C7UFnvW0.js} +1 -1
  219. package/dist/interface/ha/{ConfigConditionIfElse-CW42tQFY.js → ConfigConditionIfElse-CAHbuhH3.js} +3 -3
  220. package/dist/interface/ha/{ConfigConditionSensorState-BZpij7kB.js → ConfigConditionSensorState-CE6okUeb.js} +4 -4
  221. package/dist/interface/ha/{ConfigConditionSwitch-DlTuJ9Sf.js → ConfigConditionSwitch-D5FULaTy.js} +5 -5
  222. package/dist/interface/ha/{ConfigSensorValueInput-2QLHESlE.js → ConfigSensorValueInput-mo6Gs_aZ.js} +8 -8
  223. package/dist/interface/ha/{ConfigTriggerDetection-DPmUkmUJ.js → ConfigTriggerDetection-Bt-OhHtM.js} +2 -2
  224. package/dist/interface/ha/{ConfigTriggerGeofence--T9OXhGl.js → ConfigTriggerGeofence-Cw3jV5qD.js} +5 -5
  225. package/dist/interface/ha/{ConfigTriggerMqtt-fZn_X6yY.js → ConfigTriggerMqtt-BXeV82UG.js} +1 -1
  226. package/dist/interface/ha/{ConfigTriggerSensor-_3O6iBFX.js → ConfigTriggerSensor-Baqq--nJ.js} +1 -1
  227. package/dist/interface/ha/{ConfigTriggerSystem-CC9lqi8Q.js → ConfigTriggerSystem-braUVGzW.js} +2 -2
  228. package/dist/interface/ha/{ConfigTriggerWebhook-BuBcgXqf.js → ConfigTriggerWebhook-Dm45r-1C.js} +2 -2
  229. package/dist/interface/ha/{Console-DNc49UEt.js → Console-q3TCsxYo.js} +4 -4
  230. package/dist/interface/ha/{CuiAutomationRunsDialog-Dj_iiZht.js → CuiAutomationRunsDialog-DO6h5Tc4.js} +2 -2
  231. package/dist/interface/ha/{CuiBottomSheet-DG7wOV7m.js → CuiBottomSheet-B7ldz0xi.js} +1 -1
  232. package/dist/interface/ha/{CuiCameraRecordings-BlOZTfQ4.js → CuiCameraRecordings-Dq1Vh3qA.js} +11 -11
  233. package/dist/interface/ha/{CuiCameraShares-BOn-mobi.js → CuiCameraShares-DBqcpevG.js} +6 -6
  234. package/dist/interface/ha/{CuiCameraTable-D50FLiK8.js → CuiCameraTable-kL8rK-Uv.js} +2 -2
  235. package/dist/interface/ha/{CuiChartTable-CfcVRvdZ.js → CuiChartTable-BrFyiSt_.js} +82 -67
  236. package/dist/interface/ha/{CuiConsole-UpN0Wihm.js → CuiConsole-DpeXZmJd.js} +1 -1
  237. package/dist/interface/ha/{CuiDataTable-CpADXKNF.js → CuiDataTable-BtqzIz0o.js} +2 -2
  238. package/dist/interface/ha/{CuiPluginCard-CT6ZfL9o.js → CuiPluginCard-lBLypaN4.js} +42 -42
  239. package/dist/interface/ha/{CuiPluginOAuthButton-BJVKd6Ac.js → CuiPluginOAuthButton-CuGauZJA.js} +3 -3
  240. package/dist/interface/ha/{CuiPluginTrustBadge-gb9GI24w.js → CuiPluginTrustBadge-BofBmRYc.js} +1 -1
  241. package/dist/interface/ha/{CuiQRCode-DqKDx9zR.js → CuiQRCode-CdK9bwKb.js} +2 -2
  242. package/dist/interface/ha/{CuiSchema-CHeJkx0k.js → CuiSchema-DqkCLv9Y.js} +152 -152
  243. package/dist/interface/ha/{CuiTopNavbarItem-CFeI6ZYU.js → CuiTopNavbarItem-C2VZB7WV.js} +1 -1
  244. package/dist/interface/ha/{Faces-CTfvhhCj.js → Faces-Crfi-75Z.js} +240 -240
  245. package/dist/interface/ha/{FirstSteps-C-WXJ8IL.js → FirstSteps-CKVG86pf.js} +30 -30
  246. package/dist/interface/ha/{Floorplan-CDKTYN7B.js → Floorplan-CH9_-6hk.js} +156 -156
  247. package/dist/interface/ha/{Instances-n23yvN3L.js → Instances-5gZdPPDA.js} +13 -13
  248. package/dist/interface/ha/{Logs-Dfm0BWOQ.js → Logs-BkzEM70F.js} +12 -12
  249. package/dist/interface/ha/{Menu-76kvdAEF.js → Menu-BuT3_Ggx.js} +15 -15
  250. package/dist/interface/ha/{Metrics-lnivlTWm.js → Metrics-BGrzu0bu.js} +401 -399
  251. package/dist/interface/ha/{OAuthDeviceFlow-4ChaymHu.js → OAuthDeviceFlow-BEJtegqy.js} +3 -3
  252. package/dist/interface/ha/{Plugin-BV8YA8aN.js → Plugin-Bnp2jiC2.js} +209 -209
  253. package/dist/interface/ha/{PluginConsole-csf1Km7f.js → PluginConsole-CmsuPVMz.js} +4 -4
  254. package/dist/interface/ha/{PluginDetail-DTff6cbA.js → PluginDetail-BCNx7vHr.js} +7 -7
  255. package/dist/interface/ha/{PluginSearch-CdjxmFPN.js → PluginSearch-DOdhuxgM.js} +96 -96
  256. package/dist/interface/ha/{PluginUpdateProgress-ClyF4pbA.js → PluginUpdateProgress-CwkKc8Tr.js} +3 -3
  257. package/dist/interface/ha/{Plugins-_xOrqP36.js → Plugins-BrFowCdC.js} +54 -54
  258. package/dist/interface/ha/{Recordings-dTZv0pkp.js → Recordings-BZhf39pJ.js} +332 -334
  259. package/dist/interface/ha/{SensorEdit-DDRkZjmm.js → SensorEdit-Ds6WbN4A.js} +377 -377
  260. package/dist/interface/ha/{SensorHistory-DSGlRITr.js → SensorHistory-CoTIYTJx.js} +2 -2
  261. package/dist/interface/ha/{Sensors-DjhGRUzM.js → Sensors-DZ2MKdlh.js} +103 -103
  262. package/dist/interface/ha/{Settings-DYuvz4de.js → Settings-D3JKr430.js} +10 -10
  263. package/dist/interface/ha/{SettingsAccount-DQAo8SnK.js → SettingsAccount-cvtlSKZw.js} +233 -233
  264. package/dist/interface/ha/{SettingsAppearance-_tbhpUA0.js → SettingsAppearance-CaKuOHRu.js} +7 -7
  265. package/dist/interface/ha/{SettingsAssistant-DSf-dYuD.js → SettingsAssistant-vWVjAUqQ.js} +666 -621
  266. package/dist/interface/ha/{SettingsBackup-wLOa7xtw.js → SettingsBackup-CvzL_bVf.js} +8 -8
  267. package/dist/interface/ha/{SettingsList-CYujivw5.js → SettingsList-C0Ec8x-H.js} +4 -4
  268. package/dist/interface/ha/{SettingsMqtt-DbxJ-h3J.js → SettingsMqtt-COnq-QM5.js} +180 -180
  269. package/dist/interface/ha/{SettingsNotifications-DO2-KJvq.js → SettingsNotifications-BZ68bQzO.js} +3 -3
  270. package/dist/interface/ha/{SettingsRecordings-C47i1UhI.js → SettingsRecordings-BPtNNpDa.js} +4 -4
  271. package/dist/interface/ha/{SettingsRemote-BPvb-KLI.js → SettingsRemote-BXG8IYjf.js} +54 -54
  272. package/dist/interface/ha/{SettingsSystem-BJPrv9JE.js → SettingsSystem-_jHBUhws.js} +9 -9
  273. package/dist/interface/ha/{SettingsUsers-CcpCz6Y1.js → SettingsUsers-CzGj_RJN.js} +25 -25
  274. package/dist/interface/ha/{Terminal-DT7-WNH1.js → Terminal-BP3b8IBP.js} +169 -174
  275. package/dist/interface/ha/{Training-CqGBf8k1.js → Training-C2-6DgY0.js} +224 -219
  276. package/dist/interface/ha/{Updates-CgdrqX6R.js → Updates-BMZsEhmy.js} +14 -14
  277. package/dist/interface/ha/{VariableInput-DOzSFgxT.js → VariableInput-DmI7skCD.js} +1 -1
  278. package/dist/interface/ha/{VersionsHandler-ItklhE2t.js → VersionsHandler-DJd4NqtD.js} +10 -10
  279. package/dist/interface/ha/{VirtualSensorCreate-DbS3VqHC.js → VirtualSensorCreate-DmtGYvAn.js} +7 -7
  280. package/dist/interface/ha/{Workers-6PU7yUv1.js → Workers-2HTPHgKV.js} +26 -26
  281. package/dist/interface/ha/{api-Dv3Lk_g5.js → api-BelbnLQO.js} +9595 -9370
  282. package/dist/interface/ha/{api-anWolhVj.js → api-sy4rqV2N.js} +1 -1
  283. package/dist/interface/ha/{assistant-B3m0Kgev.js → assistant-C6KYXJfi.js} +1 -1
  284. package/dist/interface/ha/{auth-CAkpM_7A.js → auth-Da66mVEd.js} +1 -1
  285. package/dist/interface/ha/{automationBlueprint-DwVvbKbw.js → automationBlueprint-hlqqM17r.js} +3 -3
  286. package/dist/interface/ha/{base-C-TYDHjS.js → base-XgWmQghV.js} +14 -3
  287. package/dist/interface/ha/cameraui-cards.js +1 -1
  288. package/dist/interface/ha/{cards-B0qagpBw.js → cards-BFRRfuM7.js} +1334 -1334
  289. package/dist/interface/ha/{config-C20itAPE.js → config-Cd7JNMpD.js} +1 -1
  290. package/dist/interface/ha/{dist-oFWkn6pD.js → dist-BybVYMVs.js} +19 -19
  291. package/dist/interface/ha/{esm-i8Tigknm.js → esm-C9XVFkXu.js} +4 -4
  292. package/dist/interface/ha/{mqtt-C6JvkA5E.js → mqtt-UZfptWJl.js} +1 -1
  293. package/dist/interface/ha/{native-DBH9ocSq.js → native-BVUxNLM1.js} +4 -4
  294. package/dist/interface/ha/{notifications-gLmNZxwZ.js → notifications-DTHM8fS-.js} +1 -1
  295. package/dist/interface/ha/{pinia-Du8AM917.js → pinia-BokSpDzj.js} +1 -0
  296. package/dist/interface/ha/{plugins-6x0kBuQb.js → plugins-Bwp_GfaX.js} +1 -1
  297. package/dist/interface/ha/{rooms-C-mLT6mX.js → rooms-BvaD0r0q.js} +1 -1
  298. package/dist/interface/ha/{server-DuikIt69.js → server-OWdtITVa.js} +2 -2
  299. package/dist/interface/ha/{types-C0NcQ4Cz.js → types-BFJjyMZe.js} +1 -1
  300. package/dist/interface/ha/{ungrouped-ooCH0Izh.js → ungrouped-x00DHNHO.js} +220 -197
  301. package/dist/interface/ha/{updates-H8MlOQLC.js → updates-C03Qf3Il.js} +6 -6
  302. package/dist/interface/ha/{useAppVersion-DAUCV_cn.js → useAppVersion-CrMd9CC9.js} +1 -1
  303. package/dist/interface/ha/useKeyboardInset-DwUQCWHC.js +27 -0
  304. package/dist/interface/ha/{useLogsSocket-BOLAXPuD.js → useLogsSocket-C6k217mW.js} +1 -1
  305. package/dist/interface/ha/{useNavLayout-B7VoHzM1.js → useNavLayout-DhuQE024.js} +2 -2
  306. package/dist/interface/ha/{useServerRestart-qSH0bqwY.js → useServerRestart-CYaen2r6.js} +1 -1
  307. package/dist/interface/ha/{useTabSwipe-DYzG_gVG.js → useTabSwipe-DAmCFlgg.js} +1 -1
  308. package/dist/interface/ha/{useUpdateChannel-CK7JiWbG.js → useUpdateChannel-Dr1EoU2X.js} +2 -2
  309. package/dist/interface/ha/{useUpdatesSocket-DrqkGMuR.js → useUpdatesSocket-C8Gmhemh.js} +1 -1
  310. package/dist/interface/ha/{useUserOptions-BteVUdaT.js → useUserOptions-BB5wk3Bq.js} +1 -1
  311. package/dist/interface/ha/{web-D_q41D0i.js → web-CLbVbnCW.js} +5 -5
  312. package/dist/interface/index.html +33 -33
  313. package/dist/interface/sw.js +1 -1
  314. package/dist/server/package.json +5 -5
  315. package/dist/server/requirements.txt +1 -1
  316. package/dist/server/src/api/controllers/api.controller.js +1 -1
  317. package/dist/server/src/api/controllers/api.controller.js.map +1 -1
  318. package/dist/server/src/api/controllers/rooms.controller.js +3 -1
  319. package/dist/server/src/api/controllers/rooms.controller.js.map +1 -1
  320. package/dist/server/src/api/database/types.d.ts +1 -0
  321. package/dist/server/src/api/schemas/assistant.schema.d.ts +2 -0
  322. package/dist/server/src/api/schemas/assistant.schema.js +1 -0
  323. package/dist/server/src/api/schemas/assistant.schema.js.map +1 -1
  324. package/dist/server/src/api/services/cameras.service.d.ts +1 -0
  325. package/dist/server/src/api/services/cameras.service.js +8 -0
  326. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  327. package/dist/server/src/api/websocket/nsp/notifications.d.ts +1 -0
  328. package/dist/server/src/api/websocket/nsp/notifications.js +7 -0
  329. package/dist/server/src/api/websocket/nsp/notifications.js.map +1 -1
  330. package/dist/server/src/assistant/automation-catalog.js +12 -2
  331. package/dist/server/src/assistant/automation-catalog.js.map +1 -1
  332. package/dist/server/src/assistant/manager.d.ts +1 -0
  333. package/dist/server/src/assistant/manager.js +1 -1
  334. package/dist/server/src/assistant/manager.js.map +1 -1
  335. package/dist/server/src/assistant/scheduler.js +8 -1
  336. package/dist/server/src/assistant/scheduler.js.map +1 -1
  337. package/dist/server/src/manager/notificationManager.d.ts +1 -0
  338. package/dist/server/src/manager/notificationManager.js +11 -0
  339. package/dist/server/src/manager/notificationManager.js.map +1 -1
  340. package/dist/server/src/plugins/index.js +5 -4
  341. package/dist/server/src/plugins/index.js.map +1 -1
  342. package/dist/server/src/services/config/index.d.ts +1 -0
  343. package/dist/server/src/services/config/index.js +12 -1
  344. package/dist/server/src/services/config/index.js.map +1 -1
  345. package/dist/server/src/utils/ipc.js +23 -17
  346. package/dist/server/src/utils/ipc.js.map +1 -1
  347. package/npm-shrinkwrap.json +14 -14
  348. package/package.json +5 -5
  349. package/dist/interface/assets/Assistant-B1xdMAkA.js +0 -1
  350. package/dist/interface/assets/Automations-Bpw8olkc.js +0 -2
  351. package/dist/interface/assets/Camera-B4ojNnKb.css +0 -1
  352. package/dist/interface/assets/Camera-BpFfZDaS.js +0 -2
  353. package/dist/interface/assets/Camview-C16pyCZk.js +0 -1
  354. package/dist/interface/assets/Config-BmEL5EaW.js +0 -2
  355. package/dist/interface/assets/Console-BIj7cIqO.js +0 -1
  356. package/dist/interface/assets/CuiAssistantConversation-CRNCKRHz.js +0 -5
  357. package/dist/interface/assets/CuiAssistantConversation-DQ0wOJvV.css +0 -1
  358. package/dist/interface/assets/CuiAutomationRunsDialog-DMUfNcsf.js +0 -1
  359. package/dist/interface/assets/CuiBottomSheet-CYi5c3fP.js +0 -1
  360. package/dist/interface/assets/CuiCameraPipCard-Cb_Qbly6.js +0 -1
  361. package/dist/interface/assets/CuiCameraRecordings-BeciatDY.js +0 -1
  362. package/dist/interface/assets/CuiCameraTable-BgL5FZso.js +0 -1
  363. package/dist/interface/assets/CuiChartTable-CtasoxMM.js +0 -1
  364. package/dist/interface/assets/CuiChartTable-DXY7rY3O.css +0 -1
  365. package/dist/interface/assets/CuiLightControl-CLYl5pfN.js +0 -1
  366. package/dist/interface/assets/CuiPluginCard-CC1oXY16.js +0 -2
  367. package/dist/interface/assets/Faces-1xd5yGuO.js +0 -1
  368. package/dist/interface/assets/FirstSteps-E9cMqa0a.js +0 -1
  369. package/dist/interface/assets/Floorplan-BovV_ATh.js +0 -1
  370. package/dist/interface/assets/Instances-BbxyB7vR.js +0 -1
  371. package/dist/interface/assets/Metrics-BgXrNl38.js +0 -12
  372. package/dist/interface/assets/Metrics-ChVnC6f6.css +0 -1
  373. package/dist/interface/assets/Plugin-CDNywaVE.js +0 -1
  374. package/dist/interface/assets/PluginSearch-sPkO8aH3.js +0 -2
  375. package/dist/interface/assets/PluginSearch-xNIlfXk4.js +0 -1
  376. package/dist/interface/assets/Plugins-C8yjhxnQ.js +0 -1
  377. package/dist/interface/assets/Recordings-BHT8Vvv_.js +0 -1
  378. package/dist/interface/assets/Recordings-DwuojaAw.css +0 -1
  379. package/dist/interface/assets/SensorEdit-C-yJdJuP.js +0 -1
  380. package/dist/interface/assets/Sensors-Cza4Et2c.js +0 -2
  381. package/dist/interface/assets/Settings-Cj0leoGd.js +0 -1
  382. package/dist/interface/assets/SettingsAccount-COkcBBSz.js +0 -1
  383. package/dist/interface/assets/SettingsAccount-DjrJdssy.js +0 -1
  384. package/dist/interface/assets/SettingsAppearance-D20YW7Vq.js +0 -1
  385. package/dist/interface/assets/SettingsAssistant-CDdbbG-c.css +0 -1
  386. package/dist/interface/assets/SettingsAssistant-DKWDp1AI.js +0 -1
  387. package/dist/interface/assets/SettingsMqtt-LIuCRPT5.js +0 -1
  388. package/dist/interface/assets/SettingsNotifications-CZxqqH_8.js +0 -1
  389. package/dist/interface/assets/SettingsRemote-DRt-N_yA.js +0 -2
  390. package/dist/interface/assets/Terminal-U4yfJN3O.js +0 -4
  391. package/dist/interface/assets/Training-DfgE_dA8.js +0 -1
  392. package/dist/interface/assets/Workers-Ba37_3cY.js +0 -2
  393. package/dist/interface/assets/api-C1mraOYr.js +0 -4
  394. package/dist/interface/assets/api-z8ZVnoOl.css +0 -2
  395. package/dist/interface/assets/cloudHandoff-DkUx4m3P.js +0 -1
  396. package/dist/interface/assets/esm-0kxqa_1s.js +0 -1
  397. package/dist/interface/assets/esm-4p_M5mFV.js +0 -1
  398. package/dist/interface/assets/esm-8G-vO1KQ.js +0 -1
  399. package/dist/interface/assets/esm-8cB56ICb.js +0 -1
  400. package/dist/interface/assets/esm-B92csSEb.js +0 -1
  401. package/dist/interface/assets/esm-BHiNTIiN.js +0 -1
  402. package/dist/interface/assets/esm-Bu9PMLmw.js +0 -1
  403. package/dist/interface/assets/esm-CS6Ra46d.js +0 -1
  404. package/dist/interface/assets/esm-CWvQWALL.js +0 -1
  405. package/dist/interface/assets/esm-D2UDrwmt.js +0 -1
  406. package/dist/interface/assets/esm-D8OHF2X1.js +0 -1
  407. package/dist/interface/assets/esm-DrXkS8eG.js +0 -1
  408. package/dist/interface/assets/esm-pfoHiO1a.js +0 -1
  409. package/dist/interface/assets/esm-tJSCF7Vh.js +0 -1
  410. package/dist/interface/assets/main-BK3kmiG2.js +0 -3
  411. package/dist/interface/assets/mqtt-BENV9Fx4.js +0 -1
  412. package/dist/interface/assets/native-BEkWOGyD.js +0 -1
  413. package/dist/interface/assets/native-ugMg173F.js +0 -1
  414. package/dist/interface/assets/plugin-eafNQWg2.js +0 -1
  415. package/dist/interface/assets/rooms-LBxn-Uuu.js +0 -1
  416. package/dist/interface/assets/server-Btp5KILd.js +0 -1
  417. package/dist/interface/assets/types-BAwhu9iv.js +0 -1
  418. package/dist/interface/assets/ungrouped-BMk56E3L.js +0 -1
  419. package/dist/interface/assets/ungrouped-BnQIcSQd.css +0 -1
  420. package/dist/interface/assets/useBackupRestore-_s8vS5WF.js +0 -1
  421. package/dist/interface/assets/useKeyboardInset-DkUn62i7.js +0 -1
  422. package/dist/interface/assets/vendor-cameraui-CK4yHsJi.js +0 -2326
  423. package/dist/interface/assets/web-3OOGlctS.js +0 -1
  424. package/dist/interface/assets/web-5NFVd9gs.js +0 -1
  425. package/dist/interface/assets/web-A4yovlXr.js +0 -1
  426. package/dist/interface/assets/web-BBC3YoWX.js +0 -1
  427. package/dist/interface/assets/web-BjKL51lK-DUIsII0n.js +0 -1
  428. package/dist/interface/assets/web-C2-YAfsx.js +0 -1
  429. package/dist/interface/assets/web-CUL_MhvM.js +0 -1
  430. package/dist/interface/assets/web-CZVCXYLV.js +0 -1
  431. package/dist/interface/assets/web-DJ-LUxlV.js +0 -1
  432. package/dist/interface/assets/web-DNsEGLGS.js +0 -1
  433. package/dist/interface/assets/web-DZsU0QT_.js +0 -1
  434. package/dist/interface/assets/web-MoyOTbiU.js +0 -1
  435. package/dist/interface/assets/web-avRH_3t7.js +0 -1
  436. package/dist/interface/ha/Camera-CerkQGbZ.js +0 -654
@@ -1,27 +1,27 @@
1
1
  import { m as e, p as t } from "./ripple-ZDATPc2w.js";
2
- import { A as n, B as r, D as i, Dt as a, G as o, H as s, Jt as c, M as l, N as u, Wt as d, Y as f, _t as p, d as m, f as h, ft as g, g as _, gt as ee, kt as v, l as y, lt as b, ot as x, p as S, qt as C, r as w, rt as T, u as E, ut as te, v as D, wt as O, x as k, xt as A, y as j, yt as M, z as N } from "./runtime-core.esm-bundler-_TfE0DWz.js";
3
- import { t as P } from "./tooltip-BDrlgLof.js";
4
- import { t as F } from "./tag-mchuCAPR.js";
5
- import { Ar as I, Er as L, J as R, Mn as z, Qr as B, Si as ne, Sn as V, St as re, Vr as ie, Xr as ae, Yt as oe, _t as se, en as ce, f as H, g as U, gr as W, hn as le, jn as ue, mn as de, nn as fe, pn as pe, si as me, tn as he, wr as ge, xn as _e } from "./api-Dv3Lk_g5.js";
2
+ import { A as n, B as r, D as i, Dt as a, G as o, H as s, Jt as c, M as l, N as u, Wt as d, Y as f, _t as p, d as m, f as h, ft as g, g as _, gt as ee, kt as v, l as y, lt as b, ot as x, p as S, qt as C, r as w, rt as T, u as E, ut as D, v as O, wt as k, x as A, xt as j, y as M, yt as N, z as P } from "./runtime-core.esm-bundler-_TfE0DWz.js";
3
+ import { t as F } from "./tooltip-BDrlgLof.js";
4
+ import { t as I } from "./tag-mchuCAPR.js";
5
+ import { $t as L, An as te, Ar as R, Er as z, Jt as B, Qr as V, Si as ne, Vr as re, Xr as ie, bn as ae, en as oe, f as se, fn as H, g as U, gr as W, gt as ce, jn as le, mn as ue, pn as de, q as fe, si as pe, tn as me, wr as he, xn as ge, xt as _e } from "./api-BelbnLQO.js";
6
6
  import { A as G, b as K, i as ve, o as ye } from "./intercomService-B7HkLs6z.js";
7
- import { B as q, I as be, L as xe, R as Se, V as Ce, q as we, r as Te, s as Ee, z as J } from "./pinia-Du8AM917.js";
7
+ import { B as q, I as be, L as xe, R as Se, V as Ce, q as we, r as Te, s as Ee, z as J } from "./pinia-BokSpDzj.js";
8
8
  import { n as De } from "./vue-i18n-D5EAy78K.js";
9
9
  import { O as Y, T as X, k as Oe, w as Z } from "./dist-BIngHzHx.js";
10
10
  import { a as ke } from "./alert-outline-FcLLjoOK.js";
11
11
  import { h as Ae } from "./eventIcons-BFNUgeGr.js";
12
12
  import { t as je } from "./button-BouAFgf5.js";
13
- import { M as Me, N as Ne, P as Q, b as Pe } from "./dist-oFWkn6pD.js";
13
+ import { M as Me, N as Ne, P as Q, b as Pe } from "./dist-BybVYMVs.js";
14
14
  import { t as Fe } from "./inputtext-C_ygnPrC.js";
15
15
  import { t as Ie } from "./select-DV7p2EDj.js";
16
16
  import { t as Le } from "./multiselect-BOb4ScAZ.js";
17
17
  import { t as $ } from "./textarea-ByXnzJzx.js";
18
- import { t as Re } from "./CuiSchema-CHeJkx0k.js";
19
- import { t as ze } from "./plugins-6x0kBuQb.js";
18
+ import { t as Re } from "./CuiSchema-DqkCLv9Y.js";
19
+ import { t as ze } from "./plugins-Bwp_GfaX.js";
20
20
  import { t as Be } from "./information-outline-DSSRyysT.js";
21
21
  import { t as Ve } from "./close-circle-DfYSNAKm.js";
22
22
  import { t as He } from "./CuiMarkdownContent-CrkZwv5j.js";
23
- import { r as Ue, t as We } from "./CuiPluginCard-CT6ZfL9o.js";
24
- import { u as Ge } from "./cards-B0qagpBw.js";
23
+ import { r as Ue, t as We } from "./CuiPluginCard-lBLypaN4.js";
24
+ import { u as Ge } from "./cards-BFRRfuM7.js";
25
25
  import { t as Ke } from "./back-filled-CaxrZv0Q.js";
26
26
  //#region src/components/CuiMarkdownPanel/types.ts
27
27
  var qe = {
@@ -34,7 +34,7 @@ var qe = {
34
34
  }, Xe = { class: "flex items-center gap-3 border-color lg:border-b-[1px] lg:mb-3 lg:pb-3" }, Ze = { class: "hidden lg:block text-base font-semibold" }, Qe = {
35
35
  key: 0,
36
36
  class: "flex w-full h-full items-center justify-center"
37
- }, $e = /* @__PURE__ */ k({
37
+ }, $e = /* @__PURE__ */ A({
38
38
  __name: "CuiMarkdownPanel",
39
39
  props: /*@__PURE__*/ n({
40
40
  title: {},
@@ -44,7 +44,7 @@ var qe = {
44
44
  collapsedHeight: {}
45
45
  }, qe),
46
46
  setup(e) {
47
- let t = e, n = T("frame"), r = T("body"), i = A(!1), a = A(!1), o = A(t.collapsedHeight), l = y(() => !t.loading && (i.value || a.value));
47
+ let t = e, n = T("frame"), r = T("body"), i = j(!1), a = j(!1), o = j(t.collapsedHeight), l = y(() => !t.loading && (i.value || a.value));
48
48
  function d() {
49
49
  let e = n.value, i = r.value;
50
50
  if (!e || !i) return;
@@ -57,10 +57,10 @@ var qe = {
57
57
  let e = r.value;
58
58
  a.value = !!e && e.scrollHeight > e.clientHeight + 1;
59
59
  }
60
- return K(r, "load", f, { capture: !0 }), G(n, f), G(r, f), x([() => t.content, () => t.loading], () => u(f)), N(() => u(f)), (t, n) => {
61
- let r = _e, a = V, u = je, d = ge, f = He, p = ve, g = P;
62
- return s(), S("div", null, [E("span", Je, c(e.title), 1), j(p, { class: "cui-card !h-auto lg:!h-full" }, {
63
- content: b(() => [E("div", Ye, [E("div", Xe, [E("h3", Ze, c(e.title), 1), v(l) ? te((s(), m(u, {
60
+ return K(r, "load", f, { capture: !0 }), G(n, f), G(r, f), x([() => t.content, () => t.loading], () => u(f)), P(() => u(f)), (t, n) => {
61
+ let r = ae, a = ge, u = je, d = he, f = He, p = ve, g = F;
62
+ return s(), S("div", null, [E("span", Je, c(e.title), 1), M(p, { class: "cui-card !h-auto lg:!h-full" }, {
63
+ content: b(() => [E("div", Ye, [E("div", Xe, [E("h3", Ze, c(e.title), 1), v(l) ? D((s(), m(u, {
64
64
  key: 0,
65
65
  severity: "secondary",
66
66
  text: "",
@@ -80,7 +80,7 @@ var qe = {
80
80
  { value: v(i) ? t.$t("components.form.button.collapse") : t.$t("components.form.button.expand") },
81
81
  void 0,
82
82
  { left: !0 }
83
- ]]) : h("", !0)]), e.loading ? (s(), S("div", Qe, [j(d, {
83
+ ]]) : h("", !0)]), e.loading ? (s(), S("div", Qe, [M(d, {
84
84
  class: "w-[30px] h-[30px] m-0",
85
85
  "stroke-width": "5"
86
86
  })])) : (s(), S("div", {
@@ -88,7 +88,7 @@ var qe = {
88
88
  ref: "body",
89
89
  class: "overflow-y-auto",
90
90
  style: C(v(i) ? void 0 : { maxHeight: `${v(o)}px` })
91
- }, [j(f, { content: e.content || e.placeholder }, null, 8, ["content"])], 4))], 512)]),
91
+ }, [M(f, { content: e.content || e.placeholder }, null, 8, ["content"])], 4))], 512)]),
92
92
  _: 1
93
93
  })]);
94
94
  };
@@ -108,14 +108,14 @@ var qe = {
108
108
  }, wt = { class: "text-xs text-muted" }, Tt = {
109
109
  key: 0,
110
110
  class: "mt-8"
111
- }, Et = { class: "text-base font-semibold border-b-[1px] border-color mb-3 pb-3" }, Dt = /* @__PURE__ */ k({
111
+ }, Et = { class: "text-base font-semibold border-b-[1px] border-color mb-3 pb-3" }, Dt = /* @__PURE__ */ A({
112
112
  __name: "CuiNotificationInterface",
113
113
  props: { pluginName: {} },
114
114
  setup(e) {
115
115
  let t = e, n = ye(), { t: r } = De(), i = ne(), l = U(), { user: u } = Te(l), { pluginName: d } = a(t), { plugin: f } = Me(d), p = y(() => Object.values(Z).map((e) => ({
116
116
  label: r(`components.notification_interface.severity_${e}`),
117
117
  value: e
118
- }))), m = M({
118
+ }))), m = N({
119
119
  title: "Test notification",
120
120
  subtitle: "",
121
121
  body: "This is a test notification from camera.ui",
@@ -123,36 +123,36 @@ var qe = {
123
123
  tag: "",
124
124
  imageUrl: "",
125
125
  deepLink: ""
126
- }), g = A([]), _ = A(!1), C = A(!1), T = O([]), te = A(!1), D = A([]), k = O(), N = A(!1), P = y(() => T.value.map((e) => ({
126
+ }), g = j([]), _ = j(!1), C = j(!1), T = k([]), D = j(!1), O = j([]), A = k(), P = j(!1), F = y(() => T.value.map((e) => ({
127
127
  id: e.id,
128
128
  label: e.name
129
129
  })));
130
- async function F() {
130
+ async function I() {
131
131
  if (f.value && u.value?._id) {
132
- te.value = !0;
132
+ D.value = !0;
133
133
  try {
134
134
  let e = W(void 0, "admin") ? [] : [u.value._id];
135
135
  T.value = await f.value.getDevices?.(e) ?? [];
136
136
  } catch (e) {
137
137
  n.error("Failed to load notifier devices:", e), T.value = [];
138
138
  } finally {
139
- te.value = !1;
139
+ D.value = !1;
140
140
  }
141
141
  }
142
142
  }
143
- async function I() {
143
+ async function L() {
144
144
  if (f.value) {
145
- N.value = !0;
145
+ P.value = !0;
146
146
  try {
147
- k.value = await f.value.notificationSettings?.();
147
+ A.value = await f.value.notificationSettings?.();
148
148
  } catch (e) {
149
- n.error("Failed to load notification settings schema:", e), k.value = void 0;
149
+ n.error("Failed to load notification settings schema:", e), A.value = void 0;
150
150
  } finally {
151
- N.value = !1;
151
+ P.value = !1;
152
152
  }
153
153
  }
154
154
  }
155
- function L() {
155
+ function te() {
156
156
  g.value.push({
157
157
  key: "",
158
158
  value: ""
@@ -184,7 +184,7 @@ var qe = {
184
184
  }
185
185
  C.value = !0;
186
186
  try {
187
- let t = z(), n = D.value.length ? D.value : T.value.map((e) => e.id);
187
+ let t = z(), n = O.value.length ? O.value : T.value.map((e) => e.id);
188
188
  await e.sendNotification?.(n, t), i.add({
189
189
  severity: "success",
190
190
  detail: r("components.notification_interface.sent"),
@@ -202,15 +202,15 @@ var qe = {
202
202
  }
203
203
  }
204
204
  return x(f, (e) => {
205
- e && (F(), I());
205
+ e && (I(), L());
206
206
  }, { immediate: !0 }), (e, t) => {
207
- let n = Fe, r = $, i = Ie, a = Ve, l = je, u = Ge, d = ge, y = Le, x = Re;
207
+ let n = Fe, r = $, i = Ie, a = Ve, l = je, u = Ge, d = he, y = Le, x = Re;
208
208
  return s(), S("div", null, [
209
209
  E("h3", et, c(e.$t("components.notification_interface.template")), 1),
210
210
  E("div", tt, [
211
211
  E("div", nt, [
212
212
  E("label", rt, c(e.$t("components.notification_interface.title")), 1),
213
- j(n, {
213
+ M(n, {
214
214
  modelValue: v(m).title,
215
215
  "onUpdate:modelValue": [t[0] ||= (e) => v(m).title = e, t[1] ||= (e) => _.value = !1],
216
216
  placeholder: e.$t("components.notification_interface.title"),
@@ -223,20 +223,20 @@ var qe = {
223
223
  ]),
224
224
  v(_) ? (s(), S("p", it, c(e.$t("components.notification_interface.title_required")), 1)) : h("", !0)
225
225
  ]),
226
- E("div", at, [E("label", ot, c(e.$t("components.notification_interface.subtitle")), 1), j(n, {
226
+ E("div", at, [E("label", ot, c(e.$t("components.notification_interface.subtitle")), 1), M(n, {
227
227
  modelValue: v(m).subtitle,
228
228
  "onUpdate:modelValue": t[2] ||= (e) => v(m).subtitle = e,
229
229
  placeholder: e.$t("components.notification_interface.subtitle"),
230
230
  class: "w-full"
231
231
  }, null, 8, ["modelValue", "placeholder"])]),
232
- E("div", st, [E("label", ct, c(e.$t("components.notification_interface.body")), 1), j(r, {
232
+ E("div", st, [E("label", ct, c(e.$t("components.notification_interface.body")), 1), M(r, {
233
233
  modelValue: v(m).body,
234
234
  "onUpdate:modelValue": t[3] ||= (e) => v(m).body = e,
235
235
  placeholder: e.$t("components.notification_interface.body"),
236
236
  rows: "3",
237
237
  class: "w-full"
238
238
  }, null, 8, ["modelValue", "placeholder"])]),
239
- E("div", lt, [E("label", ut, c(e.$t("components.notification_interface.severity")), 1), j(i, {
239
+ E("div", lt, [E("label", ut, c(e.$t("components.notification_interface.severity")), 1), M(i, {
240
240
  modelValue: v(m).severity,
241
241
  "onUpdate:modelValue": t[4] ||= (e) => v(m).severity = e,
242
242
  options: v(p),
@@ -244,19 +244,19 @@ var qe = {
244
244
  "option-value": "value",
245
245
  class: "w-full"
246
246
  }, null, 8, ["modelValue", "options"])]),
247
- E("div", dt, [E("label", ft, c(e.$t("components.notification_interface.tag")), 1), j(n, {
247
+ E("div", dt, [E("label", ft, c(e.$t("components.notification_interface.tag")), 1), M(n, {
248
248
  modelValue: v(m).tag,
249
249
  "onUpdate:modelValue": t[5] ||= (e) => v(m).tag = e,
250
250
  placeholder: "motion:cam-1",
251
251
  class: "w-full"
252
252
  }, null, 8, ["modelValue"])]),
253
- E("div", pt, [E("label", mt, c(e.$t("components.notification_interface.image_url")), 1), j(n, {
253
+ E("div", pt, [E("label", mt, c(e.$t("components.notification_interface.image_url")), 1), M(n, {
254
254
  modelValue: v(m).imageUrl,
255
255
  "onUpdate:modelValue": t[6] ||= (e) => v(m).imageUrl = e,
256
256
  placeholder: "https://…",
257
257
  class: "w-full"
258
258
  }, null, 8, ["modelValue"])]),
259
- E("div", ht, [E("label", gt, c(e.$t("components.notification_interface.deep_link")), 1), j(n, {
259
+ E("div", ht, [E("label", gt, c(e.$t("components.notification_interface.deep_link")), 1), M(n, {
260
260
  modelValue: v(m).deepLink,
261
261
  "onUpdate:modelValue": t[7] ||= (e) => v(m).deepLink = e,
262
262
  placeholder: "/cameras/cam-1",
@@ -268,7 +268,7 @@ var qe = {
268
268
  key: r,
269
269
  class: "flex gap-2 items-center"
270
270
  }, [
271
- j(n, {
271
+ M(n, {
272
272
  modelValue: t.key,
273
273
  "onUpdate:modelValue": (e) => t.key = e,
274
274
  placeholder: e.$t("components.notification_interface.data_key"),
@@ -278,7 +278,7 @@ var qe = {
278
278
  "onUpdate:modelValue",
279
279
  "placeholder"
280
280
  ]),
281
- j(n, {
281
+ M(n, {
282
282
  modelValue: t.value,
283
283
  "onUpdate:modelValue": (e) => t.value = e,
284
284
  placeholder: e.$t("components.notification_interface.data_value"),
@@ -288,40 +288,40 @@ var qe = {
288
288
  "onUpdate:modelValue",
289
289
  "placeholder"
290
290
  ]),
291
- j(l, {
291
+ M(l, {
292
292
  text: "",
293
293
  rounded: "",
294
294
  severity: "danger",
295
295
  class: "cui-icon-md shrink-0",
296
296
  onClick: (e) => R(r)
297
297
  }, {
298
- icon: b(() => [j(a, {
298
+ icon: b(() => [M(a, {
299
299
  width: "100%",
300
300
  height: "100%"
301
301
  })]),
302
302
  _: 1
303
303
  }, 8, ["onClick"])
304
304
  ]))), 128)),
305
- j(l, {
305
+ M(l, {
306
306
  severity: "secondary",
307
307
  outlined: "",
308
308
  fluid: "",
309
309
  class: "cui-button-medium",
310
310
  label: e.$t("components.notification_interface.add_data"),
311
- onClick: L
311
+ onClick: te
312
312
  }, {
313
- icon: b(() => [j(u, { class: "w-4 h-4" })]),
313
+ icon: b(() => [M(u, { class: "w-4 h-4" })]),
314
314
  _: 1
315
315
  }, 8, ["label"])
316
316
  ])
317
317
  ]),
318
- E("div", yt, [E("h3", bt, c(e.$t("components.notification_interface.targets")), 1), v(te) ? (s(), S("div", xt, [j(d, {
318
+ E("div", yt, [E("h3", bt, c(e.$t("components.notification_interface.targets")), 1), v(D) ? (s(), S("div", xt, [M(d, {
319
319
  class: "w-[24px] h-[24px] m-0",
320
320
  "stroke-width": "5"
321
- })])) : v(P).length ? (s(), S("div", Ct, [E("span", wt, c(e.$t("components.notification_interface.targets_hint")), 1), j(y, {
322
- modelValue: v(D),
323
- "onUpdate:modelValue": t[8] ||= (e) => ee(D) ? D.value = e : null,
324
- options: v(P),
321
+ })])) : v(F).length ? (s(), S("div", Ct, [E("span", wt, c(e.$t("components.notification_interface.targets_hint")), 1), M(y, {
322
+ modelValue: v(O),
323
+ "onUpdate:modelValue": t[8] ||= (e) => ee(O) ? O.value = e : null,
324
+ options: v(F),
325
325
  "option-label": "label",
326
326
  "option-value": "id",
327
327
  placeholder: e.$t("components.notification_interface.all_devices"),
@@ -333,14 +333,14 @@ var qe = {
333
333
  "options",
334
334
  "placeholder"
335
335
  ])])) : (s(), S("div", St, c(e.$t("components.notification_interface.no_devices")), 1))]),
336
- v(k)?.length ? (s(), S("div", Tt, [E("h3", Et, c(e.$t("components.notification_interface.settings")), 1), j(x, {
336
+ v(A)?.length ? (s(), S("div", Tt, [E("h3", Et, c(e.$t("components.notification_interface.settings")), 1), M(x, {
337
337
  "schema-form": {
338
- schema: v(k),
338
+ schema: v(A),
339
339
  config: {}
340
340
  },
341
- loading: v(N)
341
+ loading: v(P)
342
342
  }, null, 8, ["schema-form", "loading"])])) : h("", !0),
343
- j(l, {
343
+ M(l, {
344
344
  fluid: "",
345
345
  class: "mt-8 cui-button-medium",
346
346
  severity: "success",
@@ -362,7 +362,7 @@ var qe = {
362
362
  }, Mt = { class: "flex gap-2 mb-4" }, Nt = {
363
363
  key: 0,
364
364
  class: "flex flex-col gap-2"
365
- }, Pt = { class: "text-sm truncate flex-1 mr-3" }, Ft = { class: "flex items-center gap-2 shrink-0" }, It = /* @__PURE__ */ k({
365
+ }, Pt = { class: "text-sm truncate flex-1 mr-3" }, Ft = { class: "flex items-center gap-2 shrink-0" }, It = /* @__PURE__ */ A({
366
366
  __name: "PluginClipInterface",
367
367
  props: {
368
368
  src: {},
@@ -370,7 +370,7 @@ var qe = {
370
370
  onTextSearch: { type: Function }
371
371
  },
372
372
  setup(e, { expose: n }) {
373
- let r = e, i = ye(), a = A(""), l = A(!1), u = A([]);
373
+ let r = e, i = ye(), a = j(""), l = j(!1), u = j([]);
374
374
  function f(e) {
375
375
  let [t, n] = r.response.scoreBand ?? [0, 0];
376
376
  return n <= t ? 0 : Math.max(0, Math.min(1, (e - t) / (n - t)));
@@ -394,21 +394,21 @@ var qe = {
394
394
  }
395
395
  }
396
396
  return n({}), (n, r) => {
397
- let i = Fe, f = je, m = F;
397
+ let i = Fe, f = je, m = I;
398
398
  return s(), S("div", null, [
399
399
  E("div", Ot, [E("img", {
400
400
  src: e.src,
401
401
  alt: "CLIP test image",
402
402
  class: "max-w-full max-h-[50vh] w-auto object-contain"
403
403
  }, null, 8, kt)]),
404
- E("div", At, [D(c(e.response.embeddings.length) + " embedding(s), " + c(e.response.embeddings[0]?.embedding?.length ?? 0) + "-dim ", 1), e.response.embeddingModel ? (s(), S("span", jt, "(" + c(e.response.embeddingModel) + ")", 1)) : h("", !0)]),
405
- E("div", Mt, [j(i, {
404
+ E("div", At, [O(c(e.response.embeddings.length) + " embedding(s), " + c(e.response.embeddings[0]?.embedding?.length ?? 0) + "-dim ", 1), e.response.embeddingModel ? (s(), S("span", jt, "(" + c(e.response.embeddingModel) + ")", 1)) : h("", !0)]),
405
+ E("div", Mt, [M(i, {
406
406
  modelValue: v(a),
407
407
  "onUpdate:modelValue": r[0] ||= (e) => ee(a) ? a.value = e : null,
408
408
  class: "flex-1",
409
409
  placeholder: n.$t("components.clip_interface.enter_query"),
410
410
  onKeyup: t(p, ["enter"])
411
- }, null, 8, ["modelValue", "placeholder"]), j(f, {
411
+ }, null, 8, ["modelValue", "placeholder"]), M(f, {
412
412
  class: "cui-button-medium",
413
413
  label: n.$t("components.clip_interface.search"),
414
414
  loading: v(l),
@@ -417,7 +417,7 @@ var qe = {
417
417
  v(u).length ? (s(), S("div", Nt, [(s(!0), S(w, null, o(v(u), (e, t) => (s(), S("div", {
418
418
  key: t,
419
419
  class: "flex items-center justify-between p-3 rounded-lg content-background"
420
- }, [E("span", Pt, c(e.query), 1), E("div", Ft, [E("div", { class: d(["text-sm font-medium", e.displayScore >= .5 ? "text-green-500" : e.displayScore >= .25 ? "text-yellow-500" : "text-red-400"]) }, c((e.displayScore * 100).toFixed(0)) + "% ", 3), j(m, {
420
+ }, [E("span", Pt, c(e.query), 1), E("div", Ft, [E("div", { class: d(["text-sm font-medium", e.displayScore >= .5 ? "text-green-500" : e.displayScore >= .25 ? "text-yellow-500" : "text-red-400"]) }, c((e.displayScore * 100).toFixed(0)) + "% ", 3), M(m, {
421
421
  value: e.displayScore >= .5 ? "Match" : e.displayScore >= .25 ? "Possible" : "No match",
422
422
  severity: e.displayScore >= .5 ? "success" : e.displayScore >= .25 ? "warn" : "danger",
423
423
  class: "text-xs"
@@ -441,7 +441,7 @@ var qe = {
441
441
  }, Gt = { class: "text-sm truncate flex-1 mr-3" }, Kt = { class: "flex items-center gap-2 shrink-0" }, qt = {
442
442
  key: 0,
443
443
  class: "text-sm font-medium"
444
- }, Jt = /* @__PURE__ */ k({
444
+ }, Jt = /* @__PURE__ */ A({
445
445
  __name: "PluginFaceRecognition",
446
446
  props: {
447
447
  src: {},
@@ -452,7 +452,7 @@ var qe = {
452
452
  onMatch: { type: Function }
453
453
  },
454
454
  setup(e, { expose: t }) {
455
- let n = e, { t: r } = De(), i = ye(), a = A("balanced"), l = A(!1), u = A([]), d = y(() => Lt.map((e) => ({
455
+ let n = e, { t: r } = De(), i = ye(), a = j("balanced"), l = j(!1), u = j([]), d = y(() => Lt.map((e) => ({
456
456
  value: e,
457
457
  label: r(`components.face_recognition_interface.sensitivity_${e}`)
458
458
  })));
@@ -473,8 +473,8 @@ var qe = {
473
473
  }
474
474
  }
475
475
  }
476
- return N(f), t({}), (t, n) => {
477
- let r = Ie, i = je, p = F;
476
+ return P(f), t({}), (t, n) => {
477
+ let r = Ie, i = je, p = I;
478
478
  return s(), S("div", null, [
479
479
  E("div", Rt, [E("img", {
480
480
  src: e.src,
@@ -489,18 +489,18 @@ var qe = {
489
489
  })
490
490
  }, null, 4))), 128))]),
491
491
  E("div", Bt, [
492
- D(c(e.dimensions) + "-dim ", 1),
492
+ O(c(e.dimensions) + "-dim ", 1),
493
493
  e.embeddingModel ? (s(), S("span", Vt, "(" + c(e.embeddingModel) + ")", 1)) : h("", !0),
494
494
  e.quality == null ? h("", !0) : (s(), S("span", Ht, "· " + c(t.$t("components.face_recognition_interface.quality", { value: (e.quality * 100).toFixed(0) })), 1))
495
495
  ]),
496
- E("div", Ut, [j(r, {
496
+ E("div", Ut, [M(r, {
497
497
  modelValue: v(a),
498
498
  "onUpdate:modelValue": n[0] ||= (e) => ee(a) ? a.value = e : null,
499
499
  options: v(d),
500
500
  "option-label": "label",
501
501
  "option-value": "value",
502
502
  class: "flex-1"
503
- }, null, 8, ["modelValue", "options"]), j(i, {
503
+ }, null, 8, ["modelValue", "options"]), M(i, {
504
504
  class: "cui-button-medium",
505
505
  label: t.$t("components.face_recognition_interface.match"),
506
506
  loading: v(l),
@@ -509,7 +509,7 @@ var qe = {
509
509
  v(u).length ? (s(), S("div", Wt, [(s(!0), S(w, null, o(v(u), (e, n) => (s(), S("div", {
510
510
  key: n,
511
511
  class: "flex items-center justify-between p-3 rounded-lg content-background"
512
- }, [E("span", Gt, c(e.identity ?? t.$t("components.face_recognition_interface.no_match")), 1), E("div", Kt, [e.score == null ? h("", !0) : (s(), S("div", qt, c((e.score * 100).toFixed(0)) + "%", 1)), j(p, {
512
+ }, [E("span", Gt, c(e.identity ?? t.$t("components.face_recognition_interface.no_match")), 1), E("div", Kt, [e.score == null ? h("", !0) : (s(), S("div", qt, c((e.score * 100).toFixed(0)) + "%", 1)), M(p, {
513
513
  value: t.$t(`components.face_recognition_interface.sensitivity_${e.sensitivity}`),
514
514
  severity: e.identity ? "success" : "danger",
515
515
  class: "text-xs"
@@ -517,12 +517,12 @@ var qe = {
517
517
  ]);
518
518
  };
519
519
  }
520
- }), Yt = /* @__PURE__ */ k({
520
+ }), Yt = /* @__PURE__ */ A({
521
521
  __name: "PluginMotionInterface",
522
522
  props: { response: {} },
523
523
  setup(e) {
524
524
  let { response: t } = a(e), n = T("videoPlayerRef");
525
- return N(() => {
525
+ return P(() => {
526
526
  if (n.value) {
527
527
  let e = new Blob([t.value.videoData], { type: "video/mp4" });
528
528
  n.value.src = URL.createObjectURL(e), n.value.load();
@@ -534,7 +534,7 @@ var qe = {
534
534
  class: "max-w-full max-h-[60vh] w-auto mx-auto"
535
535
  }, "Your browser does not support the video tag.", 512)]));
536
536
  }
537
- }), Xt = { class: "mb-5 flex justify-center" }, Zt = { class: "relative w-fit" }, Qt = ["src"], $t = /* @__PURE__ */ k({
537
+ }), Xt = { class: "mb-5 flex justify-center" }, Zt = { class: "relative w-fit" }, Qt = ["src"], $t = /* @__PURE__ */ A({
538
538
  __name: "PluginObjectInterface",
539
539
  props: {
540
540
  src: {},
@@ -543,8 +543,8 @@ var qe = {
543
543
  setup(e) {
544
544
  let { response: t, src: n } = a(e), r = y(() => t.value.detections);
545
545
  return (e, t) => {
546
- let i = le;
547
- return s(), S("div", Xt, [E("div", Zt, [j(i, { detections: v(r) }, null, 8, ["detections"]), E("img", {
546
+ let i = ue;
547
+ return s(), S("div", Xt, [E("div", Zt, [M(i, { detections: v(r) }, null, 8, ["detections"]), E("img", {
548
548
  src: v(n),
549
549
  alt: "Preview",
550
550
  class: "max-w-full max-h-[60vh] w-auto"
@@ -575,7 +575,7 @@ var qe = {
575
575
  }, dn = ["src", "type"], fn = { class: "flex items-center justify-center" }, pn = { class: "mx-2" }, mn = { class: "text-muted" }, hn = { class: "flex items-center justify-center mt-2 text-xs text-muted" }, gn = { class: "mt-10" }, _n = { class: "text-base font-semibold border-b-[1px] border-color mb-3 pb-3" }, vn = {
576
576
  key: 0,
577
577
  class: "flex items-center justify-center text-sm text-muted mt-5"
578
- }, yn = /* @__PURE__ */ k({
578
+ }, yn = /* @__PURE__ */ A({
579
579
  __name: "CuiDetectionInterface",
580
580
  props: {
581
581
  type: {},
@@ -592,7 +592,7 @@ var qe = {
592
592
  licensePlateDetection: "drop_or_select_image_to_detect_license_plates",
593
593
  classifierDetection: "drop_or_select_image_to_classify",
594
594
  clipDetection: "drop_or_select_image_for_semantic_search"
595
- }, i = t, o = n, l = ye(), { t: f } = De(), p = ne(), g = se(), { type: _, pluginName: ee } = a(i), { plugin: C, isLoading: w } = Me(ee), { plugin: te } = Me("@camera.ui/camera-ui-nvr"), k = T("fileInputRef"), M = T("videoPlayerRef"), N = T("audioPlayerRef"), P = O([]), F = A(!1), I = A(!1), L = A(!1), R = A(!1), z = A(""), B = A(!1), V = A(), re = A(!0), ie = O(), ae = A(!1), oe = y(() => ae.value || w.value || B.value), ce = y(() => r[_.value]), H = y(() => {
595
+ }, i = t, o = n, l = ye(), { t: f } = De(), p = ne(), g = ce(), { type: _, pluginName: ee } = a(i), { plugin: C, isLoading: w } = Me(ee), { plugin: D } = Me("@camera.ui/camera-ui-nvr"), A = T("fileInputRef"), N = T("videoPlayerRef"), P = T("audioPlayerRef"), F = k([]), I = j(!1), L = j(!1), te = j(!1), R = j(!1), z = j(""), B = j(!1), V = j(), re = j(!0), ie = k(), ae = j(!1), oe = y(() => ae.value || w.value || B.value), se = y(() => r[_.value]), H = y(() => {
596
596
  switch (_.value) {
597
597
  case "objectDetection":
598
598
  case "faceDetection":
@@ -657,35 +657,35 @@ var qe = {
657
657
  }
658
658
  }
659
659
  function de(e) {
660
- let t = P.value.findIndex((t) => t.name === e);
661
- t > -1 && (P.value.splice(t, 1), me(), z.value = "", H.value === "video" && M.value && (M.value.src = ""), V.value = void 0, o("update:file", null), o("update:metadata", null));
660
+ let t = F.value.findIndex((t) => t.name === e);
661
+ t > -1 && (F.value.splice(t, 1), me(), z.value = "", H.value === "video" && N.value && (N.value.src = ""), V.value = void 0, o("update:file", null), o("update:metadata", null));
662
662
  }
663
663
  function fe(e) {
664
- if (F.value = !1, I.value = !1, R.value = !1, P.value = [], e.dataTransfer) {
665
- if (e.dataTransfer.files.length > 1) I.value = !0;
664
+ if (I.value = !1, L.value = !1, R.value = !1, F.value = [], e.dataTransfer) {
665
+ if (e.dataTransfer.files.length > 1) L.value = !0;
666
666
  else {
667
667
  let t = e.dataTransfer.files[0];
668
- (U.value.length === 0 || U.value.includes(t.type)) && t.size <= W.value ? (P.value.push(t), u(() => {
668
+ (U.value.length === 0 || U.value.includes(t.type)) && t.size <= W.value ? (F.value.push(t), u(() => {
669
669
  he(t);
670
- })) : t.size > W.value ? R.value = !0 : I.value = !0;
670
+ })) : t.size > W.value ? R.value = !0 : L.value = !0;
671
671
  }
672
672
  }
673
673
  }
674
674
  function pe(e) {
675
- I.value = !1, R.value = !1, P.value = [];
675
+ L.value = !1, R.value = !1, F.value = [];
676
676
  let t = e.target;
677
677
  if (t && t.files) {
678
- if (t.files?.length > 1) I.value = !0;
678
+ if (t.files?.length > 1) L.value = !0;
679
679
  else if (t.files.length === 1) {
680
680
  let e = t.files[0], n = U.value.length === 0 || U.value.includes(e.type);
681
- e.size <= W.value && n ? (P.value.push(e), u(() => {
681
+ e.size <= W.value && n ? (F.value.push(e), u(() => {
682
682
  he(e);
683
- })) : e.size > W.value ? R.value = !0 : I.value = !0;
683
+ })) : e.size > W.value ? R.value = !0 : L.value = !0;
684
684
  }
685
685
  }
686
686
  }
687
687
  function me() {
688
- k.value && (k.value.value = "");
688
+ A.value && (A.value.value = "");
689
689
  }
690
690
  function he(e) {
691
691
  B.value = !0;
@@ -712,7 +712,7 @@ var qe = {
712
712
  };
713
713
  }
714
714
  function _e(e, t) {
715
- M.value && (M.value.src = t, M.value.load(), M.value.onloadeddata = () => {
715
+ N.value && (N.value.src = t, N.value.load(), N.value.onloadeddata = () => {
716
716
  o("update:file", e), B.value = !1;
717
717
  });
718
718
  }
@@ -733,8 +733,8 @@ var qe = {
733
733
  return r && i ? n / (Math.sqrt(r) * Math.sqrt(i)) : 0;
734
734
  }
735
735
  async function Ce(e) {
736
- if (!P.value.length) {
737
- L.value = !0;
736
+ if (!F.value.length) {
737
+ te.value = !0;
738
738
  return;
739
739
  }
740
740
  if (!C.value) {
@@ -743,7 +743,7 @@ var qe = {
743
743
  }
744
744
  B.value = !0;
745
745
  try {
746
- let t = await P.value[0].arrayBuffer();
746
+ let t = await F.value[0].arrayBuffer();
747
747
  if (_.value === "audioDetection") {
748
748
  let n = await C.value.testAudioDetection?.(new Uint8Array(t), V.value, e);
749
749
  if (!n) {
@@ -797,7 +797,7 @@ var qe = {
797
797
  });
798
798
  return;
799
799
  }
800
- if (!te.value) {
800
+ if (!D.value) {
801
801
  p.add({
802
802
  severity: "info",
803
803
  detail: f("components.face_recognition_interface.needs_nvr"),
@@ -815,7 +815,7 @@ var qe = {
815
815
  dimensions: r.length,
816
816
  landmarks: n[0].landmarks,
817
817
  quality: n[0].quality,
818
- onMatch: async (e) => (await te.value.matchFaces([r], i, e))?.[0] ?? void 0
818
+ onMatch: async (e) => (await D.value.matchFaces([r], i, e))?.[0] ?? void 0
819
819
  }
820
820
  } });
821
821
  } else if (_.value === "licensePlateDetection") {
@@ -900,8 +900,8 @@ var qe = {
900
900
  }
901
901
  return x(C, (e) => {
902
902
  e && ue();
903
- }, { immediate: !0 }), x(P, (e) => {
904
- e.length > 0 ? (L.value = !1, re.value = !1) : (z.value = "", V.value = void 0, re.value = !0);
903
+ }, { immediate: !0 }), x(F, (e) => {
904
+ e.length > 0 ? (te.value = !1, re.value = !1) : (z.value = "", V.value = void 0, re.value = !0);
905
905
  }, {
906
906
  immediate: !0,
907
907
  deep: !0
@@ -911,61 +911,61 @@ var qe = {
911
911
  E("div", {
912
912
  class: "file-upload-box",
913
913
  onDrop: n[1] ||= e((e) => fe(e), ["prevent"]),
914
- onDragover: n[2] ||= e((e) => F.value = !0, ["prevent"]),
915
- onDragenter: n[3] ||= e((e) => F.value = !0, ["prevent"]),
916
- onDragleave: n[4] ||= e((e) => F.value = !1, ["prevent"])
917
- }, [v(P).length ? (s(), S("div", on, [v(H) === "image" ? (s(), S("div", sn, [E("img", {
914
+ onDragover: n[2] ||= e((e) => I.value = !0, ["prevent"]),
915
+ onDragenter: n[3] ||= e((e) => I.value = !0, ["prevent"]),
916
+ onDragleave: n[4] ||= e((e) => I.value = !1, ["prevent"])
917
+ }, [v(F).length ? (s(), S("div", on, [v(H) === "image" ? (s(), S("div", sn, [E("img", {
918
918
  src: v(z),
919
919
  alt: "Preview",
920
920
  class: "w-full"
921
921
  }, null, 8, cn)])) : v(H) === "video" ? (s(), S("div", ln, [E("video", {
922
922
  ref_key: "videoPlayerRef",
923
- ref: M,
923
+ ref: N,
924
924
  controls: "",
925
925
  class: "w-full"
926
926
  }, "Your browser does not support the video tag.", 512)])) : v(H) === "audio" ? (s(), S("div", un, [E("audio", {
927
927
  ref_key: "audioPlayerRef",
928
- ref: N,
928
+ ref: P,
929
929
  controls: "",
930
930
  class: "w-full"
931
931
  }, [E("source", {
932
932
  src: v(z),
933
- type: v(P)[0].type
934
- }, null, 8, dn), n[5] ||= D(" Your browser does not support the audio element. ", -1)], 512)])) : h("", !0), E("div", fn, [
935
- j(i, {
933
+ type: v(F)[0].type
934
+ }, null, 8, dn), n[5] ||= O(" Your browser does not support the audio element. ", -1)], 512)])) : h("", !0), E("div", fn, [
935
+ M(i, {
936
936
  text: "",
937
937
  rounded: "",
938
938
  severity: "danger",
939
939
  class: "cui-icon-md shrink-0",
940
- onClick: n[0] ||= e((e) => de(v(P)[0].name), ["stop"])
940
+ onClick: n[0] ||= e((e) => de(v(F)[0].name), ["stop"])
941
941
  }, {
942
- icon: b(() => [j(r, {
942
+ icon: b(() => [M(r, {
943
943
  width: "100%",
944
944
  height: "100%"
945
945
  })]),
946
946
  _: 1
947
947
  }),
948
- E("b", pn, c(v(P)[0].name), 1),
949
- E("span", mn, "(" + c(K(v(P)[0].size)) + ")", 1)
948
+ E("b", pn, c(v(F)[0].name), 1),
949
+ E("span", mn, "(" + c(K(v(F)[0].size)) + ")", 1)
950
950
  ])])) : (s(), S("div", en, [E("div", tn, [
951
- E("label", nn, c(t.$t(`components.detection_interface.${v(ce)}`)), 1),
951
+ E("label", nn, c(t.$t(`components.detection_interface.${v(se)}`)), 1),
952
952
  E("input", {
953
953
  id: "restoreInput",
954
954
  ref_key: "fileInputRef",
955
- ref: k,
955
+ ref: A,
956
956
  type: "file",
957
957
  class: "hidden",
958
958
  accept: v(le),
959
959
  onChange: pe
960
960
  }, null, 40, rn),
961
- v(I) ? (s(), S("p", an, c(t.$t(`components.detection_interface.only_one_${v(H)}_allowed`)), 1)) : h("", !0),
962
- v(L) ? (s(), S("p", {
961
+ v(L) ? (s(), S("p", an, c(t.$t(`components.detection_interface.only_one_${v(H)}_allowed`)), 1)) : h("", !0),
962
+ v(te) ? (s(), S("p", {
963
963
  key: 1,
964
- class: d(["text-red-500 text-sm", { "mt-2": v(I) }])
964
+ class: d(["text-red-500 text-sm", { "mt-2": v(L) }])
965
965
  }, c(t.$t(`components.detection_interface.${v(H)}_required`)), 3)) : h("", !0),
966
966
  v(R) ? (s(), S("p", {
967
967
  key: 2,
968
- class: d(["text-red-500 text-sm", { "mt-2": v(I) || v(L) }])
968
+ class: d(["text-red-500 text-sm", { "mt-2": v(L) || v(te) }])
969
969
  }, c(t.$t("components.detection_interface.file_size_error")), 3)) : h("", !0)
970
970
  ])]))], 32),
971
971
  E("div", hn, [E("span", null, "(" + c(v(W) / 1024 / 1024) + "MB, " + c(v(U).join(", ")) + ")", 1)]),
@@ -1094,7 +1094,7 @@ function zn(e, t) {
1094
1094
  var Bn = p({
1095
1095
  name: "solar-plate-bold",
1096
1096
  render: zn
1097
- }), Vn = /* @__PURE__ */ k({
1097
+ }), Vn = /* @__PURE__ */ A({
1098
1098
  __name: "PluginSchema",
1099
1099
  props: {
1100
1100
  schemaConfig: {},
@@ -1105,7 +1105,7 @@ var Bn = p({
1105
1105
  pluginId: {}
1106
1106
  },
1107
1107
  setup(e, { expose: t }) {
1108
- let n = e, r = ne(), o = i("dialogRef"), c = i("dialogRefProps"), { schemaConfig: l, pluginName: u, cameraId: d, buttonKey: f, sensorId: p, pluginId: h } = a(n), g = Ne(u), _ = Pe(d, u), ee = Q(p, h), b = A({
1108
+ let n = e, r = ne(), o = i("dialogRef"), c = i("dialogRefProps"), { schemaConfig: l, pluginName: u, cameraId: d, buttonKey: f, sensorId: p, pluginId: h } = a(n), g = Ne(u), _ = Pe(d, u), ee = Q(p, h), b = j({
1109
1109
  schema: [],
1110
1110
  config: {}
1111
1111
  }), S = y(() => d.value && p.value ? "sensor" : d.value ? "camera" : "plugin"), C = y(() => {
@@ -1124,7 +1124,7 @@ var Bn = p({
1124
1124
  ...e
1125
1125
  }, n = await C.value.submitValue(f.value, t);
1126
1126
  if (n?.toast) {
1127
- let e = H(n.toast.type);
1127
+ let e = se(n.toast.type);
1128
1128
  r.add({
1129
1129
  severity: e,
1130
1130
  detail: n.toast.message,
@@ -1173,12 +1173,12 @@ var Bn = p({
1173
1173
  }, rr = {
1174
1174
  key: 1,
1175
1175
  class: "flex items-center justify-center gap-2 w-full h-full text-muted text-sm"
1176
- }, ir = /*#__PURE__*/ L(/* @__PURE__ */ k({
1176
+ }, ir = /*#__PURE__*/ z(/* @__PURE__ */ A({
1177
1177
  __name: "Plugin",
1178
1178
  setup(e) {
1179
- let t = new oe(), n = new ze(), i = ye(), a = re(), u = ie(), p = ne(), C = se(), { lgBreakpoint: T } = I(), { t: D } = De(), O = A(u.params.scope), k = A(u.params.pluginname), M = y(() => O.value ? `${O.value}/${k.value}` : k.value), { contract: N, error: F } = Me(M);
1179
+ let t = new B(), n = new ze(), i = ye(), a = _e(), u = re(), p = ne(), C = ce(), { lgBreakpoint: T } = R(), { t: O } = De(), k = j(u.params.scope), A = j(u.params.pluginname), N = y(() => k.value ? `${k.value}/${A.value}` : A.value), { contract: P, error: I } = Me(N);
1180
1180
  n.toggleQueryActivator("getPluginContractQuery", !1);
1181
- let { data: L, isBusy: V } = n.getPluginQuery(M), { data: U, isBusy: W } = n.getPluginReadmeQuery(M), { data: le, isBusy: _e } = n.getPluginChangelogQuery(M), { data: G } = n.getPluginContractQuery(M), K = Ne(M), q = K.config, be = K.isLoading, { mutate: xe, isPending: Se } = t.activateCameraExtensionQuery(), { mutate: we, isPending: Te } = t.deactivateCameraExtensionQuery(), J = A("settings"), Z = A([]), Q = A([]), Pe = A(Ce.UNKNOWN), Fe, Ie = y(() => L.value?.contract?.role !== Oe.Service), Le = y(() => !!N.value && X(N.value, Y.NVR)), $ = y(() => Pe.value === Ce.READY || Pe.value === Ce.STARTED), Ve = y(() => $.value ? Le.value || q.value?.schema?.length ? !0 : be.value : !1);
1181
+ let { data: z, isBusy: ae } = n.getPluginQuery(N), { data: U, isBusy: W } = n.getPluginReadmeQuery(N), { data: ue, isBusy: ge } = n.getPluginChangelogQuery(N), { data: G } = n.getPluginContractQuery(N), K = Ne(N), q = K.config, be = K.isLoading, { mutate: xe, isPending: Se } = t.activateCameraExtensionQuery(), { mutate: we, isPending: Te } = t.deactivateCameraExtensionQuery(), J = j("settings"), Z = j([]), Q = j([]), Pe = j(Ce.UNKNOWN), Fe, Ie = y(() => z.value?.contract?.role !== Oe.Service), Le = y(() => !!P.value && X(P.value, Y.NVR)), $ = y(() => Pe.value === Ce.READY || Pe.value === Ce.STARTED), Ve = y(() => $.value ? Le.value || q.value?.schema?.length ? !0 : be.value : !1);
1182
1182
  function He(e, t) {
1183
1183
  return e.pluginInfo?.name === t;
1184
1184
  }
@@ -1186,7 +1186,7 @@ var Bn = p({
1186
1186
  try {
1187
1187
  await K.setValue(e.key, void 0), p.add({
1188
1188
  severity: "success",
1189
- detail: D("components.toast.config_updated"),
1189
+ detail: O("components.toast.config_updated"),
1190
1190
  life: 3e3
1191
1191
  });
1192
1192
  } catch (e) {
@@ -1201,7 +1201,7 @@ var Bn = p({
1201
1201
  try {
1202
1202
  let t = await K.submitValue(e.key, e.payload);
1203
1203
  if (t?.toast) {
1204
- let e = H(t.toast.type);
1204
+ let e = se(t.toast.type);
1205
1205
  p.add({
1206
1206
  severity: e,
1207
1207
  detail: t.toast.message,
@@ -1209,14 +1209,14 @@ var Bn = p({
1209
1209
  });
1210
1210
  }
1211
1211
  t?.schema?.length && C.openComponentDialog(Vn, { data: {
1212
- title: D("components.dialog.title.config"),
1212
+ title: O("components.dialog.title.config"),
1213
1213
  hideConfirmButton: !0,
1214
1214
  contentProps: {
1215
1215
  schemaConfig: {
1216
1216
  schema: t.schema,
1217
1217
  config: e.payload
1218
1218
  },
1219
- pluginName: M.value,
1219
+ pluginName: N.value,
1220
1220
  buttonKey: e.key
1221
1221
  }
1222
1222
  } });
@@ -1233,7 +1233,7 @@ var Bn = p({
1233
1233
  let t = Ee(q.value.schema, e);
1234
1234
  await K.setConfig(t), p.add({
1235
1235
  severity: "success",
1236
- detail: D("components.toast.config_updated"),
1236
+ detail: O("components.toast.config_updated"),
1237
1237
  life: 3e3
1238
1238
  });
1239
1239
  } catch (e) {
@@ -1245,31 +1245,31 @@ var Bn = p({
1245
1245
  }
1246
1246
  }
1247
1247
  async function Ye(e) {
1248
- L.value && L.value.contract && (Q.value.includes(e.name) ? we({
1248
+ z.value && z.value.contract && (Q.value.includes(e.name) ? we({
1249
1249
  cameraname: e.name,
1250
- pluginname: L.value.pluginName
1250
+ pluginname: z.value.pluginName
1251
1251
  }, { onSuccess: () => {
1252
1252
  Q.value = Q.value.filter((t) => t !== e.name);
1253
1253
  } }) : xe({
1254
1254
  cameraname: e.name,
1255
- pluginname: L.value.pluginName
1255
+ pluginname: z.value.pluginName
1256
1256
  }, { onSuccess: () => {
1257
1257
  Q.value = [...Q.value, e.name];
1258
1258
  } }));
1259
1259
  }
1260
- return x(L, (e) => {
1260
+ return x(z, (e) => {
1261
1261
  if (!e || e.disabled) {
1262
1262
  let e = Z.value.some((e) => e.name === "settings"), t = Z.value.some((e) => e.name === "cameras");
1263
1263
  e ? J.value = "settings" : t && (J.value = "cameras");
1264
1264
  }
1265
1265
  }, { deep: !0 }), x(u, () => {
1266
- k.value = u.params.pluginname;
1266
+ A.value = u.params.pluginname;
1267
1267
  }, {
1268
1268
  deep: !0,
1269
1269
  immediate: !0
1270
- }), x([L, K.isConnected], async ([e, t]) => {
1270
+ }), x([z, K.isConnected], async ([e, t]) => {
1271
1271
  e && !e.disabled && t && await K.getConfig();
1272
- }, { immediate: !0 }), x(M, (e) => {
1272
+ }, { immediate: !0 }), x(N, (e) => {
1273
1273
  Fe?.stop(), e && (Fe = g(), Fe.run(() => {
1274
1274
  let t = Ue(e);
1275
1275
  t.connect(), x(t.status, (e) => Pe.value = e, { immediate: !0 });
@@ -1282,7 +1282,7 @@ var Bn = p({
1282
1282
  }), x([
1283
1283
  G,
1284
1284
  q,
1285
- N,
1285
+ P,
1286
1286
  Ve,
1287
1287
  $,
1288
1288
  Ie
@@ -1290,110 +1290,110 @@ var Bn = p({
1290
1290
  let e = [], t = !1;
1291
1291
  Ve.value && e.push({
1292
1292
  name: "settings",
1293
- icon: ae,
1293
+ icon: ie,
1294
1294
  isInterface: !1,
1295
- tooltip: D("views.plugin.settings_tab_tooltip")
1296
- }), $.value && N.value && X(N.value, Y.MotionDetection) && (t = !0, e.push({
1295
+ tooltip: O("views.plugin.settings_tab_tooltip")
1296
+ }), $.value && P.value && X(P.value, Y.MotionDetection) && (t = !0, e.push({
1297
1297
  name: "motion_detection",
1298
1298
  icon: jn,
1299
1299
  isInterface: !0,
1300
- tooltip: D("views.plugin.motion_detection_tab_tooltip")
1301
- })), $.value && N.value && X(N.value, Y.ObjectDetection) && (t = !0, e.push({
1300
+ tooltip: O("views.plugin.motion_detection_tab_tooltip")
1301
+ })), $.value && P.value && X(P.value, Y.ObjectDetection) && (t = !0, e.push({
1302
1302
  name: "object_detection",
1303
1303
  icon: Tn,
1304
1304
  isInterface: !0,
1305
- tooltip: D("views.plugin.object_detection_tab_tooltip")
1306
- })), $.value && N.value && X(N.value, Y.AudioDetection) && (t = !0, e.push({
1305
+ tooltip: O("views.plugin.object_detection_tab_tooltip")
1306
+ })), $.value && P.value && X(P.value, Y.AudioDetection) && (t = !0, e.push({
1307
1307
  name: "audio_detection",
1308
1308
  icon: Sn,
1309
1309
  isInterface: !0,
1310
- tooltip: D("views.plugin.audio_detection_tab_tooltip")
1311
- })), $.value && N.value && X(N.value, Y.FaceDetection) && (t = !0, e.push({
1310
+ tooltip: O("views.plugin.audio_detection_tab_tooltip")
1311
+ })), $.value && P.value && X(P.value, Y.FaceDetection) && (t = !0, e.push({
1312
1312
  name: "face_detection",
1313
1313
  icon: On,
1314
1314
  isInterface: !0,
1315
- tooltip: D("views.plugin.face_detection_tab_tooltip")
1316
- })), $.value && N.value && X(N.value, Y.FaceEmbedding) && (t = !0, e.push({
1315
+ tooltip: O("views.plugin.face_detection_tab_tooltip")
1316
+ })), $.value && P.value && X(P.value, Y.FaceEmbedding) && (t = !0, e.push({
1317
1317
  name: "face_recognition",
1318
1318
  icon: Ae,
1319
1319
  isInterface: !0,
1320
- tooltip: D("views.plugin.face_recognition_tab_tooltip")
1321
- })), $.value && N.value && X(N.value, Y.LicensePlateDetection) && (t = !0, e.push({
1320
+ tooltip: O("views.plugin.face_recognition_tab_tooltip")
1321
+ })), $.value && P.value && X(P.value, Y.LicensePlateDetection) && (t = !0, e.push({
1322
1322
  name: "license_plate_detection",
1323
1323
  icon: Bn,
1324
1324
  isInterface: !0,
1325
- tooltip: D("views.plugin.license_plate_detection_tab_tooltip")
1326
- })), $.value && N.value && X(N.value, Y.ClassifierDetection) && (t = !0, e.push({
1325
+ tooltip: O("views.plugin.license_plate_detection_tab_tooltip")
1326
+ })), $.value && P.value && X(P.value, Y.ClassifierDetection) && (t = !0, e.push({
1327
1327
  name: "classifier_detection",
1328
1328
  icon: Pn,
1329
1329
  isInterface: !0,
1330
- tooltip: D("views.plugin.classifier_detection_tab_tooltip")
1331
- })), $.value && N.value && X(N.value, Y.ClipDetection) && (t = !0, e.push({
1330
+ tooltip: O("views.plugin.classifier_detection_tab_tooltip")
1331
+ })), $.value && P.value && X(P.value, Y.ClipDetection) && (t = !0, e.push({
1332
1332
  name: "clip_detection",
1333
1333
  icon: Ln,
1334
1334
  isInterface: !0,
1335
- tooltip: D("views.plugin.clip_detection_tab_tooltip")
1336
- })), $.value && N.value && X(N.value, Y.Notifier) && (t = !0, e.push({
1335
+ tooltip: O("views.plugin.clip_detection_tab_tooltip")
1336
+ })), $.value && P.value && X(P.value, Y.Notifier) && (t = !0, e.push({
1337
1337
  name: "notification",
1338
- icon: B,
1338
+ icon: V,
1339
1339
  isInterface: !0,
1340
- tooltip: D("views.plugin.notification_tab_tooltip")
1340
+ tooltip: O("views.plugin.notification_tab_tooltip")
1341
1341
  })), Ie.value && e.push({
1342
1342
  name: "cameras",
1343
- icon: me,
1343
+ icon: pe,
1344
1344
  isInterface: !1,
1345
- tooltip: D("views.plugin.cameras_tab_tooltip")
1346
- }), G.value?.cameras.length && (Q.value = G.value.cameras.filter((e) => e.plugins?.some((e) => e.name === M.value)).map((e) => e.name)), Z.value = [...e], L.value?.disabled || (Ve.value ? J.value = "settings" : t ? J.value = Z.value.filter((e) => e.isInterface)[0].name : Ie.value && (J.value = "cameras"));
1345
+ tooltip: O("views.plugin.cameras_tab_tooltip")
1346
+ }), G.value?.cameras.length && (Q.value = G.value.cameras.filter((e) => e.plugins?.some((e) => e.name === N.value)).map((e) => e.name)), Z.value = [...e], z.value?.disabled || (Ve.value ? J.value = "settings" : t ? J.value = Z.value.filter((e) => e.isInterface)[0].name : Ie.value && (J.value = "cameras"));
1347
1347
  }, {
1348
1348
  deep: !0,
1349
1349
  immediate: !0
1350
- }), x(F, (e) => {
1351
- e && L.value && !L.value.disabled && i.error("Error connecting to plugin:", e);
1350
+ }), x(I, (e) => {
1351
+ e && z.value && !z.value.disabled && i.error("Error connecting to plugin:", e);
1352
1352
  }), r(() => Fe?.stop()), (e, t) => {
1353
- let n = Ke, r = je, i = R, u = ge, p = ve, g = We, y = ce, x = he, C = ke, D = Re, O = yn, k = Dt, A = Be, N = ue, F = z, I = fe, B = pe, ne = de, re = $e, ie = P;
1354
- return s(), S("div", { key: v(M) }, [
1355
- j(i, { position: "left" }, {
1356
- default: b(() => [j(r, {
1353
+ let n = Ke, r = je, i = fe, u = he, p = ve, g = We, y = L, x = oe, C = ke, O = Re, k = yn, A = Dt, j = Be, P = te, I = le, R = me, B = H, V = de, ne = $e, re = F;
1354
+ return s(), S("div", { key: v(N) }, [
1355
+ M(i, { position: "left" }, {
1356
+ default: b(() => [M(r, {
1357
1357
  severity: "secondary",
1358
1358
  text: "",
1359
1359
  class: "cui-button p-2 text-color non-draggable-region",
1360
1360
  onClick: t[0] ||= (t) => e.$router.push("/plugins")
1361
1361
  }, {
1362
- icon: b(() => [j(n, { class: "w-6 h-6" })]),
1362
+ icon: b(() => [M(n, { class: "w-6 h-6" })]),
1363
1363
  _: 1
1364
1364
  })]),
1365
1365
  _: 1
1366
1366
  }),
1367
- j(i, { position: "center" }, {
1367
+ M(i, { position: "center" }, {
1368
1368
  default: b(() => [E("span", Hn, c(e.$t("views.plugin.title")), 1)]),
1369
1369
  _: 1
1370
1370
  }),
1371
1371
  E("div", { class: d(["grid grid-auto grid-cols-1 lg:grid-cols-3 gap-6 lg:h-full", { "!gap-2": v(T) }]) }, [
1372
- E("div", Un, [v(L) ? (s(), m(g, {
1373
- key: v(L).pluginName,
1374
- plugin: v(L),
1372
+ E("div", Un, [v(z) ? (s(), m(g, {
1373
+ key: v(z).pluginName,
1374
+ plugin: v(z),
1375
1375
  class: "h-[220px]"
1376
1376
  }, null, 8, ["plugin"])) : (s(), m(p, {
1377
1377
  key: 0,
1378
1378
  class: "cui-card items-center justify-center !h-[220px]"
1379
1379
  }, {
1380
- content: b(() => [E("div", Wn, [j(u, {
1380
+ content: b(() => [E("div", Wn, [M(u, {
1381
1381
  class: "w-[30px] h-[30px] m-0",
1382
1382
  "stroke-width": "5"
1383
1383
  })])]),
1384
1384
  _: 1
1385
1385
  }))]),
1386
- E("div", Gn, [E("span", Kn, c(e.$t("views.plugin.settings")), 1), j(p, { class: d(["cui-card !h-auto lg:!h-full", { "items-center justify-center": v(V) || v(be) }]) }, {
1387
- content: b(() => [v(V) || v(be) ? (s(), S("div", qn, [j(u, {
1386
+ E("div", Gn, [E("span", Kn, c(e.$t("views.plugin.settings")), 1), M(p, { class: d(["cui-card !h-auto lg:!h-full", { "items-center justify-center": v(ae) || v(be) }]) }, {
1387
+ content: b(() => [v(ae) || v(be) ? (s(), S("div", qn, [M(u, {
1388
1388
  class: "w-[30px] h-[30px] m-0",
1389
1389
  "stroke-width": "5"
1390
- })])) : (s(), S("div", Jn, [E("h3", Yn, c(e.$t("views.plugin.settings")), 1), v(L)?.disabled ? (s(), S("div", Xn, [E("span", null, c(e.$t("views.plugin.disabled_info")), 1)])) : (s(), m(ne, {
1390
+ })])) : (s(), S("div", Jn, [E("h3", Yn, c(e.$t("views.plugin.settings")), 1), v(z)?.disabled ? (s(), S("div", Xn, [E("span", null, c(e.$t("views.plugin.disabled_info")), 1)])) : (s(), m(V, {
1391
1391
  key: 1,
1392
1392
  value: v(J),
1393
1393
  "onUpdate:value": t[2] ||= (e) => ee(J) ? J.value = e : null,
1394
1394
  scrollable: ""
1395
1395
  }, {
1396
- default: b(() => [j(x, {
1396
+ default: b(() => [M(x, {
1397
1397
  class: "justify-between",
1398
1398
  pt: {
1399
1399
  activeBar: { class: "!w-auto" },
@@ -1402,19 +1402,19 @@ var Bn = p({
1402
1402
  }, {
1403
1403
  default: b(() => [(s(!0), S(w, null, o(v(Z), (e, t) => (s(), m(y, {
1404
1404
  key: t,
1405
- disabled: e.isInterface && v(L)?.disabled,
1405
+ disabled: e.isInterface && v(z)?.disabled,
1406
1406
  value: e.name,
1407
1407
  "as-child": ""
1408
1408
  }, {
1409
- default: b((t) => [te((s(), S("div", l({ ref_for: !0 }, t.a11yAttrs, {
1409
+ default: b((t) => [D((s(), S("div", l({ ref_for: !0 }, t.a11yAttrs, {
1410
1410
  class: ["flex flex-col items-center justify-center flex-1 content-background !py-3 h-[55px]", [{ "hover:!text-color active:!text-color focus:!text-color": !t.active }, t.class]],
1411
1411
  onClick: t.onClick
1412
- }), [(s(), m(f(e.icon), { class: "w-5 h-5" }))], 16, Zn)), [[ie, { value: e.tooltip }]])]),
1412
+ }), [(s(), m(f(e.icon), { class: "w-5 h-5" }))], 16, Zn)), [[re, { value: e.tooltip }]])]),
1413
1413
  _: 2
1414
1414
  }, 1032, ["disabled", "value"]))), 128))]),
1415
1415
  _: 1
1416
- }), j(B, { class: "px-0 pb-0" }, {
1417
- default: b(() => [(s(!0), S(w, null, o(v(Z), (n, i) => (s(), m(I, {
1416
+ }), M(B, { class: "px-0 pb-0" }, {
1417
+ default: b(() => [(s(!0), S(w, null, o(v(Z), (n, i) => (s(), m(R, {
1418
1418
  key: i,
1419
1419
  value: n.name,
1420
1420
  "as-child": ""
@@ -1422,14 +1422,14 @@ var Bn = p({
1422
1422
  default: b((i) => [i.active ? (s(), S("div", l({
1423
1423
  key: 0,
1424
1424
  class: i.class
1425
- }, { ref_for: !0 }, i.a11yAttrs), [n.name === "settings" ? (s(), S("div", Qn, [v(Le) ? (s(), S("div", $n, [E("span", null, c(e.$t("views.plugin.nvr_settings_hint")), 1), j(r, {
1425
+ }, { ref_for: !0 }, i.a11yAttrs), [n.name === "settings" ? (s(), S("div", Qn, [v(Le) ? (s(), S("div", $n, [E("span", null, c(e.$t("views.plugin.nvr_settings_hint")), 1), M(r, {
1426
1426
  class: "cui-button-medium whitespace-nowrap",
1427
1427
  label: e.$t("views.plugin.nvr_settings_button"),
1428
1428
  onClick: t[1] ||= (t) => e.$router.push("/settings/recordings")
1429
1429
  }, {
1430
- icon: b(() => [j(C, { class: "w-4 h-4" })]),
1430
+ icon: b(() => [M(C, { class: "w-4 h-4" })]),
1431
1431
  _: 1
1432
- }, 8, ["label"])])) : v(q)?.schema?.length ? (s(), m(D, {
1432
+ }, 8, ["label"])])) : v(q)?.schema?.length ? (s(), m(O, {
1433
1433
  key: 1,
1434
1434
  "schema-form": {
1435
1435
  schema: v(q).schema,
@@ -1440,45 +1440,45 @@ var Bn = p({
1440
1440
  onOnAction: Ge,
1441
1441
  onOnSubmit: qe,
1442
1442
  onOnFormSubmit: Je
1443
- }, null, 8, ["schema-form", "loading"])) : (s(), S("div", er, [E("span", null, c(e.$t("views.plugin.no_settings")), 1)]))])) : n.name === "motion_detection" ? (s(), m(O, {
1443
+ }, null, 8, ["schema-form", "loading"])) : (s(), S("div", er, [E("span", null, c(e.$t("views.plugin.no_settings")), 1)]))])) : n.name === "motion_detection" ? (s(), m(k, {
1444
1444
  key: 1,
1445
- "plugin-name": v(M),
1445
+ "plugin-name": v(N),
1446
1446
  type: "motionDetection"
1447
- }, null, 8, ["plugin-name"])) : n.name === "object_detection" ? (s(), m(O, {
1447
+ }, null, 8, ["plugin-name"])) : n.name === "object_detection" ? (s(), m(k, {
1448
1448
  key: 2,
1449
- "plugin-name": v(M),
1449
+ "plugin-name": v(N),
1450
1450
  type: "objectDetection"
1451
- }, null, 8, ["plugin-name"])) : n.name === "audio_detection" ? (s(), m(O, {
1451
+ }, null, 8, ["plugin-name"])) : n.name === "audio_detection" ? (s(), m(k, {
1452
1452
  key: 3,
1453
- "plugin-name": v(M),
1453
+ "plugin-name": v(N),
1454
1454
  type: "audioDetection"
1455
- }, null, 8, ["plugin-name"])) : n.name === "face_detection" ? (s(), m(O, {
1455
+ }, null, 8, ["plugin-name"])) : n.name === "face_detection" ? (s(), m(k, {
1456
1456
  key: 4,
1457
- "plugin-name": v(M),
1457
+ "plugin-name": v(N),
1458
1458
  type: "faceDetection"
1459
- }, null, 8, ["plugin-name"])) : n.name === "face_recognition" ? (s(), m(O, {
1459
+ }, null, 8, ["plugin-name"])) : n.name === "face_recognition" ? (s(), m(k, {
1460
1460
  key: 5,
1461
- "plugin-name": v(M),
1461
+ "plugin-name": v(N),
1462
1462
  type: "faceRecognition"
1463
- }, null, 8, ["plugin-name"])) : n.name === "license_plate_detection" ? (s(), m(O, {
1463
+ }, null, 8, ["plugin-name"])) : n.name === "license_plate_detection" ? (s(), m(k, {
1464
1464
  key: 6,
1465
- "plugin-name": v(M),
1465
+ "plugin-name": v(N),
1466
1466
  type: "licensePlateDetection"
1467
- }, null, 8, ["plugin-name"])) : n.name === "classifier_detection" ? (s(), m(O, {
1467
+ }, null, 8, ["plugin-name"])) : n.name === "classifier_detection" ? (s(), m(k, {
1468
1468
  key: 7,
1469
- "plugin-name": v(M),
1469
+ "plugin-name": v(N),
1470
1470
  type: "classifierDetection"
1471
- }, null, 8, ["plugin-name"])) : n.name === "clip_detection" ? (s(), m(O, {
1471
+ }, null, 8, ["plugin-name"])) : n.name === "clip_detection" ? (s(), m(k, {
1472
1472
  key: 8,
1473
- "plugin-name": v(M),
1473
+ "plugin-name": v(N),
1474
1474
  type: "clipDetection"
1475
- }, null, 8, ["plugin-name"])) : n.name === "notification" ? (s(), m(k, {
1475
+ }, null, 8, ["plugin-name"])) : n.name === "notification" ? (s(), m(A, {
1476
1476
  key: 9,
1477
- "plugin-name": v(M)
1477
+ "plugin-name": v(N)
1478
1478
  }, null, 8, ["plugin-name"])) : n.name === "cameras" ? (s(), S("div", tr, [v(G)?.cameras?.length ? v($) ? (s(!0), S(w, { key: 2 }, o(v(G).cameras, (e) => (s(), S("div", {
1479
1479
  key: e.name,
1480
1480
  class: "cui-list-item"
1481
- }, [j(F, {
1481
+ }, [M(I, {
1482
1482
  disabled: v(Se) || v(Te) || v(K).isLoading.value,
1483
1483
  active: v(Q).includes(e.name),
1484
1484
  class: "h-14",
@@ -1486,9 +1486,9 @@ var Bn = p({
1486
1486
  }, _({
1487
1487
  default: b(() => [E("span", null, c(e.name), 1)]),
1488
1488
  _: 2
1489
- }, [!v(L) || !He(e, v(L).pluginName) ? {
1489
+ }, [!v(z) || !He(e, v(z).pluginName) ? {
1490
1490
  name: "append",
1491
- fn: b(() => [j(N, {
1491
+ fn: b(() => [M(P, {
1492
1492
  "model-value": v(Q).includes(e.name),
1493
1493
  disabled: v(Se) || v(Te) || v(K).isLoading.value || !v($),
1494
1494
  "onUpdate:modelValue": () => Ye(e)
@@ -1502,7 +1502,7 @@ var Bn = p({
1502
1502
  "disabled",
1503
1503
  "active",
1504
1504
  "onClick"
1505
- ])]))), 128)) : (s(), S("div", rr, [j(A, { class: "w-4 h-4 flex-shrink-0" }), E("span", null, c(e.$t("views.plugin.assignment_requires_running")), 1)])) : (s(), S("div", nr, [E("span", null, c(e.$t("views.plugin.no_cameras")), 1)]))])) : h("", !0)], 16)) : h("", !0)]),
1505
+ ])]))), 128)) : (s(), S("div", rr, [M(j, { class: "w-4 h-4 flex-shrink-0" }), E("span", null, c(e.$t("views.plugin.assignment_requires_running")), 1)])) : (s(), S("div", nr, [E("span", null, c(e.$t("views.plugin.no_cameras")), 1)]))])) : h("", !0)], 16)) : h("", !0)]),
1506
1506
  _: 2
1507
1507
  }, 1032, ["value"]))), 128))]),
1508
1508
  _: 1
@@ -1511,7 +1511,7 @@ var Bn = p({
1511
1511
  }, 8, ["value"]))]))]),
1512
1512
  _: 1
1513
1513
  }, 8, ["class"])]),
1514
- j(re, {
1514
+ M(ne, {
1515
1515
  class: "lg:col-span-2 order-3",
1516
1516
  title: e.$t("views.plugin.readme"),
1517
1517
  placeholder: e.$t("views.plugin.no_readme"),
@@ -1523,12 +1523,12 @@ var Bn = p({
1523
1523
  "content",
1524
1524
  "loading"
1525
1525
  ]),
1526
- j(re, {
1526
+ M(ne, {
1527
1527
  class: "lg:col-span-2 order-4",
1528
1528
  title: e.$t("views.plugin.changelog"),
1529
1529
  placeholder: e.$t("views.plugin.no_changelog"),
1530
- content: v(le),
1531
- loading: v(_e)
1530
+ content: v(ue),
1531
+ loading: v(ge)
1532
1532
  }, null, 8, [
1533
1533
  "title",
1534
1534
  "placeholder",