@camera.ui/server 2.1.16 → 2.1.17

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 (345) hide show
  1. package/dist/interface/assets/{404-CqZDSHs_.js → 404-Cg1J2LX8.js} +1 -1
  2. package/dist/interface/assets/{About-Dk4SUTxo.js → About-CW7G6onF.js} +1 -1
  3. package/dist/interface/assets/Automation-CIwBJK1Y.js +3 -0
  4. package/dist/interface/assets/{AutomationImport-DDywNuRK.js → AutomationImport-CHkNv7C-.js} +2 -2
  5. package/dist/interface/assets/{AutomationStore-o0JYwGRr.js → AutomationStore-5bTym-Gl.js} +2 -2
  6. package/dist/interface/assets/{AutomationStoreDetail-DeAGahaF.js → AutomationStoreDetail-BF8UoG_l.js} +2 -2
  7. package/dist/interface/assets/Automations-CaX2fHhJ.js +2 -0
  8. package/dist/interface/assets/Camera-1zdmJnP-.js +2 -0
  9. package/dist/interface/assets/Camera-DSyI4J5-.css +1 -0
  10. package/dist/interface/assets/{CameraConsole-32WtMX1a.js → CameraConsole-CB1HEFKJ.js} +2 -2
  11. package/dist/interface/assets/{Cameras-zffI0fD9.js → Cameras-CyCY0rW9.js} +2 -2
  12. package/dist/interface/assets/Camview-Dia7G1u_.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-Dg0V9Hei.js → CertificateUpload-jP-JIxmY.js} +1 -1
  14. package/dist/interface/assets/{Config-CKrqFe-g.js → Config-DOa7WHyQ.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionCameraControl-sbvBJQr3.js → ConfigActionCameraControl-BmCE3XLC.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionDelay-CiPxydTn.js → ConfigActionDelay-CfHCZ0uf.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionHttp-UqiZm0kq.js → ConfigActionHttp-DdM7gEb0.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionImageInput-DkGVZ-ti.js → ConfigActionImageInput-CrPPNT4K.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionMqtt-DQu5H4bY.js → ConfigActionMqtt-D7-u4zri.js} +1 -1
  20. package/dist/interface/assets/ConfigActionNotification-BSuUI2FP.js +1 -0
  21. package/dist/interface/assets/{ConfigActionNotificationControl-B_EpM5m9.js → ConfigActionNotificationControl-DfvAxKnx.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionOutput-DeOsk0T1.js → ConfigActionOutput-DPplSpm_.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionPlugin-CSZHcNQ6.js → ConfigActionPlugin-BnRn_p26.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionSensor-Dx7DcDVr.js → ConfigActionSensor-CoEoqFAY.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSnapshot-Baj-r4Cd.js → ConfigActionSnapshot-wXdFiyU-.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionVariable-Ccu___aS.js → ConfigActionVariable-BqJvOOHH.js} +1 -1
  27. package/dist/interface/assets/{ConfigConditionIfElse-0hU7UW8q.js → ConfigConditionIfElse-DG2Kgqn5.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionSensorState-BX19KYLJ.js → ConfigConditionSensorState-BytECo6r.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSwitch-D-XUhwcE.js → ConfigConditionSwitch-DaSt9uZE.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionTime-B6OO8cmh.js → ConfigConditionTime-D42OsshU.js} +1 -1
  31. package/dist/interface/assets/{ConfigSensorValueInput-DZHYQez8.js → ConfigSensorValueInput-BtEmtZSm.js} +1 -1
  32. package/dist/interface/assets/{ConfigTriggerDetection-BNyR5aOG.js → ConfigTriggerDetection-CDH2fzsu.js} +1 -1
  33. package/dist/interface/assets/ConfigTriggerGeofence-Dopegic5.js +1 -0
  34. package/dist/interface/assets/{ConfigTriggerManual-DFSTAuUt.js → ConfigTriggerManual-DAtWfH0-.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerMqtt-D_O8RyrQ.js → ConfigTriggerMqtt-CB3_PxqD.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerSchedule-BFZnBfCM.js → ConfigTriggerSchedule-BUzOrF23.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSensor-D1Tst2wQ.js → ConfigTriggerSensor-D5kRIb7I.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSystem-BNfatCp8.js → ConfigTriggerSystem-Cud77VMR.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerWebhook--nEO_Odl.js → ConfigTriggerWebhook-CeG5R3kV.js} +1 -1
  40. package/dist/interface/assets/Console-DdOD6Pd5.js +1 -0
  41. package/dist/interface/assets/{CuiAutomationRunsDialog-CkMRT1C8.js → CuiAutomationRunsDialog-Cym6xMVJ.js} +1 -1
  42. package/dist/interface/assets/CuiBottomSheet-B3QSHp4-.js +1 -0
  43. package/dist/interface/assets/{CuiBottomSheet-mKu68LHd.js → CuiBottomSheet-BSoMhymR.js} +1 -1
  44. package/dist/interface/assets/{CuiCameraPipCard-Djp8qBvZ.js → CuiCameraPipCard-DGgrxZJd.js} +1 -1
  45. package/dist/interface/assets/CuiCameraRecordings-Bu68AFdM.js +1 -0
  46. package/dist/interface/assets/{CuiCameraShares-B73pWIFh.js → CuiCameraShares-BOhfTcxQ.js} +1 -1
  47. package/dist/interface/assets/CuiCameraTable-C1CHYnda.js +1 -0
  48. package/dist/interface/assets/{CuiCameraTable-DripFD6D.js → CuiCameraTable-D0lc0VAJ.js} +2 -2
  49. package/dist/interface/assets/{CuiChartTable-DyyQV7mt.js → CuiChartTable-DcrFI8tT.js} +1 -1
  50. package/dist/interface/assets/{CuiConsole-UxJwQqNG.js → CuiConsole-ICLBq4Q-.js} +2 -2
  51. package/dist/interface/assets/{CuiDataTable-DZm0I8k7.js → CuiDataTable-BooFPsGH.js} +1 -1
  52. package/dist/interface/assets/{CuiLightControl-CB3l0ZLj.js → CuiLightControl-D1ih2hO-.js} +1 -1
  53. package/dist/interface/assets/{CuiList-DMQgYqaU.js → CuiList-ChI82KjI.js} +1 -1
  54. package/dist/interface/assets/{CuiPluginCard-HpQMNND1.js → CuiPluginCard-DqdSWrwb.js} +2 -2
  55. package/dist/interface/assets/{CuiPluginCategoryChip-C6aEP-ug.js → CuiPluginCategoryChip-DsRcMb72.js} +1 -1
  56. package/dist/interface/assets/{CuiPluginOAuthButton-DpGacvsa.js → CuiPluginOAuthButton-BSvRKUSY.js} +2 -2
  57. package/dist/interface/assets/{CuiPluginTrustBadge-Dl1PEsm6.js → CuiPluginTrustBadge-DXL7N1LC.js} +1 -1
  58. package/dist/interface/assets/CuiQRCode-DHln6Lo9.js +1 -0
  59. package/dist/interface/assets/CuiSchema-B7i2O3Fy.js +1 -0
  60. package/dist/interface/assets/{CuiTopNavbarItem-qPj6XwXr.js → CuiTopNavbarItem-TMfTyt8u.js} +1 -1
  61. package/dist/interface/assets/{Faces-DRWIPDfH.js → Faces-CyTkMqMW.js} +1 -1
  62. package/dist/interface/assets/FirstSteps-B4gb7Sgn.js +1 -0
  63. package/dist/interface/assets/Floorplan-DBwWnuys.js +1 -0
  64. package/dist/interface/assets/{Instances-VC4-anOF.js → Instances-D9fnwItz.js} +1 -1
  65. package/dist/interface/assets/{Logs-DROgZxLH.js → Logs-Brk6fJa0.js} +2 -2
  66. package/dist/interface/assets/{Menu-CmTk2or7.js → Menu-CrdBz1Er.js} +1 -1
  67. package/dist/interface/assets/Metrics-DXMgfNIL.js +9 -0
  68. package/dist/interface/assets/{OAuthDeviceFlow-BrdiDoCh.js → OAuthDeviceFlow-D5hSwHeO.js} +1 -1
  69. package/dist/interface/assets/Plugin-C65oNZ9N.js +1 -0
  70. package/dist/interface/assets/{PluginConsole-CxiW1w6K.js → PluginConsole-Bs3Z5u9-.js} +2 -2
  71. package/dist/interface/assets/PluginDetail-C3KUrHvq.js +2 -0
  72. package/dist/interface/assets/{PluginSchema-BgVZ_4if.js → PluginSchema-D22zRDkZ.js} +1 -1
  73. package/dist/interface/assets/PluginSearch-4ngDmZQ2.js +1 -0
  74. package/dist/interface/assets/PluginSearch-D7XYJzl4.js +2 -0
  75. package/dist/interface/assets/{PluginUpdateProgress-DEcle8-x.js → PluginUpdateProgress-MEdR7mID.js} +1 -1
  76. package/dist/interface/assets/Plugins-DQTlb12n.js +1 -0
  77. package/dist/interface/assets/Recordings-CqBwRvn-.js +1 -0
  78. package/dist/interface/assets/SensorEdit-BM2zHAM7.js +1 -0
  79. package/dist/interface/assets/{SensorHistory-H03yZia0.js → SensorHistory-Dbv2ODqn.js} +1 -1
  80. package/dist/interface/assets/Sensors-B4YzyU7R.js +2 -0
  81. package/dist/interface/assets/{Sensors-DzGV2Ngo.css → Sensors-DETviyjO.css} +1 -1
  82. package/dist/interface/assets/{Settings-9nC18KH8.js → Settings--wgPYOyK.js} +1 -1
  83. package/dist/interface/assets/{SettingsAccount-BTYvhCJP.js → SettingsAccount-BF6Cp8Rt.js} +1 -1
  84. package/dist/interface/assets/SettingsAccount-D7CHP0f1.js +1 -0
  85. package/dist/interface/assets/SettingsAppearance-Ba0jbbVW.js +1 -0
  86. package/dist/interface/assets/SettingsAppearance-BpXZwBjO.js +1 -0
  87. package/dist/interface/assets/{SettingsBackup-Bu48xw4v.js → SettingsBackup-qEYm-6De.js} +1 -1
  88. package/dist/interface/assets/{SettingsList-74c5OMQf.js → SettingsList-1brGZ2E_.js} +1 -1
  89. package/dist/interface/assets/{SettingsMqtt-81rJ4zV6.js → SettingsMqtt-Ds8YpoLA.js} +1 -1
  90. package/dist/interface/assets/SettingsNotifications-Diqpfbrh.js +1 -0
  91. package/dist/interface/assets/{SettingsPermissions-DqyVtVKE.js → SettingsPermissions-GmGacrLc.js} +1 -1
  92. package/dist/interface/assets/{SettingsRecordings-Bxn28Frz.js → SettingsRecordings-CtEm_7PE.js} +1 -1
  93. package/dist/interface/assets/SettingsRemote-CENHI51U.js +2 -0
  94. package/dist/interface/assets/SettingsSystem-YkigO2-V.js +2 -0
  95. package/dist/interface/assets/{SettingsUsers-DUOJN7uO.js → SettingsUsers-BNPa87gu.js} +1 -1
  96. package/dist/interface/assets/{Terminal-45QW5yPE.js → Terminal-uxOHZpUp.js} +3 -3
  97. package/dist/interface/assets/Training-BRZKDa8S.js +1 -0
  98. package/dist/interface/assets/Training-DMNjB3uX.css +1 -0
  99. package/dist/interface/assets/{Updates-B32Pra5E.js → Updates-CbscgL60.js} +1 -1
  100. package/dist/interface/assets/{VariableInput-CyTGQFtz.js → VariableInput-Dqg4sqBD.js} +1 -1
  101. package/dist/interface/assets/{VariableSuggestions-BLlD4F87.js → VariableSuggestions-DZCkPAVs.js} +1 -1
  102. package/dist/interface/assets/{VersionsHandler-CIq6v6lE.js → VersionsHandler-BYFshrhO.js} +2 -2
  103. package/dist/interface/assets/{VirtualSensorCreate-Di2IyYAg.js → VirtualSensorCreate-CQ-C4si3.js} +1 -1
  104. package/dist/interface/assets/{Workers-tb039NGc.js → Workers-DC77SjZQ.js} +2 -2
  105. package/dist/interface/assets/api-Cb8_C_se.js +4 -0
  106. package/dist/interface/assets/{api-4JRK8ya0.js → api-CbYNh0N1.js} +1 -1
  107. package/dist/interface/assets/api-DIyogyx5.css +2 -0
  108. package/dist/interface/assets/{auth-ISkWvJbZ.js → auth-Bev1OdHw.js} +1 -1
  109. package/dist/interface/assets/{automations-CeH81DN-.js → automations-DrpESBB_.js} +1 -1
  110. package/dist/interface/assets/cameraSources-QF2xqMxX.js +1 -0
  111. package/dist/interface/assets/cloudHandoff-BknPGUc0.js +1 -0
  112. package/dist/interface/assets/{config-DthCyQJv.js → config-DCK7k2P4.js} +1 -1
  113. package/dist/interface/assets/{flowSchema-DZ2bDhJt.js → flowSchema-D3Ddm5sW.js} +1 -1
  114. package/dist/interface/assets/{intercomService-Bd71KwsB.js → intercomService-DIwpkwG4.js} +1 -1
  115. package/dist/interface/assets/{main-ExPfCNlz.css → main-Cb5Z8N7b.css} +1 -1
  116. package/dist/interface/assets/main-DVwdxi04.js +3 -0
  117. package/dist/interface/assets/{mqtt-oPORDio9.js → mqtt-COWs_r7k.js} +1 -1
  118. package/dist/interface/assets/{notifications-BirFkpbF.js → notifications-sIv1-H85.js} +1 -1
  119. package/dist/interface/assets/{plugins-vyA7MMhx.js → plugins-CXQj6XQt.js} +1 -1
  120. package/dist/interface/assets/{rooms-MfPQPywT.js → rooms-DScX89Ks.js} +1 -1
  121. package/dist/interface/assets/{sensorIcons-B4H11BbT.js → sensorIcons-CvVtOgZB.js} +1 -1
  122. package/dist/interface/assets/sensorSlots-DsfKs8_k.js +1 -0
  123. package/dist/interface/assets/{sensors-xryx8Wvn.js → sensors-Bf_gYmB5.js} +1 -1
  124. package/dist/interface/assets/{server-BK9gwxH8.js → server-CahE6_Pv.js} +1 -1
  125. package/dist/interface/assets/{theme-DQeAzJ1v.js → theme-DmUc7UHl.js} +1 -1
  126. package/dist/interface/assets/{types-Bcj_K26s.js → types-D4kUDpid.js} +1 -1
  127. package/dist/interface/assets/{types-kN1Tn2Og.js → types-Dse8_nTX.js} +1 -1
  128. package/dist/interface/assets/{types-D626ASim.js → types-hwOSxlNg.js} +1 -1
  129. package/dist/interface/assets/ungrouped-Byxe4LNR.js +1 -0
  130. package/dist/interface/assets/ungrouped-n3OnGhCH.css +1 -0
  131. package/dist/interface/assets/{updates-Dzqxen12.js → updates-C4gAnNY6.js} +1 -1
  132. package/dist/interface/assets/{useAppVersion-JY7cdzlr.js → useAppVersion--b5Zj7tl.js} +1 -1
  133. package/dist/interface/assets/{useBackupRestore-CeShFVWy.js → useBackupRestore-Bx13MgrJ.js} +1 -1
  134. package/dist/interface/assets/{useCameraOptions-BeUNT5Rz.js → useCameraOptions-DN4gJjIl.js} +1 -1
  135. package/dist/interface/assets/{useLogsSocket-DDSuX00j.js → useLogsSocket-DqVa6Hky.js} +1 -1
  136. package/dist/interface/assets/{useNavLayout-DgAgRNq2.js → useNavLayout-CuQ9F9cj.js} +1 -1
  137. package/dist/interface/assets/{usePermissions-DFzwIs8L.js → usePermissions-C1L7m3Nc.js} +1 -1
  138. package/dist/interface/assets/{usePluginUpdates-Bb-LOOyL.js → usePluginUpdates-CvQPy02x.js} +1 -1
  139. package/dist/interface/assets/{usePushRegistration-iverdyzz.js → usePushRegistration-BKvefMFq.js} +1 -1
  140. package/dist/interface/assets/{useServerRestart-BchofDLe.js → useServerRestart-ByN6484v.js} +1 -1
  141. package/dist/interface/assets/{useStreamStatus-BOJt1v1c.js → useStreamStatus-BbtTnidZ.js} +1 -1
  142. package/dist/interface/assets/{useTabSwipe-v0Yet-YZ.js → useTabSwipe-D9udGzPx.js} +1 -1
  143. package/dist/interface/assets/{useUpdateChannel-K9ADk5yx.js → useUpdateChannel-8t3W9dNr.js} +1 -1
  144. package/dist/interface/assets/{useUpdatesSocket-sj1-DmFM.js → useUpdatesSocket-D9s_5T3l.js} +1 -1
  145. package/dist/interface/assets/{useUserOptions-BnF_qBdZ.js → useUserOptions-CEPYkuSm.js} +1 -1
  146. package/dist/interface/assets/{vendor-cameraui-BPX4wReW.js → vendor-cameraui-Dlzn4pyz.js} +26 -26
  147. package/dist/interface/assets/vendor-core-COMSlypG.js +1 -0
  148. package/dist/interface/assets/{vendor-primevue-iEFYdXsu.js → vendor-primevue-DF71EsUM.js} +55 -55
  149. package/dist/interface/ha/{404-DlQnv9jN.js → 404-Bm-oxxip.js} +1 -1
  150. package/dist/interface/ha/{About-BLQJmllv.js → About-CDcN0Q2J.js} +3 -3
  151. package/dist/interface/ha/{Automation-DLMPArOd.js → Automation-BQd4b0ym.js} +102 -102
  152. package/dist/interface/ha/{AutomationImport-Qzz3Ta4D.js → AutomationImport-CX1C76Wb.js} +6 -6
  153. package/dist/interface/ha/{AutomationStore-DNXC9s6h.js → AutomationStore-D4B0KpoW.js} +56 -56
  154. package/dist/interface/ha/{AutomationStoreDetail-CTqydRKj.js → AutomationStoreDetail-B53Giz4B.js} +6 -6
  155. package/dist/interface/ha/{Automations-DRxe1fli.js → Automations-BXlwOElS.js} +124 -124
  156. package/dist/interface/ha/{Camera-OrI4Wf4F.js → Camera-CauwMneE.js} +21 -19
  157. package/dist/interface/ha/{CameraConsole-6yGhoHmu.js → CameraConsole-CmsMjuIR.js} +5 -5
  158. package/dist/interface/ha/{Cameras-DpEaKKDG.js → Cameras-CyHDmgs0.js} +259 -259
  159. package/dist/interface/ha/{Camview-CnPz4cGs.js → Camview-BwwvU5k8.js} +70 -70
  160. package/dist/interface/ha/{Config-Bb2ERyAA.js → Config-C_Zuyeoc.js} +10 -10
  161. package/dist/interface/ha/{ConfigActionCameraControl-CC2tWFz2.js → ConfigActionCameraControl-C1_QyuX8.js} +3 -3
  162. package/dist/interface/ha/{ConfigActionHttp-DBsEL44i.js → ConfigActionHttp-C0d433mh.js} +2 -2
  163. package/dist/interface/ha/{ConfigActionImageInput-Rt3AOJ3I.js → ConfigActionImageInput-BYys2FwC.js} +1 -1
  164. package/dist/interface/ha/{ConfigActionMqtt-BYSSc954.js → ConfigActionMqtt-DznDfzze.js} +4 -4
  165. package/dist/interface/ha/{ConfigActionNotification-DKlIsZJd.js → ConfigActionNotification-CC2qfBLm.js} +3 -3
  166. package/dist/interface/ha/{ConfigActionNotificationControl-D5AVW2tR.js → ConfigActionNotificationControl-3jlm7_A4.js} +2 -2
  167. package/dist/interface/ha/{ConfigActionOutput-DIlu8Ujc.js → ConfigActionOutput-BEf1U3_l.js} +1 -1
  168. package/dist/interface/ha/{ConfigActionPlugin-o1YNBh-g.js → ConfigActionPlugin-C57BUrJD.js} +5 -5
  169. package/dist/interface/ha/{ConfigActionSensor-BEvwg0tf.js → ConfigActionSensor-BkoSPCUJ.js} +5 -5
  170. package/dist/interface/ha/{ConfigActionSnapshot-Bnw0JNNj.js → ConfigActionSnapshot-CC3EpmCq.js} +2 -2
  171. package/dist/interface/ha/{ConfigActionVariable-oGPagsvF.js → ConfigActionVariable-JDyDhSzZ.js} +1 -1
  172. package/dist/interface/ha/{ConfigConditionIfElse-7LCDNDvS.js → ConfigConditionIfElse-BVg-TUpv.js} +3 -3
  173. package/dist/interface/ha/{ConfigConditionSensorState-nO-s7wi6.js → ConfigConditionSensorState-YYeWly1H.js} +4 -4
  174. package/dist/interface/ha/{ConfigConditionSwitch-GrIKkY-P.js → ConfigConditionSwitch-DQHXX-4U.js} +5 -5
  175. package/dist/interface/ha/{ConfigSensorValueInput-Cthp3KXt.js → ConfigSensorValueInput-BuuzQ1nJ.js} +4 -4
  176. package/dist/interface/ha/{ConfigTriggerDetection-CJE9QFaK.js → ConfigTriggerDetection-CUvkAmpJ.js} +12 -12
  177. package/dist/interface/ha/{ConfigTriggerGeofence-Cyeu7Cit.js → ConfigTriggerGeofence-CCHELnfy.js} +7 -7
  178. package/dist/interface/ha/{ConfigTriggerMqtt-D5EoOztE.js → ConfigTriggerMqtt-BfLnCiWZ.js} +1 -1
  179. package/dist/interface/ha/{ConfigTriggerSensor-DYg_HRjO.js → ConfigTriggerSensor-Bi-Jld2G.js} +1 -1
  180. package/dist/interface/ha/{ConfigTriggerSystem-DzpajiyS.js → ConfigTriggerSystem-_HXrWjaJ.js} +2 -2
  181. package/dist/interface/ha/{ConfigTriggerWebhook-IE4PVb4O.js → ConfigTriggerWebhook-CFYsVF_r.js} +1 -1
  182. package/dist/interface/ha/{Console-BYgny5Dy.js → Console-CR95JZFd.js} +8 -8
  183. package/dist/interface/ha/{CuiAutomationRunsDialog-CoYgpbW0.js → CuiAutomationRunsDialog--mpkPFmw.js} +2 -2
  184. package/dist/interface/ha/{CuiBottomSheet-C4cK3fYK.js → CuiBottomSheet-DfFzwDjq.js} +1 -1
  185. package/dist/interface/ha/{CuiCameraRecordings-BAxchc71.js → CuiCameraRecordings-DCIFFbFk.js} +17 -18
  186. package/dist/interface/ha/{CuiCameraShares-CfQr1iyX.js → CuiCameraShares-Dwv_XtX4.js} +2 -2
  187. package/dist/interface/ha/{CuiCameraTable-B60mcEl_.js → CuiCameraTable-L6wd-VYz.js} +2 -2
  188. package/dist/interface/ha/{CuiChartTable-CbUVz-Cj.js → CuiChartTable-CxJR8u6U.js} +42 -42
  189. package/dist/interface/ha/{CuiConsole-DEjAQFwC.js → CuiConsole-CvL9TXZY.js} +20 -20
  190. package/dist/interface/ha/{CuiDataTable-005ptLsa.js → CuiDataTable-Bn80WJXi.js} +6 -6
  191. package/dist/interface/ha/{CuiPluginCard-BWwPLJ6m.js → CuiPluginCard-CtOzPAal.js} +18 -18
  192. package/dist/interface/ha/{CuiPluginOAuthButton-CgmDgRY9.js → CuiPluginOAuthButton-1LgNMLII.js} +3 -3
  193. package/dist/interface/ha/{CuiPluginTrustBadge-BWnP1whX.js → CuiPluginTrustBadge-mHuy3ab9.js} +1 -1
  194. package/dist/interface/ha/{CuiQRCode-ONkk6Wqy.js → CuiQRCode-CloepWte.js} +2 -2
  195. package/dist/interface/ha/{CuiSchema-C3uI1GwG.js → CuiSchema-CJsEWewj.js} +19 -19
  196. package/dist/interface/ha/{CuiTopNavbarItem-Bhws0XkE.js → CuiTopNavbarItem-B2EM-tmz.js} +1 -1
  197. package/dist/interface/ha/{Faces-DuxYlZGd.js → Faces-BMkZfxDm.js} +107 -107
  198. package/dist/interface/ha/{FirstSteps-BAlqShSK.js → FirstSteps-BH0mga3u.js} +11 -11
  199. package/dist/interface/ha/{Floorplan-BVwSNFd6.js → Floorplan-CyfIUI4Z.js} +275 -275
  200. package/dist/interface/ha/{Instances-BM9sRNSP.js → Instances-BwNXc91J.js} +70 -70
  201. package/dist/interface/ha/{Logs-KISz4BU-.js → Logs-CcSiN16r.js} +8 -8
  202. package/dist/interface/ha/{Menu-DYI6PeIn.js → Menu-qdN0OBb7.js} +10 -10
  203. package/dist/interface/ha/{Metrics-BjpKFunA.js → Metrics-ClM5lhvC.js} +89 -89
  204. package/dist/interface/ha/{OAuthDeviceFlow-DG-KUGZj.js → OAuthDeviceFlow-BBr-rER_.js} +3 -3
  205. package/dist/interface/ha/{Plugin-BjWyUUhe.js → Plugin-BBkSXygO.js} +50 -50
  206. package/dist/interface/ha/{PluginConsole-BK3cotea.js → PluginConsole-DqrBnXSX.js} +6 -6
  207. package/dist/interface/ha/{PluginDetail-BDzDeShX.js → PluginDetail-Clu6nv-B.js} +9 -9
  208. package/dist/interface/ha/{PluginSearch-DsFUuPC-.js → PluginSearch-Dn-24FLX.js} +32 -32
  209. package/dist/interface/ha/{PluginUpdateProgress-BMrdkjRq.js → PluginUpdateProgress-CzhHUKDg.js} +3 -3
  210. package/dist/interface/ha/{Plugins-3WPnsHXw.js → Plugins-qYJD5ioU.js} +16 -16
  211. package/dist/interface/ha/{Recordings-0wDF4ArK.js → Recordings-CBIt3vL7.js} +354 -355
  212. package/dist/interface/ha/{SensorEdit-B0L2zIha.js → SensorEdit-BbG6apZA.js} +349 -349
  213. package/dist/interface/ha/{SensorHistory-CQJEY1sW.js → SensorHistory-CqGsnQPW.js} +2 -2
  214. package/dist/interface/ha/{Sensors-BYdBTCLo.js → Sensors-mKWkCDF8.js} +474 -448
  215. package/dist/interface/ha/{Settings-BaqGiBCa.js → Settings-C5J4ubiA.js} +10 -10
  216. package/dist/interface/ha/{SettingsAccount-B0Sth0EF.js → SettingsAccount-tCyZsBxG.js} +39 -39
  217. package/dist/interface/ha/{SettingsAppearance-B_oylmTa.js → SettingsAppearance-DqJp4Clt.js} +6 -6
  218. package/dist/interface/ha/{SettingsBackup-BLmoV5AW.js → SettingsBackup-CHnCKYgz.js} +5 -5
  219. package/dist/interface/ha/{SettingsList-CMX7wMye.js → SettingsList-DsQOPeKW.js} +1 -1
  220. package/dist/interface/ha/{SettingsMqtt-C-sGwxOZ.js → SettingsMqtt-TPIsEcXe.js} +180 -180
  221. package/dist/interface/ha/{SettingsNotifications-tc9FCCUF.js → SettingsNotifications-DH3T_xyh.js} +3 -3
  222. package/dist/interface/ha/{SettingsRecordings-DDs16z2A.js → SettingsRecordings-Ay8lj8Lm.js} +4 -4
  223. package/dist/interface/ha/{SettingsRemote-0c0umjFJ.js → SettingsRemote-CHiBADuu.js} +314 -314
  224. package/dist/interface/ha/{SettingsSystem-DfXxWXQk.js → SettingsSystem-tqs40pUW.js} +8 -8
  225. package/dist/interface/ha/{SettingsUsers-CmjC0zsF.js → SettingsUsers-BUbC_Qc7.js} +39 -39
  226. package/dist/interface/ha/{Terminal-nbUX6PPZ.js → Terminal-f_b-089t.js} +4 -4
  227. package/dist/interface/ha/Training-Dcxo9PFi.js +1479 -0
  228. package/dist/interface/ha/{Updates-UaxBGn6D.js → Updates-aGl5hy8Q.js} +11 -11
  229. package/dist/interface/ha/{VariableInput-0bF2H1Bm.js → VariableInput-yJGbaZEo.js} +1 -1
  230. package/dist/interface/ha/{VersionsHandler-CnXVnfBl.js → VersionsHandler-Q4PfRpbs.js} +10 -10
  231. package/dist/interface/ha/{VirtualSensorCreate-BE60rAkJ.js → VirtualSensorCreate-Gbi6aJBh.js} +8 -8
  232. package/dist/interface/ha/{Workers-CaX3Z3w-.js → Workers-BbBqOc0H.js} +129 -129
  233. package/dist/interface/ha/{api-CmcbBFTx.js → api-DBu4gh4_.js} +8390 -8315
  234. package/dist/interface/ha/{api-S-NnjUWl.js → api-DY0z6Sp_.js} +3 -3
  235. package/dist/interface/ha/{auth-CqYE7s1-.js → auth-C2V-kpRp.js} +38 -38
  236. package/dist/interface/ha/{automationBlueprint-Dmp54JD1.js → automationBlueprint-MGUZJTFY.js} +4 -4
  237. package/dist/interface/ha/cameraui-cards.js +1 -1
  238. package/dist/interface/ha/{cards-MnCBmBIR.js → cards-BA6g_9R5.js} +566 -566
  239. package/dist/interface/ha/{config-C94KN4WM.js → config-BGlhgEOa.js} +15 -15
  240. package/dist/interface/ha/{dist-BQFunPaA.js → dist-BqTZri2H.js} +743 -725
  241. package/dist/interface/ha/{mqtt-HDLqlOJt.js → mqtt-BLKZNA-E.js} +15 -15
  242. package/dist/interface/ha/{notifications-C2_2_NRh.js → notifications-BW0RNMnG.js} +22 -22
  243. package/dist/interface/ha/{pinia-DLNUke3Q.js → pinia-DINxhtY-.js} +168 -165
  244. package/dist/interface/ha/{plugins-l2i4DgqO.js → plugins-Cj-B4Nwy.js} +68 -68
  245. package/dist/interface/ha/{rooms-Bp1ZVAzT.js → rooms-C32i51p-.js} +8 -8
  246. package/dist/interface/ha/{server-BsduJDAB.js → server-CfbE_0Z9.js} +32 -32
  247. package/dist/interface/ha/{types-iZUCCt1P.js → types-Ry6RjBNa.js} +17 -17
  248. package/dist/interface/ha/ungrouped-CO29-tSV.js +1320 -0
  249. package/dist/interface/ha/{updates-CDsPvhpo.js → updates-CZPI8XJ1.js} +37 -37
  250. package/dist/interface/ha/{useAppVersion-BJtSGn4X.js → useAppVersion-9jfqRo_z.js} +1 -1
  251. package/dist/interface/ha/{useLogsSocket-Ck-ZQpQD.js → useLogsSocket-B0E7a3ys.js} +1 -1
  252. package/dist/interface/ha/{useNavLayout-Bn6HYs-i.js → useNavLayout-B2wfeha-.js} +2 -2
  253. package/dist/interface/ha/{useServerRestart-fff_KK9Y.js → useServerRestart-CCH-yMWR.js} +1 -1
  254. package/dist/interface/ha/{useTabSwipe-B1CQZuyT.js → useTabSwipe-D2uqGEvR.js} +1 -1
  255. package/dist/interface/ha/{useUpdateChannel-DUBmGEDe.js → useUpdateChannel--SP3Wjym.js} +2 -2
  256. package/dist/interface/ha/{useUpdatesSocket-DoLb2kcJ.js → useUpdatesSocket-BBbUCMU-.js} +1 -1
  257. package/dist/interface/ha/{useUserOptions-D0kNSHFH.js → useUserOptions-Bh54UAkH.js} +1 -1
  258. package/dist/interface/index.html +28 -27
  259. package/dist/interface/sw.js +1 -1
  260. package/dist/server/package.json +1 -1
  261. package/dist/server/src/api/controllers/training.controller.d.ts +4 -2
  262. package/dist/server/src/api/controllers/training.controller.js +2 -2
  263. package/dist/server/src/api/controllers/training.controller.js.map +1 -1
  264. package/dist/server/src/api/database/record-schemas.d.ts +1 -0
  265. package/dist/server/src/api/database/record-schemas.js +1 -0
  266. package/dist/server/src/api/database/record-schemas.js.map +1 -1
  267. package/dist/server/src/api/routes/training.routes.js +3 -2
  268. package/dist/server/src/api/routes/training.routes.js.map +1 -1
  269. package/dist/server/src/api/schemas/training.schema.d.ts +4 -0
  270. package/dist/server/src/api/schemas/training.schema.js +3 -0
  271. package/dist/server/src/api/schemas/training.schema.js.map +1 -1
  272. package/dist/server/src/api/services/sensors.service.d.ts +1 -0
  273. package/dist/server/src/api/services/sensors.service.js +1 -0
  274. package/dist/server/src/api/services/sensors.service.js.map +1 -1
  275. package/dist/server/src/api/types/index.d.ts +2 -1
  276. package/dist/server/src/camera/decoder/detection-coordinator.js +23 -7
  277. package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
  278. package/dist/server/src/camera/decoder/detection-window.d.ts +5 -0
  279. package/dist/server/src/camera/decoder/detection-window.js +5 -5
  280. package/dist/server/src/camera/decoder/detection-window.js.map +1 -1
  281. package/dist/server/src/camera/decoder/event-manager.d.ts +5 -1
  282. package/dist/server/src/camera/decoder/event-manager.js +21 -14
  283. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  284. package/dist/server/src/camera/decoder/training-sink.d.ts +14 -3
  285. package/dist/server/src/camera/decoder/training-sink.js +32 -17
  286. package/dist/server/src/camera/decoder/training-sink.js.map +1 -1
  287. package/dist/server/src/camera/decoder/types.d.ts +1 -1
  288. package/dist/server/src/camera/decoder/types.js +2 -6
  289. package/dist/server/src/camera/decoder/types.js.map +1 -1
  290. package/dist/server/src/manager/trainingCandidateManager.d.ts +2 -3
  291. package/dist/server/src/manager/trainingCandidateManager.js +17 -18
  292. package/dist/server/src/manager/trainingCandidateManager.js.map +1 -1
  293. package/dist/server/src/manager/types.d.ts +5 -0
  294. package/dist/server/src/remote/api/routes/train.d.ts +6 -1
  295. package/dist/server/src/remote/api/routes/train.js +6 -2
  296. package/dist/server/src/remote/api/routes/train.js.map +1 -1
  297. package/dist/server/src/sensors/registry.d.ts +1 -0
  298. package/dist/server/src/sensors/registry.js +10 -0
  299. package/dist/server/src/sensors/registry.js.map +1 -1
  300. package/package.json +1 -1
  301. package/dist/interface/assets/Automation-CDvt2MXN.js +0 -3
  302. package/dist/interface/assets/Automations-2K-7hZfK.js +0 -2
  303. package/dist/interface/assets/Camera-B72IU-UF.js +0 -2
  304. package/dist/interface/assets/Camera-Cm9I0H6c.css +0 -1
  305. package/dist/interface/assets/Camview-KzzN0Q1w.js +0 -1
  306. package/dist/interface/assets/ConfigActionNotification-C2uXIMpm.js +0 -1
  307. package/dist/interface/assets/ConfigTriggerGeofence-Cuq1SnOZ.js +0 -1
  308. package/dist/interface/assets/Console-DkylrXI4.js +0 -1
  309. package/dist/interface/assets/CuiBottomSheet-DILQuWKb.js +0 -1
  310. package/dist/interface/assets/CuiCameraRecordings-Bi0I7jeO.js +0 -1
  311. package/dist/interface/assets/CuiCameraTable-CUdAnRJP.js +0 -1
  312. package/dist/interface/assets/CuiQRCode-D04Onyhk.js +0 -1
  313. package/dist/interface/assets/CuiRecordingsGrid-BhATIjIf.css +0 -1
  314. package/dist/interface/assets/CuiRecordingsGrid-BzyJWpFt.js +0 -1
  315. package/dist/interface/assets/CuiSchema-thjfmEWw.js +0 -1
  316. package/dist/interface/assets/FirstSteps-C6GVpZVr.js +0 -1
  317. package/dist/interface/assets/Floorplan-Q-UYDnrE.js +0 -1
  318. package/dist/interface/assets/Metrics-CYZF-em9.js +0 -9
  319. package/dist/interface/assets/Plugin-DuPHiiYJ.js +0 -1
  320. package/dist/interface/assets/PluginDetail-DWP7_hNa.js +0 -2
  321. package/dist/interface/assets/PluginSearch-1djFQUjL.js +0 -1
  322. package/dist/interface/assets/PluginSearch-Ba-hQHxm.js +0 -2
  323. package/dist/interface/assets/Plugins-BZ3U4pcG.js +0 -1
  324. package/dist/interface/assets/Recordings-CI5MIFR-.js +0 -1
  325. package/dist/interface/assets/SensorEdit-B6s-VZ3F.js +0 -1
  326. package/dist/interface/assets/Sensors-DDPUwbb-.js +0 -2
  327. package/dist/interface/assets/SettingsAccount-CKi0z3Bm.js +0 -1
  328. package/dist/interface/assets/SettingsAppearance-CDbQnSvl.js +0 -1
  329. package/dist/interface/assets/SettingsAppearance-D9Y28zzz.js +0 -1
  330. package/dist/interface/assets/SettingsNotifications-xHV5KiZg.js +0 -1
  331. package/dist/interface/assets/SettingsRemote-7h2dKJlF.js +0 -2
  332. package/dist/interface/assets/SettingsSystem-D-MLhCdN.js +0 -2
  333. package/dist/interface/assets/Training-B5SzDUAC.css +0 -1
  334. package/dist/interface/assets/Training-DWrQVSS0.js +0 -1
  335. package/dist/interface/assets/api-CFf063x3.js +0 -4
  336. package/dist/interface/assets/api-eoOLTOnS.css +0 -2
  337. package/dist/interface/assets/cameraSources-CgAEmb37.js +0 -1
  338. package/dist/interface/assets/cloudHandoff-B_kCnm4R.js +0 -1
  339. package/dist/interface/assets/main--lW4P3A4.js +0 -3
  340. package/dist/interface/assets/ungrouped-C6pQb0X4.css +0 -1
  341. package/dist/interface/assets/ungrouped-C_gJm6d7.js +0 -1
  342. package/dist/interface/assets/vendor-core-D0ANiY7g.js +0 -1
  343. package/dist/interface/ha/CuiRecordingsGrid-D6HHyF1D.js +0 -735
  344. package/dist/interface/ha/Training-GMcD4Qg9.js +0 -1440
  345. package/dist/interface/ha/ungrouped-wz-KNJpA.js +0 -426
