@camera.ui/server 2.2.2 → 2.2.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 (398) hide show
  1. package/dist/interface/assets/{404-bSMSPWcp.js → 404-D0S6IGok.js} +1 -1
  2. package/dist/interface/assets/{About-DqMxC4AO.js → About-DAw9u8ZY.js} +1 -1
  3. package/dist/interface/assets/{Assistant-CIHF-bHs.js → Assistant-Gi6_YkEY.js} +1 -1
  4. package/dist/interface/assets/{Automation-CUDypjZw.js → Automation-6eFKPJPu.js} +3 -3
  5. package/dist/interface/assets/{AutomationImport-Cr14tF-Q.js → AutomationImport-95PfbPvG.js} +2 -2
  6. package/dist/interface/assets/{AutomationStore-BnZgfI9i.js → AutomationStore-BHxzzx7a.js} +2 -2
  7. package/dist/interface/assets/AutomationStoreDetail-DEVlRllt.js +2 -0
  8. package/dist/interface/assets/Automations-DEivoiS1.js +2 -0
  9. package/dist/interface/assets/Camera-B5l_gv7t.js +2 -0
  10. package/dist/interface/assets/{CameraConsole-BK8TqHgA.js → CameraConsole-B8bBYQzk.js} +1 -1
  11. package/dist/interface/assets/Cameras-HblWPGCv.js +651 -0
  12. package/dist/interface/assets/Camview-DEKrbg5R.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-PfgVZa4M.js → CertificateUpload-CC6YtX7h.js} +1 -1
  14. package/dist/interface/assets/{Config-DapgreIX.js → Config-DQEaOnaN.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionAssistant-v0w4E-mE.js → ConfigActionAssistant-C_XRnBzo.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionCameraControl-fdrsnRyE.js → ConfigActionCameraControl-oRzM9rjX.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionDelay-C_dq3ozL.js → ConfigActionDelay-Dc-NZS5L.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionHttp-1hDI-38w.js → ConfigActionHttp-Nw0wt-JZ.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionImageInput-DCF8qeg9.js → ConfigActionImageInput-Do60Upqm.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionMqtt-XpVD7lFg.js → ConfigActionMqtt-BeQVgaGX.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionNotification-CB1ymMRz.js → ConfigActionNotification-BA0FjOWs.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotificationControl-BfDtLS5h.js → ConfigActionNotificationControl-Ce3Kd_Xv.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionOutput-CMfXI1b3.js → ConfigActionOutput-ChiOMWDy.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionPlugin-CZo6SudQ.js → ConfigActionPlugin-Cn3r0glk.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSensor-CetFuASa.js → ConfigActionSensor-DkdBCu-6.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSnapshot-BpPhHpIk.js → ConfigActionSnapshot-CLlaDFUV.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionVariable-SJomTISn.js → ConfigActionVariable-D4x3Luxl.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionIfElse-ClTxvZJz.js → ConfigConditionIfElse-BpL8KZ5X.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSensorState-FbLmmHyP.js → ConfigConditionSensorState-CSQexUF_.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSwitch--qAHkOdE.js → ConfigConditionSwitch-CB2J_5kr.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionTime-BqjDUPVR.js → ConfigConditionTime-X9fsNsYu.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-B1dLcmSO.js → ConfigSensorValueInput-VPhPxrQl.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-CMZyEWui.js → ConfigTriggerDetection-Dhzng4X5.js} +1 -1
  34. package/dist/interface/assets/{ConfigTriggerGeofence-B9JPVvhP.js → ConfigTriggerGeofence-Cm0CLNf5.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerManual-CSdF69jM.js → ConfigTriggerManual-CRi3rsgG.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerMqtt-BzN7_xVm.js → ConfigTriggerMqtt-Ck__CWck.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSchedule-BK_Ogvxn.js → ConfigTriggerSchedule-C1PZrHEu.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSensor-BaQklhHP.js → ConfigTriggerSensor-9xVgCtkn.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSystem-DIX95l0X.js → ConfigTriggerSystem-Denf1gkO.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerWebhook-_EOJAgNk.js → ConfigTriggerWebhook-im24LkCn.js} +1 -1
  41. package/dist/interface/assets/Console-Q1HpmyO_.js +1 -0
  42. package/dist/interface/assets/CuiAssistantConversation-BxJf9sdu.js +5 -0
  43. package/dist/interface/assets/{CuiAssistantConversation-CWCLLi3b.css → CuiAssistantConversation-DmSdiv1b.css} +1 -1
  44. package/dist/interface/assets/{CuiAutomationRunsDialog-DpskKeEe.js → CuiAutomationRunsDialog-B3tJ-Cma.js} +1 -1
  45. package/dist/interface/assets/CuiBottomSheet-C37blNu-.js +1 -0
  46. package/dist/interface/assets/{CuiBottomSheet-Bg_AIuGY.js → CuiBottomSheet-kvvLw1MQ.js} +1 -1
  47. package/dist/interface/assets/CuiCameraPipCard-TVAf5ZYQ.js +1 -0
  48. package/dist/interface/assets/CuiCameraRecordings-C26rX8dh.css +1 -0
  49. package/dist/interface/assets/CuiCameraRecordings-IHg1dNf4.js +1 -0
  50. package/dist/interface/assets/CuiCameraShares-B5ghuJS-.js +1 -0
  51. package/dist/interface/assets/{CuiCameraTable-CyAYYPvd.js → CuiCameraTable-Y5XUkU7w.js} +2 -2
  52. package/dist/interface/assets/CuiCameraTable-xDZz7Wpe.js +1 -0
  53. package/dist/interface/assets/{CuiChartTable-BklHSjRr.js → CuiChartTable-CXdupaj5.js} +1 -1
  54. package/dist/interface/assets/CuiChartTable-DXY7rY3O.css +1 -0
  55. package/dist/interface/assets/{CuiConsole-4rDfDj0a.js → CuiConsole-5KgXSOS5.js} +2 -2
  56. package/dist/interface/assets/CuiDataTable-DPIbKnvU.css +1 -0
  57. package/dist/interface/assets/CuiDataTable-hArZWV9B.js +1 -0
  58. package/dist/interface/assets/CuiLightControl-MRpR0XIZ.js +1 -0
  59. package/dist/interface/assets/{CuiList-BafzuN0H.js → CuiList-D-l4HrBP.js} +1 -1
  60. package/dist/interface/assets/CuiPluginCard-whoQ5YHn.js +2 -0
  61. package/dist/interface/assets/{CuiPluginCategoryChip-B4w2DH_j.js → CuiPluginCategoryChip-CH53zk2o.js} +1 -1
  62. package/dist/interface/assets/{CuiPluginOAuthButton-C_jxPrPQ.js → CuiPluginOAuthButton-BBA0AzVO.js} +2 -2
  63. package/dist/interface/assets/{CuiPluginTrustBadge-pLnF2Ggn.js → CuiPluginTrustBadge-C0EX5aCI.js} +1 -1
  64. package/dist/interface/assets/{CuiQRCode-8Q6cFdfs.js → CuiQRCode-BRT0NO5c.js} +1 -1
  65. package/dist/interface/assets/CuiSchema-DBY1x1BT.js +1 -0
  66. package/dist/interface/assets/{CuiTopNavbarItem-BZXzuV42.js → CuiTopNavbarItem-CpMT8_0r.js} +1 -1
  67. package/dist/interface/assets/Faces-Dqi30qs9.js +1 -0
  68. package/dist/interface/assets/{FirstSteps-BNcAFp2c.js → FirstSteps-B8n4fGK3.js} +1 -1
  69. package/dist/interface/assets/Floorplan-ZHXNaZA8.js +1 -0
  70. package/dist/interface/assets/{Instances-DUWWy-El.js → Instances-DEj3gs6H.js} +1 -1
  71. package/dist/interface/assets/{Logs-7CxXc2Re.js → Logs-CwHvSKd6.js} +2 -2
  72. package/dist/interface/assets/Menu-C4BxUV0P.js +1 -0
  73. package/dist/interface/assets/Metrics-BCOE-rcw.js +9 -0
  74. package/dist/interface/assets/OAuthDeviceFlow-D6bjZOYS.js +1 -0
  75. package/dist/interface/assets/Plugin-ppCvxkl4.js +1 -0
  76. package/dist/interface/assets/{PluginConsole-BOaU7Ey0.js → PluginConsole-BP42Qpee.js} +1 -1
  77. package/dist/interface/assets/PluginDetail-BnX5lZGz.js +2 -0
  78. package/dist/interface/assets/{PluginSchema-BWlRMPo6.js → PluginSchema-uVKXzfo6.js} +1 -1
  79. package/dist/interface/assets/PluginSearch-C4MvWyLb.js +1 -0
  80. package/dist/interface/assets/PluginSearch-no79fTuf.js +2 -0
  81. package/dist/interface/assets/{PluginUpdateProgress-DFg14vV8.js → PluginUpdateProgress-73jprYHA.js} +1 -1
  82. package/dist/interface/assets/Plugins-DtEqS6_j.js +1 -0
  83. package/dist/interface/assets/{RecentEventsFilter-B6Ph-pxb.js → RecentEventsFilter-CtyCbt6Z.js} +1 -1
  84. package/dist/interface/assets/Recordings-DrcOsRLn.js +1 -0
  85. package/dist/interface/assets/{SensorEdit-DEenjJ8S.js → SensorEdit-D4-mMg8S.js} +1 -1
  86. package/dist/interface/assets/{SensorHistory-CU1Uwf5f.js → SensorHistory-C-X7VI-f.js} +1 -1
  87. package/dist/interface/assets/{Sensors-LnVLPDWf.js → Sensors-BJh8BkCR.js} +2 -2
  88. package/dist/interface/assets/{Settings-uk3RVXCS.js → Settings-B9CZvA-d.js} +1 -1
  89. package/dist/interface/assets/SettingsAccount-CkvScQmF.js +1 -0
  90. package/dist/interface/assets/SettingsAccount-D3zF2kLc.js +1 -0
  91. package/dist/interface/assets/{SettingsAppearance-CRYcal9v.js → SettingsAppearance-CbG8M38w.js} +1 -1
  92. package/dist/interface/assets/SettingsAppearance-ZHqNXXIL.js +1 -0
  93. package/dist/interface/assets/SettingsAssistant-BESab92C.css +1 -0
  94. package/dist/interface/assets/SettingsAssistant-DxYPnbms.js +1 -0
  95. package/dist/interface/assets/{SettingsBackup-CSvGqsru.js → SettingsBackup-DZBzUyQm.js} +1 -1
  96. package/dist/interface/assets/{SettingsList-BQR6jnP-.js → SettingsList-DFg8g7IM.js} +1 -1
  97. package/dist/interface/assets/SettingsMqtt-BeujOZkh.js +1 -0
  98. package/dist/interface/assets/{SettingsNotifications-8sSoP-8S.js → SettingsNotifications-DtSTE76r.js} +1 -1
  99. package/dist/interface/assets/{SettingsPermissions-D7kYdjfw.js → SettingsPermissions-CPOAefv0.js} +1 -1
  100. package/dist/interface/assets/{SettingsRecordings-DjLYqbKo.js → SettingsRecordings-ClAtT4Bh.js} +1 -1
  101. package/dist/interface/assets/SettingsRemote-58S4Thfp.js +2 -0
  102. package/dist/interface/assets/{SettingsSystem-BxQNJc8n.js → SettingsSystem-tTGpuiRW.js} +2 -2
  103. package/dist/interface/assets/SettingsUsers-D8b7I5c2.js +1 -0
  104. package/dist/interface/assets/{Terminal-Bsnvs8gs.js → Terminal-1_Fi0VW-.js} +2 -2
  105. package/dist/interface/assets/Training-CQHfQjUP.css +1 -0
  106. package/dist/interface/assets/Training-DfOqDTHJ.js +1 -0
  107. package/dist/interface/assets/{Updates-Dsn_fJ-N.js → Updates-BW0p7Wc5.js} +1 -1
  108. package/dist/interface/assets/{VariableInput-DCWiIgaZ.js → VariableInput-sqnLuk6S.js} +1 -1
  109. package/dist/interface/assets/{VariableSuggestions-BhIlXJ6r.js → VariableSuggestions-3pbnxhyT.js} +1 -1
  110. package/dist/interface/assets/{VersionsHandler-DM_Jf4EA.js → VersionsHandler-CWmjDygB.js} +1 -1
  111. package/dist/interface/assets/{VirtualSensorCreate-Q4kd0dfE.js → VirtualSensorCreate-BzmFlvYD.js} +1 -1
  112. package/dist/interface/assets/Workers-Dm9o2wMo.js +2 -0
  113. package/dist/interface/assets/{api-BKiE8A_V.css → api-B6TtU9Ew.css} +1 -1
  114. package/dist/interface/assets/{api-LjAY3aa3.js → api-CQ-3I3-i.js} +1 -1
  115. package/dist/interface/assets/api-DPgKdIQZ.js +4 -0
  116. package/dist/interface/assets/{assistant-BFc44oq-.js → assistant-0UymvpMy.js} +1 -1
  117. package/dist/interface/assets/{auth-CUPvHARA.js → auth-C0jhqNaz.js} +1 -1
  118. package/dist/interface/assets/{automations-Dw4L5sT0.js → automations-Bj30nb8s.js} +1 -1
  119. package/dist/interface/assets/{cameraSources-CzENFiZx.js → cameraSources-CiMjIjsh.js} +1 -1
  120. package/dist/interface/assets/cloudHandoff-Cxljjl7N.js +1 -0
  121. package/dist/interface/assets/{config-EBcNBZkb.js → config-D-uVfwYp.js} +1 -1
  122. package/dist/interface/assets/{flowSchema-CdzBw69a.js → flowSchema-D3nNJVLL.js} +1 -1
  123. package/dist/interface/assets/{intercomService-DIfdcsXc.js → intercomService-BeoNs-09.js} +1 -1
  124. package/dist/interface/assets/main-BrNGfemk.js +3 -0
  125. package/dist/interface/assets/{mqtt-D_wH18eJ.js → mqtt-D7jRwifB.js} +1 -1
  126. package/dist/interface/assets/{notifications-wLsrlI9N.js → notifications-BpRVoerg.js} +1 -1
  127. package/dist/interface/assets/pause-B7ud2O8d.js +1 -0
  128. package/dist/interface/assets/{plugins-DwmkpOPJ.js → plugins-wZ4RDxCb.js} +1 -1
  129. package/dist/interface/assets/rooms-CFcu2dU1.js +1 -0
  130. package/dist/interface/assets/{sensorIcons-BY853M0u.js → sensorIcons-B117n8l2.js} +1 -1
  131. package/dist/interface/assets/{sensorSlots-DnRJdaTG.js → sensorSlots-CAr3prFc.js} +1 -1
  132. package/dist/interface/assets/{sensors-B9etOqBI.js → sensors-oriEG3KR.js} +1 -1
  133. package/dist/interface/assets/{server-BTKgKMye.js → server-Ce6ou2NV.js} +1 -1
  134. package/dist/interface/assets/{theme-CbtGvohq.js → theme-CBTC6-Lp.js} +1 -1
  135. package/dist/interface/assets/{types-CEhVWRYD.js → types-C-amdBz6.js} +1 -1
  136. package/dist/interface/assets/{types-COlvVtDn.js → types-CjU6-JvD.js} +1 -1
  137. package/dist/interface/assets/types-CzjppLwt.js +1 -0
  138. package/dist/interface/assets/{ungrouped-Dbr16vFt.css → ungrouped-AYNBKz52.css} +1 -1
  139. package/dist/interface/assets/ungrouped-BQzKp2PT.js +1 -0
  140. package/dist/interface/assets/{updates-BQ6Ugcup.js → updates-Cohtc6vb.js} +1 -1
  141. package/dist/interface/assets/{useAppVersion-BO-3jbup.js → useAppVersion-xxi6fR7J.js} +1 -1
  142. package/dist/interface/assets/{useAssistantActions-CRVHZw4o.js → useAssistantActions-BkRK1FBg.js} +1 -1
  143. package/dist/interface/assets/useBackupRestore-BGvhSqJB.js +1 -0
  144. package/dist/interface/assets/{useCameraOptions-C7tgceJ1.js → useCameraOptions-ophs2V4p.js} +1 -1
  145. package/dist/interface/assets/{useKeyboardInset-yu3BVnj7.js → useKeyboardInset-Cpz6Hs5c.js} +1 -1
  146. package/dist/interface/assets/{useLogsSocket-B4wTnSno.js → useLogsSocket-CB07yhv4.js} +1 -1
  147. package/dist/interface/assets/{useNavLayout-Z61-OsIG.js → useNavLayout-BYEejBpb.js} +1 -1
  148. package/dist/interface/assets/{usePermissions-Bjx4t0x3.js → usePermissions-yWhjYMcr.js} +1 -1
  149. package/dist/interface/assets/{usePluginUpdates-Dv3_XJTK.js → usePluginUpdates-9rvsWfdJ.js} +1 -1
  150. package/dist/interface/assets/{usePushRegistration-CHNMZ94f.js → usePushRegistration-b5owOzjH.js} +1 -1
  151. package/dist/interface/assets/{useServerRestart-C-AsOdJP.js → useServerRestart-yRXDWnH_.js} +1 -1
  152. package/dist/interface/assets/{useStreamStatus-BJoJF68x.js → useStreamStatus-BHyWrAHu.js} +1 -1
  153. package/dist/interface/assets/{useTabSwipe-b_K3BIkW.js → useTabSwipe-Dr9HYP1J.js} +1 -1
  154. package/dist/interface/assets/{useUpdateChannel-Cc4IrrDy.js → useUpdateChannel-IVj0XKlN.js} +1 -1
  155. package/dist/interface/assets/{useUpdatesSocket-Cz9lN4Bc.js → useUpdatesSocket-CuPHbSF7.js} +1 -1
  156. package/dist/interface/assets/{useUserOptions-DrNB17kY.js → useUserOptions-zIfrMDiG.js} +1 -1
  157. package/dist/interface/assets/{vendor-cameraui-CqKq4Yeo.js → vendor-cameraui-Dhg7MEnt.js} +2 -2
  158. package/dist/interface/assets/{vendor-core-BTkC8NzR.js → vendor-core-CQ2HVu0L.js} +1 -1
  159. package/dist/interface/assets/{vendor-primevue-DQz5Qnqu.js → vendor-primevue-CeWNZxSE.js} +1 -1
  160. package/dist/interface/assets/{vendor-zod-BigRv4ty.js → vendor-zod-CBbC1rE7.js} +2 -2
  161. package/dist/interface/ha/{404-Bg2Vlt5S.js → 404-B70KNhsW.js} +1 -1
  162. package/dist/interface/ha/{About-C6u2wgUi.js → About-DLNqqctZ.js} +6 -6
  163. package/dist/interface/ha/{Assistant-BCyiVnwD.js → Assistant-Duvvoz2B.js} +334 -319
  164. package/dist/interface/ha/{Automation-DU_qv5xD.js → Automation-DZ8zvsvo.js} +189 -189
  165. package/dist/interface/ha/{AutomationImport-BpDyhabF.js → AutomationImport-DOCdim5O.js} +6 -6
  166. package/dist/interface/ha/{AutomationStore-DPQsunpH.js → AutomationStore-Bjoubp-m.js} +7 -7
  167. package/dist/interface/ha/{AutomationStoreDetail-CASMQ-mD.js → AutomationStoreDetail-H-RWNpwm.js} +13 -13
  168. package/dist/interface/ha/{Automations-DSHVzwX4.js → Automations-GyofQfo7.js} +99 -112
  169. package/dist/interface/ha/{Camera-ESmteicm.js → Camera-Bo5nMQaU.js} +27 -27
  170. package/dist/interface/ha/{CameraConsole-BE_jl4Co.js → CameraConsole-BmDQ3rcS.js} +5 -5
  171. package/dist/interface/ha/{Cameras-otaj2xZO.js → Cameras-BfHoFjpC.js} +242 -242
  172. package/dist/interface/ha/{Camview-BU1027if.js → Camview-DVoIdM3o.js} +520 -520
  173. package/dist/interface/ha/{Config-BlEvHYVP.js → Config-CC8tQiOy.js} +110 -110
  174. package/dist/interface/ha/{ConfigActionAssistant-uDf5fgoJ.js → ConfigActionAssistant-hfsz38an.js} +4 -4
  175. package/dist/interface/ha/{ConfigActionCameraControl-BAQsXVLz.js → ConfigActionCameraControl-C0-wxlAS.js} +3 -3
  176. package/dist/interface/ha/{ConfigActionHttp-Dy2MZHSm.js → ConfigActionHttp-CM_3bIUq.js} +2 -2
  177. package/dist/interface/ha/{ConfigActionImageInput-B5kyV3Un.js → ConfigActionImageInput-B5306Z_7.js} +1 -1
  178. package/dist/interface/ha/{ConfigActionMqtt-DHCgh1xx.js → ConfigActionMqtt-DLiM83Kz.js} +4 -4
  179. package/dist/interface/ha/{ConfigActionNotification-mbA5PfcJ.js → ConfigActionNotification-36VBlfim.js} +3 -3
  180. package/dist/interface/ha/{ConfigActionNotificationControl-TLaL7tYm.js → ConfigActionNotificationControl-DRjDvA1H.js} +2 -2
  181. package/dist/interface/ha/{ConfigActionOutput-CJ40Fniw.js → ConfigActionOutput-BkGHERoJ.js} +1 -1
  182. package/dist/interface/ha/{ConfigActionPlugin-BwTd-mdQ.js → ConfigActionPlugin-Ds1_Pow7.js} +5 -5
  183. package/dist/interface/ha/{ConfigActionSensor-BI438ihg.js → ConfigActionSensor-22uKE0d0.js} +5 -5
  184. package/dist/interface/ha/{ConfigActionSnapshot-DJ4zI2a0.js → ConfigActionSnapshot-uTTsTfo2.js} +2 -2
  185. package/dist/interface/ha/{ConfigActionVariable-Bhy5jf_w.js → ConfigActionVariable-DNMJBiQV.js} +1 -1
  186. package/dist/interface/ha/{ConfigConditionIfElse-I7Qq8nfN.js → ConfigConditionIfElse-BVzmIDKK.js} +3 -3
  187. package/dist/interface/ha/{ConfigConditionSensorState-CTLP3ppx.js → ConfigConditionSensorState-Di7Ic1xI.js} +4 -4
  188. package/dist/interface/ha/{ConfigConditionSwitch-UUupXf1b.js → ConfigConditionSwitch-D8CcTHJ1.js} +5 -5
  189. package/dist/interface/ha/{ConfigSensorValueInput-CoHheDT0.js → ConfigSensorValueInput-DthsOthT.js} +4 -4
  190. package/dist/interface/ha/{ConfigTriggerDetection-Cg_jKNed.js → ConfigTriggerDetection-BDYanDEV.js} +2 -2
  191. package/dist/interface/ha/{ConfigTriggerGeofence-WlJbu3sC.js → ConfigTriggerGeofence-Binp0lYx.js} +5 -5
  192. package/dist/interface/ha/{ConfigTriggerMqtt-BeRJoceK.js → ConfigTriggerMqtt-BaPzSHbK.js} +1 -1
  193. package/dist/interface/ha/{ConfigTriggerSensor-k58gVKdG.js → ConfigTriggerSensor-DiTaTZXm.js} +1 -1
  194. package/dist/interface/ha/{ConfigTriggerSystem-Ckm5yoUm.js → ConfigTriggerSystem-CsdWiz-S.js} +2 -2
  195. package/dist/interface/ha/{ConfigTriggerWebhook-D425z-p1.js → ConfigTriggerWebhook-Ca0PsUmU.js} +6 -6
  196. package/dist/interface/ha/{Console-C1Ub4Rji.js → Console-0amlIoZR.js} +10 -10
  197. package/dist/interface/ha/{CuiAutomationRunsDialog-opy5qXwE.js → CuiAutomationRunsDialog-DNBuwkgL.js} +2 -2
  198. package/dist/interface/ha/{CuiBottomSheet-DbCwVXl1.js → CuiBottomSheet-CdXBYz4P.js} +1 -1
  199. package/dist/interface/ha/{CuiCameraRecordings-CifJLj7G.js → CuiCameraRecordings-D4ZB56nd.js} +14 -15
  200. package/dist/interface/ha/{CuiCameraShares-Xty8LRcn.js → CuiCameraShares-YmzZusZR.js} +7 -7
  201. package/dist/interface/ha/{CuiCameraTable-CqfxX0Yn.js → CuiCameraTable-DFzhCO3J.js} +9 -9
  202. package/dist/interface/ha/{CuiChartTable-ABHnLdR0.js → CuiChartTable-BvfJbFNS.js} +46 -44
  203. package/dist/interface/ha/{CuiConsole-3JwbeUYD.js → CuiConsole-DtxyD6Sd.js} +1 -1
  204. package/dist/interface/ha/{CuiDataTable-BwE7D2h5.js → CuiDataTable-CHvx6ALQ.js} +16 -10
  205. package/dist/interface/ha/{CuiPluginCard-bzxiy1yb.js → CuiPluginCard-B3vU57eD.js} +77 -77
  206. package/dist/interface/ha/{CuiPluginOAuthButton-DSxrzDmg.js → CuiPluginOAuthButton-DgOFfP5e.js} +6 -6
  207. package/dist/interface/ha/{CuiPluginTrustBadge-g0XkvDt8.js → CuiPluginTrustBadge-udmtgGHt.js} +1 -1
  208. package/dist/interface/ha/{CuiQRCode-uyRFbzd6.js → CuiQRCode-8yDZMC3o.js} +6 -6
  209. package/dist/interface/ha/{CuiSchema-DZIrlY8R.js → CuiSchema-0Hikg2mm.js} +138 -138
  210. package/dist/interface/ha/{CuiTopNavbarItem-C3a5NA7u.js → CuiTopNavbarItem-B139fVxP.js} +1 -1
  211. package/dist/interface/ha/{Faces-D2eca8MN.js → Faces-YdAf9USr.js} +107 -107
  212. package/dist/interface/ha/{FirstSteps-CdTE1cvw.js → FirstSteps-Dts6TJ6O.js} +7 -7
  213. package/dist/interface/ha/{Floorplan-BrEC2Au5.js → Floorplan-D6XXe8ni.js} +193 -193
  214. package/dist/interface/ha/{Instances-ClOsPOi8.js → Instances-DsIsonqp.js} +68 -68
  215. package/dist/interface/ha/{Logs-DnY1gTnb.js → Logs-Cyo3LC94.js} +11 -11
  216. package/dist/interface/ha/{Menu-cLDE76XZ.js → Menu-yh_sI9d9.js} +15 -20
  217. package/dist/interface/ha/{Metrics-pMQX_0m1.js → Metrics-VehQmsmN.js} +64 -64
  218. package/dist/interface/ha/{OAuthDeviceFlow-D1PGQ8r9.js → OAuthDeviceFlow-CXp9NvbY.js} +9 -9
  219. package/dist/interface/ha/{Plugin-DiC23P97.js → Plugin-BqvlXx43.js} +97 -97
  220. package/dist/interface/ha/{PluginConsole-B-lX5KJu.js → PluginConsole-Dx84BNoO.js} +4 -4
  221. package/dist/interface/ha/{PluginDetail-B_tVJf6y.js → PluginDetail-DUpDS2nD.js} +6 -6
  222. package/dist/interface/ha/{PluginSearch-n8nfjx9q.js → PluginSearch-Cvh0P9VB.js} +124 -124
  223. package/dist/interface/ha/{PluginUpdateProgress-BjsYyrRk.js → PluginUpdateProgress-CfyI2Qdp.js} +3 -3
  224. package/dist/interface/ha/{Plugins-CFhOUaqq.js → Plugins-DXreIUwr.js} +173 -173
  225. package/dist/interface/ha/{Recordings-B07eUJwH.js → Recordings-Cb8ifRcB.js} +225 -227
  226. package/dist/interface/ha/{SensorEdit-DFPiBXQD.js → SensorEdit-CsNXxcdj.js} +58 -58
  227. package/dist/interface/ha/{SensorHistory-B2FOK4Qa.js → SensorHistory-DToDalOm.js} +2 -2
  228. package/dist/interface/ha/{Sensors-DtzmTc-L.js → Sensors-B6giaowJ.js} +434 -434
  229. package/dist/interface/ha/{Settings-ClqSoFjT.js → Settings-CVed7MM_.js} +22 -22
  230. package/dist/interface/ha/{SettingsAccount-Bh8FfH7J.js → SettingsAccount-CvvsLPoT.js} +31 -31
  231. package/dist/interface/ha/{SettingsAppearance--FJgY8cj.js → SettingsAppearance-BDJeNGTd.js} +6 -6
  232. package/dist/interface/ha/{SettingsAssistant-ClDfxd_d.js → SettingsAssistant-B168p5HB.js} +615 -508
  233. package/dist/interface/ha/{SettingsBackup-BYM55pQ7.js → SettingsBackup-Bz_9xJ61.js} +14 -14
  234. package/dist/interface/ha/{SettingsList-CMSEKVCD.js → SettingsList-B42rajJc.js} +1 -1
  235. package/dist/interface/ha/{SettingsMqtt-CFpgJ-E5.js → SettingsMqtt-B5Qy6bxD.js} +148 -148
  236. package/dist/interface/ha/SettingsNotifications-C59UxYic.js +529 -0
  237. package/dist/interface/ha/{SettingsRecordings-Bz686yU7.js → SettingsRecordings-CkJGOiyQ.js} +7 -7
  238. package/dist/interface/ha/{SettingsRemote-DT4ZMjJO.js → SettingsRemote-Cc-qt3si.js} +231 -231
  239. package/dist/interface/ha/{SettingsSystem-CHctt06D.js → SettingsSystem-Cco2XXsS.js} +9 -9
  240. package/dist/interface/ha/{SettingsUsers-C_hvntON.js → SettingsUsers-BDh-3saR.js} +33 -33
  241. package/dist/interface/ha/{Terminal-B5FXq4-Z.js → Terminal-D2U-kFPW.js} +8 -8
  242. package/dist/interface/ha/Training-DWcaCI-3.js +1499 -0
  243. package/dist/interface/ha/{Updates-D0osNjqS.js → Updates-DGHNcvO9.js} +13 -13
  244. package/dist/interface/ha/{VariableInput-BK0qqMc7.js → VariableInput-Bujz1T1I.js} +1 -1
  245. package/dist/interface/ha/{VersionsHandler-B-vpKHJN.js → VersionsHandler-CXvbeKbl.js} +10 -10
  246. package/dist/interface/ha/{VirtualSensorCreate-Bp2201iM.js → VirtualSensorCreate-DOYONbgu.js} +2 -2
  247. package/dist/interface/ha/{Workers-BQ_luGWk.js → Workers-tQbC3WS6.js} +90 -90
  248. package/dist/interface/ha/{api-JPS8NpNG.js → api-BI6_Fcag.js} +8979 -8895
  249. package/dist/interface/ha/{api-BufZW7-A.js → api-DfJZj7ht.js} +1 -1
  250. package/dist/interface/ha/{assistant-BXVGCw2q.js → assistant-BqSg4N8v.js} +25 -25
  251. package/dist/interface/ha/{auth-CJC9G9BA.js → auth-BFoSqfzS.js} +34 -34
  252. package/dist/interface/ha/{automationBlueprint-DWuBiu_Q.js → automationBlueprint-Q0yt2MdH.js} +3 -3
  253. package/dist/interface/ha/cameraui-cards.js +1 -1
  254. package/dist/interface/ha/{cards-CGP6dWjy.js → cards-BW9I5B5Z.js} +114 -114
  255. package/dist/interface/ha/{config-BVURO_DZ.js → config-CeNHEP9A.js} +9 -9
  256. package/dist/interface/ha/{dist-Ca4K4HIm.js → dist-BV3OfApt.js} +1 -1
  257. package/dist/interface/ha/{mqtt-DY6EvMC9.js → mqtt-BkYa2CXH.js} +7 -7
  258. package/dist/interface/ha/{notifications-BdIqgnrC.js → notifications-E3WSCGpc.js} +12 -12
  259. package/dist/interface/ha/pause-Ch6v65wA.js +19 -0
  260. package/dist/interface/ha/{pinia-CqffEnzx.js → pinia-DoDLbPZ3.js} +11 -7
  261. package/dist/interface/ha/{plugins-Bnq2Iw00.js → plugins-2jjU7TfW.js} +30 -30
  262. package/dist/interface/ha/{rooms-AiJ5Tfir.js → rooms-BkEw1ev-.js} +1 -1
  263. package/dist/interface/ha/{server-BHhFn2RZ.js → server-CuK4o2fS.js} +15 -15
  264. package/dist/interface/ha/{types-7oMK8VO-.js → types-BRHWeX0a.js} +36 -22
  265. package/dist/interface/ha/{ungrouped-hib17Nvu.js → ungrouped-BDwep3kg.js} +195 -213
  266. package/dist/interface/ha/{updates-DvnEEUsx.js → updates-R4xTxour.js} +24 -24
  267. package/dist/interface/ha/{useAppVersion-BmWXr96y.js → useAppVersion-uaFjqUpx.js} +1 -1
  268. package/dist/interface/ha/{useLogsSocket-BKlJKGCB.js → useLogsSocket-BZq9GXfy.js} +1 -1
  269. package/dist/interface/ha/{useNavLayout-Dt0NH-G5.js → useNavLayout-BJdDE__R.js} +2 -2
  270. package/dist/interface/ha/{useServerRestart-DWs2dqQc.js → useServerRestart-DDCKnE6c.js} +1 -1
  271. package/dist/interface/ha/{useTabSwipe-vX79p6V_.js → useTabSwipe-CEH6ltIZ.js} +1 -1
  272. package/dist/interface/ha/{useUpdateChannel-CHlRp8uj.js → useUpdateChannel-CHt1il2V.js} +2 -2
  273. package/dist/interface/ha/{useUpdatesSocket-B40Cx-2L.js → useUpdatesSocket-BnVaNioY.js} +1 -1
  274. package/dist/interface/ha/{useUserOptions-hXz79rIV.js → useUserOptions-C7cQ1P3Q.js} +1 -1
  275. package/dist/interface/index.html +34 -34
  276. package/dist/interface/sw.js +1 -1
  277. package/dist/server/package.json +6 -7
  278. package/dist/server/requirements.txt +1 -1
  279. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/__init__.py +2 -0
  280. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/__init__.py +2 -0
  281. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/frames.py +9 -5
  282. package/dist/server/src/api/controllers/assistant.controller.js +2 -1
  283. package/dist/server/src/api/controllers/assistant.controller.js.map +1 -1
  284. package/dist/server/src/api/controllers/plugins.controller.js +3 -3
  285. package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
  286. package/dist/server/src/api/database/index.d.ts +1 -1
  287. package/dist/server/src/api/database/index.js +1 -1
  288. package/dist/server/src/api/database/index.js.map +1 -1
  289. package/dist/server/src/api/database/migrations/v2-2-3.d.ts +3 -0
  290. package/dist/server/src/api/database/migrations/v2-2-3.js +22 -0
  291. package/dist/server/src/api/database/migrations/v2-2-3.js.map +1 -0
  292. package/dist/server/src/api/schemas/cameras.schema.d.ts +32 -16
  293. package/dist/server/src/api/schemas/cameras.schema.js +5 -5
  294. package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
  295. package/dist/server/src/api/websocket/nsp/logs.d.ts +5 -2
  296. package/dist/server/src/api/websocket/nsp/logs.js +20 -5
  297. package/dist/server/src/api/websocket/nsp/logs.js.map +1 -1
  298. package/dist/server/src/api/websocket/nsp/training.d.ts +1 -1
  299. package/dist/server/src/api/websocket/nsp/training.js +3 -2
  300. package/dist/server/src/api/websocket/nsp/training.js.map +1 -1
  301. package/dist/server/src/assistant/manager.d.ts +1 -0
  302. package/dist/server/src/assistant/manager.js +24 -2
  303. package/dist/server/src/assistant/manager.js.map +1 -1
  304. package/dist/server/src/assistant/reasoning.d.ts +1 -1
  305. package/dist/server/src/assistant/reasoning.js +6 -3
  306. package/dist/server/src/assistant/reasoning.js.map +1 -1
  307. package/dist/server/src/assistant/retry.d.ts +4 -0
  308. package/dist/server/src/assistant/retry.js +3 -0
  309. package/dist/server/src/assistant/retry.js.map +1 -1
  310. package/dist/server/src/assistant/tool-names.d.ts +2 -0
  311. package/dist/server/src/assistant/tool-names.js +23 -0
  312. package/dist/server/src/assistant/tool-names.js.map +1 -0
  313. package/dist/server/src/assistant/tools/api.js +2 -0
  314. package/dist/server/src/assistant/tools/api.js.map +1 -1
  315. package/dist/server/src/assistant/tools/docs.js +1 -0
  316. package/dist/server/src/assistant/tools/docs.js.map +1 -1
  317. package/dist/server/src/assistant/tools/memory.js +1 -0
  318. package/dist/server/src/assistant/tools/memory.js.map +1 -1
  319. package/dist/server/src/assistant/tools/settings.js +1 -0
  320. package/dist/server/src/assistant/tools/settings.js.map +1 -1
  321. package/dist/server/src/automations/utilities/imageInput.js +4 -2
  322. package/dist/server/src/automations/utilities/imageInput.js.map +1 -1
  323. package/dist/server/src/camera/controller.d.ts +3 -0
  324. package/dist/server/src/camera/controller.js +41 -28
  325. package/dist/server/src/camera/controller.js.map +1 -1
  326. package/dist/server/src/camera/index.d.ts +1 -7
  327. package/dist/server/src/camera/index.js +0 -13
  328. package/dist/server/src/camera/index.js.map +1 -1
  329. package/dist/server/src/camera/privacy/snapshot.js +4 -2
  330. package/dist/server/src/camera/privacy/snapshot.js.map +1 -1
  331. package/dist/server/src/camera/snapshot-store.d.ts +22 -0
  332. package/dist/server/src/camera/snapshot-store.js +78 -0
  333. package/dist/server/src/camera/snapshot-store.js.map +1 -0
  334. package/dist/server/src/camera/streaming/fmp4-session.d.ts +2 -1
  335. package/dist/server/src/camera/streaming/fmp4-session.js +4 -0
  336. package/dist/server/src/camera/streaming/fmp4-session.js.map +1 -1
  337. package/dist/server/src/camera/streaming/rtp-session.js +1 -0
  338. package/dist/server/src/camera/streaming/rtp-session.js.map +1 -1
  339. package/dist/server/src/manager/trainingCandidateManager.js +17 -13
  340. package/dist/server/src/manager/trainingCandidateManager.js.map +1 -1
  341. package/dist/server/src/manager/types.d.ts +4 -0
  342. package/dist/server/src/rpc/interfaces/device.d.ts +1 -0
  343. package/dist/server/src/sensors/registry.js +2 -2
  344. package/dist/server/src/sensors/registry.js.map +1 -1
  345. package/dist/server/src/utils/image.d.ts +1 -0
  346. package/dist/server/src/utils/image.js +95 -0
  347. package/dist/server/src/utils/image.js.map +1 -0
  348. package/package.json +6 -7
  349. package/dist/interface/assets/AutomationStoreDetail-btcIglkw.js +0 -2
  350. package/dist/interface/assets/Automations-CKpwXTyc.js +0 -2
  351. package/dist/interface/assets/Camera-BEP_HAQm.js +0 -2
  352. package/dist/interface/assets/Cameras-DJreIgtW.js +0 -651
  353. package/dist/interface/assets/Camview-D4VNMv_l.js +0 -1
  354. package/dist/interface/assets/Console-Y1IutnkC.js +0 -1
  355. package/dist/interface/assets/CuiAssistantConversation-C4RYcMAM.js +0 -5
  356. package/dist/interface/assets/CuiBottomSheet-S8bM23jj.js +0 -1
  357. package/dist/interface/assets/CuiCameraPipCard-HTjvF3yG.js +0 -1
  358. package/dist/interface/assets/CuiCameraRecordings-B7BhgPpP.css +0 -1
  359. package/dist/interface/assets/CuiCameraRecordings-Cx6FYz3Y.js +0 -1
  360. package/dist/interface/assets/CuiCameraShares-J728G9wF.js +0 -1
  361. package/dist/interface/assets/CuiCameraTable-CKur0qLE.js +0 -1
  362. package/dist/interface/assets/CuiChartTable-DCGY-zVy.css +0 -1
  363. package/dist/interface/assets/CuiDataTable-BLyeEEAp.js +0 -1
  364. package/dist/interface/assets/CuiDataTable-DbkFXZeg.css +0 -1
  365. package/dist/interface/assets/CuiLightControl-C1YSJSWd.js +0 -1
  366. package/dist/interface/assets/CuiPluginCard-enc00hbc.js +0 -2
  367. package/dist/interface/assets/CuiSchema-CRHUMY0B.js +0 -1
  368. package/dist/interface/assets/Faces-fMMd6-PY.js +0 -1
  369. package/dist/interface/assets/Floorplan-BQbOWCCf.js +0 -1
  370. package/dist/interface/assets/Menu-B3VA0LMx.js +0 -1
  371. package/dist/interface/assets/Metrics-C0q2BdKH.js +0 -9
  372. package/dist/interface/assets/OAuthDeviceFlow-ZiCl4400.js +0 -1
  373. package/dist/interface/assets/Plugin-C0CPlt4f.js +0 -1
  374. package/dist/interface/assets/PluginDetail-DDh6PfMd.js +0 -2
  375. package/dist/interface/assets/PluginSearch-BR_ei8Pa.js +0 -1
  376. package/dist/interface/assets/PluginSearch-C2AXz2KG.js +0 -2
  377. package/dist/interface/assets/Plugins-CN1YIfNk.js +0 -1
  378. package/dist/interface/assets/Recordings-jhxwdrQY.js +0 -1
  379. package/dist/interface/assets/SettingsAccount-CJ_fPrT-.js +0 -1
  380. package/dist/interface/assets/SettingsAccount-CYn81m0Z.js +0 -1
  381. package/dist/interface/assets/SettingsAppearance-DFe8JsT5.js +0 -1
  382. package/dist/interface/assets/SettingsAssistant-CDyI6fee.css +0 -1
  383. package/dist/interface/assets/SettingsAssistant-Dm4oINqB.js +0 -1
  384. package/dist/interface/assets/SettingsMqtt-ByQYIRkm.js +0 -1
  385. package/dist/interface/assets/SettingsRemote-7iDccnV9.js +0 -2
  386. package/dist/interface/assets/SettingsUsers-yYobKcPv.js +0 -1
  387. package/dist/interface/assets/Training-BUhrkDzA.css +0 -1
  388. package/dist/interface/assets/Training-SOWa6Ay1.js +0 -1
  389. package/dist/interface/assets/Workers-D7mXpfvC.js +0 -2
  390. package/dist/interface/assets/api-Cl7JjXOQ.js +0 -4
  391. package/dist/interface/assets/cloudHandoff-CGMLCwMb.js +0 -1
  392. package/dist/interface/assets/main-W8WcKa2g.js +0 -3
  393. package/dist/interface/assets/rooms-D_7As09p.js +0 -1
  394. package/dist/interface/assets/types-BEy4uGJ0.js +0 -1
  395. package/dist/interface/assets/ungrouped-BJyBDv5e.js +0 -1
  396. package/dist/interface/assets/useBackupRestore-D305pYHT.js +0 -1
  397. package/dist/interface/ha/SettingsNotifications-CzgsBNtW.js +0 -529
  398. package/dist/interface/ha/Training-BgvpsKPM.js +0 -1469
