@camera.ui/server 2.1.14-beta.2 → 2.1.14-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/interface/assets/{404-BUI5AjaN.js → 404-Ct2rp3W6.js} +1 -1
  2. package/dist/interface/assets/{About-B68h2Ypp.js → About-BkrFfbam.js} +1 -1
  3. package/dist/interface/assets/Automation-D2PHM9TZ.js +3 -0
  4. package/dist/interface/assets/AutomationImport-DbRJF8i2.js +2 -0
  5. package/dist/interface/assets/AutomationStore-D-PBrft2.js +2 -0
  6. package/dist/interface/assets/AutomationStoreDetail-RU-UXz0W.js +2 -0
  7. package/dist/interface/assets/Automations-D-AAcPfb.js +2 -0
  8. package/dist/interface/assets/Camera-BWdUUW_H.css +1 -0
  9. package/dist/interface/assets/Camera-Bz5NfM2e.js +2 -0
  10. package/dist/interface/assets/{CameraConsole-2ik6hqsi.js → CameraConsole-_v6lLT9V.js} +1 -1
  11. package/dist/interface/assets/{Cameras-BiBeIDTT.js → Cameras-BICfDnxO.js} +2 -2
  12. package/dist/interface/assets/{Camview-DIEa8IRE.css → Camview-BZS4_jv1.css} +1 -1
  13. package/dist/interface/assets/Camview-CKX9B9Ak.js +1 -0
  14. package/dist/interface/assets/{CertificateUpload-BsnlaxRS.js → CertificateUpload-CWt_CAt6.js} +1 -1
  15. package/dist/interface/assets/Config-CKn4Gc_s.js +2 -0
  16. package/dist/interface/assets/{ConfigActionCameraControl-Um6CGbRu.js → ConfigActionCameraControl-BpZrhaAg.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionDelay-D10_C6yo.js → ConfigActionDelay-D-Rn2YP6.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionHttp-DL4jh9Wz.js → ConfigActionHttp-DzoBcypZ.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionImageInput-DVvMUzrT.js → ConfigActionImageInput-DHBsjlY-.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionMqtt-doO8Az89.js → ConfigActionMqtt-DBssl5vL.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionNotification-B5EpVQYl.js → ConfigActionNotification-nDKENsVa.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotificationControl-zSrCVmyd.js → ConfigActionNotificationControl-Gd955Nu4.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionOutput-udY95_rH.js → ConfigActionOutput-CPlUnJPX.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionPlugin-DAsJCHlA.js → ConfigActionPlugin-DMT0GG9J.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSensor-DXbcVPIc.js → ConfigActionSensor-B9qfwZPK.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSnapshot-DxN3OCxP.js → ConfigActionSnapshot-DmzC7Ka8.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionVariable-BagC3lj5.js → ConfigActionVariable-BcTGZbYR.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionIfElse-CQOZJ19Y.js → ConfigConditionIfElse-C-0FNq8c.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSensorState-CSXRl20N.js → ConfigConditionSensorState-DoOyDkd8.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSwitch-BXR6xUN8.js → ConfigConditionSwitch-DonNSgEC.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionTime-BrEhw1R9.js → ConfigConditionTime-b05J39ya.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-DezTWtbA.js → ConfigSensorValueInput-DbKeWPpA.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-Bm4rRg1w.js → ConfigTriggerDetection-DvoA49uo.js} +1 -1
  34. package/dist/interface/assets/{ConfigTriggerGeofence-CBe0l1jA.js → ConfigTriggerGeofence-CZRFnbWY.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerManual-CmAdnZQK.js → ConfigTriggerManual-DYDhaI_A.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerMqtt-X6PJ4118.js → ConfigTriggerMqtt-CkClS0me.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSchedule-BGci3Aed.js → ConfigTriggerSchedule-Co2A9pH7.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSensor-THoba5wK.js → ConfigTriggerSensor-B6KlmsnV.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSystem-DvKpEj8j.js → ConfigTriggerSystem-CC-NtLwh.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerWebhook-COk74WMO.js → ConfigTriggerWebhook-CPjRwtA-.js} +1 -1
  41. package/dist/interface/assets/{Console-B-c9uFON.js → Console-BbdPBqEC.js} +1 -1
  42. package/dist/interface/assets/{CuiAutomationRunsDialog-B4jdBnXB.js → CuiAutomationRunsDialog-DoPIIX-T.js} +1 -1
  43. package/dist/interface/assets/{CuiBottomSheet-D6Ar_Vq5.js → CuiBottomSheet-B6X4pbeR.js} +1 -1
  44. package/dist/interface/assets/CuiBottomSheet-CNc2pbC7.js +1 -0
  45. package/dist/interface/assets/CuiCameraPipCard-BlZJUCJP.js +1 -0
  46. package/dist/interface/assets/{CuiCameraRecordings-B57cH2Zl.js → CuiCameraRecordings-BvQ_6Elk.js} +1 -1
  47. package/dist/interface/assets/{CuiCameraShares-CIiNdSs9.js → CuiCameraShares-CGYScB2u.js} +1 -1
  48. package/dist/interface/assets/CuiCameraTable-Cgm7BoLZ.js +1 -0
  49. package/dist/interface/assets/{CuiCameraTable-BwcUrxRG.js → CuiCameraTable-Cm-wfsDL.js} +1 -1
  50. package/dist/interface/assets/{CuiChartTable-T7LhCE75.js → CuiChartTable-CKP8f68c.js} +1 -1
  51. package/dist/interface/assets/{CuiConsole-eYQze0Ui.js → CuiConsole-BWrpJYcX.js} +1 -1
  52. package/dist/interface/assets/{CuiDataTable-DRn4fgA3.js → CuiDataTable-BozSktV7.js} +1 -1
  53. package/dist/interface/assets/{CuiLightControl-BUYobZ7u.js → CuiLightControl-DRNXOigw.js} +1 -1
  54. package/dist/interface/assets/{CuiList-D-hOSNou.js → CuiList-DRkSKm6_.js} +1 -1
  55. package/dist/interface/assets/CuiPluginCard-DQLIw-q8.js +2 -0
  56. package/dist/interface/assets/{CuiPluginCategoryChip-BcUzuEzZ.js → CuiPluginCategoryChip-CcKK1e-h.js} +1 -1
  57. package/dist/interface/assets/CuiPluginOAuthButton-Bbh4geGP.js +2 -0
  58. package/dist/interface/assets/{CuiPluginTrustBadge-DVgAlpH5.js → CuiPluginTrustBadge-UJafoYxB.js} +1 -1
  59. package/dist/interface/assets/{CuiQRCode-CeQ_McaA.js → CuiQRCode-gqnAR_Zp.js} +1 -1
  60. package/dist/interface/assets/{CuiSchema-DdZA0ZMU.js → CuiSchema-Bhs017IB.js} +1 -1
  61. package/dist/interface/assets/{CuiTopNavbarItem-C4k-nVFX.js → CuiTopNavbarItem-C-7LPPKD.js} +1 -1
  62. package/dist/interface/assets/Faces-BfBHLOZg.js +1 -0
  63. package/dist/interface/assets/FirstSteps-zHSDaE1p.js +1 -0
  64. package/dist/interface/assets/Floorplan-BlT1vOq0.js +1 -0
  65. package/dist/interface/assets/Instances-BNylwtFA.js +1 -0
  66. package/dist/interface/assets/{Logs-BMbipaHY.js → Logs-Bh8kvHG-.js} +2 -2
  67. package/dist/interface/assets/{Menu-CeRrSc4S.js → Menu-BDdiFqwe.js} +1 -1
  68. package/dist/interface/assets/Metrics-dqXxkjt9.js +9 -0
  69. package/dist/interface/assets/{OAuthDeviceFlow-h34MrQBF.js → OAuthDeviceFlow-BRTodx33.js} +1 -1
  70. package/dist/interface/assets/Plugin-BZZ9P2-2.js +1 -0
  71. package/dist/interface/assets/{PluginConsole-BmoxL8Zf.js → PluginConsole-DxxCx7q1.js} +1 -1
  72. package/dist/interface/assets/PluginDetail-l_l3WOqM.js +2 -0
  73. package/dist/interface/assets/{PluginSchema-E2mYGyo7.js → PluginSchema-D0stZt2c.js} +1 -1
  74. package/dist/interface/assets/PluginSearch-C_4Txq7k.js +1 -0
  75. package/dist/interface/assets/PluginSearch-lqGiQjP4.js +2 -0
  76. package/dist/interface/assets/{PluginUpdateProgress-C24YDhuR.js → PluginUpdateProgress-CUUVf_wg.js} +1 -1
  77. package/dist/interface/assets/Plugins-Y634pLhv.js +1 -0
  78. package/dist/interface/assets/Recordings-Ct6GmMEP.js +1 -0
  79. package/dist/interface/assets/{SensorEdit-BNjKeleI.js → SensorEdit-DnPyIBu5.js} +1 -1
  80. package/dist/interface/assets/{SensorHistory-CdH5maOV.js → SensorHistory-Bwmg24QZ.js} +1 -1
  81. package/dist/interface/assets/Sensors-BaMYFgjD.js +2 -0
  82. package/dist/interface/assets/{Settings-DKBZFxlv.js → Settings-DulVBel0.js} +1 -1
  83. package/dist/interface/assets/SettingsAccount-CL2RTnFz.js +1 -0
  84. package/dist/interface/assets/SettingsAccount-DbArOHXx.js +1 -0
  85. package/dist/interface/assets/SettingsAppearance-CPrCyxBA.js +1 -0
  86. package/dist/interface/assets/{SettingsAppearance-CQCBQbi9.js → SettingsAppearance-cq1t3BEj.js} +1 -1
  87. package/dist/interface/assets/SettingsBackup-21a3QmN1.js +1 -0
  88. package/dist/interface/assets/{SettingsList-DBsW8ThN.js → SettingsList-dO_4W9uY.js} +1 -1
  89. package/dist/interface/assets/{SettingsMqtt-2CZar6Ok.js → SettingsMqtt-CAxcvp74.js} +1 -1
  90. package/dist/interface/assets/{SettingsNotifications-XklBpBAA.js → SettingsNotifications-C8OyC6Uo.js} +1 -1
  91. package/dist/interface/assets/{SettingsPermissions-gFDNSlTh.js → SettingsPermissions-BPZlOEWO.js} +1 -1
  92. package/dist/interface/assets/{SettingsRecordings-DNivVi-n.js → SettingsRecordings-Boja0QZp.js} +1 -1
  93. package/dist/interface/assets/SettingsRemote-Dga6BXDI.js +2 -0
  94. package/dist/interface/assets/SettingsSystem-DnipKTG6.js +2 -0
  95. package/dist/interface/assets/SettingsUsers-Bxf1RaY3.js +1 -0
  96. package/dist/interface/assets/{Terminal-DIJQiSuv.js → Terminal-Cr3hOv8-.js} +1 -1
  97. package/dist/interface/assets/Updates-DiBrlchb.js +2 -0
  98. package/dist/interface/assets/{VariableInput-n0TxKRqq.js → VariableInput-C7XFQ66c.js} +1 -1
  99. package/dist/interface/assets/{VariableSuggestions-C4LmaCAo.js → VariableSuggestions-DohkCyGS.js} +1 -1
  100. package/dist/interface/assets/{VersionsHandler-DQIGi_rX.js → VersionsHandler-DFef44HF.js} +1 -1
  101. package/dist/interface/assets/{VirtualSensorCreate-hkTH1oyx.js → VirtualSensorCreate-9X6C1NR1.js} +1 -1
  102. package/dist/interface/assets/Workers-D5OtbF4f.js +2 -0
  103. package/dist/interface/assets/api-Br1U09Hq.js +4 -0
  104. package/dist/interface/assets/{api-DO5wBndX.css → api-SOlhy6R4.css} +1 -1
  105. package/dist/interface/assets/{api-Fnlph_Dy.js → api-ZL-_Y0-o.js} +1 -1
  106. package/dist/interface/assets/{auth-BR3YzjI6.js → auth-CUXeNcmI.js} +1 -1
  107. package/dist/interface/assets/{automations-CEQA_ktf.js → automations-Bz9Wo-Xf.js} +1 -1
  108. package/dist/interface/assets/{cameraSources-C3cl6FVD.js → cameraSources-BpaS7lCe.js} +1 -1
  109. package/dist/interface/assets/cloudHandoff-Colhf5P9.js +1 -0
  110. package/dist/interface/assets/{config-C9VJJPSY.js → config-bmrb5S6z.js} +1 -1
  111. package/dist/interface/assets/{flowSchema-BOrDqdeG.js → flowSchema-D4Ys_7rr.js} +1 -1
  112. package/dist/interface/assets/{intercomService-CfCIMUlA.js → intercomService-CmFnb1sI.js} +1 -1
  113. package/dist/interface/assets/main-CrXBqh3b.js +3 -0
  114. package/dist/interface/assets/{mqtt-C0Fk_0A0.js → mqtt-Cotm4qW5.js} +1 -1
  115. package/dist/interface/assets/{notifications-cLHaJrkF.js → notifications-D4SOTDPx.js} +1 -1
  116. package/dist/interface/assets/{plugins-BSj5ptYS.js → plugins-Bxyydn6v.js} +1 -1
  117. package/dist/interface/assets/{rooms-B2qpadxS.js → rooms-DdSOohLs.js} +1 -1
  118. package/dist/interface/assets/sensorIcons-CtVSmjCW.js +1 -0
  119. package/dist/interface/assets/{sensors-CF2XtbQy.js → sensors-C4ZGeFC2.js} +1 -1
  120. package/dist/interface/assets/{server-CtYeoF7I.js → server-DWPgetQJ.js} +1 -1
  121. package/dist/interface/assets/{theme-XIkYA0Sr.js → theme-BTgw7al1.js} +1 -1
  122. package/dist/interface/assets/{types-D19FOdYo.js → types-BX3Shvk-.js} +1 -1
  123. package/dist/interface/assets/{types-CSWXRySW.js → types-DJucLQEM.js} +1 -1
  124. package/dist/interface/assets/{types-C_BNAgFu.js → types-sQfxKKSk.js} +1 -1
  125. package/dist/interface/assets/ungrouped-CfLdttI0.js +1 -0
  126. package/dist/interface/assets/{updates-BAgOBEkj.js → updates-DSQhfbpi.js} +1 -1
  127. package/dist/interface/assets/{useAppVersion-D9KkJTXk.js → useAppVersion-Dm0wl8Ks.js} +1 -1
  128. package/dist/interface/assets/{useBackupRestore-sN-km6-B.js → useBackupRestore-ARFlxu4a.js} +1 -1
  129. package/dist/interface/assets/{useCameraOptions-DMVDXZmK.js → useCameraOptions-CkKmF0Hk.js} +1 -1
  130. package/dist/interface/assets/{useLogsSocket-DQkjdbYG.js → useLogsSocket-BQGKfynj.js} +1 -1
  131. package/dist/interface/assets/{useNavLayout-D3ouWCmp.js → useNavLayout-CB6pDWQI.js} +1 -1
  132. package/dist/interface/assets/{usePermissions-zJF4LCPm.js → usePermissions-CKQU5_yK.js} +1 -1
  133. package/dist/interface/assets/{usePluginUpdates-aa47-Yks.js → usePluginUpdates-DsX5Nf9S.js} +1 -1
  134. package/dist/interface/assets/{usePushRegistration-CTL6lj6G.js → usePushRegistration-CR4ZsM1s.js} +1 -1
  135. package/dist/interface/assets/{useServerRestart-DJ7Yp-hS.js → useServerRestart-B0ux2xXZ.js} +1 -1
  136. package/dist/interface/assets/{useStreamStatus-caRsJFPo.js → useStreamStatus-B13lBsjn.js} +1 -1
  137. package/dist/interface/assets/{useTabSwipe-C0dqPNrP.js → useTabSwipe-CC9fSJyW.js} +1 -1
  138. package/dist/interface/assets/{useUpdateChannel-rQpLNPVf.js → useUpdateChannel-4932QugL.js} +1 -1
  139. package/dist/interface/assets/{useUpdatesSocket-BRGd8z0Q.js → useUpdatesSocket-BYOu1jFQ.js} +1 -1
  140. package/dist/interface/assets/{useUserOptions-DJzQcCxU.js → useUserOptions-7qZi1YVO.js} +1 -1
  141. package/dist/interface/assets/{vendor-cameraui-phsC2Mmi.js → vendor-cameraui-C5_h4c-5.js} +12 -12
  142. package/dist/interface/assets/{vendor-core-C0ZWoGJD.js → vendor-core-DeodbhZZ.js} +1 -1
  143. package/dist/interface/assets/{vendor-primevue-nPess0JU.js → vendor-primevue-C9-jpd5L.js} +1 -1
  144. package/dist/interface/ha/{404-XfD0QhlQ.js → 404-BJV77Tm3.js} +1 -1
  145. package/dist/interface/ha/{About-BDT0bXs9.js → About-B9m7sPyi.js} +3 -3
  146. package/dist/interface/ha/{Automation-zp87FeF1.js → Automation-CpRTKtII.js} +157 -157
  147. package/dist/interface/ha/{AutomationImport-DqW0CH_W.js → AutomationImport-Cwx9PKHq.js} +6 -6
  148. package/dist/interface/ha/{AutomationStore-BzbphHII.js → AutomationStore-D1DJAo3Y.js} +49 -49
  149. package/dist/interface/ha/{AutomationStoreDetail-BLo9ruib.js → AutomationStoreDetail-BWkMk3zp.js} +6 -6
  150. package/dist/interface/ha/{Automations-CPnr0gsA.js → Automations-2-dpUnyN.js} +96 -96
  151. package/dist/interface/ha/{Camera-B4ER1Z0s.js → Camera-BFQCXQ-9.js} +160 -160
  152. package/dist/interface/ha/{CameraConsole-BmCff686.js → CameraConsole-DN2AUzCO.js} +3 -3
  153. package/dist/interface/ha/{Cameras-BhqLnuzl.js → Cameras-Cp2tLuzn.js} +25 -25
  154. package/dist/interface/ha/{Camview-B4gJF52k.js → Camview-9-QATaMt.js} +333 -327
  155. package/dist/interface/ha/{Config-CZsLcgnx.js → Config-B7BWUVjy.js} +109 -109
  156. package/dist/interface/ha/{ConfigActionCameraControl-BO_omYtE.js → ConfigActionCameraControl-B4bligkf.js} +3 -3
  157. package/dist/interface/ha/{ConfigActionHttp-0XiJGo1p.js → ConfigActionHttp-Ci1pT2TU.js} +2 -2
  158. package/dist/interface/ha/{ConfigActionImageInput-DKfoq44v.js → ConfigActionImageInput-JL7XqPlF.js} +1 -1
  159. package/dist/interface/ha/{ConfigActionMqtt-DpWEe172.js → ConfigActionMqtt-CErH-8g0.js} +4 -4
  160. package/dist/interface/ha/{ConfigActionNotification-C-dw-rJc.js → ConfigActionNotification-DbB5il5h.js} +3 -3
  161. package/dist/interface/ha/{ConfigActionNotificationControl-BKETfXHu.js → ConfigActionNotificationControl-BidGFW5w.js} +2 -2
  162. package/dist/interface/ha/{ConfigActionOutput-Bl0WhQsB.js → ConfigActionOutput-BbEPcSqB.js} +1 -1
  163. package/dist/interface/ha/{ConfigActionPlugin-DQ-IQioz.js → ConfigActionPlugin-BQUbQheX.js} +5 -5
  164. package/dist/interface/ha/{ConfigActionSensor-COKCL9VJ.js → ConfigActionSensor-ZwXZF672.js} +4 -4
  165. package/dist/interface/ha/{ConfigActionSnapshot-KMgZaQTk.js → ConfigActionSnapshot-CKCKSlvU.js} +2 -2
  166. package/dist/interface/ha/{ConfigActionVariable-B6c0mHx3.js → ConfigActionVariable-DB-leNOV.js} +1 -1
  167. package/dist/interface/ha/{ConfigConditionIfElse-DjqW9DL2.js → ConfigConditionIfElse-268mse2c.js} +3 -3
  168. package/dist/interface/ha/{ConfigConditionSensorState-DP4H2EhX.js → ConfigConditionSensorState-DwPY2W53.js} +4 -4
  169. package/dist/interface/ha/{ConfigConditionSwitch-DUZ4EXMa.js → ConfigConditionSwitch-C9zW3TAK.js} +4 -4
  170. package/dist/interface/ha/{ConfigSensorValueInput-BZ6VP_SV.js → ConfigSensorValueInput-cKpE0FZE.js} +3 -3
  171. package/dist/interface/ha/{ConfigTriggerDetection-DubElOjf.js → ConfigTriggerDetection-C0S-k9O5.js} +3 -3
  172. package/dist/interface/ha/{ConfigTriggerGeofence-CAb9EIyW.js → ConfigTriggerGeofence-CjmlCNj3.js} +2 -2
  173. package/dist/interface/ha/{ConfigTriggerMqtt-DEEiQfiG.js → ConfigTriggerMqtt-YpTYEXuH.js} +1 -1
  174. package/dist/interface/ha/{ConfigTriggerSensor-BWU9p7DN.js → ConfigTriggerSensor-jTkbOjQw.js} +1 -1
  175. package/dist/interface/ha/{ConfigTriggerSystem-CrBnn7N4.js → ConfigTriggerSystem-ChQOH5XE.js} +2 -2
  176. package/dist/interface/ha/{ConfigTriggerWebhook-BxhYX1v3.js → ConfigTriggerWebhook--Xitqvob.js} +1 -1
  177. package/dist/interface/ha/{Console-DSFjYlo2.js → Console-BLBwNOGF.js} +2 -2
  178. package/dist/interface/ha/{CuiAutomationRunsDialog-B_6B5g5M.js → CuiAutomationRunsDialog-DZpflYbm.js} +2 -2
  179. package/dist/interface/ha/{CuiBottomSheet-H-Q85NZI.js → CuiBottomSheet-x112x30L.js} +1 -1
  180. package/dist/interface/ha/{CuiCameraRecordings-RbA-z2aC.js → CuiCameraRecordings-kyJmGt96.js} +7 -7
  181. package/dist/interface/ha/{CuiCameraShares-ljsNljpk.js → CuiCameraShares-C64w7YIg.js} +2 -2
  182. package/dist/interface/ha/{CuiCameraTable-D8v9f0KG.js → CuiCameraTable-BcucTb-H.js} +2 -2
  183. package/dist/interface/ha/{CuiChartTable-CRh5hraX.js → CuiChartTable-HtK2jIrg.js} +3 -3
  184. package/dist/interface/ha/{CuiConsole-BDyVAdJ1.js → CuiConsole-B6UN73LC.js} +1 -1
  185. package/dist/interface/ha/{CuiDataTable-BQJn0V9s.js → CuiDataTable-C06T8Rgf.js} +1 -1
  186. package/dist/interface/ha/{CuiPluginCard-BBufTf5G.js → CuiPluginCard-Ca1syMp2.js} +90 -90
  187. package/dist/interface/ha/{CuiPluginOAuthButton-C040cvyg.js → CuiPluginOAuthButton-B_kD1J7y.js} +3 -3
  188. package/dist/interface/ha/{CuiPluginTrustBadge-nzUGrby_.js → CuiPluginTrustBadge-BGnfwBkE.js} +1 -1
  189. package/dist/interface/ha/{CuiQRCode-D5mDAVxc.js → CuiQRCode-C8afEdjI.js} +2 -2
  190. package/dist/interface/ha/{CuiSchema-Dediu0ne.js → CuiSchema-BDqA8ICl.js} +115 -115
  191. package/dist/interface/ha/{CuiTopNavbarItem-CLctGl42.js → CuiTopNavbarItem-Cowg2EeV.js} +1 -1
  192. package/dist/interface/ha/{Faces-Dj-0ZqJo.js → Faces-COKq1uOY.js} +98 -98
  193. package/dist/interface/ha/{FirstSteps-D8Oz_1wZ.js → FirstSteps-B6Rpbo6X.js} +62 -62
  194. package/dist/interface/ha/{Floorplan-bSWb_OO9.js → Floorplan-C7Z973FS.js} +36 -36
  195. package/dist/interface/ha/{Instances-DHn0dknd.js → Instances-D5jpC7_k.js} +3 -3
  196. package/dist/interface/ha/{Logs-ztXnQRDu.js → Logs-BQ7844YD.js} +8 -8
  197. package/dist/interface/ha/{Menu-DZjKIIdo.js → Menu-BA3FMf84.js} +2 -2
  198. package/dist/interface/ha/{Metrics-CaQpSqaT.js → Metrics-CW7eFTFq.js} +312 -312
  199. package/dist/interface/ha/{OAuthDeviceFlow-CXFvbNVS.js → OAuthDeviceFlow-DY0EmFd2.js} +4 -4
  200. package/dist/interface/ha/{Plugin-Bobl3pAj.js → Plugin-CDTqk1Za.js} +26 -26
  201. package/dist/interface/ha/{PluginConsole-BeTXH3CA.js → PluginConsole-BHPYWTQI.js} +4 -4
  202. package/dist/interface/ha/{PluginDetail-DYwkpSJl.js → PluginDetail-CCanv1XC.js} +9 -9
  203. package/dist/interface/ha/{PluginSearch-CNvESsIW.js → PluginSearch-CN5u42N5.js} +43 -43
  204. package/dist/interface/ha/{PluginUpdateProgress-uTba6bsg.js → PluginUpdateProgress-CYIL5ZH9.js} +3 -3
  205. package/dist/interface/ha/{Plugins-IVwEtrWx.js → Plugins-Cej_rQF0.js} +7 -7
  206. package/dist/interface/ha/{Recordings-DQHW85Xb.js → Recordings-CUBsiex_.js} +39 -39
  207. package/dist/interface/ha/{SensorEdit-DTzTZ0Qx.js → SensorEdit-CHw_qb02.js} +3 -3
  208. package/dist/interface/ha/{SensorHistory-Dpol8a3B.js → SensorHistory-CN-cU83N.js} +2 -2
  209. package/dist/interface/ha/{Sensors-CcYkfpcW.js → Sensors-CsDHqjPN.js} +296 -296
  210. package/dist/interface/ha/{Settings-DOHd_Zfh.js → Settings-xYx7OlnI.js} +2 -2
  211. package/dist/interface/ha/{SettingsAccount-BlR20Jka.js → SettingsAccount-CS3pzQOR.js} +11 -11
  212. package/dist/interface/ha/{SettingsAppearance-BzJjEnql.js → SettingsAppearance-DJ7N-8pK.js} +3 -3
  213. package/dist/interface/ha/{SettingsBackup-QU7tBfCW.js → SettingsBackup-CIa5Xieg.js} +29 -29
  214. package/dist/interface/ha/{SettingsList-QfhxkhGx.js → SettingsList-B15eyCEc.js} +1 -1
  215. package/dist/interface/ha/{SettingsMqtt-Cn0-nvNq.js → SettingsMqtt-CAV58dIf.js} +3 -3
  216. package/dist/interface/ha/{SettingsNotifications-CFDrkIuj.js → SettingsNotifications-CaFA1fgA.js} +3 -3
  217. package/dist/interface/ha/{SettingsRecordings-BL5w_tTM.js → SettingsRecordings-CdU1gIj-.js} +4 -4
  218. package/dist/interface/ha/{SettingsRemote-CMKRVkmQ.js → SettingsRemote-CfZF4rVJ.js} +251 -251
  219. package/dist/interface/ha/{SettingsSystem-BZ0kjqI4.js → SettingsSystem-pAKtXD6a.js} +10 -10
  220. package/dist/interface/ha/{SettingsUsers-D_43q_Z9.js → SettingsUsers-bb02QZmu.js} +10 -10
  221. package/dist/interface/ha/{Terminal-D9aTmirQ.js → Terminal-D8nt8rJZ.js} +3 -3
  222. package/dist/interface/ha/{Updates-Ba7nwyPE.js → Updates-CN1ovwX3.js} +11 -11
  223. package/dist/interface/ha/{VariableInput-Ba8UmjLp.js → VariableInput-CknW9Awp.js} +1 -1
  224. package/dist/interface/ha/{VersionsHandler-aP1yiV6h.js → VersionsHandler-DL_zS-ms.js} +8 -8
  225. package/dist/interface/ha/{VirtualSensorCreate-DYip9rEZ.js → VirtualSensorCreate-DhYEEPoo.js} +1 -1
  226. package/dist/interface/ha/{Workers-0JfC-Rpb.js → Workers-22Qvr1uT.js} +9 -9
  227. package/dist/interface/ha/{api-DgV9VAO6.js → api-BqtwQvFZ.js} +4735 -4705
  228. package/dist/interface/ha/{api-BlYG2Y80.js → api-jFJQoLDe.js} +1 -1
  229. package/dist/interface/ha/{auth-BWXBL9G_.js → auth-DYjwhf8n.js} +1 -1
  230. package/dist/interface/ha/{automationBlueprint-6k7kFTOs.js → automationBlueprint-BinFQ4tN.js} +2 -2
  231. package/dist/interface/ha/cameraui-cards.js +1 -1
  232. package/dist/interface/ha/{cards-Nr4bm7Wh.js → cards-JO0NQxtH.js} +42 -41
  233. package/dist/interface/ha/{config-CPv6cFbP.js → config-BZ6AkzPk.js} +1 -1
  234. package/dist/interface/ha/{dist-Ca9_5rzq.js → dist-BQFunPaA.js} +281 -267
  235. package/dist/interface/ha/{mqtt-BKhgNbHr.js → mqtt-DvoRfg48.js} +1 -1
  236. package/dist/interface/ha/{notifications-DZioGp1d.js → notifications-BXyPUJeI.js} +1 -1
  237. package/dist/interface/ha/{plugins-CtPzLfvr.js → plugins-B7xVEI2U.js} +1 -1
  238. package/dist/interface/ha/{rooms-CKuaHJV7.js → rooms-wdWj7L04.js} +1 -1
  239. package/dist/interface/ha/{server-BWqoFAaO.js → server-BoeQx2s1.js} +1 -1
  240. package/dist/interface/ha/{types-C5EVK0o5.js → types-BLB8t9IM.js} +2 -2
  241. package/dist/interface/ha/{ungrouped-l7bhuZz1.js → ungrouped-BTlRpp_C.js} +11 -11
  242. package/dist/interface/ha/{updates-UPyHju8C.js → updates-DJQ3mgFB.js} +5 -5
  243. package/dist/interface/ha/{useAppVersion-B9trcrlI.js → useAppVersion-DBQHtFHV.js} +1 -1
  244. package/dist/interface/ha/{useLogsSocket-BDb1lLIi.js → useLogsSocket-DUVEzjQv.js} +1 -1
  245. package/dist/interface/ha/{useNavLayout-DaNSE-ip.js → useNavLayout-Tm6brv5T.js} +1 -1
  246. package/dist/interface/ha/{useServerRestart-Dj428ORg.js → useServerRestart-qfZkaizw.js} +1 -1
  247. package/dist/interface/ha/{useTabSwipe-CUN_ESGI.js → useTabSwipe-DZZV2CAu.js} +1 -1
  248. package/dist/interface/ha/{useUpdateChannel-CkvgjPZ9.js → useUpdateChannel-CAAsjUty.js} +2 -2
  249. package/dist/interface/ha/{useUpdatesSocket-5MdVL3-H.js → useUpdatesSocket-UVjukmiK.js} +1 -1
  250. package/dist/interface/ha/{useUserOptions-CypjzB3t.js → useUserOptions-fca_GryG.js} +1 -1
  251. package/dist/interface/index.html +26 -26
  252. package/dist/interface/sw.js +1 -1
  253. package/dist/server/package.json +5 -5
  254. package/dist/server/src/api/types/index.d.ts +1 -0
  255. package/dist/server/src/camera/decoder/event-manager.js +2 -1
  256. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  257. package/dist/server/src/camera/decoder/event-trace.d.ts +2 -0
  258. package/dist/server/src/camera/decoder/event-trace.js +28 -1
  259. package/dist/server/src/camera/decoder/event-trace.js.map +1 -1
  260. package/package.json +5 -5
  261. package/dist/interface/assets/Automation-3b8p-NP7.js +0 -3
  262. package/dist/interface/assets/AutomationImport-Cof0ZgBr.js +0 -2
  263. package/dist/interface/assets/AutomationStore-DqwY7_JA.js +0 -2
  264. package/dist/interface/assets/AutomationStoreDetail-uFGvc8bB.js +0 -2
  265. package/dist/interface/assets/Automations-DdQcG0T5.js +0 -2
  266. package/dist/interface/assets/Camera-DYVLSEOo.js +0 -2
  267. package/dist/interface/assets/Camera-LSq1bWmA.css +0 -1
  268. package/dist/interface/assets/Camview-BkEubnjc.js +0 -1
  269. package/dist/interface/assets/Config-BpJm9zF3.js +0 -2
  270. package/dist/interface/assets/CuiBottomSheet-BBOwB5Zq.js +0 -1
  271. package/dist/interface/assets/CuiCameraPipCard-DdBfjmdR.js +0 -1
  272. package/dist/interface/assets/CuiCameraTable-CHr9p0ba.js +0 -1
  273. package/dist/interface/assets/CuiPluginCard-DG548RLO.js +0 -2
  274. package/dist/interface/assets/CuiPluginOAuthButton-DKJ_GwoH.js +0 -2
  275. package/dist/interface/assets/Faces-BN3LDg5D.js +0 -1
  276. package/dist/interface/assets/FirstSteps-CdEYgnJS.js +0 -1
  277. package/dist/interface/assets/Floorplan-C0DE4XmK.js +0 -1
  278. package/dist/interface/assets/Instances-ko7OBDH1.js +0 -1
  279. package/dist/interface/assets/Metrics-FaEC2O0W.js +0 -9
  280. package/dist/interface/assets/Plugin-CAOe6A6k.js +0 -1
  281. package/dist/interface/assets/PluginDetail-B7m8ItCA.js +0 -2
  282. package/dist/interface/assets/PluginSearch-Bz7yBDFM.js +0 -2
  283. package/dist/interface/assets/PluginSearch-COU0ZMPl.js +0 -1
  284. package/dist/interface/assets/Plugins-awtrDkXE.js +0 -1
  285. package/dist/interface/assets/Recordings-DmSUUu1g.js +0 -1
  286. package/dist/interface/assets/Sensors-JWeMNQk7.js +0 -2
  287. package/dist/interface/assets/SettingsAccount-BZUeNC1l.js +0 -1
  288. package/dist/interface/assets/SettingsAccount-C28fm0rI.js +0 -1
  289. package/dist/interface/assets/SettingsAppearance-BpBmVVsX.js +0 -1
  290. package/dist/interface/assets/SettingsBackup-Bwm-t1Bv.js +0 -1
  291. package/dist/interface/assets/SettingsRemote-DoEn1Sh8.js +0 -2
  292. package/dist/interface/assets/SettingsSystem-D9kKvgg7.js +0 -2
  293. package/dist/interface/assets/SettingsUsers-CiVQEe21.js +0 -1
  294. package/dist/interface/assets/Updates-DmgVULv6.js +0 -2
  295. package/dist/interface/assets/Workers-5z3GS0W5.js +0 -2
  296. package/dist/interface/assets/api-Cgd8B7dM.js +0 -4
  297. package/dist/interface/assets/cloudHandoff-KBagmIaI.js +0 -1
  298. package/dist/interface/assets/main-ByhmqKXq.js +0 -3
  299. package/dist/interface/assets/sensorIcons-DyhiORrB.js +0 -1
  300. package/dist/interface/assets/ungrouped-B8BjUBtt.js +0 -1