@@ -1,5 +1,5 @@
1
1
  import { H as e, Jt as t, _t as n, kt as r, lt as i, p as a, q as o, u as s, x as c, y as l } from "./runtime-core.esm-bundler-D8slQ3BU.js";
2
- import { H as u, l as d } from "./api-CmcbBFTx.js";
2
+ import { H as u, l as d } from "./api-DBu4gh4_.js";
3
3
  import { t as f } from "./button-BlYuI0Q7.js";
4
4
  import { t as p } from "./home-am0tRTsk.js";
5
5
  //#region ~icons/lets-icons/back
@@ -1,10 +1,10 @@
1
1
  import { H as e, Jt as t, d as n, f as r, kt as i, l as a, lt as o, p as s, u as c, v as l, x as u, y as d } from "./runtime-core.esm-bundler-D8slQ3BU.js";
2
- import { G as f, jr as p } from "./api-CmcbBFTx.js";
2
+ import { G as f, Mr as p } from "./api-DBu4gh4_.js";
3
3
  import { i as m } from "./intercomService-jB2mTgsn.js";
4
4
  import { t as h } from "./button-BlYuI0Q7.js";
5
5
  import { t as g } from "./divider-jkWvVbPJ.js";
6
- import { t as _ } from "./api-S-NnjUWl.js";
7
- import { t as v } from "./useAppVersion-BJtSGn4X.js";
6
+ import { t as _ } from "./api-DY0z6Sp_.js";
7
+ import { t as v } from "./useAppVersion-9jfqRo_z.js";
8
8
  import { t as y } from "./back-filled-Cxzg5vQg.js";