@@ -3,27 +3,27 @@ import { m as t } from "./ripple-B_itunQV.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-DCktklpY.js";
4
4
  import { t as N } from "./tooltip-X5MY9FoG.js";
5
5
  import { t as te } from "./message-BExXUXHN.js";
6
- import { t as P } from "./history-Bm6QaZ6b.js";
7
- import { Dn as ne, Dr as re, Ir as ie, J as ae, Or as oe, Rr as se, Tn as ce, fi as le, hn as ue, ht as F, lr as de, m as fe, mt as pe, pr as me, vi as he, vr as ge, yr as _e, zr as ve } from "./api-JPS8NpNG.js";
8
- import { i as I } from "./intercomService-Dwd0bhSN.js";
9
- import { A as L, j as R, n as ye, r as be } from "./pinia-CqffEnzx.js";
10
- import { n as z } from "./vue-i18n-BBObX4QY.js";
11
- import { t as xe } from "./button-DJDZxmKj.js";
12
- import { v as B } from "./dist-Ca4K4HIm.js";
13
- import { t as V } from "./inputtext-vdcrNX6K.js";
14
- import { t as H } from "./close-C_ajB9j7.js";
15
- import { i as U, n as Se, r as Ce, t as we } from "./accordion-X9Wa7KVq.js";
16
- import { t as Te } from "./inputnumber-MSv4Pb-P.js";
17
- import { t as Ee } from "./speeddial-CpW9sIFY.js";
18
- import { a as W, i as G, l as De, r as K } from "./types-7oMK8VO-.js";
19
- import { a as q, i as Oe } from "./automationBlueprint-DWuBiu_Q.js";
20
- import { t as ke } from "./CuiBottomSheet-DbCwVXl1.js";
21
- import { t as Ae } from "./back-filled-B-jI6Dqb.js";
22
- import { a as je, c as Me, d as Ne, f as Pe, i as Fe, l as Ie, n as Le, o as J, p as Re, r as Y, s as X, t as ze, u as Be } from "./vue-flow-background-ETLnaEUH.js";
6
+ import { t as ne } from "./history-Bm6QaZ6b.js";
7
+ import { Br as re, En as ie, J as ae, Lr as oe, On as se, Or as ce, br as le, gn as ue, gt as P, ht as de, kr as fe, m as pe, mr as me, pi as he, ur as ge, yi as _e, yr as ve, zr as ye } from "./api-BI6_Fcag.js";
8
+ import { i as F } from "./intercomService-Dwd0bhSN.js";
9
+ import { A as I, j as L, n as be, r as xe } from "./pinia-DoDLbPZ3.js";
10
+ import { n as R } from "./vue-i18n-BBObX4QY.js";
11
+ import { t as Se } from "./button-DJDZxmKj.js";
12
+ import { v as z } from "./dist-BV3OfApt.js";
13
+ import { t as B } from "./inputtext-vdcrNX6K.js";
14
+ import { t as V } from "./close-C_ajB9j7.js";
15
+ import { i as H, n as Ce, r as we, t as Te } from "./accordion-X9Wa7KVq.js";
16
+ import { t as Ee } from "./inputnumber-MSv4Pb-P.js";
17
+ import { t as De } from "./speeddial-CpW9sIFY.js";
18
+ import { a as U, i as W, l as Oe, r as G } from "./types-BRHWeX0a.js";
19
+ import { a as K, i as ke } from "./automationBlueprint-Q0yt2MdH.js";
20
+ import { t as Ae } from "./CuiBottomSheet-CdXBYz4P.js";
21
+ import { t as je } from "./back-filled-B-jI6Dqb.js";
22
+ import { a as Me, c as Ne, d as Pe, f as Fe, i as Ie, l as q, n as Le, o as J, p as Re, r as Y, s as X, t as ze, u as Be } from "./vue-flow-background-ETLnaEUH.js";
23
23
  import { t as Ve } from "./plus-QEeSdL0x.js";