@@ -4,26 +4,26 @@ 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
4
4
  import { t as N } from "./tooltip-BIrD_hC8.js";
5
5
  import { t as te } from "./message-C8U_kMBA.js";
6
6
  import { t as P } from "./history-BoZc8mgf.js";
7
- import { Dn as ne, Dr as re, Er as ie, Fr as ae, Lr as oe, Rr as se, W as ce, _n as le, _t as F, dr as ue, f as de, gi as fe, gt as pe, kn as me, ui as he, vr as ge, yr as _e } from "./api-DgV9VAO6.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-3D39Do4a.js";
10
- import { n as z } from "./vue-i18n-Dcb07o5U.js";
11
- import { v as B } from "./dist-Ca9_5rzq.js";
12
- import { t as be } from "./button-BlYuI0Q7.js";
13
- import { t as V } from "./inputtext-DGIESrd0.js";
14
- import { t as H } from "./close-Eq3txTBS.js";
15
- import { i as U, n as xe, r as Se, t as Ce } from "./accordion-BT2wHwK8.js";
16
- import { t as we } from "./inputnumber-B1Buq8Nc.js";
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-C5EVK0o5.js";
19
- import { a as q, i as De } from "./automationBlueprint-6k7kFTOs.js";
20
- import { t as Oe } from "./CuiBottomSheet-H-Q85NZI.js";
7
+ import { Dn as ne, Dr as re, Er as ie, Fr as ae, Lr as oe, Rr as se, W as ce, _n as le, dr as ue, f as de, gi as fe, kn as F, ot as pe, st as I, ui as me, vr as he, yr as ge } from "./api-BqtwQvFZ.js";
8
+ import { i as L } from "./intercomService-jB2mTgsn.js";
9
+ import { N as R, P as z, n as _e, r as ve } from "./pinia-3D39Do4a.js";
10
+ import { n as B } from "./vue-i18n-Dcb07o5U.js";
11
+ import { v as V } from "./dist-BQFunPaA.js";
12
+ import { t as ye } from "./button-BlYuI0Q7.js";
13
+ import { t as H } from "./inputtext-DGIESrd0.js";
14
+ import { t as U } from "./close-Eq3txTBS.js";
15
+ import { i as W, n as be, r as xe, t as Se } from "./accordion-BT2wHwK8.js";
16
+ import { t as Ce } from "./inputnumber-B1Buq8Nc.js";
17
+ import { t as we } from "./speeddial-Dv9txWte.js";
18
+ import { a as G, i as K, l as Te, r as q } from "./types-BLB8t9IM.js";
19
+ import { a as Ee, i as De } from "./automationBlueprint-BinFQ4tN.js";
20
+ import { t as Oe } from "./CuiBottomSheet-x112x30L.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",
@@ -454,7 +454,7 @@ var kt = ["id", "d"], At = 24, jt = /* @__PURE__ */ A({
454
454
  r([n.id]);
455
455
  }
456
456
  return (n, r) => {
457
- let i = H;
457
+ let i = U;
458
458
  return o(), S(w, null, [E("path", {
459
459
  id: e.id,
460
460
  d: v(a),
@@ -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");
@@ -611,10 +611,10 @@ function Vt(e, t) {
611
611
  function Ht(e) {
612
612
  return e.type === "trigger-webhook" && !e.webhookId ? {
613
613
  ...e,
614
- webhookId: he()
614
+ webhookId: me()
615
615
  } : e.type === "trigger-geofence" && !e.geofenceId ? {
616
616
  ...e,
617
- geofenceId: he()
617
+ geofenceId: me()
618
618
  } : e;
619
619
  }
620
620
  function Ut(e, t, 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__*/ ge(/* @__PURE__ */ A({
671
+ }, $t = /*#__PURE__*/ he(/* @__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(() => K(t.type)), u = y(() => l.value ? n(l.value.labelKey) : t.type), { cameraName: f } = Ee(), { 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(() => K(t.type)), s = y(() => a.value ? n(a.value.labelKey) : t.type), { cameraName: c } = Ee(), { 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,10 +897,10 @@ 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
- }, 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);
903
+ }, i = zt(() => t.id), c = y(() => K(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);
904
904
  return (t, n) => (o(), m($t, {
905
905
  icon: v(c).icon,
906
906
  label: v(l),
@@ -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 } = Ee(), { sensors: i } = V(), a = zt(() => t.id), s = y(() => K(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 } = ie(), { screenToFlowCoordinate: f, getViewport: m, dimensions: h } = Fe(), y = sn(), C = {
1041
+ let a = e, c = i, { t: l } = B(), { smBreakpoint: u } = ie(), { 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($),
@@ -1110,7 +1110,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1110
1110
  function ae(e) {
1111
1111
  let t = e.dataTransfer?.getData("application/automationnode");
1112
1112
  if (!t) return;
1113
- let n = G(t);
1113
+ let n = K(t);
1114
1114
  if (!n) return;
1115
1115
  O();
1116
1116
  let r = f({
@@ -1125,7 +1125,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1125
1125
  T.value = [...T.value, i], c("change");
1126
1126
  }
1127
1127
  function oe(e) {
1128
- let t = G(e);
1128
+ let t = K(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 = {
@@ -1148,29 +1148,29 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1148
1148
  function le() {
1149
1149
  return [...T.value];
1150
1150
  }
1151
- function F() {
1151
+ function ue() {
1152
1152
  return [...D.value];
1153
1153
  }
1154
- function ue(e, t) {
1154
+ function fe(e, t) {
1155
1155
  let n = T.value.find((t) => t.id === e);
1156
1156
  if (n && (n.data = t, n.type === "condition-switch" && Array.isArray(t.cases))) {
1157
1157
  let n = new Set(t.cases.map(Ot));
1158
1158
  D.value = D.value.filter((t) => t.source !== e || !t.sourceHandle?.startsWith("case-") || n.has(t.sourceHandle));
1159
1159
  }
1160
1160
  }
1161
- function fe(e) {
1161
+ function F(e) {
1162
1162
  let t = e.metaKey || e.ctrlKey;
1163
1163
  t && e.key === "z" && !e.shiftKey ? (e.preventDefault(), k()) : (t && e.key === "z" && e.shiftKey || t && e.key === "y") && (e.preventDefault(), A());
1164
1164
  }
1165
1165
  return x(() => a.flow._id, () => {
1166
1166
  T.value = [...a.flow.nodes], D.value = [...a.flow.edges], y.clear();
1167
- }), ee(() => window.addEventListener("keydown", fe)), r(() => window.removeEventListener("keydown", fe)), n({
1167
+ }), ee(() => window.addEventListener("keydown", F)), r(() => window.removeEventListener("keydown", F)), n({
1168
1168
  removeNode: se,
1169
1169
  addNodeAtCenter: oe,
1170
1170
  clearAll: ce,
1171
1171
  getNodes: le,
1172
- getEdges: F,
1173
- updateNodeData: ue,
1172
+ getEdges: ue,
1173
+ updateNodeData: fe,
1174
1174
  undo: k,
1175
1175
  redo: A,
1176
1176
  canUndo: y.canUndo,
@@ -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-DubElOjf.js")),
1219
- "trigger-sensor": F(() => import("./ConfigTriggerSensor-BWU9p7DN.js")),
1220
- "trigger-schedule": F(() => import("./ConfigTriggerSchedule-Vv5iNKL3.js")),
1221
- "trigger-webhook": F(() => import("./ConfigTriggerWebhook-BxhYX1v3.js")),
1222
- "trigger-mqtt": F(() => import("./ConfigTriggerMqtt-DEEiQfiG.js")),
1223
- "trigger-system": F(() => import("./ConfigTriggerSystem-CrBnn7N4.js")),
1224
- "trigger-manual": F(() => import("./ConfigTriggerManual-ConxhgNx.js")),
1225
- "trigger-geofence": F(() => import("./ConfigTriggerGeofence-CAb9EIyW.js")),
1226
- "action-snapshot": F(() => import("./ConfigActionSnapshot-KMgZaQTk.js")),
1227
- "action-sensor": F(() => import("./ConfigActionSensor-COKCL9VJ.js")),
1228
- "action-notification": F(() => import("./ConfigActionNotification-C-dw-rJc.js")),
1229
- "action-notification-control": F(() => import("./ConfigActionNotificationControl-BKETfXHu.js")),
1230
- "action-http": F(() => import("./ConfigActionHttp-0XiJGo1p.js")),
1231
- "action-mqtt": F(() => import("./ConfigActionMqtt-DpWEe172.js")),
1232
- "action-delay": F(() => import("./ConfigActionDelay-BHug57u7.js")),
1233
- "action-variable": F(() => import("./ConfigActionVariable-B6c0mHx3.js")),
1234
- "action-plugin": F(() => import("./ConfigActionPlugin-DQ-IQioz.js")),
1235
- "action-image-input": F(() => import("./ConfigActionImageInput-DKfoq44v.js")),
1236
- "action-output": F(() => import("./ConfigActionOutput-Bl0WhQsB.js")),
1237
- "action-camera-control": F(() => import("./ConfigActionCameraControl-BO_omYtE.js")),
1238
- "condition-ifelse": F(() => import("./ConfigConditionIfElse-DjqW9DL2.js")),
1239
- "condition-switch": F(() => import("./ConfigConditionSwitch-DUZ4EXMa.js")),
1240
- "condition-sensorstate": F(() => import("./ConfigConditionSensorState-DP4H2EhX.js")),
1241
- "condition-time": F(() => import("./ConfigConditionTime-aD8mk2aa.js"))
1218
+ "trigger-detection": I(() => import("./ConfigTriggerDetection-C0S-k9O5.js")),
1219
+ "trigger-sensor": I(() => import("./ConfigTriggerSensor-jTkbOjQw.js")),
1220
+ "trigger-schedule": I(() => import("./ConfigTriggerSchedule-Vv5iNKL3.js")),
1221
+ "trigger-webhook": I(() => import("./ConfigTriggerWebhook--Xitqvob.js")),
1222
+ "trigger-mqtt": I(() => import("./ConfigTriggerMqtt-YpTYEXuH.js")),
1223
+ "trigger-system": I(() => import("./ConfigTriggerSystem-ChQOH5XE.js")),
1224
+ "trigger-manual": I(() => import("./ConfigTriggerManual-ConxhgNx.js")),
1225
+ "trigger-geofence": I(() => import("./ConfigTriggerGeofence-CjmlCNj3.js")),
1226
+ "action-snapshot": I(() => import("./ConfigActionSnapshot-CKCKSlvU.js")),
1227
+ "action-sensor": I(() => import("./ConfigActionSensor-ZwXZF672.js")),
1228
+ "action-notification": I(() => import("./ConfigActionNotification-DbB5il5h.js")),
1229
+ "action-notification-control": I(() => import("./ConfigActionNotificationControl-BidGFW5w.js")),
1230
+ "action-http": I(() => import("./ConfigActionHttp-Ci1pT2TU.js")),
1231
+ "action-mqtt": I(() => import("./ConfigActionMqtt-CErH-8g0.js")),
1232
+ "action-delay": I(() => import("./ConfigActionDelay-BHug57u7.js")),
1233
+ "action-variable": I(() => import("./ConfigActionVariable-DB-leNOV.js")),
1234
+ "action-plugin": I(() => import("./ConfigActionPlugin-BQUbQheX.js")),
1235
+ "action-image-input": I(() => import("./ConfigActionImageInput-JL7XqPlF.js")),
1236
+ "action-output": I(() => import("./ConfigActionOutput-BbEPcSqB.js")),
1237
+ "action-camera-control": I(() => import("./ConfigActionCameraControl-B4bligkf.js")),
1238
+ "condition-ifelse": I(() => import("./ConfigConditionIfElse-268mse2c.js")),
1239
+ "condition-switch": I(() => import("./ConfigConditionSwitch-C9zW3TAK.js")),
1240
+ "condition-sensorstate": I(() => import("./ConfigConditionSensorState-DwPY2W53.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 ? K(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 = U, p = ye, g = xe, _ = H, y = te, x = W, w = be, T = Ce, D = Se;
1268
1268
  return o(), S("div", fn, [
1269
1269
  E("div", pn, [
1270
1270
  E("div", {
@@ -1408,31 +1408,31 @@ 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__*/ ge(/* @__PURE__ */ A({
1411
+ }, zn = /*#__PURE__*/ he(/* @__PURE__ */ A({
1412
1412
  __name: "CuiAutomationNodePalette",
1413
- props: /*@__PURE__*/ n({ mode: {} }, K),
1413
+ props: /*@__PURE__*/ n({ mode: {} }, q),
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",
1420
- nodes: W("trigger")
1420
+ nodes: G("trigger")
1421
1421
  },
1422
1422
  {
1423
1423
  key: "condition",
1424
1424
  labelKey: "components.automation_nodes.category_conditions",
1425
- nodes: W("condition")
1425
+ nodes: G("condition")
1426
1426
  },
1427
1427
  {
1428
1428
  key: "utility",
1429
1429
  labelKey: "components.automation_nodes.category_utilities",
1430
- nodes: W("utility")
1430
+ nodes: G("utility")
1431
1431
  },
1432
1432
  {
1433
1433
  key: "action",
1434
1434
  labelKey: "components.automation_nodes.category_actions",
1435
- nodes: W("action")
1435
+ nodes: G("action")
1436
1436
  }
1437
1437
  ];
1438
1438
  function r(e, t) {
@@ -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 } = ie(), s = T("menuRef"), c = y(() => [{
1475
+ let n = e, r = t, { t: i } = B(), { smBreakpoint: a } = ie(), 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 = me, p = P, g = Ve, _ = ne, y = N;
1491
+ let r = ke, l = ye, u = H, f = F, p = P, g = Ve, _ = ne, 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,36 +1601,36 @@ 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-B_6B5g5M.js")), n = new Ee(), r = oe(), i = se(), { t: a } = z(), { smBreakpoint: c } = ie(), { bottombarHeight: u } = re(), p = pe(), g = fe(), O = Z(), k = y(() => r.params.id), A = y(() => k.value === "new"), ee = y(() => ue(void 0, "admin")), { data: te, isBusy: P } = n.getAutomationQuery(k), { mutateAsync: ne } = n.createAutomationQuery(), { mutateAsync: me } = n.patchAutomationQuery(), { mutateAsync: he } = n.deleteAutomationQuery(), { mutateAsync: ge } = 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-DZpflYbm.js")), n = new Te(), r = oe(), i = se(), { t: a } = B(), { smBreakpoint: c } = ie(), { bottombarHeight: u } = re(), p = pe(), g = fe(), O = Z(), k = y(() => r.params.id), A = y(() => k.value === "new"), ee = y(() => ue(void 0, "admin")), { data: te, isBusy: P } = n.getAutomationQuery(k), { mutateAsync: ne } = n.createAutomationQuery(), { mutateAsync: F } = n.patchAutomationQuery(), { mutateAsync: me } = n.deleteAutomationQuery(), { mutateAsync: he } = n.triggerAutomationQuery(), L = T("canvasRef"), R = j(!1), z = j(!1), _e = j(!1), ve = j(!1), V = !1, H, U = y({
1605
1605
  get: () => O.draft,
1606
1606
  set: (e) => {
1607
1607
  O.draft = e;
1608
1608
  }
1609
- }), U = y(() => {
1610
- if (!(!H.value || !O.selectedNodeId)) return H.value.nodes.find((e) => e.id === O.selectedNodeId);
1611
- }), xe = y(() => {
1612
- if (!(c.value || !U.value)) return "calc(300px + 1.25rem + env(safe-area-inset-right, 0px))";
1613
- }), Se = y(() => [
1614
- ...H.value?.nodes.some((e) => e.type === "trigger-manual") ?? !1 ? [{
1609
+ }), W = y(() => {
1610
+ if (!(!U.value || !O.selectedNodeId)) return U.value.nodes.find((e) => e.id === O.selectedNodeId);
1611
+ }), be = y(() => {
1612
+ if (!(c.value || !W.value)) return "calc(300px + 1.25rem + env(safe-area-inset-right, 0px))";
1613
+ }), xe = y(() => [
1614
+ ...U.value?.nodes.some((e) => e.type === "trigger-manual") ?? !1 ? [{
1615
1615
  label: a("views.automation.run"),
1616
1616
  icon: le,
1617
- buttonProps: { disabled: A.value || R.value },
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(), q();
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(), q();
1634
1634
  }
1635
1635
  },
1636
1636
  {
@@ -1650,11 +1650,11 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1650
1650
  command: () => We()
1651
1651
  }
1652
1652
  ]);
1653
- function Ce() {
1654
- ve.value = I.value?.canUndo ?? !1, ye.value = I.value?.canRedo ?? !1;
1653
+ function Se() {
1654
+ _e.value = L.value?.canUndo ?? !1, ve.value = L.value?.canRedo ?? !1;
1655
1655
  }
1656
- function we() {
1657
- H.value = {
1656
+ function Ce() {
1657
+ U.value = {
1658
1658
  _id: de(12),
1659
1659
  name: a("views.automation.untitled"),
1660
1660
  enabled: !1,
@@ -1666,15 +1666,15 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1666
1666
  updatedAt: Date.now()
1667
1667
  }, O.selectedNodeId = null;
1668
1668
  }
1669
- function W() {
1670
- clearTimeout(V), V = setTimeout(() => {
1671
- J(), O.validationIssues = Ft(H.value);
1669
+ function G() {
1670
+ clearTimeout(H), H = setTimeout(() => {
1671
+ J(), O.validationIssues = Ft(U.value);
1672
1672
  }, 300);
1673
1673
  }
1674
- function K() {
1675
- R.value = !0, Ce(), W();
1676
- }
1677
1674
  function q() {
1675
+ z.value = !0, Se(), G();
1676
+ }
1677
+ function Ee() {
1678
1678
  p.openComponentDialog(t, { data: {
1679
1679
  title: a("views.automations.run_history"),
1680
1680
  contentProps: { flowId: k.value },
@@ -1682,27 +1682,27 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1682
1682
  } });
1683
1683
  }
1684
1684
  function Ae() {
1685
- J(), K();
1685
+ J(), q();
1686
1686
  }
1687
1687
  function je(e) {
1688
- H.value && (H.value.name = e, K());
1688
+ U.value && (U.value.name = e, q());
1689
1689
  }
1690
1690
  function Pe(e, t) {
1691
- if (!H.value) return;
1692
- let n = H.value.nodes.find((t) => t.id === e);
1691
+ if (!U.value) return;
1692
+ let n = U.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 }), q();
1696
1696
  }
1697
1697
  }
1698
1698
  function Fe() {
1699
- if (!H.value) return {};
1700
- let e = I.value?.getNodes?.() ?? H.value.nodes, t = I.value?.getEdges?.() ?? H.value.edges;
1699
+ if (!U.value) return {};
1700
+ let e = L.value?.getNodes?.() ?? U.value.nodes, t = L.value?.getEdges?.() ?? U.value.edges;
1701
1701
  return {
1702
- name: H.value.name,
1703
- enabled: H.value.enabled,
1704
- suppressDuplicates: H.value.suppressDuplicates,
1705
- singleExecution: H.value.singleExecution,
1702
+ name: U.value.name,
1703
+ enabled: U.value.enabled,
1704
+ suppressDuplicates: U.value.suppressDuplicates,
1705
+ singleExecution: U.value.singleExecution,
1706
1706
  nodes: e.map((e) => ({
1707
1707
  id: e.id,
1708
1708
  type: e.type ?? "",
@@ -1719,20 +1719,20 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1719
1719
  };
1720
1720
  }
1721
1721
  async function Ie() {
1722
- if (!H.value) return;
1722
+ if (!U.value) return;
1723
1723
  J();
1724
1724
  let e = Fe();
1725
1725
  try {
1726
1726
  if (A.value) {
1727
1727
  let t = await ne({ data: e });
1728
- R.value = !1, i.replace(`/automations/${t._id}`);
1728
+ z.value = !1, i.replace(`/automations/${t._id}`);
1729
1729
  } else {
1730
- let t = await me({
1731
- id: H.value._id,
1730
+ let t = await F({
1731
+ id: U.value._id,
1732
1732
  data: e
1733
1733
  });
1734
- if (R.value = !1, t?.nodes && H.value) for (let e of t.nodes) {
1735
- let t = H.value.nodes.find((t) => t.id === e.id);
1734
+ if (z.value = !1, t?.nodes && U.value) for (let e of t.nodes) {
1735
+ let t = U.value.nodes.find((t) => t.id === e.id);
1736
1736
  t?.data && e.data && Object.assign(t.data, e.data);
1737
1737
  }
1738
1738
  g.add({
@@ -1750,16 +1750,16 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1750
1750
  }
1751
1751
  }
1752
1752
  function J() {
1753
- if (!H.value) return;
1754
- let e = I.value?.getNodes(), t = I.value?.getEdges();
1755
- e && (H.value.nodes = e), t && (H.value.edges = t);
1753
+ if (!U.value) return;
1754
+ let e = L.value?.getNodes(), t = L.value?.getEdges();
1755
+ e && (U.value.nodes = e), t && (U.value.edges = t);
1756
1756
  }
1757
1757
  function Y(e) {
1758
1758
  if (O.selectedNodeId = e, c.value && e) {
1759
1759
  J();
1760
- let t = H.value?.nodes.find((t) => t.id === e);
1760
+ let t = U.value?.nodes.find((t) => t.id === e);
1761
1761
  if (!t) return;
1762
- let n = t.type ? G(t.type) : void 0, r = n ? a(n.labelKey) : "Node", i = t.id;
1762
+ let n = t.type ? K(t.type) : void 0, r = n ? a(n.labelKey) : "Node", i = t.id;
1763
1763
  p.openComponentDialog(Wn, {
1764
1764
  data: {
1765
1765
  title: r,
@@ -1772,21 +1772,21 @@ 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
+ U.value?.nodes.some((e) => e.id === i) || (L.value?.removeNode(i), q());
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), q();
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), U.value && (U.value.nodes = U.value.nodes.filter((e) => e.id !== O.selectedNodeId), U.value.edges = U.value.edges.filter((e) => e.source !== O.selectedNodeId && e.target !== O.selectedNodeId)), O.selectedNodeId = null, O.lastOutput = null, q());
1785
1785
  }
1786
1786
  async function Ve() {
1787
- if (!(!H.value || A.value)) try {
1787
+ if (!(!U.value || A.value)) try {
1788
1788
  O.lastOutput = null;
1789
- let e = await ge({ id: H.value._id });
1789
+ let e = await he({ id: U.value._id });
1790
1790
  e?.output && Object.keys(e.output).length > 0 && (O.lastOutput = e.output), g.add({
1791
1791
  severity: "success",
1792
1792
  detail: a("views.automation.triggered"),
@@ -1801,15 +1801,15 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1801
1801
  }
1802
1802
  }
1803
1803
  function He() {
1804
- if (!H.value) return;
1804
+ if (!U.value) return;
1805
1805
  Ie();
1806
1806
  let e = {
1807
1807
  version: 1,
1808
- name: H.value.name,
1809
- nodes: De(H.value.nodes),
1810
- edges: H.value.edges
1808
+ name: U.value.name,
1809
+ nodes: De(U.value.nodes),
1810
+ edges: U.value.edges
1811
1811
  }, t = JSON.stringify(e, null, 2), n = new Blob([t], { type: "application/json" }), r = URL.createObjectURL(n), i = document.createElement("a");
1812
- i.href = r, i.download = `${H.value.name.replace(/\s+/g, "_").toLowerCase()}.blueprint.json`, i.click(), URL.revokeObjectURL(r);
1812
+ i.href = r, i.download = `${U.value.name.replace(/\s+/g, "_").toLowerCase()}.blueprint.json`, i.click(), URL.revokeObjectURL(r);
1813
1813
  }
1814
1814
  function Ue() {
1815
1815
  p.openTextDialog({
@@ -1819,13 +1819,13 @@ 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(), U.value && (U.value.nodes = [], U.value.edges = []), O.selectedNodeId = null, q();
1823
1823
  }
1824
1824
  });
1825
1825
  }
1826
1826
  function We() {
1827
- if (!H.value) return;
1828
- let e = H.value._id;
1827
+ if (!U.value) return;
1828
+ let e = U.value._id;
1829
1829
  p.openTextDialog({
1830
1830
  data: {
1831
1831
  title: a("views.automations.delete"),
@@ -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 he({ id: e }), i.push("/automations");
1836
+ await me({ 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" ? Ce() : U.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 && (U.value = JSON.parse(JSON.stringify(e)), O.validationIssues = Ft(U.value));
1847
1847
  }, { immediate: !0 }), x(() => O.draftDirty, (e) => {
1848
- e && (O.draftDirty = !1, K());
1849
- }), ae((e) => !R.value || B ? !0 : (p.openTextDialog({
1848
+ e && (O.draftDirty = !1, q());
1849
+ }), ae((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 = ce, p = Te, g = Oe, y = _e, x = N;
1859
+ let n = ke, r = ye, i = ce, p = we, 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",
@@ -1868,20 +1868,20 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1868
1868
  _: 1
1869
1869
  })]),
1870
1870
  _: 1
1871
- }), v(H) ? (o(), S(w, { key: 0 }, [
1871
+ }), v(U) ? (o(), S(w, { key: 0 }, [
1872
1872
  M(Vn, {
1873
- flow: v(H),
1873
+ flow: v(U),
1874
1874
  "show-history": !v(A) && v(ee),
1875
- onShowHistory: q,
1875
+ onShowHistory: Ee,
1876
1876
  "onUpdate:name": je,
1877
1877
  onToggleEnabled: t[0] ||= (e) => {
1878
- v(H).enabled = !v(H).enabled, K();
1878
+ v(U).enabled = !v(U).enabled, q();
1879
1879
  },
1880
1880
  onToggleSuppressDuplicates: t[1] ||= (e) => {
1881
- v(H).suppressDuplicates = !v(H).suppressDuplicates, K();
1881
+ v(U).suppressDuplicates = !v(U).suppressDuplicates, q();
1882
1882
  },
1883
1883
  onToggleSingleExecution: t[2] ||= (e) => {
1884
- v(H).singleExecution = !v(H).singleExecution, K();
1884
+ v(U).singleExecution = !v(U).singleExecution, q();
1885
1885
  }
1886
1886
  }, null, 8, ["flow", "show-history"]),
1887
1887
  E("div", Kn, [
@@ -1891,8 +1891,8 @@ 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,
1895
- flow: v(H),
1894
+ ref: L,
1895
+ flow: v(U),
1896
1896
  mobile: v(c),
1897
1897
  class: "flex-1 min-w-0",
1898
1898
  onNodeSelect: Y,
@@ -1901,10 +1901,10 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1901
1901
  v(c) ? h("", !0) : (o(), S("div", {
1902
1902
  key: 1,
1903
1903
  class: "shrink-0 overflow-hidden transition-[width] duration-200 ease-in-out",
1904
- style: C({ width: v(U) ? "300px" : "0px" })
1905
- }, [v(U) ? (o(), m(An, {
1904
+ style: C({ width: v(W) ? "300px" : "0px" })
1905
+ }, [v(W) ? (o(), m(An, {
1906
1906
  key: 0,
1907
- node: v(U),
1907
+ node: v(W),
1908
1908
  class: "w-[300px]",
1909
1909
  onClose: t[3] ||= (e) => v(O).selectedNodeId = null,
1910
1910
  "onUpdate:data": t[4] ||= (e) => Pe(v(O).selectedNodeId, e),
@@ -1912,7 +1912,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1912
1912
  }, null, 8, ["node"])) : h("", !0)], 4))
1913
1913
  ]),
1914
1914
  M(p, {
1915
- model: v(Se),
1915
+ model: v(xe),
1916
1916
  direction: "up",
1917
1917
  "transition-delay": 80,
1918
1918
  "tooltip-options": {
@@ -1922,8 +1922,8 @@ 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"} + env(safe-area-inset-bottom, 0px))`,
1926
- right: v(xe) || "calc(1.25rem + env(safe-area-inset-right, 0px))",
1925
+ bottom: `calc(${v(u)}px + ${v(z) ? "4.25rem" : "1.25rem"} + env(safe-area-inset-bottom, 0px))`,
1926
+ right: v(be) || "calc(1.25rem + env(safe-area-inset-right, 0px))",
1927
1927
  transition: "right 0.2s ease-in-out, bottom 0.2s ease-in-out"
1928
1928
  }),
1929
1929
  pt: { root: { style: "pointer-events: none" } }
@@ -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 + env(safe-area-inset-bottom, 0px))`,
1971
1971
  right: "calc(4.75rem + env(safe-area-inset-right, 0px))"
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",
@@ -1984,7 +1984,7 @@ var cn = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1984
1984
  position: "fixed",
1985
1985
  zIndex: 15,
1986
1986
  bottom: `calc(${v(u)}px + 1.25rem + env(safe-area-inset-bottom, 0px))`,
1987
- right: v(xe) || "calc(1.25rem + env(safe-area-inset-right, 0px))",
1987
+ right: v(be) || "calc(1.25rem + env(safe-area-inset-right, 0px))",
1988
1988
  transition: "right 0.2s ease-in-out"
1989
1989
  }),
1990
1990
  onClick: Ie
@@ -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
  }, {