9
9
  //#region src/views/About.vue?vue&type=script&setup=true&lang.ts
10
10
  var b = { class: "flex flex-col" }, x = {
@@ -3,27 +3,27 @@ import { m as t } from "./ripple-BilzxWfY.js";
3
3
  import { A as n, B as r, Et as i, G as a, H as o, Jt as s, K as c, M as l, Ot as u, Wt as d, Y as f, _t as p, d as m, f as h, g, gt as _, 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, z as ee } from "./runtime-core.esm-bundler-D8slQ3BU.js";
4
4
  import { t as N } from "./tooltip-BIrD_hC8.js";
5
5
  import { t as te } from "./message-C8U_kMBA.js";
6
- import { t as ne } from "./history-BoZc8mgf.js";
7
- import { Br as re, Cr as P, G as ie, Hr as ae, Mn as oe, Mr as se, Pn as ce, Si as le, Sn as ue, Ur as de, dt as F, gi as fe, gr as pe, jr as me, p as he, ut as ge, wr as _e } from "./api-CmcbBFTx.js";
8
- import { i as I } from "./intercomService-jB2mTgsn.js";
9
- import { N as L, P as R, n as ve, r as ye } from "./pinia-DLNUke3Q.js";
10
- import { n as z } from "./vue-i18n-Dcb07o5U.js";
11
- import { v as B } from "./dist-BQFunPaA.js";
12
- import { t as be } from "./button-BlYuI0Q7.js";
13
- import { t as V } from "./inputtext-DGIESrd0.js";
6
+ import { t as P } from "./history-BoZc8mgf.js";
7
+ import { Ci as ne, Cr as F, G as re, Mn as ie, Mr as ae, Nr as oe, Pn as se, Sn as ce, Ur as le, Vr as ue, Wr as de, _i as fe, dt as I, gr as pe, p as me, ut as he, wr as ge } from "./api-DBu4gh4_.js";
8
+ import { i as L } from "./intercomService-jB2mTgsn.js";
9
+ import { I as R, L as z, n as _e, r as ve } from "./pinia-DINxhtY-.js";
10
+ import { n as B } from "./vue-i18n-Dcb07o5U.js";
11
+ import { v as V } from "./dist-BqTZri2H.js";
12
+ import { t as ye } from "./button-BlYuI0Q7.js";
13
+ import { t as be } from "./inputtext-DGIESrd0.js";
14
14
  import { t as H } from "./close-Eq3txTBS.js";
15
15
  import { i as U, n as xe, r as Se, t as Ce } from "./accordion-BT2wHwK8.js";
16
16
  import { t as we } from "./inputnumber-B1Buq8Nc.js";
17
17
  import { t as Te } from "./speeddial-Dv9txWte.js";
18
- import { a as W, i as G, l as Ee, r as K } from "./types-iZUCCt1P.js";
19
- import { a as q, i as De } from "./automationBlueprint-Dmp54JD1.js";
20
- import { t as Oe } from "./CuiBottomSheet-C4cK3fYK.js";
18
+ import { a as W, i as G, l as Ee, r as K } from "./types-Ry6RjBNa.js";
19
+ import { a as q, i as De } from "./automationBlueprint-MGUZJTFY.js";
20
+ import { t as Oe } from "./CuiBottomSheet-DfFzwDjq.js";
21
21
  import { t as ke } from "./back-filled-Cxzg5vQg.js";
22
22
  import { a as Ae, c as je, d as Me, f as Ne, i as Pe, l as Fe, n as Ie, o as J, p as Le, r as Y, s as X, t as Re, u as ze } from "./vue-flow-background-B0Vu4-8M.js";
23
23
  import { t as Be } from "./plus-d_caPq5l.js";
24
24
  import { t as Ve } from "./settings-EKkSQLzv.js";
25
25
  //#region src/stores/automations.ts
26
- var Z = ve("automations", () => {
26
+ var Z = _e("automations", () => {
27
27
  let e = j(null), t = j(null), n = j(null), r = j(!1), i = j(null), a = j([]);
28
28
  function o(e) {
29
29
  if (!n.value) return;
@@ -52,7 +52,7 @@ function Ue(e, t, n) {
52
52
  if (r) return He(e, t).find((e) => e.template === r);
53
53
  }
54
54
  function We(e) {
55
- let t = Z(), { t: n } = z(), r = y(() => He(t.draft, u(e)));
55
+ let t = Z(), { t: n } = B(), r = y(() => He(t.draft, u(e)));
56
56
  return {
57
57
  variables: r,
58
58
  options: y(() => r.value.map((e) => ({
@@ -115,10 +115,10 @@ function qe(e) {
115
115
  break;
116
116
  }
117
117
  case "trigger-sensor": {
118
- let i = String(t.sensorType ?? ""), a = (t.properties ?? []).length > 0 ? t.properties : L(i), o = a.map((e) => R(i, e)).filter((e) => !!e);
118
+ let i = String(t.sensorType ?? ""), a = (t.properties ?? []).length > 0 ? t.properties : R(i), o = a.map((e) => z(i, e)).filter((e) => !!e);
119
119
  r("{{sensor.value}}", Je(o), "variable_sensor_value", Ye(i, o)), r("{{sensor.previousValue}}", Je(o), "variable_sensor_previous_value");
120
120
  for (let t of a) {
121
- let r = R(i, t);
121
+ let r = z(i, t);
122
122
  for (let i of r?.keys ?? []) n.push({
123
123
  template: `{{sensor.value.${i}}}`,
124
124
  valueType: "number",
@@ -589,7 +589,7 @@ function Rt(e, t) {
589
589
  if (e && typeof e == "object") for (let n of Object.values(e)) Rt(n, t);
590
590
  }
591
591
  function zt(e) {
592
- let t = Z(), { t: n } = z();
592
+ let t = Z(), { t: n } = B();
593
593
  return y(() => {
594
594
  let r = t.validationIssues.filter((t) => t.nodeId === u(e));
595
595
  if (r.length !== 0) return r.map((e) => n(`components.automation_nodes.${e.messageKey}`, e.params ?? {})).join("\n");
@@ -668,7 +668,7 @@ var Kt = p({
668
668
  }, Yt = { class: "flex items-center gap-2 px-3 py-2.5" }, Xt = { class: "flex-1 min-w-0" }, Zt = { class: "text-xs font-semibold truncate text-color" }, Qt = {
669
669
  key: 0,
670
670
  class: "text-[10px] text-muted truncate mt-0.5"
671
- }, $t = /*#__PURE__*/ P(/* @__PURE__ */ A({
671
+ }, $t = /*#__PURE__*/ F(/* @__PURE__ */ A({
672
672
  __name: "BaseNode",
673
673
  props: /*@__PURE__*/ n({
674
674
  icon: {},
@@ -752,7 +752,7 @@ var Kt = p({
752
752
  events: {}
753
753
  },
754
754
  setup(e) {
755
- let t = e, { t: n } = z(), r = Z(), { lastOutput: i } = ye(r), c = zt(() => t.id), l = y(() => G(t.type)), u = y(() => l.value ? n(l.value.labelKey) : t.type), { cameraName: f } = q(), { sensors: p } = B(), g = y(() => {
755
+ let t = e, { t: n } = B(), r = Z(), { lastOutput: i } = ve(r), c = zt(() => t.id), l = y(() => G(t.type)), u = y(() => l.value ? n(l.value.labelKey) : t.type), { cameraName: f } = q(), { sensors: p } = V(), g = y(() => {
756
756
  let e = t.data, n = e.alias, r = Ut(t.data, f, x);
757
757
  return e.type === "action-plugin" && e.repeat && e.repeat > 1 && (r = r ? `${r} (${e.repeat}x)` : `${e.repeat}x`), n && r ? `[${n}] ${r}` : n ? `[${n}]` : r;
758
758
  }), _ = y(() => t.type !== "action-output" || !i.value ? [] : Object.entries(i.value));
@@ -761,7 +761,7 @@ var Kt = p({
761
761
  return t ? t.displayName.value || t.name : void 0;
762
762
  }
763
763
  return (t, n) => {
764
- let r = I;
764
+ let r = L;
765
765
  return o(), S("div", null, [M($t, {
766
766
  icon: v(l).icon,
767
767
  label: v(u),
@@ -821,7 +821,7 @@ var Kt = p({
821
821
  events: {}
822
822
  },
823
823
  setup(e) {
824
- let t = e, { t: n } = z(), r = { borderColor: "var(--card-background)" }, i = zt(() => t.id), a = y(() => G(t.type)), s = y(() => a.value ? n(a.value.labelKey) : t.type), { cameraName: c } = q(), { sensors: l } = B(), u = y(() => Ut(t.data, c, d));
824
+ let t = e, { t: n } = B(), r = { borderColor: "var(--card-background)" }, i = zt(() => t.id), a = y(() => G(t.type)), s = y(() => a.value ? n(a.value.labelKey) : t.type), { cameraName: c } = q(), { sensors: l } = V(), u = y(() => Ut(t.data, c, d));
825
825
  function d(e) {
826
826
  let t = l.value.find((t) => t.id === e);
827
827
  return t ? t.displayName.value || t.name : void 0;
@@ -897,7 +897,7 @@ var Kt = p({
897
897
  events: {}
898
898
  },
899
899
  setup(e) {
900
- let t = e, { t: n } = z(), r = {
900
+ let t = e, { t: n } = B(), r = {
901
901
  backgroundColor: "#f59e0b",
902
902
  borderColor: "var(--card-background)"
903
903
  }, i = zt(() => t.id), c = y(() => G(t.type)), l = y(() => c.value ? n(c.value.labelKey) : t.type), u = y(() => t.data.type === "condition-switch" && Array.isArray(t.data.cases) ? t.data.cases : []), d = y(() => t.data.type === "condition-switch" && t.data.variable ? t.data.variable : void 0);
@@ -969,7 +969,7 @@ var Kt = p({
969
969
  events: {}
970
970
  },
971
971
  setup(e) {
972
- let t = e, { t: n } = z(), { cameraName: r } = q(), { sensors: i } = B(), a = zt(() => t.id), s = y(() => G(t.type)), c = y(() => s.value ? n(s.value.labelKey) : t.type), l = y(() => Ut(t.data, r, u));
972
+ let t = e, { t: n } = B(), { cameraName: r } = q(), { sensors: i } = V(), a = zt(() => t.id), s = y(() => G(t.type)), c = y(() => s.value ? n(s.value.labelKey) : t.type), l = y(() => Ut(t.data, r, u));
973
973
  function u(e) {
974
974
  let t = i.value.find((t) => t.id === e);
975
975
  return t ? t.displayName.value || t.name : void 0;
@@ -1038,7 +1038,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1038
1038
  },
1039
1039
  emits: ["node-select", "change"],
1040
1040
  setup(e, { expose: n, emit: i }) {
1041
- let a = e, c = i, { t: l } = z(), { smBreakpoint: u } = me(), { screenToFlowCoordinate: f, getViewport: m, dimensions: h } = Fe(), y = sn(), C = {
1041
+ let a = e, c = i, { t: l } = B(), { smBreakpoint: u } = ae(), { screenToFlowCoordinate: f, getViewport: m, dimensions: h } = Fe(), y = sn(), C = {
1042
1042
  "trigger-detection": p($),
1043
1043
  "trigger-sensor": p($),
1044
1044
  "trigger-schedule": p($),
@@ -1081,12 +1081,12 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1081
1081
  function te() {
1082
1082
  c("node-select", null);
1083
1083
  }
1084
- function ne(e) {
1084
+ function P(e) {
1085
1085
  let t = T.value.find((t) => t.id === e.source), n = T.value.find((t) => t.id === e.target);
1086
1086
  return !(!t || !n || e.source === e.target || n.type?.startsWith("trigger-"));
1087
1087
  }
1088
- function re(e) {
1089
- if (!ne(e)) return;
1088
+ function ne(e) {
1089
+ if (!P(e)) return;
1090
1090
  O();
1091
1091
  let t = e.targetHandle ?? void 0, n = T.value.find((t) => t.id === e.target);
1092
1092
  if (n?.type?.startsWith("condition-")) {
@@ -1104,10 +1104,10 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1104
1104
  let i = Vt(T.value.find((t) => t.id === e.source)?.data, n?.data);
1105
1105
  i && n?.data && Object.assign(n.data, i), c("change");
1106
1106
  }
1107
- function P(e) {
1107
+ function F(e) {
1108
1108
  e.some((e) => e.type === "remove") && (O(), c("node-select", null), c("change"));
1109
1109
  }
1110
- function ie(e) {
1110
+ function re(e) {
1111
1111
  let t = e.dataTransfer?.getData("application/automationnode");
1112
1112
  if (!t) return;
1113
1113
  let n = G(t);
@@ -1117,19 +1117,19 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1117
1117
  x: e.clientX,
1118
1118
  y: e.clientY
1119
1119
  }), i = {
1120
- id: he(12),
1120
+ id: me(12),
1121
1121
  type: t,
1122
1122
  position: r,
1123
1123
  data: Ht({ ...n.defaults })
1124
1124
  };
1125
1125
  T.value = [...T.value, i], c("change");
1126
1126
  }
1127
- function ae(e) {
1127
+ function ie(e) {
1128
1128
  let t = G(e);
1129
1129
  if (!t) return;
1130
1130
  O();
1131
1131
  let { x: n, y: r, zoom: i } = m(), { width: a, height: o } = h.value, s = (-n + a / 2) / i, l = (-r + o / 2) / i, u = () => (Math.random() - .5) * 80, d = {
1132
- id: he(12),
1132
+ id: me(12),
1133
1133
  type: e,
1134
1134
  position: {
1135
1135
  x: s + u(),
@@ -1166,7 +1166,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1166
1166
  T.value = [...a.flow.nodes], D.value = [...a.flow.edges], y.clear();
1167
1167
  }), ee(() => window.addEventListener("keydown", de)), r(() => window.removeEventListener("keydown", de)), n({
1168
1168
  removeNode: oe,
1169
- addNodeAtCenter: ae,
1169
+ addNodeAtCenter: ie,
1170
1170
  clearAll: se,
1171
1171
  getNodes: ce,
1172
1172
  getEdges: le,
@@ -1178,7 +1178,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1178
1178
  }), (n, r) => (o(), S("div", {
1179
1179
  ref: "canvasRef",
1180
1180
  class: d(["h-full w-full border-left-color border-bottom-color border-right-color rounded-b-xl overflow-hidden", { "rounded-none! border-0!": v(u) }]),
1181
- onDrop: ie,
1181
+ onDrop: re,
1182
1182
  onDragover: r[2] ||= t(() => {}, ["prevent"]),
1183
1183
  onDragenter: r[3] ||= t(() => {}, ["prevent"])
1184
1184
  }, [M(v(Ae), {
@@ -1195,12 +1195,12 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1195
1195
  },
1196
1196
  "snap-to-grid": !0,
1197
1197
  "snap-grid": [16, 16],
1198
- "is-valid-connection": ne,
1198
+ "is-valid-connection": P,
1199
1199
  class: "automation-canvas",
1200
1200
  onNodeClick: N,
1201
1201
  onPaneClick: te,
1202
- onConnect: re,
1203
- onNodesChange: P
1202
+ onConnect: ne,
1203
+ onNodesChange: F
1204
1204
  }, g({
1205
1205
  default: b(() => [M(v(Re), { gap: 16 }), M(v(Dt))]),
1206
1206
  _: 2
@@ -1215,30 +1215,30 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1215
1215
  ])], 34));
1216
1216
  }
1217
1217
  }), dn = {
1218
- "trigger-detection": F(() => import("./ConfigTriggerDetection-CJE9QFaK.js")),
1219
- "trigger-sensor": F(() => import("./ConfigTriggerSensor-DYg_HRjO.js")),
1220
- "trigger-schedule": F(() => import("./ConfigTriggerSchedule-Vv5iNKL3.js")),
1221
- "trigger-webhook": F(() => import("./ConfigTriggerWebhook-IE4PVb4O.js")),
1222
- "trigger-mqtt": F(() => import("./ConfigTriggerMqtt-D5EoOztE.js")),
1223
- "trigger-system": F(() => import("./ConfigTriggerSystem-DzpajiyS.js")),
1224
- "trigger-manual": F(() => import("./ConfigTriggerManual-ConxhgNx.js")),
1225
- "trigger-geofence": F(() => import("./ConfigTriggerGeofence-Cyeu7Cit.js")),
1226
- "action-snapshot": F(() => import("./ConfigActionSnapshot-Bnw0JNNj.js")),
1227
- "action-sensor": F(() => import("./ConfigActionSensor-BEvwg0tf.js")),
1228
- "action-notification": F(() => import("./ConfigActionNotification-DKlIsZJd.js")),
1229
- "action-notification-control": F(() => import("./ConfigActionNotificationControl-D5AVW2tR.js")),
1230
- "action-http": F(() => import("./ConfigActionHttp-DBsEL44i.js")),
1231
- "action-mqtt": F(() => import("./ConfigActionMqtt-BYSSc954.js")),
1232
- "action-delay": F(() => import("./ConfigActionDelay-BHug57u7.js")),
1233
- "action-variable": F(() => import("./ConfigActionVariable-oGPagsvF.js")),
1234
- "action-plugin": F(() => import("./ConfigActionPlugin-o1YNBh-g.js")),
1235
- "action-image-input": F(() => import("./ConfigActionImageInput-Rt3AOJ3I.js")),
1236
- "action-output": F(() => import("./ConfigActionOutput-DIlu8Ujc.js")),
1237
- "action-camera-control": F(() => import("./ConfigActionCameraControl-CC2tWFz2.js")),
1238
- "condition-ifelse": F(() => import("./ConfigConditionIfElse-7LCDNDvS.js")),
1239
- "condition-switch": F(() => import("./ConfigConditionSwitch-GrIKkY-P.js")),
1240
- "condition-sensorstate": F(() => import("./ConfigConditionSensorState-nO-s7wi6.js")),
1241
- "condition-time": F(() => import("./ConfigConditionTime-aD8mk2aa.js"))
1218
+ "trigger-detection": I(() => import("./ConfigTriggerDetection-CUvkAmpJ.js")),
1219
+ "trigger-sensor": I(() => import("./ConfigTriggerSensor-Bi-Jld2G.js")),
1220
+ "trigger-schedule": I(() => import("./ConfigTriggerSchedule-Vv5iNKL3.js")),
1221
+ "trigger-webhook": I(() => import("./ConfigTriggerWebhook-CFYsVF_r.js")),
1222
+ "trigger-mqtt": I(() => import("./ConfigTriggerMqtt-BfLnCiWZ.js")),
1223
+ "trigger-system": I(() => import("./ConfigTriggerSystem-_HXrWjaJ.js")),
1224
+ "trigger-manual": I(() => import("./ConfigTriggerManual-ConxhgNx.js")),
1225
+ "trigger-geofence": I(() => import("./ConfigTriggerGeofence-CCHELnfy.js")),
1226
+ "action-snapshot": I(() => import("./ConfigActionSnapshot-CC3EpmCq.js")),
1227
+ "action-sensor": I(() => import("./ConfigActionSensor-BkoSPCUJ.js")),
1228
+ "action-notification": I(() => import("./ConfigActionNotification-CC2qfBLm.js")),
1229
+ "action-notification-control": I(() => import("./ConfigActionNotificationControl-3jlm7_A4.js")),
1230
+ "action-http": I(() => import("./ConfigActionHttp-C0d433mh.js")),
1231
+ "action-mqtt": I(() => import("./ConfigActionMqtt-DznDfzze.js")),
1232
+ "action-delay": I(() => import("./ConfigActionDelay-BHug57u7.js")),
1233
+ "action-variable": I(() => import("./ConfigActionVariable-JDyDhSzZ.js")),
1234
+ "action-plugin": I(() => import("./ConfigActionPlugin-C57BUrJD.js")),
1235
+ "action-image-input": I(() => import("./ConfigActionImageInput-BYys2FwC.js")),
1236
+ "action-output": I(() => import("./ConfigActionOutput-BEf1U3_l.js")),
1237
+ "action-camera-control": I(() => import("./ConfigActionCameraControl-C1_QyuX8.js")),
1238
+ "condition-ifelse": I(() => import("./ConfigConditionIfElse-BVg-TUpv.js")),
1239
+ "condition-switch": I(() => import("./ConfigConditionSwitch-DQHXX-4U.js")),
1240
+ "condition-sensorstate": I(() => import("./ConfigConditionSensorState-YYeWly1H.js")),
1241
+ "condition-time": I(() => import("./ConfigConditionTime-aD8mk2aa.js"))
1242
1242
  }, fn = { class: "h-full overflow-y-auto flex flex-col" }, pn = { class: "flex items-center gap-2 px-4 py-3 border-bottom-color" }, mn = { class: "flex-1 min-w-0" }, hn = { class: "text-sm font-semibold truncate text-color" }, gn = { class: "text-xs text-muted" }, _n = { class: "flex-1 overflow-y-auto" }, vn = { class: "text-color font-normal text-sm" }, yn = { class: "flex flex-col field-gap" }, bn = { class: "text-color font-normal text-sm" }, xn = { class: "text-color font-normal text-sm" }, Sn = { class: "flex flex-col gap-3" }, Cn = { class: "flex flex-col field-gap" }, wn = { class: "cui-label" }, Tn = {
1243
1243
  key: 0,
1244
1244
  class: "flex flex-col field-gap"
@@ -1254,7 +1254,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1254
1254
  "delete"
1255
1255
  ],
1256
1256
  setup(e, { emit: t }) {
1257
- let n = e, r = t, { t: i } = z(), a = y(() => n.node.type ? G(n.node.type) : void 0), c = y(() => n.node.type?.startsWith("action-")), l = y(() => {
1257
+ let n = e, r = t, { t: i } = B(), a = y(() => n.node.type ? G(n.node.type) : void 0), c = y(() => n.node.type?.startsWith("action-")), l = y(() => {
1258
1258
  if (n.node.type) return dn[n.node.type];
1259
1259
  }), u = y(() => {
1260
1260
  let e = ["config"];
@@ -1264,7 +1264,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1264
1264
  r("update:data", e);
1265
1265
  }
1266
1266
  return (t, n) => {
1267
- let r = H, p = be, g = Se, _ = V, y = te, x = U, w = xe, T = we, D = Ce;
1267
+ let r = H, p = ye, g = Se, _ = be, y = te, x = U, w = xe, T = we, D = Ce;
1268
1268
  return o(), S("div", fn, [
1269
1269
  E("div", pn, [
1270
1270
  E("div", {
@@ -1408,12 +1408,12 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1408
1408
  ], Fn = { class: "flex items-center gap-2.5 flex-1 min-w-0 px-3 py-2.5" }, In = { class: "flex-1 min-w-0" }, Ln = { class: "text-[13px] font-medium truncate text-color block leading-tight" }, Rn = {
1409
1409
  key: 0,
1410
1410
  class: "text-[11px] text-muted block truncate mt-0.5 leading-tight"
1411
- }, zn = /*#__PURE__*/ P(/* @__PURE__ */ A({
1411
+ }, zn = /*#__PURE__*/ F(/* @__PURE__ */ A({
1412
1412
  __name: "CuiAutomationNodePalette",
1413
1413
  props: /*@__PURE__*/ n({ mode: {} }, K),
1414
1414
  emits: ["node-click"],
1415
1415
  setup(e) {
1416
- let { t } = z(), n = [
1416
+ let { t } = B(), n = [
1417
1417
  {
1418
1418
  key: "trigger",
1419
1419
  labelKey: "components.automation_nodes.category_triggers",
@@ -1472,7 +1472,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1472
1472
  "show-history"
1473
1473
  ],
1474
1474
  setup(e, { emit: t }) {
1475
- let n = e, r = t, { t: i } = z(), { smBreakpoint: a } = me(), s = T("menuRef"), c = y(() => [{
1475
+ let n = e, r = t, { t: i } = B(), { smBreakpoint: a } = ae(), s = T("menuRef"), c = y(() => [{
1476
1476
  key: "suppressDuplicates",
1477
1477
  label: i("views.automation.suppress_duplicates"),
1478
1478
  description: i("views.automation.suppress_duplicates_hint"),
@@ -1488,7 +1488,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1488
1488
  onClick: () => r("toggle-single-execution")
1489
1489
  }]);
1490
1490
  return (t, n) => {
1491
- let r = ke, l = be, u = V, f = ce, p = ne, g = Ve, _ = oe, y = N;
1491
+ let r = ke, l = ye, u = be, f = se, p = P, g = Ve, _ = ie, y = N;
1492
1492
  return o(), S("div", Bn, [
1493
1493
  v(a) ? h("", !0) : (o(), m(l, {
1494
1494
  key: 0,
@@ -1572,7 +1572,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1572
1572
  __name: "CuiAutomationMobileNodeConfig",
1573
1573
  props: { node: {} },
1574
1574
  setup(e, { expose: t }) {
1575
- let n = e, { t: r } = z(), i = Z(), a = y(() => {
1575
+ let n = e, { t: r } = B(), i = Z(), a = y(() => {
1576
1576
  if (n.node.type) return dn[n.node.type];
1577
1577
  });
1578
1578
  function c(e) {
@@ -1601,7 +1601,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1601
1601
  }, Xn = { class: "text-muted" }, Zn = /*@__PURE__*/ A({
1602
1602
  __name: "Automation",
1603
1603
  setup(e) {
1604
- let t = F(() => import("./CuiAutomationRunsDialog-CoYgpbW0.js")), n = new Ee(), r = ae(), i = de(), { t: a } = z(), { smBreakpoint: c } = me(), { bottombarHeight: u } = se(), p = ge(), g = le(), O = Z(), k = y(() => r.params.id), A = y(() => k.value === "new"), ee = y(() => pe(void 0, "admin")), { data: te, isBusy: ne } = n.getAutomationQuery(k), { mutateAsync: P } = n.createAutomationQuery(), { mutateAsync: oe } = n.patchAutomationQuery(), { mutateAsync: ce } = n.deleteAutomationQuery(), { mutateAsync: fe } = n.triggerAutomationQuery(), I = T("canvasRef"), L = j(!1), R = j(!1), ve = j(!1), ye = j(!1), B = !1, V, H = y({
1604
+ let t = I(() => import("./CuiAutomationRunsDialog--mpkPFmw.js")), n = new Ee(), r = le(), i = de(), { t: a } = B(), { smBreakpoint: c } = ae(), { bottombarHeight: u } = oe(), p = he(), g = ne(), O = Z(), k = y(() => r.params.id), A = y(() => k.value === "new"), ee = y(() => pe(void 0, "admin")), { data: te, isBusy: P } = n.getAutomationQuery(k), { mutateAsync: F } = n.createAutomationQuery(), { mutateAsync: ie } = n.patchAutomationQuery(), { mutateAsync: se } = n.deleteAutomationQuery(), { mutateAsync: fe } = n.triggerAutomationQuery(), L = T("canvasRef"), R = j(!1), z = j(!1), _e = j(!1), ve = j(!1), V = !1, be, H = y({
1605
1605
  get: () => O.draft,
1606
1606
  set: (e) => {
1607
1607
  O.draft = e;
@@ -1613,24 +1613,24 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1613
1613
  }), Se = y(() => [
1614
1614
  ...H.value?.nodes.some((e) => e.type === "trigger-manual") ?? !1 ? [{
1615
1615
  label: a("views.automation.run"),
1616
- icon: ue,
1617
- buttonProps: { disabled: A.value || R.value },
1616
+ icon: ce,
1617
+ buttonProps: { disabled: A.value || z.value },
1618
1618
  command: () => Ve()
1619
1619
  }] : [],
1620
1620
  {
1621
1621
  label: a("views.automation.undo"),
1622
1622
  icon: ze,
1623
- buttonProps: { disabled: !ve.value },
1623
+ buttonProps: { disabled: !_e.value },
1624
1624
  command: () => {
1625
- I.value?.undo(), K();
1625
+ L.value?.undo(), K();
1626
1626
  }
1627
1627
  },
1628
1628
  {
1629
1629
  label: a("views.automation.redo"),
1630
1630
  icon: Ne,
1631
- buttonProps: { disabled: !ye.value },
1631
+ buttonProps: { disabled: !ve.value },
1632
1632
  command: () => {
1633
- I.value?.redo(), K();
1633
+ L.value?.redo(), K();
1634
1634
  }
1635
1635
  },
1636
1636
  {
@@ -1651,11 +1651,11 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1651
1651
  }
1652
1652
  ]);
1653
1653
  function Ce() {
1654
- ve.value = I.value?.canUndo ?? !1, ye.value = I.value?.canRedo ?? !1;
1654
+ _e.value = L.value?.canUndo ?? !1, ve.value = L.value?.canRedo ?? !1;
1655
1655
  }
1656
1656
  function we() {
1657
1657
  H.value = {
1658
- _id: he(12),
1658
+ _id: me(12),
1659
1659
  name: a("views.automation.untitled"),
1660
1660
  enabled: !1,
1661
1661
  nodes: [],
@@ -1667,12 +1667,12 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1667
1667
  }, O.selectedNodeId = null;
1668
1668
  }
1669
1669
  function W() {
1670
- clearTimeout(V), V = setTimeout(() => {
1670
+ clearTimeout(be), be = setTimeout(() => {
1671
1671
  J(), O.validationIssues = Ft(H.value);
1672
1672
  }, 300);
1673
1673
  }
1674
1674
  function K() {
1675
- R.value = !0, Ce(), W();
1675
+ z.value = !0, Ce(), W();
1676
1676
  }
1677
1677
  function q() {
1678
1678
  p.openComponentDialog(t, { data: {
@@ -1692,12 +1692,12 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1692
1692
  let n = H.value.nodes.find((t) => t.id === e);
1693
1693
  if (n?.data) {
1694
1694
  if (!Object.entries(t).some(([e, t]) => n.data[e] !== t)) return;
1695
- Object.assign(n.data, t), I.value?.updateNodeData(e, { ...n.data }), K();
1695
+ Object.assign(n.data, t), L.value?.updateNodeData(e, { ...n.data }), K();
1696
1696
  }
1697
1697
  }
1698
1698
  function Fe() {
1699
1699
  if (!H.value) return {};
1700
- let e = I.value?.getNodes?.() ?? H.value.nodes, t = I.value?.getEdges?.() ?? H.value.edges;
1700
+ let e = L.value?.getNodes?.() ?? H.value.nodes, t = L.value?.getEdges?.() ?? H.value.edges;
1701
1701
  return {
1702
1702
  name: H.value.name,
1703
1703
  enabled: H.value.enabled,
@@ -1724,14 +1724,14 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1724
1724
  let e = Fe();
1725
1725
  try {
1726
1726
  if (A.value) {
1727
- let t = await P({ data: e });
1728
- R.value = !1, i.replace(`/automations/${t._id}`);
1727
+ let t = await F({ data: e });
1728
+ z.value = !1, i.replace(`/automations/${t._id}`);
1729
1729
  } else {
1730
- let t = await oe({
1730
+ let t = await ie({
1731
1731
  id: H.value._id,
1732
1732
  data: e
1733
1733
  });
1734
- if (R.value = !1, t?.nodes && H.value) for (let e of t.nodes) {
1734
+ if (z.value = !1, t?.nodes && H.value) for (let e of t.nodes) {
1735
1735
  let t = H.value.nodes.find((t) => t.id === e.id);
1736
1736
  t?.data && e.data && Object.assign(t.data, e.data);
1737
1737
  }
@@ -1751,7 +1751,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1751
1751
  }
1752
1752
  function J() {
1753
1753
  if (!H.value) return;
1754
- let e = I.value?.getNodes(), t = I.value?.getEdges();
1754
+ let e = L.value?.getNodes(), t = L.value?.getEdges();
1755
1755
  e && (H.value.nodes = e), t && (H.value.edges = t);
1756
1756
  }
1757
1757
  function Y(e) {
@@ -1772,16 +1772,16 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1772
1772
  } }
1773
1773
  },
1774
1774
  onSettled: () => {
1775
- H.value?.nodes.some((e) => e.id === i) || (I.value?.removeNode(i), K());
1775
+ H.value?.nodes.some((e) => e.id === i) || (L.value?.removeNode(i), K());
1776
1776
  }
1777
1777
  });
1778
1778
  }
1779
1779
  }
1780
1780
  function X(e) {
1781
- L.value = !1, I.value?.addNodeAtCenter(e), K();
1781
+ R.value = !1, L.value?.addNodeAtCenter(e), K();
1782
1782
  }
1783
1783
  function Re() {
1784
- O.selectedNodeId && (I.value?.removeNode(O.selectedNodeId), H.value && (H.value.nodes = H.value.nodes.filter((e) => e.id !== O.selectedNodeId), H.value.edges = H.value.edges.filter((e) => e.source !== O.selectedNodeId && e.target !== O.selectedNodeId)), O.selectedNodeId = null, O.lastOutput = null, K());
1784
+ O.selectedNodeId && (L.value?.removeNode(O.selectedNodeId), H.value && (H.value.nodes = H.value.nodes.filter((e) => e.id !== O.selectedNodeId), H.value.edges = H.value.edges.filter((e) => e.source !== O.selectedNodeId && e.target !== O.selectedNodeId)), O.selectedNodeId = null, O.lastOutput = null, K());
1785
1785
  }
1786
1786
  async function Ve() {
1787
1787
  if (!(!H.value || A.value)) try {
@@ -1819,7 +1819,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1819
1819
  confirmText: a("views.automation.clear")
1820
1820
  },
1821
1821
  onConfirm: async () => {
1822
- I.value?.clearAll(), H.value && (H.value.nodes = [], H.value.edges = []), O.selectedNodeId = null, K();
1822
+ L.value?.clearAll(), H.value && (H.value.nodes = [], H.value.edges = []), O.selectedNodeId = null, K();
1823
1823
  }
1824
1824
  });
1825
1825
  }
@@ -1833,7 +1833,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1833
1833
  confirmText: a("views.automations.delete")
1834
1834
  },
1835
1835
  onConfirm: async () => {
1836
- await ce({ id: e }), i.push("/automations");
1836
+ await se({ id: e }), i.push("/automations");
1837
1837
  }
1838
1838
  });
1839
1839
  }
@@ -1841,22 +1841,22 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1841
1841
  i.push("/automations");
1842
1842
  }
1843
1843
  return x(k, (e) => {
1844
- O.activeFlowId = e === "new" ? null : e ?? null, O.selectedNodeId = null, O.lastOutput = null, R.value = !1, e === "new" ? we() : H.value = null;
1844
+ O.activeFlowId = e === "new" ? null : e ?? null, O.selectedNodeId = null, O.lastOutput = null, z.value = !1, e === "new" ? we() : H.value = null;
1845
1845
  }, { immediate: !0 }), x(te, (e) => {
1846
- e && !R.value && (H.value = JSON.parse(JSON.stringify(e)), O.validationIssues = Ft(H.value));
1846
+ e && !z.value && (H.value = JSON.parse(JSON.stringify(e)), O.validationIssues = Ft(H.value));
1847
1847
  }, { immediate: !0 }), x(() => O.draftDirty, (e) => {
1848
1848
  e && (O.draftDirty = !1, K());
1849
- }), re((e) => !R.value || B ? !0 : (p.openTextDialog({
1849
+ }), ue((e) => !z.value || V ? !0 : (p.openTextDialog({
1850
1850
  data: {
1851
1851
  title: a("views.automation.unsaved_title"),
1852
1852
  contentText: a("views.automation.unsaved_message"),
1853
1853
  confirmText: a("views.automation.discard")
1854
1854
  },
1855
1855
  onConfirm: async () => {
1856
- B = !0, i.push(e.fullPath);
1856
+ V = !0, i.push(e.fullPath);
1857
1857
  }
1858
1858
  }), !1)), (e, t) => {
1859
- let n = ke, r = be, i = ie, p = Te, g = Oe, y = _e, x = N;
1859
+ let n = ke, r = ye, i = re, p = Te, g = Oe, y = ge, x = N;
1860
1860
  return o(), S("div", Gn, [M(i, { position: "left" }, {
1861
1861
  default: b(() => [M(r, {
1862
1862
  severity: "secondary",
@@ -1891,7 +1891,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1891
1891
  })),
1892
1892
  M(un, {
1893
1893
  ref_key: "canvasRef",
1894
- ref: I,
1894
+ ref: L,
1895
1895
  flow: v(H),
1896
1896
  mobile: v(c),
1897
1897
  class: "flex-1 min-w-0",
@@ -1922,7 +1922,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1922
1922
  style: C({
1923
1923
  position: "fixed",
1924
1924
  zIndex: 15,
1925
- bottom: `calc(${v(u)}px + ${v(R) ? "4.25rem" : "1.25rem"} + var(--safe-area-inset-bottom))`,
1925
+ bottom: `calc(${v(u)}px + ${v(z) ? "4.25rem" : "1.25rem"} + var(--safe-area-inset-bottom))`,
1926
1926
  right: v(xe) || "calc(1.25rem + var(--safe-area-inset-right))",
1927
1927
  transition: "right 0.2s ease-in-out, bottom 0.2s ease-in-out"
1928
1928
  }),
@@ -1970,12 +1970,12 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1970
1970
  bottom: `calc(${v(u)}px + 1.25rem + var(--safe-area-inset-bottom))`,
1971
1971
  right: "calc(4.75rem + var(--safe-area-inset-right))"
1972
1972
  }),
1973
- onClick: t[5] ||= (e) => L.value = !0
1973
+ onClick: t[5] ||= (e) => R.value = !0
1974
1974
  }, {
1975
1975
  icon: b(() => [M(v(Be), { class: "w-5 h-5" })]),
1976
1976
  _: 1
1977
1977
  }, 8, ["style"])), [[x, { value: v(a)("views.automation.add_step") }]]) : h("", !0),
1978
- v(R) ? D((o(), m(r, {
1978
+ v(z) ? D((o(), m(r, {
1979
1979
  key: 1,
1980
1980
  rounded: "",
1981
1981
  severity: "success",
@@ -1993,8 +1993,8 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1993
1993
  _: 1
1994
1994
  }, 8, ["style"])), [[x, { value: v(a)("views.automation.save") }]]) : h("", !0),
1995
1995
  M(g, {
1996
- modelValue: v(L),
1997
- "onUpdate:modelValue": t[6] ||= (e) => _(L) ? L.value = e : null,
1996
+ modelValue: v(R),
1997
+ "onUpdate:modelValue": t[6] ||= (e) => _(R) ? R.value = e : null,
1998
1998
  title: v(a)("views.automation.add_step"),
1999
1999
  "max-height": "70vh"
2000
2000
  }, {
@@ -2004,7 +2004,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
2004
2004
  })]),
2005
2005
  _: 1
2006
2006
  }, 8, ["modelValue", "title"])
2007
- ], 64)) : v(ne) ? (o(), S("div", Jn, [M(y, {
2007
+ ], 64)) : v(P) ? (o(), S("div", Jn, [M(y, {
2008
2008
  class: "!w-8 !h-8",
2009
2009
  "stroke-width": "5"
2010
2010
  })])) : (o(), S("div", Yn, [E("span", Xn, s(v(a)("views.automations.no_automations")), 1)]))]);
@@ -1,15 +1,15 @@
1
1
  import { D as e, G as t, H as n, Jt as r, d as i, f as a, kt as o, l as s, lt as c, ot as l, p as u, r as d, u as f, v as p, x as m, y as h, yt as g } from "./runtime-core.esm-bundler-D8slQ3BU.js";
2
2
  import { t as _ } from "./message-C8U_kMBA.js";
3
- import { Ur as v, dt as y, ut as b } from "./api-CmcbBFTx.js";
3
+ import { Wr as v, dt as y, ut as b } from "./api-DBu4gh4_.js";
4
4
  import { n as x } from "./vue-i18n-Dcb07o5U.js";
5
5
  import { t as S } from "./button-BlYuI0Q7.js";
6
6
  import { t as C } from "./inputtext-DGIESrd0.js";
7
7
  import { t as w } from "./select-DjWkRqsI.js";
8
8
  import { t as T } from "./multiselect-BbgV_fPx.js";
9
- import { l as E } from "./types-iZUCCt1P.js";
10
- import { n as D, o as O, r as k, t as A } from "./automationBlueprint-Dmp54JD1.js";
11
- import { t as j } from "./plugins-l2i4DgqO.js";
12
- import { t as M } from "./useUserOptions-D0kNSHFH.js";
9
+ import { l as E } from "./types-Ry6RjBNa.js";
10
+ import { n as D, o as O, r as k, t as A } from "./automationBlueprint-MGUZJTFY.js";
11
+ import { t as j } from "./plugins-Cj-B4Nwy.js";
12
+ import { t as M } from "./useUserOptions-Bh54UAkH.js";
13
13
  //#region src/components/CuiDialog/templates/AutomationImport/AutomationInputPicker.vue?vue&type=script&setup=true&lang.ts
14
14
  var N = { class: "flex flex-col field-gap" }, P = { class: "cui-label" }, F = /* @__PURE__ */ m({
15
15
  __name: "AutomationInputPicker",
@@ -125,7 +125,7 @@ var N = { class: "flex flex-col field-gap" }, P = { class: "cui-label" }, F = /*
125
125
  __name: "AutomationImport",
126
126
  props: { blueprint: {} },
127
127
  setup(p, { expose: m }) {
128
- let C = y(() => import("./PluginSearch-DsFUuPC-.js").then((e) => e.n)), w = new E(), T = new j(), O = p, M = v(), N = b(), { t: P } = x(), B = e("dialogRefProps"), { data: V } = T.getPluginsQuery({
128
+ let C = y(() => import("./PluginSearch-Dn-24FLX.js").then((e) => e.n)), w = new E(), T = new j(), O = p, M = v(), N = b(), { t: P } = x(), B = e("dialogRefProps"), { data: V } = T.getPluginsQuery({
129
129
  page: 1,
130
130
  pageSize: -1
131
131
  }), { mutateAsync: H, isPending: U } = w.importBlueprintQuery(), W = g({}), G = s(() => k(O.blueprint)), K = s(() => A(O.blueprint, G.value)), q = s(() => {