24
24
  import { t as He } from "./settings-DkoB1zyf.js";
25
25
  //#region src/stores/automations.ts
26
- var Z = ye("automations", () => {
26
+ var Z = be("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 We(e, t, n) {
52
52
  if (r) return Ue(e, t).find((e) => e.template === r);
53
53
  }
54
54
  function Ge(e) {
55
- let t = Z(), { t: n } = z(), r = y(() => Ue(t.draft, u(e)));
55
+ let t = Z(), { t: n } = R(), r = y(() => Ue(t.draft, u(e)));
56
56
  return {
57
57
  variables: r,
58
58
  options: y(() => r.value.map((e) => ({
@@ -115,10 +115,10 @@ function Je(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 : I(i), o = a.map((e) => L(i, e)).filter((e) => !!e);
119
119
  r("{{sensor.value}}", Ye(o), "variable_sensor_value", Xe(i, o)), r("{{sensor.previousValue}}", Ye(o), "variable_sensor_previous_value");
120
120
  for (let t of a) {
121
- let r = R(i, t);
121
+ let r = L(i, t);
122
122
  for (let i of r?.keys ?? []) n.push({
123
123
  template: `{{sensor.value.${i}}}`,
124
124
  valueType: "number",
@@ -327,7 +327,7 @@ var Dt = { render: Et }, Ot = /* @__PURE__ */ A({
327
327
  "interactionChange"
328
328
  ],
329
329
  setup(e, { emit: t }) {
330
- let { nodesDraggable: n, nodesConnectable: r, elementsSelectable: a, setInteractive: s, zoomIn: l, zoomOut: u, fitView: d, viewport: p, minZoom: g, maxZoom: _ } = Ie(), y = i(() => n.value || r.value || a.value), x = i(() => p.value.zoom <= g.value), C = i(() => p.value.zoom >= _.value);
330
+ let { nodesDraggable: n, nodesConnectable: r, elementsSelectable: a, setInteractive: s, zoomIn: l, zoomOut: u, fitView: d, viewport: p, minZoom: g, maxZoom: _ } = q(), y = i(() => n.value || r.value || a.value), x = i(() => p.value.zoom <= g.value), C = i(() => p.value.zoom >= _.value);
331
331
  function T() {
332
332
  l(), t("zoomIn");
333
333
  }
@@ -340,7 +340,7 @@ var Dt = { render: Et }, Ot = /* @__PURE__ */ A({
340
340
  function O() {
341
341
  s(!y.value), t("interactionChange", !y.value);
342
342
  }
343
- return (e, t) => (o(), m(v(Fe), {
343
+ return (e, t) => (o(), m(v(Ie), {
344
344
  class: "vue-flow__controls",
345
345
  position: e.position
346
346
  }, {
@@ -428,7 +428,7 @@ var At = ["id", "d"], jt = 24, Mt = /* @__PURE__ */ A({
428
428
  targetY: {}
429
429
  },
430
430
  setup(e) {
431
- let n = e, { removeEdges: r } = Ie(), i = y(() => Me({
431
+ let n = e, { removeEdges: r } = q(), i = y(() => Ne({
432
432
  sourceX: n.sourceX,
433
433
  sourceY: n.sourceY,
434
434
  sourcePosition: n.sourcePosition,
@@ -457,7 +457,7 @@ var At = ["id", "d"], jt = 24, Mt = /* @__PURE__ */ A({
457
457
  r([n.id]);
458
458
  }
459
459
  return (n, r) => {
460
- let i = H;
460
+ let i = V;
461
461
  return o(), S(w, null, [E("path", {
462
462
  id: e.id,
463
463
  d: v(a),
@@ -593,7 +593,7 @@ function zt(e, t) {
593
593
  if (e && typeof e == "object") for (let n of Object.values(e)) zt(n, t);
594
594
  }
595
595
  function Bt(e) {
596
- let t = Z(), { t: n } = z();
596
+ let t = Z(), { t: n } = R();
597
597
  return y(() => {
598
598
  let r = t.validationIssues.filter((t) => t.nodeId === u(e));
599
599
  if (r.length !== 0) return r.map((e) => n(`components.automation_nodes.${e.messageKey}`, e.params ?? {})).join("\n");
@@ -615,10 +615,10 @@ function Ht(e, t) {
615
615
  function Ut(e) {
616
616
  return e.type === "trigger-webhook" && !e.webhookId ? {
617
617
  ...e,
618
- webhookId: le()
618
+ webhookId: he()
619
619
  } : e.type === "trigger-geofence" && !e.geofenceId ? {
620
620
  ...e,
621
- geofenceId: le()
621
+ geofenceId: he()
622
622
  } : e;
623
623
  }
624
624
  function Wt(e, t, n) {
@@ -673,7 +673,7 @@ var qt = p({
673
673
  }, Xt = { class: "flex items-center gap-2 px-3 py-2.5" }, Zt = { class: "flex-1 min-w-0" }, Qt = { class: "text-xs font-semibold truncate text-color" }, $t = {
674
674
  key: 0,
675
675
  class: "text-[10px] text-muted truncate mt-0.5"
676
- }, en = /*#__PURE__*/ ge(/* @__PURE__ */ A({
676
+ }, en = /*#__PURE__*/ ve(/* @__PURE__ */ A({
677
677
  __name: "BaseNode",
678
678
  props: /*@__PURE__*/ n({
679
679
  icon: {},
@@ -757,7 +757,7 @@ var qt = p({
757
757
  events: {}
758
758
  },
759
759
  setup(e) {
760
- let t = e, { t: n } = z(), r = Z(), { lastOutput: i } = be(r), c = Bt(() => 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(() => {
760
+ let t = e, { t: n } = R(), r = Z(), { lastOutput: i } = xe(r), c = Bt(() => t.id), l = y(() => W(t.type)), u = y(() => l.value ? n(l.value.labelKey) : t.type), { cameraName: f } = K(), { sensors: p } = z(), g = y(() => {
761
761
  let e = t.data, n = e.alias, r = Wt(t.data, f, x);
762
762
  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;
763
763
  }), _ = y(() => t.type !== "action-output" || !i.value ? [] : Object.entries(i.value));
@@ -766,7 +766,7 @@ var qt = p({
766
766
  return t ? t.displayName.value || t.name : void 0;
767
767
  }
768
768
  return (t, n) => {
769
- let r = I;
769
+ let r = F;
770
770
  return o(), S("div", null, [M(en, {
771
771
  icon: v(l).icon,
772
772
  label: v(u),
@@ -826,7 +826,7 @@ var qt = p({
826
826
  events: {}
827
827
  },
828
828
  setup(e) {
829
- let t = e, { t: n } = z(), r = { borderColor: "var(--card-background)" }, i = Bt(() => 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(() => Wt(t.data, c, d));
829
+ let t = e, { t: n } = R(), r = { borderColor: "var(--card-background)" }, i = Bt(() => t.id), a = y(() => W(t.type)), s = y(() => a.value ? n(a.value.labelKey) : t.type), { cameraName: c } = K(), { sensors: l } = z(), u = y(() => Wt(t.data, c, d));
830
830
  function d(e) {
831
831
  let t = l.value.find((t) => t.id === e);
832
832
  return t ? t.displayName.value || t.name : void 0;
@@ -902,10 +902,10 @@ var qt = p({
902
902
  events: {}
903
903
  },
904
904
  setup(e) {
905
- let t = e, { t: n } = z(), r = {
905
+ let t = e, { t: n } = R(), r = {
906
906
  backgroundColor: "#f59e0b",
907
907
  borderColor: "var(--card-background)"
908
- }, i = Bt(() => 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);
908
+ }, i = Bt(() => t.id), c = y(() => W(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);
909
909
  return (t, n) => (o(), m(en, {
910
910
  icon: v(c).icon,
911
911
  label: v(l),
@@ -974,7 +974,7 @@ var qt = p({
974
974
  events: {}
975
975
  },
976
976
  setup(e) {
977
- let t = e, { t: n } = z(), { cameraName: r } = q(), { sensors: i } = B(), a = Bt(() => t.id), s = y(() => G(t.type)), c = y(() => s.value ? n(s.value.labelKey) : t.type), l = y(() => Wt(t.data, r, u));
977
+ let t = e, { t: n } = R(), { cameraName: r } = K(), { sensors: i } = z(), a = Bt(() => t.id), s = y(() => W(t.type)), c = y(() => s.value ? n(s.value.labelKey) : t.type), l = y(() => Wt(t.data, r, u));
978
978
  function u(e) {
979
979
  let t = i.value.find((t) => t.id === e);
980
980
  return t ? t.displayName.value || t.name : void 0;
@@ -1043,7 +1043,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1043
1043
  },
1044
1044
  emits: ["node-select", "change"],
1045
1045
  setup(e, { expose: n, emit: i }) {
1046
- let a = e, c = i, { t: l } = z(), { smBreakpoint: u } = re(), { screenToFlowCoordinate: f, getViewport: m, dimensions: h } = Ie(), y = cn(), C = {
1046
+ let a = e, c = i, { t: l } = R(), { smBreakpoint: u } = ce(), { screenToFlowCoordinate: f, getViewport: m, dimensions: h } = q(), y = cn(), C = {
1047
1047
  "trigger-detection": p($),
1048
1048
  "trigger-sensor": p($),
1049
1049
  "trigger-schedule": p($),
@@ -1087,12 +1087,12 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1087
1087
  function te() {
1088
1088
  c("node-select", null);
1089
1089
  }
1090
- function P(e) {
1090
+ function ne(e) {
1091
1091
  let t = T.value.find((t) => t.id === e.source), n = T.value.find((t) => t.id === e.target);
1092
1092
  return !(!t || !n || e.source === e.target || n.type?.startsWith("trigger-"));
1093
1093
  }
1094
- function ne(e) {
1095
- if (!P(e)) return;
1094
+ function re(e) {
1095
+ if (!ne(e)) return;
1096
1096
  O();
1097
1097
  let t = e.targetHandle ?? void 0, n = T.value.find((t) => t.id === e.target);
1098
1098
  if (n?.type?.startsWith("condition-")) {
@@ -1116,14 +1116,14 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1116
1116
  function ae(e) {
1117
1117
  let t = e.dataTransfer?.getData("application/automationnode");
1118
1118
  if (!t) return;
1119
- let n = G(t);
1119
+ let n = W(t);
1120
1120
  if (!n) return;
1121
1121
  O();
1122
1122
  let r = f({
1123
1123
  x: e.clientX,
1124
1124
  y: e.clientY
1125
1125
  }), i = {
1126
- id: fe(12),
1126
+ id: pe(12),
1127
1127
  type: t,
1128
1128
  position: r,
1129
1129
  data: Ut({ ...n.defaults })
@@ -1131,11 +1131,11 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1131
1131
  T.value = [...T.value, i], c("change");
1132
1132
  }
1133
1133
  function oe(e) {
1134
- let t = G(e);
1134
+ let t = W(e);
1135
1135
  if (!t) return;
1136
1136
  O();
1137
1137
  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 = {
1138
- id: fe(12),
1138
+ id: pe(12),
1139
1139
  type: e,
1140
1140
  position: {
1141
1141
  x: s + u(),
@@ -1148,35 +1148,35 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1148
1148
  function se(e) {
1149
1149
  O(), T.value = T.value.filter((t) => t.id !== e), D.value = D.value.filter((t) => t.source !== e && t.target !== e), c("change");
1150
1150
  }
1151
- function ce() {
1151
+ function le() {
1152
1152
  O(), T.value = [], D.value = [], c("change");
1153
1153
  }
1154
- function le() {
1154
+ function ue() {
1155
1155
  return [...T.value];
1156
1156
  }
1157
- function ue() {
1157
+ function P() {
1158
1158
  return [...D.value];
1159
1159
  }
1160
- function F(e, t) {
1160
+ function de(e, t) {
1161
1161
  let n = T.value.find((t) => t.id === e);
1162
1162
  if (n && (n.data = t, n.type === "condition-switch" && Array.isArray(t.cases))) {
1163
1163
  let n = new Set(t.cases.map(kt));
1164
1164
  D.value = D.value.filter((t) => t.source !== e || !t.sourceHandle?.startsWith("case-") || n.has(t.sourceHandle));
1165
1165
  }
1166
1166
  }
1167
- function de(e) {
1167
+ function fe(e) {
1168
1168
  let t = e.metaKey || e.ctrlKey;
1169
1169
  t && e.key === "z" && !e.shiftKey ? (e.preventDefault(), k()) : (t && e.key === "z" && e.shiftKey || t && e.key === "y") && (e.preventDefault(), A());
1170
1170
  }
1171
1171
  return x(() => a.flow._id, () => {
1172
1172
  T.value = [...a.flow.nodes], D.value = [...a.flow.edges], y.clear();
1173
- }), ee(() => window.addEventListener("keydown", de)), r(() => window.removeEventListener("keydown", de)), n({
1173
+ }), ee(() => window.addEventListener("keydown", fe)), r(() => window.removeEventListener("keydown", fe)), n({
1174
1174
  removeNode: se,
1175
1175
  addNodeAtCenter: oe,
1176
- clearAll: ce,
1177
- getNodes: le,
1178
- getEdges: ue,
1179
- updateNodeData: F,
1176
+ clearAll: le,
1177
+ getNodes: ue,
1178
+ getEdges: P,
1179
+ updateNodeData: de,
1180
1180
  undo: k,
1181
1181
  redo: A,
1182
1182
  canUndo: y.canUndo,
@@ -1187,7 +1187,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1187
1187
  onDrop: ae,
1188
1188
  onDragover: r[2] ||= t(() => {}, ["prevent"]),
1189
1189
  onDragenter: r[3] ||= t(() => {}, ["prevent"])
1190
- }, [M(v(je), {
1190
+ }, [M(v(Me), {
1191
1191
  nodes: v(T),
1192
1192
  "onUpdate:nodes": r[0] ||= (e) => _(T) ? T.value = e : null,
1193
1193
  edges: v(D),
@@ -1201,11 +1201,11 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1201
1201
  },
1202
1202
  "snap-to-grid": !0,
1203
1203
  "snap-grid": [16, 16],
1204
- "is-valid-connection": P,
1204
+ "is-valid-connection": ne,
1205
1205
  class: "automation-canvas",
1206
1206
  onNodeClick: N,
1207
1207
  onPaneClick: te,
1208
- onConnect: ne,
1208
+ onConnect: re,
1209
1209
  onNodesChange: ie
1210
1210
  }, g({
1211
1211
  default: b(() => [M(v(ze), { gap: 16 }), M(v(Ot))]),
@@ -1221,31 +1221,31 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1221
1221
  ])], 34));
1222
1222
  }
1223
1223
  }), fn = {
1224
- "trigger-detection": F(() => import("./ConfigTriggerDetection-Cg_jKNed.js")),
1225
- "trigger-sensor": F(() => import("./ConfigTriggerSensor-k58gVKdG.js")),
1226
- "trigger-schedule": F(() => import("./ConfigTriggerSchedule-ldJM8l6b.js")),
1227
- "trigger-webhook": F(() => import("./ConfigTriggerWebhook-D425z-p1.js")),
1228
- "trigger-mqtt": F(() => import("./ConfigTriggerMqtt-BeRJoceK.js")),
1229
- "trigger-system": F(() => import("./ConfigTriggerSystem-Ckm5yoUm.js")),
1230
- "trigger-manual": F(() => import("./ConfigTriggerManual-3hhEe1f3.js")),
1231
- "trigger-geofence": F(() => import("./ConfigTriggerGeofence-WlJbu3sC.js")),
1232
- "action-snapshot": F(() => import("./ConfigActionSnapshot-DJ4zI2a0.js")),
1233
- "action-sensor": F(() => import("./ConfigActionSensor-BI438ihg.js")),
1234
- "action-notification": F(() => import("./ConfigActionNotification-mbA5PfcJ.js")),
1235
- "action-notification-control": F(() => import("./ConfigActionNotificationControl-TLaL7tYm.js")),
1236
- "action-assistant": F(() => import("./ConfigActionAssistant-uDf5fgoJ.js")),
1237
- "action-http": F(() => import("./ConfigActionHttp-Dy2MZHSm.js")),
1238
- "action-mqtt": F(() => import("./ConfigActionMqtt-DHCgh1xx.js")),
1239
- "action-delay": F(() => import("./ConfigActionDelay-2xePO25t.js")),
1240
- "action-variable": F(() => import("./ConfigActionVariable-Bhy5jf_w.js")),
1241
- "action-plugin": F(() => import("./ConfigActionPlugin-BwTd-mdQ.js")),
1242
- "action-image-input": F(() => import("./ConfigActionImageInput-B5kyV3Un.js")),
1243
- "action-output": F(() => import("./ConfigActionOutput-CJ40Fniw.js")),
1244
- "action-camera-control": F(() => import("./ConfigActionCameraControl-BAQsXVLz.js")),
1245
- "condition-ifelse": F(() => import("./ConfigConditionIfElse-I7Qq8nfN.js")),
1246
- "condition-switch": F(() => import("./ConfigConditionSwitch-UUupXf1b.js")),
1247
- "condition-sensorstate": F(() => import("./ConfigConditionSensorState-CTLP3ppx.js")),
1248
- "condition-time": F(() => import("./ConfigConditionTime-CRn4k6uE.js"))
1224
+ "trigger-detection": P(() => import("./ConfigTriggerDetection-BDYanDEV.js")),
1225
+ "trigger-sensor": P(() => import("./ConfigTriggerSensor-DiTaTZXm.js")),
1226
+ "trigger-schedule": P(() => import("./ConfigTriggerSchedule-ldJM8l6b.js")),
1227
+ "trigger-webhook": P(() => import("./ConfigTriggerWebhook-Ca0PsUmU.js")),
1228
+ "trigger-mqtt": P(() => import("./ConfigTriggerMqtt-BaPzSHbK.js")),
1229
+ "trigger-system": P(() => import("./ConfigTriggerSystem-CsdWiz-S.js")),
1230
+ "trigger-manual": P(() => import("./ConfigTriggerManual-3hhEe1f3.js")),
1231
+ "trigger-geofence": P(() => import("./ConfigTriggerGeofence-Binp0lYx.js")),
1232
+ "action-snapshot": P(() => import("./ConfigActionSnapshot-uTTsTfo2.js")),
1233
+ "action-sensor": P(() => import("./ConfigActionSensor-22uKE0d0.js")),
1234
+ "action-notification": P(() => import("./ConfigActionNotification-36VBlfim.js")),
1235
+ "action-notification-control": P(() => import("./ConfigActionNotificationControl-DRjDvA1H.js")),
1236
+ "action-assistant": P(() => import("./ConfigActionAssistant-hfsz38an.js")),
1237
+ "action-http": P(() => import("./ConfigActionHttp-CM_3bIUq.js")),
1238
+ "action-mqtt": P(() => import("./ConfigActionMqtt-DLiM83Kz.js")),
1239
+ "action-delay": P(() => import("./ConfigActionDelay-2xePO25t.js")),
1240
+ "action-variable": P(() => import("./ConfigActionVariable-DNMJBiQV.js")),
1241
+ "action-plugin": P(() => import("./ConfigActionPlugin-Ds1_Pow7.js")),
1242
+ "action-image-input": P(() => import("./ConfigActionImageInput-B5306Z_7.js")),
1243
+ "action-output": P(() => import("./ConfigActionOutput-BkGHERoJ.js")),
1244
+ "action-camera-control": P(() => import("./ConfigActionCameraControl-C0-wxlAS.js")),
1245
+ "condition-ifelse": P(() => import("./ConfigConditionIfElse-BVzmIDKK.js")),
1246
+ "condition-switch": P(() => import("./ConfigConditionSwitch-D8CcTHJ1.js")),
1247
+ "condition-sensorstate": P(() => import("./ConfigConditionSensorState-Di7Ic1xI.js")),
1248
+ "condition-time": P(() => import("./ConfigConditionTime-CRn4k6uE.js"))
1249
1249
  }, pn = { class: "h-full overflow-y-auto flex flex-col" }, mn = { class: "flex items-center gap-2 px-4 py-3 border-bottom-color" }, hn = { class: "flex-1 min-w-0" }, gn = { class: "text-sm font-semibold truncate text-color" }, _n = { class: "text-xs text-muted" }, vn = { class: "flex-1 overflow-y-auto" }, yn = { class: "text-color font-normal text-sm" }, bn = { class: "flex flex-col field-gap" }, xn = { class: "text-color font-normal text-sm" }, Sn = { class: "text-color font-normal text-sm" }, Cn = { class: "flex flex-col gap-3" }, wn = { class: "flex flex-col field-gap" }, Tn = { class: "cui-label" }, En = {
1250
1250
  key: 0,
1251
1251
  class: "flex flex-col field-gap"
@@ -1261,7 +1261,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1261
1261
  "delete"
1262
1262
  ],
1263
1263
  setup(e, { emit: t }) {
1264
- 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(() => {
1264
+ let n = e, r = t, { t: i } = R(), a = y(() => n.node.type ? W(n.node.type) : void 0), c = y(() => n.node.type?.startsWith("action-")), l = y(() => {
1265
1265
  if (n.node.type) return fn[n.node.type];
1266
1266
  }), u = y(() => {
1267
1267
  let e = ["config"];
@@ -1271,7 +1271,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1271
1271
  r("update:data", e);
1272
1272
  }
1273
1273
  return (t, n) => {
1274
- let r = H, p = xe, g = Ce, _ = V, y = te, x = U, w = Se, T = Te, D = we;
1274
+ let r = V, p = Se, g = we, _ = B, y = te, x = H, w = Ce, T = Ee, D = Te;
1275
1275
  return o(), S("div", pn, [
1276
1276
  E("div", mn, [
1277
1277
  E("div", {
@@ -1415,31 +1415,31 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1415
1415
  ], In = { class: "flex items-center gap-2.5 flex-1 min-w-0 px-3 py-2.5" }, Ln = { class: "flex-1 min-w-0" }, Rn = { class: "text-[13px] font-medium truncate text-color block leading-tight" }, zn = {
1416
1416
  key: 0,
1417
1417
  class: "text-[11px] text-muted block truncate mt-0.5 leading-tight"
1418
- }, Bn = /*#__PURE__*/ ge(/* @__PURE__ */ A({
1418
+ }, Bn = /*#__PURE__*/ ve(/* @__PURE__ */ A({
1419
1419
  __name: "CuiAutomationNodePalette",
1420
- props: /*@__PURE__*/ n({ mode: {} }, K),
1420
+ props: /*@__PURE__*/ n({ mode: {} }, G),
1421
1421
  emits: ["node-click"],
1422
1422
  setup(e) {
1423
- let { t } = z(), n = [
1423
+ let { t } = R(), n = [
1424
1424
  {
1425
1425
  key: "trigger",
1426
1426
  labelKey: "components.automation_nodes.category_triggers",
1427
- nodes: W("trigger")
1427
+ nodes: U("trigger")
1428
1428
  },
1429
1429
  {
1430
1430
  key: "condition",
1431
1431
  labelKey: "components.automation_nodes.category_conditions",
1432
- nodes: W("condition")
1432
+ nodes: U("condition")
1433
1433
  },
1434
1434
  {
1435
1435
  key: "utility",
1436
1436
  labelKey: "components.automation_nodes.category_utilities",
1437
- nodes: W("utility")
1437
+ nodes: U("utility")
1438
1438
  },
1439
1439
  {
1440
1440
  key: "action",
1441
1441
  labelKey: "components.automation_nodes.category_actions",
1442
- nodes: W("action")
1442
+ nodes: U("action")
1443
1443
  }
1444
1444
  ];
1445
1445
  function r(e, t) {
@@ -1479,7 +1479,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1479
1479
  "show-history"
1480
1480
  ],
1481
1481
  setup(e, { emit: t }) {
1482
- let n = e, r = t, { t: i } = z(), { smBreakpoint: a } = re(), s = T("menuRef"), c = y(() => [{
1482
+ let n = e, r = t, { t: i } = R(), { smBreakpoint: a } = ce(), s = T("menuRef"), c = y(() => [{
1483
1483
  key: "suppressDuplicates",
1484
1484
  label: i("views.automation.suppress_duplicates"),
1485
1485
  description: i("views.automation.suppress_duplicates_hint"),
@@ -1495,7 +1495,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1495
1495
  onClick: () => r("toggle-single-execution")
1496
1496
  }]);
1497
1497
  return (t, n) => {
1498
- let r = Ae, l = xe, u = V, f = ne, p = P, g = He, _ = ce, y = N;
1498
+ let r = je, l = Se, u = B, f = se, p = ne, g = He, _ = ie, y = N;
1499
1499
  return o(), S("div", Vn, [
1500
1500
  v(a) ? h("", !0) : (o(), m(l, {
1501
1501
  key: 0,
@@ -1579,7 +1579,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1579
1579
  __name: "CuiAutomationMobileNodeConfig",
1580
1580
  props: { node: {} },
1581
1581
  setup(e, { expose: t }) {
1582
- let n = e, { t: r } = z(), i = Z(), a = y(() => {
1582
+ let n = e, { t: r } = R(), i = Z(), a = y(() => {
1583
1583
  if (n.node.type) return fn[n.node.type];
1584
1584
  });
1585
1585
  function c(e) {
@@ -1608,36 +1608,36 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1608
1608
  }, Zn = { class: "text-muted" }, Qn = /*@__PURE__*/ A({
1609
1609
  __name: "Automation",
1610
1610
  setup(e) {
1611
- let t = F(() => import("./CuiAutomationRunsDialog-opy5qXwE.js")), n = new De(), r = se(), i = ve(), { t: a } = z(), { smBreakpoint: c } = re(), { bottombarHeight: u } = oe(), p = pe(), g = he(), O = Z(), k = y(() => r.params.id), A = y(() => k.value === "new"), ee = y(() => de(void 0, "admin")), { data: te, isBusy: P } = n.getAutomationQuery(k), { mutateAsync: ne } = n.createAutomationQuery(), { mutateAsync: ce } = n.patchAutomationQuery(), { mutateAsync: le } = n.deleteAutomationQuery(), { mutateAsync: ge } = n.triggerAutomationQuery(), I = T("canvasRef"), L = j(!1), R = j(!1), ye = j(!1), be = j(!1), B = !1, V, H = y({
1611
+ let t = P(() => import("./CuiAutomationRunsDialog-DNBuwkgL.js")), n = new Oe(), r = ye(), i = re(), { t: a } = R(), { smBreakpoint: c } = ce(), { bottombarHeight: u } = fe(), p = de(), g = _e(), O = Z(), k = y(() => r.params.id), A = y(() => k.value === "new"), ee = y(() => ge(void 0, "admin")), { data: te, isBusy: ne } = n.getAutomationQuery(k), { mutateAsync: ie } = n.createAutomationQuery(), { mutateAsync: se } = n.patchAutomationQuery(), { mutateAsync: he } = n.deleteAutomationQuery(), { mutateAsync: ve } = n.triggerAutomationQuery(), F = T("canvasRef"), I = j(!1), L = j(!1), be = j(!1), xe = j(!1), z = !1, B, V = y({
1612
1612
  get: () => O.draft,
1613
1613
  set: (e) => {
1614
1614
  O.draft = e;
1615
1615
  }
1616
- }), U = y(() => {
1617
- if (H.value && O.selectedNodeId) return H.value.nodes.find((e) => e.id === O.selectedNodeId);
1618
- }), Se = y(() => {
1619
- if (!c.value && U.value) return "calc(300px + 1.25rem + var(--safe-area-inset-right))";
1620
- }), Ce = y(() => [
1621
- ...H.value?.nodes.some((e) => e.type === "trigger-manual") ?? !1 ? [{
1616
+ }), H = y(() => {
1617
+ if (V.value && O.selectedNodeId) return V.value.nodes.find((e) => e.id === O.selectedNodeId);
1618
+ }), Ce = y(() => {
1619
+ if (!c.value && H.value) return "calc(300px + 1.25rem + var(--safe-area-inset-right))";
1620
+ }), we = y(() => [
1621
+ ...V.value?.nodes.some((e) => e.type === "trigger-manual") ?? !1 ? [{
1622
1622
  label: a("views.automation.run"),
1623
1623
  icon: ue,
1624
- buttonProps: { disabled: A.value || R.value },
1624
+ buttonProps: { disabled: A.value || L.value },
1625
1625
  command: () => He()
1626
1626
  }] : [],
1627
1627
  {
1628
1628
  label: a("views.automation.undo"),
1629
1629
  icon: Be,
1630
- buttonProps: { disabled: !ye.value },
1630
+ buttonProps: { disabled: !be.value },
1631
1631
  command: () => {
1632
- I.value?.undo(), K();
1632
+ F.value?.undo(), G();
1633
1633
  }
1634
1634
  },
1635
1635
  {
1636
1636
  label: a("views.automation.redo"),
1637
- icon: Pe,
1638
- buttonProps: { disabled: !be.value },
1637
+ icon: Fe,
1638
+ buttonProps: { disabled: !xe.value },
1639
1639
  command: () => {
1640
- I.value?.redo(), K();
1640
+ F.value?.redo(), G();
1641
1641
  }
1642
1642
  },
1643
1643
  {
@@ -1657,12 +1657,12 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1657
1657
  command: () => Ge()
1658
1658
  }
1659
1659
  ]);
1660
- function we() {
1661
- ye.value = I.value?.canUndo ?? !1, be.value = I.value?.canRedo ?? !1;
1662
- }
1663
1660
  function Te() {
1664
- H.value = {
1665
- _id: fe(12),
1661
+ be.value = F.value?.canUndo ?? !1, xe.value = F.value?.canRedo ?? !1;
1662
+ }
1663
+ function Ee() {
1664
+ V.value = {
1665
+ _id: pe(12),
1666
1666
  name: a("views.automation.untitled"),
1667
1667
  enabled: !1,
1668
1668
  nodes: [],
@@ -1673,43 +1673,43 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1673
1673
  updatedAt: Date.now()
1674
1674
  }, O.selectedNodeId = null;
1675
1675
  }
1676
- function W() {
1677
- clearTimeout(V), V = setTimeout(() => {
1678
- J(), O.validationIssues = It(H.value);
1676
+ function U() {
1677
+ clearTimeout(B), B = setTimeout(() => {
1678
+ J(), O.validationIssues = It(V.value);
1679
1679
  }, 300);
1680
1680
  }
1681
- function K() {
1682
- R.value = !0, we(), W();
1681
+ function G() {
1682
+ L.value = !0, Te(), U();
1683
1683
  }
1684
- function q() {
1684
+ function K() {
1685
1685
  p.openComponentDialog(t, { data: {
1686
1686
  title: a("views.automations.run_history"),
1687
1687
  contentProps: { flowId: k.value },
1688
1688
  hideConfirmButton: !0
1689
1689
  } });
1690
1690
  }
1691
- function je() {
1692
- J(), K();
1691
+ function Me() {
1692
+ J(), G();
1693
1693
  }
1694
- function Me(e) {
1695
- H.value && (H.value.name = e, K());
1694
+ function Ne(e) {
1695
+ V.value && (V.value.name = e, G());
1696
1696
  }
1697
- function Fe(e, t) {
1698
- if (!H.value) return;
1699
- let n = H.value.nodes.find((t) => t.id === e);
1697
+ function Ie(e, t) {
1698
+ if (!V.value) return;
1699
+ let n = V.value.nodes.find((t) => t.id === e);
1700
1700
  if (n?.data) {
1701
1701
  if (!Object.entries(t).some(([e, t]) => n.data[e] !== t)) return;
1702
- Object.assign(n.data, t), I.value?.updateNodeData(e, { ...n.data }), K();
1702
+ Object.assign(n.data, t), F.value?.updateNodeData(e, { ...n.data }), G();
1703
1703
  }
1704
1704
  }
1705
- function Ie() {
1706
- if (!H.value) return {};
1707
- let e = I.value?.getNodes?.() ?? H.value.nodes, t = I.value?.getEdges?.() ?? H.value.edges;
1705
+ function q() {
1706
+ if (!V.value) return {};
1707
+ let e = F.value?.getNodes?.() ?? V.value.nodes, t = F.value?.getEdges?.() ?? V.value.edges;
1708
1708
  return {
1709
- name: H.value.name,
1710
- enabled: H.value.enabled,
1711
- suppressDuplicates: H.value.suppressDuplicates,
1712
- singleExecution: H.value.singleExecution,
1709
+ name: V.value.name,
1710
+ enabled: V.value.enabled,
1711
+ suppressDuplicates: V.value.suppressDuplicates,
1712
+ singleExecution: V.value.singleExecution,
1713
1713
  nodes: e.map((e) => ({
1714
1714
  id: e.id,
1715
1715
  type: e.type ?? "",
@@ -1726,20 +1726,20 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1726
1726
  };
1727
1727
  }
1728
1728
  async function Le() {
1729
- if (!H.value) return;
1729
+ if (!V.value) return;
1730
1730
  J();
1731
- let e = Ie();
1731
+ let e = q();
1732
1732
  try {
1733
1733
  if (A.value) {
1734
- let t = await ne({ data: e });
1735
- R.value = !1, i.replace(`/automations/${t._id}`);
1734
+ let t = await ie({ data: e });
1735
+ L.value = !1, i.replace(`/automations/${t._id}`);
1736
1736
  } else {
1737
- let t = await ce({
1738
- id: H.value._id,
1737
+ let t = await se({
1738
+ id: V.value._id,
1739
1739
  data: e
1740
1740
  });
1741
- if (R.value = !1, t?.nodes && H.value) for (let e of t.nodes) {
1742
- let t = H.value.nodes.find((t) => t.id === e.id);
1741
+ if (L.value = !1, t?.nodes && V.value) for (let e of t.nodes) {
1742
+ let t = V.value.nodes.find((t) => t.id === e.id);
1743
1743
  t?.data && e.data && Object.assign(t.data, e.data);
1744
1744
  }
1745
1745
  g.add({
@@ -1757,16 +1757,16 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1757
1757
  }
1758
1758
  }
1759
1759
  function J() {
1760
- if (!H.value) return;
1761
- let e = I.value?.getNodes(), t = I.value?.getEdges();
1762
- e && (H.value.nodes = e), t && (H.value.edges = t);
1760
+ if (!V.value) return;
1761
+ let e = F.value?.getNodes(), t = F.value?.getEdges();
1762
+ e && (V.value.nodes = e), t && (V.value.edges = t);
1763
1763
  }
1764
1764
  function Y(e) {
1765
1765
  if (O.selectedNodeId = e, c.value && e) {
1766
1766
  J();
1767
- let t = H.value?.nodes.find((t) => t.id === e);
1767
+ let t = V.value?.nodes.find((t) => t.id === e);
1768
1768
  if (!t) return;
1769
- let n = t.type ? G(t.type) : void 0, r = n ? a(n.labelKey) : "Node", i = t.id;
1769
+ let n = t.type ? W(t.type) : void 0, r = n ? a(n.labelKey) : "Node", i = t.id;
1770
1770
  p.openComponentDialog(Gn, {
1771
1771
  data: {
1772
1772
  title: r,
@@ -1779,21 +1779,21 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1779
1779
  } }
1780
1780
  },
1781
1781
  onSettled: () => {
1782
- H.value?.nodes.some((e) => e.id === i) || (I.value?.removeNode(i), K());
1782
+ V.value?.nodes.some((e) => e.id === i) || (F.value?.removeNode(i), G());
1783
1783
  }
1784
1784
  });
1785
1785
  }
1786
1786
  }
1787
1787
  function X(e) {
1788
- L.value = !1, I.value?.addNodeAtCenter(e), K();
1788
+ I.value = !1, F.value?.addNodeAtCenter(e), G();
1789
1789
  }
1790
1790
  function ze() {
1791
- 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());
1791
+ O.selectedNodeId && (F.value?.removeNode(O.selectedNodeId), V.value && (V.value.nodes = V.value.nodes.filter((e) => e.id !== O.selectedNodeId), V.value.edges = V.value.edges.filter((e) => e.source !== O.selectedNodeId && e.target !== O.selectedNodeId)), O.selectedNodeId = null, O.lastOutput = null, G());
1792
1792
  }
1793
1793
  async function He() {
1794
- if (H.value && !A.value) try {
1794
+ if (V.value && !A.value) try {
1795
1795
  O.lastOutput = null;
1796
- let e = await ge({ id: H.value._id });
1796
+ let e = await ve({ id: V.value._id });
1797
1797
  e?.output && Object.keys(e.output).length > 0 && (O.lastOutput = e.output), g.add({
1798
1798
  severity: "success",
1799
1799
  detail: a("views.automation.triggered"),
@@ -1808,17 +1808,17 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1808
1808
  }
1809
1809
  }
1810
1810
  function Ue() {
1811
- if (!H.value) return;
1811
+ if (!V.value) return;
1812
1812
  Le();
1813
1813
  let e = {
1814
1814
  version: 1,
1815
- name: H.value.name,
1816
- nodes: Oe(H.value.nodes),
1817
- edges: H.value.edges
1815
+ name: V.value.name,
1816
+ nodes: ke(V.value.nodes),
1817
+ edges: V.value.edges
1818
1818
  }, t = JSON.stringify(e, null, 2), n = new Blob([t], { type: "application/json" });
1819
1819
  me({
1820
1820
  blob: n,
1821
- filename: `${H.value.name.replace(/\s+/g, "_").toLowerCase()}.blueprint.json`
1821
+ filename: `${V.value.name.replace(/\s+/g, "_").toLowerCase()}.blueprint.json`
1822
1822
  });
1823
1823
  }
1824
1824
  function We() {
@@ -1829,13 +1829,13 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1829
1829
  confirmText: a("views.automation.clear")
1830
1830
  },
1831
1831
  onConfirm: async () => {
1832
- I.value?.clearAll(), H.value && (H.value.nodes = [], H.value.edges = []), O.selectedNodeId = null, K();
1832
+ F.value?.clearAll(), V.value && (V.value.nodes = [], V.value.edges = []), O.selectedNodeId = null, G();
1833
1833
  }
1834
1834
  });
1835
1835
  }
1836
1836
  function Ge() {
1837
- if (!H.value) return;
1838
- let e = H.value._id;
1837
+ if (!V.value) return;
1838
+ let e = V.value._id;
1839
1839
  p.openTextDialog({
1840
1840
  data: {
1841
1841
  title: a("views.automations.delete"),
@@ -1843,7 +1843,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1843
1843
  confirmText: a("views.automations.delete")
1844
1844
  },
1845
1845
  onConfirm: async () => {
1846
- await le({ id: e }), i.push("/automations");
1846
+ await he({ id: e }), i.push("/automations");
1847
1847
  }
1848
1848
  });
1849
1849
  }
@@ -1851,22 +1851,22 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1851
1851
  i.push("/automations");
1852
1852
  }
1853
1853
  return x(k, (e) => {
1854
- O.activeFlowId = e === "new" ? null : e ?? null, O.selectedNodeId = null, O.lastOutput = null, R.value = !1, e === "new" ? Te() : H.value = null;
1854
+ O.activeFlowId = e === "new" ? null : e ?? null, O.selectedNodeId = null, O.lastOutput = null, L.value = !1, e === "new" ? Ee() : V.value = null;
1855
1855
  }, { immediate: !0 }), x(te, (e) => {
1856
- e && !R.value && (H.value = JSON.parse(JSON.stringify(e)), O.validationIssues = It(H.value));
1856
+ e && !L.value && (V.value = JSON.parse(JSON.stringify(e)), O.validationIssues = It(V.value));
1857
1857
  }, { immediate: !0 }), x(() => O.draftDirty, (e) => {
1858
- e && (O.draftDirty = !1, K());
1859
- }), ie((e) => !R.value || B ? !0 : (p.openTextDialog({
1858
+ e && (O.draftDirty = !1, G());
1859
+ }), oe((e) => !L.value || z ? !0 : (p.openTextDialog({
1860
1860
  data: {
1861
1861
  title: a("views.automation.unsaved_title"),
1862
1862
  contentText: a("views.automation.unsaved_message"),
1863
1863
  confirmText: a("views.automation.discard")
1864
1864
  },
1865
1865
  onConfirm: async () => {
1866
- B = !0, i.push(e.fullPath);
1866
+ z = !0, i.push(e.fullPath);
1867
1867
  }
1868
1868
  }), !1)), (e, t) => {
1869
- let n = Ae, r = xe, i = ae, p = Ee, g = ke, y = _e, x = N;
1869
+ let n = je, r = Se, i = ae, p = De, g = Ae, y = le, x = N;
1870
1870
  return o(), S("div", Kn, [M(i, { position: "left" }, {
1871
1871
  default: b(() => [M(r, {
1872
1872
  severity: "secondary",
@@ -1878,20 +1878,20 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1878
1878
  _: 1
1879
1879
  })]),
1880
1880
  _: 1
1881
- }), v(H) ? (o(), S(w, { key: 0 }, [
1881
+ }), v(V) ? (o(), S(w, { key: 0 }, [
1882
1882
  M(Hn, {
1883
- flow: v(H),
1883
+ flow: v(V),
1884
1884
  "show-history": !v(A) && v(ee),
1885
- onShowHistory: q,
1886
- "onUpdate:name": Me,
1885
+ onShowHistory: K,
1886
+ "onUpdate:name": Ne,
1887
1887
  onToggleEnabled: t[0] ||= (e) => {
1888
- v(H).enabled = !v(H).enabled, K();
1888
+ v(V).enabled = !v(V).enabled, G();
1889
1889
  },
1890
1890
  onToggleSuppressDuplicates: t[1] ||= (e) => {
1891
- v(H).suppressDuplicates = !v(H).suppressDuplicates, K();
1891
+ v(V).suppressDuplicates = !v(V).suppressDuplicates, G();
1892
1892
  },
1893
1893
  onToggleSingleExecution: t[2] ||= (e) => {
1894
- v(H).singleExecution = !v(H).singleExecution, K();
1894
+ v(V).singleExecution = !v(V).singleExecution, G();
1895
1895
  }
1896
1896
  }, null, 8, ["flow", "show-history"]),
1897
1897
  E("div", qn, [
@@ -1901,28 +1901,28 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1901
1901
  })),
1902
1902
  M(dn, {
1903
1903
  ref_key: "canvasRef",
1904
- ref: I,
1905
- flow: v(H),
1904
+ ref: F,
1905
+ flow: v(V),
1906
1906
  mobile: v(c),
1907
1907
  class: "flex-1 min-w-0",
1908
1908
  onNodeSelect: Y,
1909
- onChange: je
1909
+ onChange: Me
1910
1910
  }, null, 8, ["flow", "mobile"]),
1911
1911
  v(c) ? h("", !0) : (o(), S("div", {
1912
1912
  key: 1,
1913
1913
  class: "shrink-0 overflow-hidden transition-[width] duration-200 ease-in-out",
1914
- style: C({ width: v(U) ? "300px" : "0px" })
1915
- }, [v(U) ? (o(), m(jn, {
1914
+ style: C({ width: v(H) ? "300px" : "0px" })
1915
+ }, [v(H) ? (o(), m(jn, {
1916
1916
  key: 0,
1917
- node: v(U),
1917
+ node: v(H),
1918
1918
  class: "w-[300px]",
1919
1919
  onClose: t[3] ||= (e) => v(O).selectedNodeId = null,
1920
- "onUpdate:data": t[4] ||= (e) => Fe(v(O).selectedNodeId, e),
1920
+ "onUpdate:data": t[4] ||= (e) => Ie(v(O).selectedNodeId, e),
1921
1921
  onDelete: ze
1922
1922
  }, null, 8, ["node"])) : h("", !0)], 4))
1923
1923
  ]),
1924
1924
  M(p, {
1925
- model: v(Ce),
1925
+ model: v(we),
1926
1926
  direction: "up",
1927
1927
  "transition-delay": 80,
1928
1928
  "tooltip-options": {
@@ -1932,8 +1932,8 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1932
1932
  style: C({
1933
1933
  position: "fixed",
1934
1934
  zIndex: 15,
1935
- bottom: `calc(${v(u)}px + ${v(R) ? "4.25rem" : "1.25rem"} + var(--safe-area-inset-bottom))`,
1936
- right: v(Se) || "calc(1.25rem + var(--safe-area-inset-right))",
1935
+ bottom: `calc(${v(u)}px + ${v(L) ? "4.25rem" : "1.25rem"} + var(--safe-area-inset-bottom))`,
1936
+ right: v(Ce) || "calc(1.25rem + var(--safe-area-inset-right))",
1937
1937
  transition: "right 0.2s ease-in-out, bottom 0.2s ease-in-out"
1938
1938
  }),
1939
1939
  pt: { root: { style: "pointer-events: none" } }
@@ -1980,12 +1980,12 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1980
1980
  bottom: `calc(${v(u)}px + 1.25rem + var(--safe-area-inset-bottom))`,
1981
1981
  right: "calc(4.75rem + var(--safe-area-inset-right))"
1982
1982
  }),
1983
- onClick: t[5] ||= (e) => L.value = !0
1983
+ onClick: t[5] ||= (e) => I.value = !0
1984
1984
  }, {
1985
1985
  icon: b(() => [M(v(Ve), { class: "w-5 h-5" })]),
1986
1986
  _: 1
1987
1987
  }, 8, ["style"])), [[x, { value: v(a)("views.automation.add_step") }]]) : h("", !0),
1988
- v(R) ? D((o(), m(r, {
1988
+ v(L) ? D((o(), m(r, {
1989
1989
  key: 1,
1990
1990
  rounded: "",
1991
1991
  severity: "success",
@@ -1994,17 +1994,17 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
1994
1994
  position: "fixed",
1995
1995
  zIndex: 15,
1996
1996
  bottom: `calc(${v(u)}px + 1.25rem + var(--safe-area-inset-bottom))`,
1997
- right: v(Se) || "calc(1.25rem + var(--safe-area-inset-right))",
1997
+ right: v(Ce) || "calc(1.25rem + var(--safe-area-inset-right))",
1998
1998
  transition: "right 0.2s ease-in-out"
1999
1999
  }),
2000
2000
  onClick: Le
2001
2001
  }, {
2002
- icon: b(() => [M(v(Ne), { class: "w-5 h-5" })]),
2002
+ icon: b(() => [M(v(Pe), { class: "w-5 h-5" })]),
2003
2003
  _: 1
2004
2004
  }, 8, ["style"])), [[x, { value: v(a)("views.automation.save") }]]) : h("", !0),
2005
2005
  M(g, {
2006
- modelValue: v(L),
2007
- "onUpdate:modelValue": t[6] ||= (e) => _(L) ? L.value = e : null,
2006
+ modelValue: v(I),
2007
+ "onUpdate:modelValue": t[6] ||= (e) => _(I) ? I.value = e : null,
2008
2008
  title: v(a)("views.automation.add_step"),
2009
2009
  "max-height": "70vh"
2010
2010
  }, {
@@ -2014,7 +2014,7 @@ var ln = { class: "absolute inset-0 flex items-center justify-center pointer-eve
2014
2014
  })]),
2015
2015
  _: 1
2016
2016
  }, 8, ["modelValue", "title"])
2017
- ], 64)) : v(P) ? (o(), S("div", Yn, [M(y, {
2017
+ ], 64)) : v(ne) ? (o(), S("div", Yn, [M(y, {
2018
2018
  class: "!w-8 !h-8",
2019
2019
  "stroke-width": "5"
2020
2020
  })])) : (o(), S("div", Xn, [E("span", Zn, s(v(a)("views.automations.no_automations")), 1)]))]);