@camera.ui/server 2.2.5-beta.2 → 2.2.5-beta.4

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 (420) hide show
  1. package/dist/interface/assets/{404-BDvtK1qR.js → 404-YZOLos9r.js} +1 -1
  2. package/dist/interface/assets/{About-B4A35rRx.js → About-HtxMc8JZ.js} +1 -1
  3. package/dist/interface/assets/Assistant-bB8RBo-m.js +1 -0
  4. package/dist/interface/assets/Automation-D3DcUyui.js +3 -0
  5. package/dist/interface/assets/{AutomationImport-CEJdhE_d.js → AutomationImport-Dp_hT6hQ.js} +2 -2
  6. package/dist/interface/assets/AutomationStore-BKR7GXMk.js +2 -0
  7. package/dist/interface/assets/{AutomationStoreDetail-BenRMMtV.js → AutomationStoreDetail-B9yh51WQ.js} +2 -2
  8. package/dist/interface/assets/Automations-BdZZW2eN.js +2 -0
  9. package/dist/interface/assets/Camera-Ct7ndOxr.js +2 -0
  10. package/dist/interface/assets/{CameraConsole-D24yXOQn.js → CameraConsole-BI93OaRt.js} +2 -2
  11. package/dist/interface/assets/Cameras-Ctub8sVt.js +651 -0
  12. package/dist/interface/assets/Camview-BjQdTHNh.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-26LAL4MY.js → CertificateUpload-xW55NA1Q.js} +1 -1
  14. package/dist/interface/assets/Config-CBTbYd5v.js +2 -0
  15. package/dist/interface/assets/{ConfigActionAssistant-Cl_kr3hp.js → ConfigActionAssistant-B488rOp5.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionCameraControl-CL4vXcNe.js → ConfigActionCameraControl-ZMUuBxOs.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionDelay-DtPgmqWh.js → ConfigActionDelay-BJ11xvOW.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionHttp-DnkZTP5l.js → ConfigActionHttp-DOUo69OR.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionImageInput-3svn6YP9.js → ConfigActionImageInput-BMzuVZW9.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionMqtt-BTsFTLgm.js → ConfigActionMqtt-Co_uksca.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionNotification-Cr4xJrZp.js → ConfigActionNotification-CcZkstYx.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotificationControl-Cxkb_g8p.js → ConfigActionNotificationControl--VeucoTw.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionOutput-WTr7FGf_.js → ConfigActionOutput-CyDa1LGA.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionPlugin-BpcJepbD.js → ConfigActionPlugin-Kfg3ZEQF.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSensor-BgD_F-hD.js → ConfigActionSensor-DhAF0HPw.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSnapshot-DjR-Z08N.js → ConfigActionSnapshot-zMe3SPvW.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionVariable-gPuPbjpm.js → ConfigActionVariable-BE5q3NwY.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionIfElse-CUHKJmPx.js → ConfigConditionIfElse-BNIRtSVD.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSensorState-D-gPRqMu.js → ConfigConditionSensorState-DTNd-SzI.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSwitch-BRf1T5tJ.js → ConfigConditionSwitch-BU5wWMU1.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionTime-BC0n6sWO.js → ConfigConditionTime-KXTCIVIV.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-BUHapx4M.js → ConfigSensorValueInput-BC1FpMm-.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-Byd6SLGg.js → ConfigTriggerDetection-hIN1hi53.js} +1 -1
  34. package/dist/interface/assets/ConfigTriggerGeofence-Bl2ZacbY.js +1 -0
  35. package/dist/interface/assets/{ConfigTriggerManual-B2dWcFrl.js → ConfigTriggerManual-C5vwxS-e.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerMqtt-B_aUDBu4.js → ConfigTriggerMqtt-B4PtWC3E.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSchedule-DAZo1PLj.js → ConfigTriggerSchedule-BZzUdGBa.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSensor-BCqAiPu4.js → ConfigTriggerSensor-D18nwMsj.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSystem-DuBydCiq.js → ConfigTriggerSystem-BhygWLB4.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerWebhook-DDsnpwJr.js → ConfigTriggerWebhook-yyuBuhLD.js} +1 -1
  41. package/dist/interface/assets/Console-Cfk9MA9m.js +1 -0
  42. package/dist/interface/assets/CuiAssistantConversation-BHK_i56I.js +5 -0
  43. package/dist/interface/assets/CuiAssistantConversation-lkpZg3ML.css +1 -0
  44. package/dist/interface/assets/{CuiAutomationRunsDialog-C_sMg7E1.js → CuiAutomationRunsDialog-B0ohEHw0.js} +1 -1
  45. package/dist/interface/assets/{CuiBottomSheet-D_0LrjA_.js → CuiBottomSheet-DWefGWK2.js} +1 -1
  46. package/dist/interface/assets/CuiBottomSheet-NgX7VFao.js +1 -0
  47. package/dist/interface/assets/CuiCameraPipCard-C2qaGJlH.js +1 -0
  48. package/dist/interface/assets/CuiCameraRecordings-BTD-CQAg.js +1 -0
  49. package/dist/interface/assets/{CuiCameraShares-BIUB1xMa.js → CuiCameraShares-DcqOcePX.js} +1 -1
  50. package/dist/interface/assets/{CuiCameraTable-D-UhqHk4.js → CuiCameraTable-BOkfp_5M.js} +2 -2
  51. package/dist/interface/assets/CuiCameraTable-KPk46Xcl.js +1 -0
  52. package/dist/interface/assets/{CuiChartTable-CSK4Mzn3.js → CuiChartTable-DP38uBwK.js} +1 -1
  53. package/dist/interface/assets/{CuiConsole-DAbJXJBq.js → CuiConsole-C7xE_nQg.js} +2 -2
  54. package/dist/interface/assets/{CuiDataTable-DgcJsG-K.js → CuiDataTable-CsqH-RB1.js} +1 -1
  55. package/dist/interface/assets/CuiLightControl-ChGYpQAK.js +1 -0
  56. package/dist/interface/assets/{CuiLightControl-DFrZm_sv.css → CuiLightControl-D9sm8NZb.css} +1 -1
  57. package/dist/interface/assets/{CuiList-HdsA9vV1.js → CuiList-DJp0__mV.js} +1 -1
  58. package/dist/interface/assets/CuiPluginCard-CWImTZ6l.js +2 -0
  59. package/dist/interface/assets/{CuiPluginCategoryChip-C7R1jP7r.js → CuiPluginCategoryChip-Ch_upS6Y.js} +1 -1
  60. package/dist/interface/assets/{CuiPluginOAuthButton-BJJw0IaC.js → CuiPluginOAuthButton-DEQ9xILN.js} +2 -2
  61. package/dist/interface/assets/{CuiPluginTrustBadge-Bmm1qYdC.js → CuiPluginTrustBadge-sVWdvHcM.js} +1 -1
  62. package/dist/interface/assets/{CuiQRCode-DTSEFMBt.js → CuiQRCode-DqSF4SkD.js} +1 -1
  63. package/dist/interface/assets/CuiSchema-ytExUVhI.js +1 -0
  64. package/dist/interface/assets/CuiTopNavbarItem-B_KWykgq.js +1 -0
  65. package/dist/interface/assets/Faces-Cb6XMxDC.js +1 -0
  66. package/dist/interface/assets/FirstSteps-QNYTkEJo.js +1 -0
  67. package/dist/interface/assets/Floorplan-DbqADtN1.js +1 -0
  68. package/dist/interface/assets/Instances-DrMzPD65.js +1 -0
  69. package/dist/interface/assets/{Logs-BjcfuMQV.js → Logs-BSPT80vP.js} +2 -2
  70. package/dist/interface/assets/{Menu-BjjnSgdP.js → Menu-HHtuhIS2.js} +1 -1
  71. package/dist/interface/assets/Metrics-CqhUnVRA.js +12 -0
  72. package/dist/interface/assets/{OAuthDeviceFlow-9v-Czy_u.js → OAuthDeviceFlow-Bn1nlWNa.js} +1 -1
  73. package/dist/interface/assets/Plugin-DyOg_fbg.js +1 -0
  74. package/dist/interface/assets/{PluginConsole-C7sO42RG.js → PluginConsole-Cv-uhnPY.js} +2 -2
  75. package/dist/interface/assets/PluginDetail-cpOz7FkA.js +2 -0
  76. package/dist/interface/assets/{PluginSchema-D0eL9H-b.js → PluginSchema-DW3TGeTM.js} +1 -1
  77. package/dist/interface/assets/PluginSearch-BgecD9Ob.js +2 -0
  78. package/dist/interface/assets/PluginSearch-C8xHKikH.js +1 -0
  79. package/dist/interface/assets/{PluginUpdateProgress--MM9D8hs.js → PluginUpdateProgress-n6q6vzyd.js} +1 -1
  80. package/dist/interface/assets/Plugins-CuujWEtM.js +1 -0
  81. package/dist/interface/assets/{RecentEventsFilter-CvIJS8Se.js → RecentEventsFilter-CTR5JK_P.js} +1 -1
  82. package/dist/interface/assets/Recordings-ths9khZr.js +1 -0
  83. package/dist/interface/assets/SensorEdit-BzoIH7QC.js +1 -0
  84. package/dist/interface/assets/{SensorHistory-Efw0bZ-X.js → SensorHistory-9CdOpCPs.js} +1 -1
  85. package/dist/interface/assets/Sensors-CK5uExfU.js +2 -0
  86. package/dist/interface/assets/Settings-DN5hFtw_.js +1 -0
  87. package/dist/interface/assets/SettingsAccount-BCrmon5O.js +1 -0
  88. package/dist/interface/assets/SettingsAccount-CSy1BAIH.js +1 -0
  89. package/dist/interface/assets/{SettingsAccount-si-6gWl5.css → SettingsAccount-CY8YE_cy.css} +1 -1
  90. package/dist/interface/assets/SettingsAppearance-BY1xQMx4.js +1 -0
  91. package/dist/interface/assets/SettingsAppearance-h_XPZfQl.js +1 -0
  92. package/dist/interface/assets/SettingsAssistant-D8FmVbUL.js +1 -0
  93. package/dist/interface/assets/{SettingsBackup-BqKBKis5.js → SettingsBackup-D_weokqu.js} +1 -1
  94. package/dist/interface/assets/{SettingsList-BU191rmt.js → SettingsList-Bq24WTDU.js} +1 -1
  95. package/dist/interface/assets/SettingsMqtt-DCkLIYpF.js +1 -0
  96. package/dist/interface/assets/SettingsNotifications-8TZOUxg2.js +1 -0
  97. package/dist/interface/assets/{SettingsPermissions-sI64FPZG.js → SettingsPermissions-M8u_jrN0.js} +1 -1
  98. package/dist/interface/assets/{SettingsRecordings-CghrKErw.js → SettingsRecordings-C1Kp5xW_.js} +1 -1
  99. package/dist/interface/assets/SettingsRemote-DXlQKwlT.js +2 -0
  100. package/dist/interface/assets/{SettingsSystem-DP1p1Xns.js → SettingsSystem-Cetu2faJ.js} +2 -2
  101. package/dist/interface/assets/{SettingsUsers-Dpej-he1.js → SettingsUsers-CDwtQLdV.js} +1 -1
  102. package/dist/interface/assets/{Terminal-DPRPXCSt.js → Terminal-Dl-aAZME.js} +2 -2
  103. package/dist/interface/assets/{Training-Dwf5rXyC.css → Training-B1oQjAr8.css} +1 -1
  104. package/dist/interface/assets/Training-DdZjXgt1.js +1 -0
  105. package/dist/interface/assets/{Updates-QTvCp1aS.js → Updates-CkB1lXuo.js} +1 -1
  106. package/dist/interface/assets/{VariableInput-DhusSZPw.js → VariableInput-BxPj5wo6.js} +1 -1
  107. package/dist/interface/assets/{VariableSuggestions-Bkzz4Mv3.js → VariableSuggestions-CbizvAkz.js} +1 -1
  108. package/dist/interface/assets/{VersionsHandler-DjNSpSYy.js → VersionsHandler-CePyEUVO.js} +2 -2
  109. package/dist/interface/assets/{VirtualSensorCreate-soGT6h2c.js → VirtualSensorCreate-D_GVoeL7.js} +1 -1
  110. package/dist/interface/assets/Workers-7yiebNkl.js +2 -0
  111. package/dist/interface/assets/api-DK2Bav9D.js +4 -0
  112. package/dist/interface/assets/api-DTCqDA-h.css +2 -0
  113. package/dist/interface/assets/{api-CK2tonlH.js → api-DW2niHRN.js} +1 -1
  114. package/dist/interface/assets/{assistant-BEe1ExZL.js → assistant-BJ6xKcw_.js} +1 -1
  115. package/dist/interface/assets/{auth-QEpUGkWd.js → auth-Dc8bUpc-.js} +1 -1
  116. package/dist/interface/assets/{automations-BBIBV4Uu.js → automations-DXrjbArj.js} +1 -1
  117. package/dist/interface/assets/{cameraSources-Cm18cW9L.js → cameraSources-QJfUDOQJ.js} +1 -1
  118. package/dist/interface/assets/cloudHandoff-DtlquYGZ.js +1 -0
  119. package/dist/interface/assets/{config-vwkU8aqP.js → config-CiQDwB4t.js} +1 -1
  120. package/dist/interface/assets/{flowSchema-rzBroL0H.js → flowSchema-BRTZHQ1w.js} +1 -1
  121. package/dist/interface/assets/{intercomService-Du8V_HxF.js → intercomService-BnA-FQ0Q.js} +1 -1
  122. package/dist/interface/assets/{main-XHFrBKKz.css → main-BoGhBedC.css} +1 -1
  123. package/dist/interface/assets/main-D74mRIxc.js +3 -0
  124. package/dist/interface/assets/mqtt-iD9XHYO_.js +1 -0
  125. package/dist/interface/assets/{notifications-CN6eTJb_.js → notifications-CbAJX7RF.js} +1 -1
  126. package/dist/interface/assets/{plugins-DKtX7zQp.js → plugins-eIUrXNeM.js} +1 -1
  127. package/dist/interface/assets/rooms-BqPyo8jc.js +1 -0
  128. package/dist/interface/assets/{sensorIcons-ztqlMLDc.js → sensorIcons-DQVgryYP.js} +1 -1
  129. package/dist/interface/assets/{sensorSlots-D-uxjuv3.js → sensorSlots-BZCXtnb6.js} +1 -1
  130. package/dist/interface/assets/{sensors-DV2Z0IJt.js → sensors-DttBNEEt.js} +1 -1
  131. package/dist/interface/assets/{server-CfZnIVzn.js → server-DUFhf2c_.js} +1 -1
  132. package/dist/interface/assets/{theme-Bi7qdjBK.js → theme-BMmjtQ4w.js} +1 -1
  133. package/dist/interface/assets/{types-CNLAvgyw.js → types-5rE8Tz0_.js} +1 -1
  134. package/dist/interface/assets/{types-DwbeYXvn.js → types-CXw7CEzu.js} +1 -1
  135. package/dist/interface/assets/{types-DuwD8xp5.js → types-DWTSNJ79.js} +1 -1
  136. package/dist/interface/assets/ungrouped-D56FGIrg.js +1 -0
  137. package/dist/interface/assets/ungrouped-DHMJ9Rg1.css +1 -0
  138. package/dist/interface/assets/{updates-BqCH6Vr8.js → updates-TIPWXKzL.js} +1 -1
  139. package/dist/interface/assets/{useAppVersion-B-rmq3Bb.js → useAppVersion-BIz44Bg4.js} +1 -1
  140. package/dist/interface/assets/{useAssistantActions-Kf-5ijVf.js → useAssistantActions-CLkkw9kB.js} +1 -1
  141. package/dist/interface/assets/useBackupRestore-Crfd592q.js +1 -0
  142. package/dist/interface/assets/{useCameraOptions-Dt2J8sP_.js → useCameraOptions-A97teAIr.js} +1 -1
  143. package/dist/interface/assets/{useKeyboardInset-DtD3I2WC.js → useKeyboardInset-DXVi1dLG.js} +1 -1
  144. package/dist/interface/assets/{useLogsSocket-CEhUQdiY.js → useLogsSocket-BlFxVXjF.js} +1 -1
  145. package/dist/interface/assets/{useNavLayout-CtpYjS5W.js → useNavLayout-C5obaCNv.js} +1 -1
  146. package/dist/interface/assets/{usePermissions-CJzuagwD.js → usePermissions-C8hB_pG1.js} +1 -1
  147. package/dist/interface/assets/{usePluginUpdates-BwoWN5yb.js → usePluginUpdates-DO0-Gk4Q.js} +1 -1
  148. package/dist/interface/assets/{usePushRegistration-ANx4BS6_.js → usePushRegistration-BUttCraQ.js} +1 -1
  149. package/dist/interface/assets/{useServerRestart-7edyD8M0.js → useServerRestart-Cz9eVHUE.js} +1 -1
  150. package/dist/interface/assets/{useStreamStatus-DCSWHdbW.js → useStreamStatus-BhS_MCCB.js} +1 -1
  151. package/dist/interface/assets/{useTabSwipe-DfS3R3uP.js → useTabSwipe-D4k8lm1M.js} +1 -1
  152. package/dist/interface/assets/{useUpdateChannel-Cr9mSIRC.js → useUpdateChannel-D9lhfW0y.js} +1 -1
  153. package/dist/interface/assets/{useUpdatesSocket-B5Rm9syb.js → useUpdatesSocket-DnH9sON5.js} +1 -1
  154. package/dist/interface/assets/{useUserOptions-CJjImz8V.js → useUserOptions-BTRBUuE2.js} +1 -1
  155. package/dist/interface/assets/{vendor-cameraui-BbGOMenD.js → vendor-cameraui-QXD8jkcj.js} +26 -26
  156. package/dist/interface/assets/{vendor-core-tgH2YubJ.js → vendor-core-CnhnyKDl.js} +1 -1
  157. package/dist/interface/assets/{vendor-primevue-DNJJiEZl.js → vendor-primevue-CCUqY55W.js} +207 -207
  158. package/dist/interface/ha/{404-Dl6JtQWv.js → 404-DLhJqxRl.js} +1 -1
  159. package/dist/interface/ha/{About-wjv4kCO3.js → About-DC0i1iE4.js} +3 -3
  160. package/dist/interface/ha/{Assistant-Dpb4IsDC.js → Assistant-BmazMPIg.js} +821 -825
  161. package/dist/interface/ha/{Automation-CqTPjCUh.js → Automation-gabF9YzQ.js} +336 -336
  162. package/dist/interface/ha/{AutomationImport-CvdeneoU.js → AutomationImport-DaqZNs9s.js} +8 -8
  163. package/dist/interface/ha/{AutomationStore-bVPE68io.js → AutomationStore-DzM4huo5.js} +54 -54
  164. package/dist/interface/ha/{AutomationStoreDetail-BYaNUjoH.js → AutomationStoreDetail-CpzQMt_D.js} +7 -7
  165. package/dist/interface/ha/{Automations-BfsYh2A_.js → Automations-Dcm4Us50.js} +81 -81
  166. package/dist/interface/ha/{Camera-C70onr_O.js → Camera-CNK3QR7l.js} +198 -198
  167. package/dist/interface/ha/{CameraConsole-Dg3lV-wq.js → CameraConsole-CpcF0411.js} +5 -5
  168. package/dist/interface/ha/{Cameras-DpM6gt3G.js → Cameras-Cf9rwRyf.js} +293 -294
  169. package/dist/interface/ha/{Camview-CO_bHntH.js → Camview-BFKR2t6C.js} +87 -87
  170. package/dist/interface/ha/{Config-D-cpocuH.js → Config-1XH3zfr2.js} +11 -11
  171. package/dist/interface/ha/{ConfigActionAssistant-DVVVfVvT.js → ConfigActionAssistant-C0-NFoTB.js} +5 -5
  172. package/dist/interface/ha/{ConfigActionCameraControl-BPpzE9-F.js → ConfigActionCameraControl-DNSKZPSZ.js} +5 -5
  173. package/dist/interface/ha/{ConfigActionDelay-zU6H75hY.js → ConfigActionDelay-iZ3lPGzw.js} +1 -1
  174. package/dist/interface/ha/{ConfigActionHttp-BsNy03j4.js → ConfigActionHttp-DVJAcGkl.js} +3 -3
  175. package/dist/interface/ha/{ConfigActionImageInput-JUvNYn0w.js → ConfigActionImageInput-VVbHHHZs.js} +3 -3
  176. package/dist/interface/ha/{ConfigActionMqtt-PZqAKfTo.js → ConfigActionMqtt-N5OUJDzM.js} +4 -4
  177. package/dist/interface/ha/{ConfigActionNotification-DIL7abEm.js → ConfigActionNotification-s142tQoU.js} +6 -6
  178. package/dist/interface/ha/{ConfigActionNotificationControl-BQ2w5yeg.js → ConfigActionNotificationControl-Dh7kaKVP.js} +3 -3
  179. package/dist/interface/ha/{ConfigActionOutput-DVilKhPV.js → ConfigActionOutput-B4HHTg5C.js} +1 -1
  180. package/dist/interface/ha/{ConfigActionPlugin-BUfTEJQ_.js → ConfigActionPlugin-D20G2Dqf.js} +5 -5
  181. package/dist/interface/ha/{ConfigActionSensor-Dzp16VyX.js → ConfigActionSensor-BS3jrFaG.js} +6 -6
  182. package/dist/interface/ha/{ConfigActionSnapshot-CRjD5AMC.js → ConfigActionSnapshot-CInLAcwK.js} +3 -3
  183. package/dist/interface/ha/{ConfigActionVariable-CR8g7gEh.js → ConfigActionVariable-C5vADGNF.js} +2 -2
  184. package/dist/interface/ha/{ConfigConditionIfElse-CHoSgzXF.js → ConfigConditionIfElse-CPeWDD31.js} +4 -4
  185. package/dist/interface/ha/{ConfigConditionSensorState-Dn8_OhQe.js → ConfigConditionSensorState-BM5GmpN6.js} +6 -6
  186. package/dist/interface/ha/{ConfigConditionSwitch-Ds-nqWeU.js → ConfigConditionSwitch-Dmz9FduJ.js} +4 -4
  187. package/dist/interface/ha/{ConfigConditionTime-DWNfEluj.js → ConfigConditionTime-DF6llIJq.js} +2 -2
  188. package/dist/interface/ha/{ConfigSensorValueInput-DwXM9wP1.js → ConfigSensorValueInput-Ch5njvtv.js} +7 -7
  189. package/dist/interface/ha/{ConfigTriggerDetection-D37OkR_u.js → ConfigTriggerDetection-BR2QWNyO.js} +5 -5
  190. package/dist/interface/ha/{ConfigTriggerGeofence-EbXy_y3Q.js → ConfigTriggerGeofence-CaImOjyW.js} +9 -9
  191. package/dist/interface/ha/{ConfigTriggerMqtt-BX6uNEZy.js → ConfigTriggerMqtt-DWz1XwZQ.js} +2 -2
  192. package/dist/interface/ha/{ConfigTriggerSensor-BFGEtBVF.js → ConfigTriggerSensor-lfnhz0im.js} +3 -3
  193. package/dist/interface/ha/{ConfigTriggerSystem-fRnAgUGR.js → ConfigTriggerSystem-CwUhyFAj.js} +3 -3
  194. package/dist/interface/ha/{ConfigTriggerWebhook-DegifRdj.js → ConfigTriggerWebhook-J6Xts7GQ.js} +2 -2
  195. package/dist/interface/ha/{Console-Bo6S5psN.js → Console-BSdKFm6Y.js} +8 -8
  196. package/dist/interface/ha/{CuiAutomationRunsDialog-DXpNJqDE.js → CuiAutomationRunsDialog-BU8sympp.js} +3 -3
  197. package/dist/interface/ha/{CuiBottomSheet-DLkC2OmT.js → CuiBottomSheet-Bnp7ta7V.js} +1 -1
  198. package/dist/interface/ha/{CuiCameraRecordings-9tdkxXiT.js → CuiCameraRecordings-E-mMqKSs.js} +18 -19
  199. package/dist/interface/ha/{CuiCameraShares-BbqY_2b7.js → CuiCameraShares-DcNwd2OC.js} +8 -8
  200. package/dist/interface/ha/{CuiCameraTable-BmH1yAgl.js → CuiCameraTable-DNW9Vm_A.js} +6 -6
  201. package/dist/interface/ha/{CuiChartTable-BjBBI7Fo.js → CuiChartTable-muC7jL2H.js} +6 -6
  202. package/dist/interface/ha/{CuiConsole-By3m4UbE.js → CuiConsole-ND8bcuTg.js} +2 -2
  203. package/dist/interface/ha/{CuiDataTable-C_ndu5My.js → CuiDataTable-CN4T8DgP.js} +13 -13
  204. package/dist/interface/ha/{CuiPluginCard-BLQ1galy.js → CuiPluginCard-nIQiyQvH.js} +31 -31
  205. package/dist/interface/ha/{CuiPluginOAuthButton-BDghklSy.js → CuiPluginOAuthButton-FJ49NfUh.js} +3 -3
  206. package/dist/interface/ha/{CuiPluginTrustBadge-DolANNao.js → CuiPluginTrustBadge-D6eanMyI.js} +2 -2
  207. package/dist/interface/ha/{CuiQRCode-CcjPngXI.js → CuiQRCode-BdJzeeoE.js} +2 -2
  208. package/dist/interface/ha/{CuiSchema-D9JFf0dp.js → CuiSchema-DY0V-8xP.js} +67 -67
  209. package/dist/interface/ha/{CuiTopNavbarItem-DcUEq-4e.js → CuiTopNavbarItem-DT5pAKHp.js} +7 -8
  210. package/dist/interface/ha/{Faces-DjXHzr77.js → Faces-C_svyTrr.js} +92 -92
  211. package/dist/interface/ha/{FirstSteps-CQAP9Siw.js → FirstSteps-yS2M2cor.js} +9 -9
  212. package/dist/interface/ha/{Floorplan-DyaPzlQO.js → Floorplan-DSOeScjI.js} +194 -194
  213. package/dist/interface/ha/{Instances-DWjaU5gj.js → Instances-B4h5EKpF.js} +20 -20
  214. package/dist/interface/ha/{Logs-Dlx-X1NS.js → Logs-BH0Lxvs6.js} +12 -12
  215. package/dist/interface/ha/{Menu-iqEe01qO.js → Menu-COH7QXuE.js} +13 -13
  216. package/dist/interface/ha/{Metrics-Br2Dyvzh.js → Metrics-BtnRqL_I.js} +136 -136
  217. package/dist/interface/ha/{OAuthDeviceFlow-CIGk92FD.js → OAuthDeviceFlow-D2QJ9MnP.js} +8 -8
  218. package/dist/interface/ha/{Plugin-DklIr7j2.js → Plugin-EfUSqwyh.js} +85 -85
  219. package/dist/interface/ha/{PluginConsole-DCfxPtGU.js → PluginConsole-hh_o15f7.js} +4 -4
  220. package/dist/interface/ha/PluginDetail-DFiXGkrY.js +805 -0
  221. package/dist/interface/ha/{PluginSearch-BTKBnjxb.js → PluginSearch-Cdrfubrj.js} +54 -54
  222. package/dist/interface/ha/{PluginUpdateProgress-Dej5AcCt.js → PluginUpdateProgress-BD2g2kVj.js} +3 -3
  223. package/dist/interface/ha/{Plugins-C2fONspm.js → Plugins-qFiHW-Nk.js} +45 -45
  224. package/dist/interface/ha/{RecentEventsFilter-ylgjiDo8.js → RecentEventsFilter-UWrXnvfq.js} +1 -1
  225. package/dist/interface/ha/{Recordings-w39I43cc.js → Recordings-BzeC6tOz.js} +437 -419
  226. package/dist/interface/ha/{SensorEdit-BkKi1l-A.js → SensorEdit-BSgy7lkZ.js} +360 -360
  227. package/dist/interface/ha/{SensorHistory-BGJjMlc3.js → SensorHistory-IDvP8LKH.js} +2 -2
  228. package/dist/interface/ha/{Sensors-D_Wi9XPa.js → Sensors-Diqp4oZ0.js} +96 -97
  229. package/dist/interface/ha/{Settings-Bn7WLWf0.js → Settings-BgDsxAlx.js} +11 -11
  230. package/dist/interface/ha/{SettingsAccount-CRTex-1j.js → SettingsAccount-DBXMQPYk.js} +159 -159
  231. package/dist/interface/ha/{SettingsAppearance-B1qmJnYk.js → SettingsAppearance-VmbjnT3o.js} +6 -6
  232. package/dist/interface/ha/{SettingsAssistant-DDd1X0BC.js → SettingsAssistant-C2R4ZetE.js} +133 -133
  233. package/dist/interface/ha/{SettingsBackup-DZbhSB13.js → SettingsBackup-BqY9TwYn.js} +20 -20
  234. package/dist/interface/ha/{SettingsList-BQdyPe0H.js → SettingsList-CzHcfo2N.js} +4 -4
  235. package/dist/interface/ha/{SettingsMqtt-CSZcY6ht.js → SettingsMqtt-DqV3h3Ow.js} +149 -149
  236. package/dist/interface/ha/{SettingsNotifications-CfEhl0-y.js → SettingsNotifications-yn5fIR_7.js} +6 -6
  237. package/dist/interface/ha/{SettingsRecordings-BnAGDvcH.js → SettingsRecordings-DDs1lyfY.js} +8 -8
  238. package/dist/interface/ha/{SettingsRemote-w86TQVUA.js → SettingsRemote-jBw3l5E0.js} +172 -172
  239. package/dist/interface/ha/{SettingsSystem-CENjHL3k.js → SettingsSystem-BOv9hNlk.js} +9 -9
  240. package/dist/interface/ha/{SettingsUsers-CqSHRklV.js → SettingsUsers-Biv-2F4C.js} +90 -90
  241. package/dist/interface/ha/{Terminal-WsuxG3k-.js → Terminal-CmcrGEV0.js} +4 -4
  242. package/dist/interface/ha/Training-BEzPiXZg.js +1512 -0
  243. package/dist/interface/ha/{Updates-Dl_lLLR2.js → Updates-DJAcmDQJ.js} +12 -12
  244. package/dist/interface/ha/{VariableInput-C8Q81GUt.js → VariableInput-DlYg7t0m.js} +2 -2
  245. package/dist/interface/ha/{VersionsHandler-BOvjesvp.js → VersionsHandler-UnrAWn-b.js} +11 -11
  246. package/dist/interface/ha/{VirtualSensorCreate-sgwATaky.js → VirtualSensorCreate-CssxeaCC.js} +2 -2
  247. package/dist/interface/ha/{Workers-CkDuQ9NG.js → Workers-CLpqLugC.js} +14 -14
  248. package/dist/interface/ha/{accordion-Xem2SzgR.js → accordion-BylV-jUK.js} +2 -2
  249. package/dist/interface/ha/{api-BmYisoxj.js → api-BP7mlzjP.js} +11181 -11736
  250. package/dist/interface/ha/{api-oqpIZTkx.js → api-B_tDa73J.js} +1 -1
  251. package/dist/interface/ha/{assistant-0jE4C19U.js → assistant-Cb6ACguQ.js} +1 -1
  252. package/dist/interface/ha/{auth-B4Msg7R-.js → auth-DOYDRgFm.js} +1 -1
  253. package/dist/interface/ha/{autocomplete-B94Amei3.js → autocomplete-Cp3u2Ywa.js} +4 -4
  254. package/dist/interface/ha/{automationBlueprint-C-12Yjl7.js → automationBlueprint-CbbG_ku4.js} +1 -1
  255. package/dist/interface/ha/cameraui-cards.js +1 -1
  256. package/dist/interface/ha/{cards-BrOcoiQJ.js → cards-BpBP1zVW.js} +1206 -1198
  257. package/dist/interface/ha/{config-IG56wp6m.js → config-DroY1HBs.js} +1 -1
  258. package/dist/interface/ha/{datepicker-B4Azs5zr.js → datepicker-DXk97lTw.js} +4 -4
  259. package/dist/interface/ha/{mqtt-pl13wSmG.js → mqtt-NJTVdd53.js} +1 -1
  260. package/dist/interface/ha/{multiselect-Dp4XDBRR.js → multiselect-BOb4ScAZ.js} +4 -4
  261. package/dist/interface/ha/{notifications-B6wxSmou.js → notifications-BPTvvgvv.js} +1 -1
  262. package/dist/interface/ha/{plugins-BwwaWxye.js → plugins-B29K3nQP.js} +1 -1
  263. package/dist/interface/ha/{rooms-NIzjFYAd.js → rooms-DLw0WUy_.js} +1 -1
  264. package/dist/interface/ha/{select-UR3ZRDew.js → select-DV7p2EDj.js} +4 -4
  265. package/dist/interface/ha/{server-YOLwDVAW.js → server-B4b5_Ecu.js} +1 -1
  266. package/dist/interface/ha/{speeddial-LCbl5g8p.js → speeddial-B5p0fuqL.js} +1 -1
  267. package/dist/interface/ha/{tooltip-Z7VN-E1u.js → tooltip-BDrlgLof.js} +1 -1
  268. package/dist/interface/ha/{types-B8B9MqK0.js → types-DJHHL7nn.js} +1 -1
  269. package/dist/interface/ha/{ungrouped-DttNEB62.js → ungrouped-xyK1QrsM.js} +344 -376
  270. package/dist/interface/ha/{updates-DVhiQhMM.js → updates-XFSu9Tfm.js} +5 -5
  271. package/dist/interface/ha/{useAppVersion-CG4D44Aa.js → useAppVersion-BH3rU1zz.js} +1 -1
  272. package/dist/interface/ha/{useLogsSocket-PKsRDttg.js → useLogsSocket-CaTRzvgU.js} +1 -1
  273. package/dist/interface/ha/{useNavLayout-DoEcPx9Z.js → useNavLayout-DV0_OQx0.js} +1 -1
  274. package/dist/interface/ha/{useServerRestart-CMl589qX.js → useServerRestart-C8tynLUf.js} +1 -1
  275. package/dist/interface/ha/{useTabSwipe-Cmqdn0J5.js → useTabSwipe-CFoLDp3j.js} +1 -1
  276. package/dist/interface/ha/{useUpdateChannel-BBW2EX7N.js → useUpdateChannel-DSG2RTPe.js} +2 -2
  277. package/dist/interface/ha/{useUpdatesSocket-B6ICpKKC.js → useUpdatesSocket-CSQ0g7-6.js} +1 -1
  278. package/dist/interface/ha/{useUserOptions-CzclRfar.js → useUserOptions-CFaCy6L1.js} +1 -1
  279. package/dist/interface/ha/{virtualscroller-C5j7FXj4.js → virtualscroller-B-UQZDMJ.js} +88 -88
  280. package/dist/interface/index.html +34 -34
  281. package/dist/interface/sw.js +1 -1
  282. package/dist/server/package.json +22 -20
  283. package/dist/server/requirements.txt +1 -1
  284. package/dist/server/src/api/controllers/auth.controller.js +5 -6
  285. package/dist/server/src/api/controllers/auth.controller.js.map +1 -1
  286. package/dist/server/src/api/controllers/plugins.controller.js +5 -5
  287. package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
  288. package/dist/server/src/api/database/checks.js +20 -8
  289. package/dist/server/src/api/database/checks.js.map +1 -1
  290. package/dist/server/src/api/database/selfcheck.js +2 -2
  291. package/dist/server/src/api/database/selfcheck.js.map +1 -1
  292. package/dist/server/src/api/index.js +8 -6
  293. package/dist/server/src/api/index.js.map +1 -1
  294. package/dist/server/src/api/plugins/logger.plugin.js +11 -11
  295. package/dist/server/src/api/plugins/logger.plugin.js.map +1 -1
  296. package/dist/server/src/api/services/twoFactor.service.d.ts +4 -5
  297. package/dist/server/src/api/services/twoFactor.service.js +16 -17
  298. package/dist/server/src/api/services/twoFactor.service.js.map +1 -1
  299. package/dist/server/src/api/types/index.d.ts +0 -1
  300. package/dist/server/src/api/utils/cert.js +128 -135
  301. package/dist/server/src/api/utils/cert.js.map +1 -1
  302. package/dist/server/src/api/utils/form-body.d.ts +2 -0
  303. package/dist/server/src/api/utils/form-body.js +22 -0
  304. package/dist/server/src/api/utils/form-body.js.map +1 -0
  305. package/dist/server/src/api/utils/install-logger.js +12 -12
  306. package/dist/server/src/api/utils/install-logger.js.map +1 -1
  307. package/dist/server/src/api/websocket/nsp/logs.d.ts +7 -3
  308. package/dist/server/src/api/websocket/nsp/logs.js +79 -65
  309. package/dist/server/src/api/websocket/nsp/logs.js.map +1 -1
  310. package/dist/server/src/assistant/history.d.ts +2 -0
  311. package/dist/server/src/assistant/history.js +46 -0
  312. package/dist/server/src/assistant/history.js.map +1 -0
  313. package/dist/server/src/assistant/manager.js +2 -1
  314. package/dist/server/src/assistant/manager.js.map +1 -1
  315. package/dist/server/src/camera/controller.d.ts +1 -0
  316. package/dist/server/src/camera/controller.js +23 -18
  317. package/dist/server/src/camera/controller.js.map +1 -1
  318. package/dist/server/src/camera/decoder/worker.d.ts +3 -0
  319. package/dist/server/src/camera/decoder/worker.js +42 -5
  320. package/dist/server/src/camera/decoder/worker.js.map +1 -1
  321. package/dist/server/src/go2rtc/index.js +2 -2
  322. package/dist/server/src/go2rtc/index.js.map +1 -1
  323. package/dist/server/src/main.js +5 -5
  324. package/dist/server/src/main.js.map +1 -1
  325. package/dist/server/src/manager/discoveryManager.js +2 -2
  326. package/dist/server/src/manager/discoveryManager.js.map +1 -1
  327. package/dist/server/src/remote/services/cloudflare-managed.js +6 -3
  328. package/dist/server/src/remote/services/cloudflare-managed.js.map +1 -1
  329. package/dist/server/src/remote/services/cloudflare.d.ts +0 -1
  330. package/dist/server/src/remote/services/cloudflare.js +9 -20
  331. package/dist/server/src/remote/services/cloudflare.js.map +1 -1
  332. package/dist/server/src/remote/services/cloudflaredBinary.d.ts +3 -2
  333. package/dist/server/src/remote/services/cloudflaredBinary.js +9 -16
  334. package/dist/server/src/remote/services/cloudflaredBinary.js.map +1 -1
  335. package/dist/server/src/rpc/server.js +2 -2
  336. package/dist/server/src/rpc/server.js.map +1 -1
  337. package/dist/server/src/utils/automation-registry/index.js +3 -3
  338. package/dist/server/src/utils/automation-registry/index.js.map +1 -1
  339. package/dist/server/src/utils/colors.d.ts +2 -0
  340. package/dist/server/src/utils/colors.js +8 -0
  341. package/dist/server/src/utils/colors.js.map +1 -0
  342. package/dist/server/src/utils/npm/auth.d.ts +3 -2
  343. package/dist/server/src/utils/npm/auth.js +1 -1
  344. package/dist/server/src/utils/npm/auth.js.map +1 -1
  345. package/dist/server/src/utils/npm/index.d.ts +3 -15
  346. package/dist/server/src/utils/npm/index.js +26 -17
  347. package/dist/server/src/utils/npm/index.js.map +1 -1
  348. package/dist/server/src/utils/npm/registry.d.ts +69 -0
  349. package/dist/server/src/utils/npm/registry.js +240 -0
  350. package/dist/server/src/utils/npm/registry.js.map +1 -0
  351. package/dist/server/src/utils/plugin-registry/index.js +3 -3
  352. package/dist/server/src/utils/plugin-registry/index.js.map +1 -1
  353. package/dist/server/src/utils/process.d.ts +10 -0
  354. package/dist/server/src/utils/process.js +112 -0
  355. package/dist/server/src/utils/process.js.map +1 -0
  356. package/dist/server/src/utils/totp.d.ts +12 -0
  357. package/dist/server/src/utils/totp.js +71 -0
  358. package/dist/server/src/utils/totp.js.map +1 -0
  359. package/dist/server/src/utils/ttl-cache.d.ts +20 -0
  360. package/dist/server/src/utils/ttl-cache.js +63 -0
  361. package/dist/server/src/utils/ttl-cache.js.map +1 -0
  362. package/npm-shrinkwrap.json +6427 -0
  363. package/package.json +22 -20
  364. package/dist/interface/assets/Assistant-BKxssfw-.js +0 -1
  365. package/dist/interface/assets/Automation-CP59cgP7.js +0 -3
  366. package/dist/interface/assets/AutomationStore-BZGR_5Xl.js +0 -2
  367. package/dist/interface/assets/Automations-BpXorYAS.js +0 -2
  368. package/dist/interface/assets/Camera-UBUfaR5a.js +0 -2
  369. package/dist/interface/assets/Cameras-B21Y8MdQ.js +0 -651
  370. package/dist/interface/assets/Camview-BySyPtU5.js +0 -1
  371. package/dist/interface/assets/Config-BGyGmukb.js +0 -2
  372. package/dist/interface/assets/ConfigTriggerGeofence-CkzTFEZn.js +0 -1
  373. package/dist/interface/assets/Console-HXmKYaK_.js +0 -1
  374. package/dist/interface/assets/CuiAssistantConversation-2qrRCsgw.js +0 -5
  375. package/dist/interface/assets/CuiAssistantConversation-DmSdiv1b.css +0 -1
  376. package/dist/interface/assets/CuiBottomSheet-CTr-KHC8.js +0 -1
  377. package/dist/interface/assets/CuiCameraPipCard-BZCayhy_.js +0 -1
  378. package/dist/interface/assets/CuiCameraRecordings-BbaEL2ST.js +0 -1
  379. package/dist/interface/assets/CuiCameraTable-C5tQHs63.js +0 -1
  380. package/dist/interface/assets/CuiLightControl-v6k9hVGl.js +0 -1
  381. package/dist/interface/assets/CuiPluginCard-5MRYJcF2.js +0 -2
  382. package/dist/interface/assets/CuiSchema-BDXeXora.js +0 -1
  383. package/dist/interface/assets/CuiTopNavbarItem-BVknLbRO.js +0 -1
  384. package/dist/interface/assets/Faces-BEpYvbB0.js +0 -1
  385. package/dist/interface/assets/FirstSteps-U93RDOcP.js +0 -1
  386. package/dist/interface/assets/Floorplan-D8XoCNOB.js +0 -1
  387. package/dist/interface/assets/Instances-CFwZotvU.js +0 -1
  388. package/dist/interface/assets/Metrics-Ca_d5CbP.js +0 -12
  389. package/dist/interface/assets/Plugin-BjLw46Sw.js +0 -1
  390. package/dist/interface/assets/PluginDetail-BuLW4lkN.js +0 -2
  391. package/dist/interface/assets/PluginSearch--LLMEeyx.js +0 -2
  392. package/dist/interface/assets/PluginSearch-0akjE0ef.js +0 -1
  393. package/dist/interface/assets/Plugins-26O511gf.js +0 -1
  394. package/dist/interface/assets/Recordings-DQOGeSFm.js +0 -1
  395. package/dist/interface/assets/SensorEdit-DEW5D80x.js +0 -1
  396. package/dist/interface/assets/Sensors-C8yOyAwo.js +0 -2
  397. package/dist/interface/assets/Settings-B-RgMeVm.js +0 -1
  398. package/dist/interface/assets/SettingsAccount-B6aXFx3F.js +0 -1
  399. package/dist/interface/assets/SettingsAccount-_0ccrXYU.js +0 -1
  400. package/dist/interface/assets/SettingsAppearance-CkDwzx6f.js +0 -1
  401. package/dist/interface/assets/SettingsAppearance-DBFE3uVH.js +0 -1
  402. package/dist/interface/assets/SettingsAssistant-DN5OUJqt.js +0 -1
  403. package/dist/interface/assets/SettingsMqtt-hsKZkU-o.js +0 -1
  404. package/dist/interface/assets/SettingsNotifications-DIeiUEAk.js +0 -1
  405. package/dist/interface/assets/SettingsRemote-Doa0aBMC.js +0 -2
  406. package/dist/interface/assets/Training-DYlefOX1.js +0 -1
  407. package/dist/interface/assets/Workers-CUVvTuts.js +0 -2
  408. package/dist/interface/assets/api-B0wYDGQj.css +0 -2
  409. package/dist/interface/assets/api-BNrZVfeD.js +0 -4
  410. package/dist/interface/assets/cloudHandoff-Dnndt2el.js +0 -1
  411. package/dist/interface/assets/main-CRlC4FBY.js +0 -3
  412. package/dist/interface/assets/mqtt-BY6-Hrbv.js +0 -1
  413. package/dist/interface/assets/ring-resize-DyqCo2UN.js +0 -1
  414. package/dist/interface/assets/rooms-BHP4q6yf.js +0 -1
  415. package/dist/interface/assets/ungrouped-DBRZ-Ori.css +0 -1
  416. package/dist/interface/assets/ungrouped-DHLAmt__.js +0 -1
  417. package/dist/interface/assets/useBackupRestore-Dj-ZXODq.js +0 -1
  418. package/dist/interface/ha/PluginDetail-BFfRnkdG.js +0 -230
  419. package/dist/interface/ha/Training-hu_XOYBk.js +0 -1505
  420. package/dist/interface/ha/ring-resize-Dr2PxWIg.js +0 -16
@@ -1,97 +1,97 @@
1
1
  import { r as e } from "./rolldown-runtime-CEFd7nDs.js";
2
2
  import { c as t } from "./ripple-ZDATPc2w.js";
3
3
  import { D as n, Dt as r, G as i, H as a, Jt as o, M as s, Y as c, _t as l, d as u, f as d, gt as f, kt as p, l as m, lt as h, p as g, r as _, rt as v, u as y, ut as b, v as ee, wt as x, x as S, xt as C, y as w, z as te } from "./runtime-core.esm-bundler-_TfE0DWz.js";
4
- import { t as ne } from "./tooltip-Z7VN-E1u.js";
4
+ import { t as ne } from "./tooltip-BDrlgLof.js";
5
5
  import { t as T } from "./message-D6dIy_hz.js";
6
6
  import { t as re } from "./tag-mchuCAPR.js";
7
- import { A as E, Dn as ie, Dt as ae, Et as oe, F as D, I as O, Kr as se, L as ce, M as le, On as ue, Tt as de, V as fe, bi as k, br as pe, c as me, ci as he, dt as A, g as ge, h as _e, ht as ve, k as j, r as ye, ut as be, w as M, wt as xe, yr as N } from "./api-BmYisoxj.js";
8
- import { i as Se } from "./intercomService-B7HkLs6z.js";
9
- import { r as Ce } from "./pinia-C6gt7A_Q.js";
10
- import { n as P } from "./vue-i18n-D5EAy78K.js";
11
- import { h as we } from "./eventIcons-BFNUgeGr.js";
12
- import { t as Te } from "./button-BouAFgf5.js";
13
- import { t as Ee } from "./inputtext-C_ygnPrC.js";
14
- import { i as De, t as Oe } from "./CuiDataTable-C_ndu5My.js";
15
- import { t as ke } from "./CuiQRCode-CcjPngXI.js";
16
- import { n as Ae, t as F } from "./auth-B4Msg7R-.js";
7
+ import { A as E, An as ie, Dt as ae, Et as oe, F as D, I as O, Kr as se, L as ce, M as le, Ot as ue, Sr as de, V as fe, _t as pe, bi as k, c as me, ci as he, dt as ge, ft as _e, g as ve, h as ye, jn as be, k as A, kt as xe, r as Se, w as j, wr as M } from "./api-BP7mlzjP.js";
8
+ import { i as Ce } from "./intercomService-B7HkLs6z.js";
9
+ import { r as we } from "./pinia-C6gt7A_Q.js";
10
+ import { n as N } from "./vue-i18n-D5EAy78K.js";
11
+ import { h as Te } from "./eventIcons-BFNUgeGr.js";
12
+ import { t as Ee } from "./button-BouAFgf5.js";
13
+ import { t as De } from "./inputtext-C_ygnPrC.js";
14
+ import { i as Oe, t as ke } from "./CuiDataTable-CN4T8DgP.js";
15
+ import { t as Ae } from "./CuiQRCode-BdJzeeoE.js";
16
+ import { n as je, t as P } from "./auth-DOYDRgFm.js";
17
17
  //#region ~icons/mdi/key
18
- var I = {
18
+ var F = {
19
19
  viewBox: "0 0 24 24",
20
20
  width: "1.2em",
21
21
  height: "1.2em"
22
22
  };
23
- function L(e, t) {
24
- return a(), g("svg", I, [...t[0] ||= [y("path", {
23
+ function I(e, t) {
24
+ return a(), g("svg", F, [...t[0] ||= [y("path", {
25
25
  fill: "currentColor",
26
26
  d: "M7 14c-1.1 0-2-.9-2-2s.9-2 2-2s2 .9 2 2s-.9 2-2 2m5.6-4c-.8-2.3-3-4-5.6-4c-3.3 0-6 2.7-6 6s2.7 6 6 6c2.6 0 4.8-1.7 5.6-4H16v4h4v-4h3v-4z"
27
27
  }, null, -1)]]);
28
28
  }
29
- var je = l({
29
+ var Me = l({
30
30
  name: "mdi-key",
31
- render: L
32
- }), R = {
31
+ render: I
32
+ }), L = {
33
33
  viewBox: "0 0 24 24",
34
34
  width: "1.2em",
35
35
  height: "1.2em"
36
36
  };
37
- function z(e, t) {
38
- return a(), g("svg", R, [...t[0] ||= [y("path", {
37
+ function R(e, t) {
38
+ return a(), g("svg", L, [...t[0] ||= [y("path", {
39
39
  fill: "currentColor",
40
40
  d: "M17 19H7V5h10m0-4H7c-1.11 0-2 .89-2 2v18a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2"
41
41
  }, null, -1)]]);
42
42
  }
43
- var Me = l({
43
+ var Ne = l({
44
44
  name: "mdi-cellphone",
45
- render: z
46
- }), B = {
45
+ render: R
46
+ }), z = {
47
47
  viewBox: "0 0 24 24",
48
48
  width: "1.2em",
49
49
  height: "1.2em"
50
50
  };
51
- function Ne(e, t) {
52
- return a(), g("svg", B, [...t[0] ||= [y("path", {
51
+ function Pe(e, t) {
52
+ return a(), g("svg", z, [...t[0] ||= [y("path", {
53
53
  fill: "currentColor",
54
54
  d: "M22 18v4h-4v-3h-3v-3h-3l-2.26-2.26c-.55.17-1.13.26-1.74.26a6 6 0 0 1-6-6a6 6 0 0 1 6-6a6 6 0 0 1 6 6c0 .61-.09 1.19-.26 1.74zM7 5a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2"
55
55
  }, null, -1)]]);
56
56
  }
57
- var Pe = l({
57
+ var Fe = l({
58
58
  name: "mdi-key-variant",
59
- render: Ne
60
- }), Fe = {
59
+ render: Pe
60
+ }), Ie = {
61
61
  viewBox: "0 0 24 24",
62
62
  width: "1.2em",
63
63
  height: "1.2em"
64
64
  };
65
- function V(e, t) {
66
- return a(), g("svg", Fe, [...t[0] ||= [y("path", {
65
+ function B(e, t) {
66
+ return a(), g("svg", Ie, [...t[0] ||= [y("path", {
67
67
  fill: "currentColor",
68
68
  d: "M4 6h16v10H4m16 2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4c-1.11 0-2 .89-2 2v10a2 2 0 0 0 2 2H0v2h24v-2z"
69
69
  }, null, -1)]]);
70
70
  }
71
- var Ie = l({
71
+ var Le = l({
72
72
  name: "mdi-laptop",
73
- render: V
74
- }), Le = {
73
+ render: B
74
+ }), Re = {
75
75
  viewBox: "0 0 24 24",
76
76
  width: "1.2em",
77
77
  height: "1.2em"
78
78
  };
79
- function Re(e, t) {
80
- return a(), g("svg", Le, [...t[0] ||= [y("path", {
79
+ function ze(e, t) {
80
+ return a(), g("svg", Re, [...t[0] ||= [y("path", {
81
81
  fill: "currentColor",
82
82
  d: "M21 17H3V5h18m0-2H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5v2h8v-2h5a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"
83
83
  }, null, -1)]]);
84
84
  }
85
- var ze = l({
85
+ var Be = l({
86
86
  name: "mdi-television",
87
- render: Re
88
- }), H = { class: "flex flex-col gap-6" }, Be = { class: "token-box" }, Ve = { class: "token-value" }, He = /*#__PURE__*/ N(/* @__PURE__ */ S({
87
+ render: ze
88
+ }), V = { class: "flex flex-col gap-6" }, Ve = { class: "token-box" }, He = { class: "token-value" }, Ue = /*#__PURE__*/ M(/* @__PURE__ */ S({
89
89
  __name: "ApiTokenCreated",
90
90
  props: { token: {} },
91
91
  setup(e, { expose: t }) {
92
- let n = e, i = k(), { t: s } = P(), { token: c } = r(n);
92
+ let n = e, i = k(), { t: s } = N(), { token: c } = r(n);
93
93
  async function l() {
94
- await ye(c.value) ? i.add({
94
+ await Se(c.value) ? i.add({
95
95
  severity: "success",
96
96
  detail: s("components.toast.copied"),
97
97
  life: 1500
@@ -103,17 +103,17 @@ var ze = l({
103
103
  }
104
104
  async function d() {}
105
105
  return t({ onConfirm: d }), (e, t) => {
106
- let n = T, r = Te, i = ne;
107
- return a(), g("div", H, [w(n, { severity: "warn" }, {
106
+ let n = T, r = Ee, i = ne;
107
+ return a(), g("div", V, [w(n, { severity: "warn" }, {
108
108
  default: h(() => [ee(o(e.$t("views.settings.api_tokens.created_warning")), 1)]),
109
109
  _: 1
110
- }), y("div", Be, [y("span", Ve, o(p(c)), 1), b((a(), u(r, {
110
+ }), y("div", Ve, [y("span", He, o(p(c)), 1), b((a(), u(r, {
111
111
  text: "",
112
112
  rounded: "",
113
113
  class: "cui-icon-md shrink-0",
114
114
  onClick: l
115
115
  }, {
116
- icon: h(() => [w(p(xe), {
116
+ icon: h(() => [w(p(oe), {
117
117
  width: "100%",
118
118
  height: "100%"
119
119
  })]),
@@ -121,13 +121,13 @@ var ze = l({
121
121
  })), [[i, { value: e.$t("components.form.button.copy") }]])])]);
122
122
  };
123
123
  }
124
- }), [["__scopeId", "data-v-591cfcb4"]]), Ue = { class: "flex flex-col gap-2 w-full" }, U = {
124
+ }), [["__scopeId", "data-v-591cfcb4"]]), We = { class: "flex flex-col gap-2 w-full" }, H = {
125
125
  for: "apiTokenName",
126
126
  class: "cui-label"
127
- }, We = {
127
+ }, Ge = {
128
128
  key: 0,
129
129
  class: "text-xs text-red-500"
130
- }, Ge = /* @__PURE__ */ S({
130
+ }, Ke = /* @__PURE__ */ S({
131
131
  __name: "CreateApiToken",
132
132
  props: { existingNames: {} },
133
133
  setup(e, { expose: t }) {
@@ -136,9 +136,9 @@ var ze = l({
136
136
  let e = r.value.trim();
137
137
  return !e || i.value ? null : e;
138
138
  } }), (e, t) => {
139
- let n = Ee;
140
- return a(), g("div", Ue, [
141
- y("label", U, o(e.$t("views.settings.api_tokens.name_label")), 1),
139
+ let n = De;
140
+ return a(), g("div", We, [
141
+ y("label", H, o(e.$t("views.settings.api_tokens.name_label")), 1),
142
142
  w(n, {
143
143
  id: "apiTokenName",
144
144
  modelValue: p(r),
@@ -152,11 +152,11 @@ var ze = l({
152
152
  "placeholder",
153
153
  "invalid"
154
154
  ]),
155
- p(i) ? (a(), g("span", We, o(e.$t("views.settings.api_tokens.name_exists")), 1)) : d("", !0)
155
+ p(i) ? (a(), g("span", Ge, o(e.$t("views.settings.api_tokens.name_exists")), 1)) : d("", !0)
156
156
  ]);
157
157
  };
158
158
  }
159
- }), Ke = { class: "flex flex-col gap-6" }, qe = { class: "backup-codes-grid" }, Je = /*#__PURE__*/ N(/* @__PURE__ */ S({
159
+ }), qe = { class: "flex flex-col gap-6" }, Je = { class: "backup-codes-grid" }, Ye = /*#__PURE__*/ M(/* @__PURE__ */ S({
160
160
  __name: "TwoFactorBackupCodes",
161
161
  props: { backupCodes: {} },
162
162
  setup(e, { expose: t }) {
@@ -164,19 +164,19 @@ var ze = l({
164
164
  async function s() {}
165
165
  return t({ onConfirm: s }), (e, t) => {
166
166
  let r = T;
167
- return a(), g("div", Ke, [w(r, { severity: "warn" }, {
167
+ return a(), g("div", qe, [w(r, { severity: "warn" }, {
168
168
  default: h(() => [ee(o(e.$t("views.settings.security.backup_warning")), 1)]),
169
169
  _: 1
170
- }), y("div", qe, [(a(!0), g(_, null, i(p(n), (e) => (a(), g("span", {
170
+ }), y("div", Je, [(a(!0), g(_, null, i(p(n), (e) => (a(), g("span", {
171
171
  key: e,
172
172
  class: "backup-code"
173
173
  }, o(e), 1))), 128))])]);
174
174
  };
175
175
  }
176
- }), [["__scopeId", "data-v-0761a2ae"]]), Ye = { class: "flex flex-col gap-6" }, Xe = { class: "text-muted" }, Ze = { class: "flex flex-col gap-2 justify-center items-center mt-5" }, W = { class: "cui-label" }, Qe = /* @__PURE__ */ S({
176
+ }), [["__scopeId", "data-v-0761a2ae"]]), Xe = { class: "flex flex-col gap-6" }, Ze = { class: "text-muted" }, Qe = { class: "flex flex-col gap-2 justify-center items-center mt-5" }, U = { class: "cui-label" }, $e = /* @__PURE__ */ S({
177
177
  __name: "TwoFactorDisable",
178
178
  setup(e, { expose: t }) {
179
- let r = new F(), i = k(), { t: s } = P(), c = n("dialogRefProps"), { mutateAsync: l, isPending: u } = r.disable2FAQuery(), d = C(""), h = m(() => !!(c.loading?.value || u.value)), _ = m(() => d.value.length < 6);
179
+ let r = new P(), i = k(), { t: s } = N(), c = n("dialogRefProps"), { mutateAsync: l, isPending: u } = r.disable2FAQuery(), d = C(""), h = m(() => !!(c.loading?.value || u.value)), _ = m(() => d.value.length < 6);
180
180
  async function v() {
181
181
  if (d.value.length < 6) return null;
182
182
  try {
@@ -198,8 +198,8 @@ var ze = l({
198
198
  isDisabled: _,
199
199
  onConfirm: v
200
200
  }), (e, t) => {
201
- let n = A;
202
- return a(), g("div", Ye, [y("p", Xe, o(e.$t("views.settings.security.disable_confirm")), 1), y("div", Ze, [y("label", W, o(e.$t("views.settings.security.enter_code")), 1), w(n, {
201
+ let n = _e;
202
+ return a(), g("div", Xe, [y("p", Ze, o(e.$t("views.settings.security.disable_confirm")), 1), y("div", Qe, [y("label", U, o(e.$t("views.settings.security.enter_code")), 1), w(n, {
203
203
  modelValue: p(d),
204
204
  "onUpdate:modelValue": t[0] ||= (e) => f(d) ? d.value = e : null,
205
205
  length: 6,
@@ -208,11 +208,11 @@ var ze = l({
208
208
  }, null, 8, ["modelValue"])])]);
209
209
  };
210
210
  }
211
- }), $e = { class: "flex flex-col gap-6" }, G = { class: "text-muted" }, K = { class: "flex flex-col gap-2 justify-center items-center mt-5" }, q = { class: "cui-label" }, et = /* @__PURE__ */ S({
211
+ }), W = { class: "flex flex-col gap-6" }, G = { class: "text-muted" }, K = { class: "flex flex-col gap-2 justify-center items-center mt-5" }, q = { class: "cui-label" }, et = /* @__PURE__ */ S({
212
212
  __name: "TwoFactorRegenerate",
213
213
  props: { onBackupCodesGenerated: { type: Function } },
214
214
  setup(e, { expose: t }) {
215
- let r = new F(), i = e, s = k(), { t: c } = P(), l = n("dialogRefProps"), { mutateAsync: u, isPending: d } = r.regenerateBackupCodesQuery(), h = C(""), _ = m(() => !!(l.loading?.value || d.value)), v = m(() => h.value.length < 6);
215
+ let r = new P(), i = e, s = k(), { t: c } = N(), l = n("dialogRefProps"), { mutateAsync: u, isPending: d } = r.regenerateBackupCodesQuery(), h = C(""), _ = m(() => !!(l.loading?.value || d.value)), v = m(() => h.value.length < 6);
216
216
  async function b() {
217
217
  if (h.value.length < 6) return null;
218
218
  try {
@@ -235,8 +235,8 @@ var ze = l({
235
235
  isDisabled: v,
236
236
  onConfirm: b
237
237
  }), (e, t) => {
238
- let n = A;
239
- return a(), g("div", $e, [y("p", G, o(e.$t("views.settings.security.regenerate_confirm")), 1), y("div", K, [y("label", q, o(e.$t("views.settings.security.enter_code")), 1), w(n, {
238
+ let n = _e;
239
+ return a(), g("div", W, [y("p", G, o(e.$t("views.settings.security.regenerate_confirm")), 1), y("div", K, [y("label", q, o(e.$t("views.settings.security.enter_code")), 1), w(n, {
240
240
  modelValue: p(h),
241
241
  "onUpdate:modelValue": t[0] ||= (e) => f(h) ? h.value = e : null,
242
242
  length: 6,
@@ -288,40 +288,40 @@ var ze = l({
288
288
  __name: "SettingsAccount",
289
289
  props: { firststeps: { type: Boolean } },
290
290
  setup(e, { expose: n }) {
291
- let i = new F(), l = e, S = ve(), N = k(), { t: I } = P(), { firststeps: L } = r(l), R = ge(), { user: z } = Ce(R), { data: B, isLoading: Ne } = i.toggleQueryActivator("get2FAStatusQuery", !L.value).get2FAStatusQuery(), { mutateAsync: Fe, isPending: V } = i.setup2FAQuery(), { mutateAsync: Le, isPending: Re } = i.enable2FAQuery(), { data: H, isBusy: Be } = i.toggleQueryActivator("listSessionsQuery", !L.value).listSessionsQuery({
291
+ let i = new P(), l = e, S = pe(), M = k(), { t: F } = N(), { firststeps: I } = r(l), L = ve(), { user: R } = we(L), { data: z, isLoading: Pe } = i.toggleQueryActivator("get2FAStatusQuery", !I.value).get2FAStatusQuery(), { mutateAsync: Ie, isPending: B } = i.setup2FAQuery(), { mutateAsync: Re, isPending: ze } = i.enable2FAQuery(), { data: V, isBusy: Ve } = i.toggleQueryActivator("listSessionsQuery", !I.value).listSessionsQuery({
292
292
  page: 1,
293
293
  pageSize: -1
294
- }), { mutateAsync: Ve } = i.revokeSessionQuery(), { mutateAsync: Ue } = i.revokeOtherSessionsQuery(), { data: U, isBusy: We } = i.toggleQueryActivator("listApiTokensQuery", !L.value).listApiTokensQuery(), { mutateAsync: Ke, isPending: qe } = i.createApiTokenQuery(), { mutateAsync: Ye } = i.revokeApiTokenQuery(), Xe = j({
295
- password: M,
294
+ }), { mutateAsync: He } = i.revokeSessionQuery(), { mutateAsync: We } = i.revokeOtherSessionsQuery(), { data: H, isBusy: Ge } = i.toggleQueryActivator("listApiTokensQuery", !I.value).listApiTokensQuery(), { mutateAsync: qe, isPending: Je } = i.createApiTokenQuery(), { mutateAsync: Xe } = i.revokeApiTokenQuery(), Ze = A({
295
+ password: j,
296
296
  passwordConfirm: E().min(1)
297
297
  }).refine((e) => e.password === e.passwordConfirm, {
298
298
  message: "Passwords do not match",
299
299
  path: ["passwordConfirm"]
300
- }), Ze = j({
300
+ }), Qe = A({
301
301
  username: E().min(1),
302
- password: M,
302
+ password: j,
303
303
  passwordConfirm: E().min(1)
304
304
  }).refine((e) => e.password === e.passwordConfirm, {
305
305
  message: "Passwords do not match",
306
306
  path: ["passwordConfirm"]
307
- }), W = v("formRef"), $e = v("passwordFormRef"), G = x(), K = C("avatar"), q = C(z.value?.username ?? ""), J = C(!1), Y = C(!1), X = C(null), Z = C(""), yn = C(null), bn = C(!1), Q = C(null);
307
+ }), U = v("formRef"), W = v("passwordFormRef"), G = x(), K = C("avatar"), q = C(R.value?.username ?? ""), J = C(!1), Y = C(!1), X = C(null), Z = C(""), yn = C(null), bn = C(!1), Q = C(null);
308
308
  C(!1);
309
309
  let xn = C(!1), Sn = C(!1), Cn = m(() => !1), wn = {
310
310
  bodyRow: { class: "text-sm text-secondary" },
311
311
  column: { columnTitle: { class: "text-sm" } }
312
- }, $ = m(() => (H.value ?? []).filter((e) => !e.is_current).length), Tn = m(() => !X.value?.secret || !z.value?.username ? "" : `otpauth://totp/${encodeURIComponent(`camera.ui:${z.value.username}`)}?secret=${X.value.secret}&issuer=camera.ui`);
312
+ }, $ = m(() => (V.value ?? []).filter((e) => !e.is_current).length), Tn = m(() => !X.value?.secret || !R.value?.username ? "" : `otpauth://totp/${encodeURIComponent(`camera.ui:${R.value.username}`)}?secret=${X.value.secret}&issuer=camera.ui`);
313
313
  async function En() {
314
- X.value?.secret && await ye(X.value.secret);
314
+ X.value?.secret && await Se(X.value.secret);
315
315
  }
316
316
  function Dn(e) {
317
- return e === "tv" ? ze : e === "native" ? Me : Ie;
317
+ return e === "tv" ? Be : e === "native" ? Ne : Le;
318
318
  }
319
319
  async function On(e) {
320
320
  yn.value = e;
321
321
  try {
322
- await Ve({ id: e });
322
+ await He({ id: e });
323
323
  } catch (e) {
324
- N.add({
324
+ M.add({
325
325
  severity: "error",
326
326
  detail: e,
327
327
  life: 3e3
@@ -331,17 +331,17 @@ var ze = l({
331
331
  }
332
332
  }
333
333
  function kn() {
334
- S.openComponentDialog(Ge, {
334
+ S.openComponentDialog(Ke, {
335
335
  data: {
336
- title: I("views.settings.api_tokens.create"),
337
- confirmText: I("views.settings.api_tokens.create_confirm"),
338
- contentProps: { existingNames: (U.value ?? []).map((e) => e.name) }
336
+ title: F("views.settings.api_tokens.create"),
337
+ confirmText: F("views.settings.api_tokens.create_confirm"),
338
+ contentProps: { existingNames: (H.value ?? []).map((e) => e.name) }
339
339
  },
340
340
  onConfirm: async (e) => {
341
341
  if (e) try {
342
- An((await Ke({ name: e })).token);
342
+ An((await qe({ name: e })).token);
343
343
  } catch (e) {
344
- N.add({
344
+ M.add({
345
345
  severity: "error",
346
346
  detail: e,
347
347
  life: 3e3
@@ -351,9 +351,9 @@ var ze = l({
351
351
  });
352
352
  }
353
353
  function An(e) {
354
- S.openComponentDialog(He, { data: {
355
- title: I("views.settings.api_tokens.created_title"),
356
- confirmText: I("components.form.button.close"),
354
+ S.openComponentDialog(Ue, { data: {
355
+ title: F("views.settings.api_tokens.created_title"),
356
+ confirmText: F("components.form.button.close"),
357
357
  hideCancelButton: !0,
358
358
  contentProps: { token: e }
359
359
  } });
@@ -361,17 +361,17 @@ var ze = l({
361
361
  function jn(e) {
362
362
  S.openTextDialog({
363
363
  data: {
364
- title: I("views.settings.api_tokens.revoke_title"),
365
- contentText: I("views.settings.api_tokens.revoke_confirm", { name: e.name }),
366
- confirmText: I("views.settings.api_tokens.revoke"),
364
+ title: F("views.settings.api_tokens.revoke_title"),
365
+ contentText: F("views.settings.api_tokens.revoke_confirm", { name: e.name }),
366
+ confirmText: F("views.settings.api_tokens.revoke"),
367
367
  confirmButtonProps: { severity: "danger" }
368
368
  },
369
369
  onConfirm: async () => {
370
370
  Q.value = e.id;
371
371
  try {
372
- await Ye({ id: e.id });
372
+ await Xe({ id: e.id });
373
373
  } catch (e) {
374
- N.add({
374
+ M.add({
375
375
  severity: "error",
376
376
  detail: e,
377
377
  life: 3e3
@@ -385,17 +385,17 @@ var ze = l({
385
385
  function Mn() {
386
386
  S.openTextDialog({
387
387
  data: {
388
- title: I("views.settings.active_sessions.revoke_others_title"),
389
- contentText: I("views.settings.active_sessions.revoke_others_confirm", { count: $.value }),
390
- confirmText: I("views.settings.active_sessions.revoke"),
388
+ title: F("views.settings.active_sessions.revoke_others_title"),
389
+ contentText: F("views.settings.active_sessions.revoke_others_confirm", { count: $.value }),
390
+ confirmText: F("views.settings.active_sessions.revoke"),
391
391
  confirmButtonProps: { severity: "danger" }
392
392
  },
393
393
  onConfirm: async () => {
394
394
  bn.value = !0;
395
395
  try {
396
- await Ue();
396
+ await We();
397
397
  } catch (e) {
398
- N.add({
398
+ M.add({
399
399
  severity: "error",
400
400
  detail: e,
401
401
  life: 3e3
@@ -408,9 +408,9 @@ var ze = l({
408
408
  }
409
409
  async function Nn() {
410
410
  try {
411
- X.value = await Fe();
411
+ X.value = await Ie();
412
412
  } catch (e) {
413
- N.add({
413
+ M.add({
414
414
  severity: "error",
415
415
  detail: e,
416
416
  life: 3e3
@@ -422,14 +422,14 @@ var ze = l({
422
422
  }
423
423
  async function Fn() {
424
424
  try {
425
- let e = await Le({ code: Z.value });
426
- X.value = null, Z.value = "", N.add({
425
+ let e = await Re({ code: Z.value });
426
+ X.value = null, Z.value = "", M.add({
427
427
  severity: "success",
428
- detail: I("views.settings.security.2fa_enabled_success"),
428
+ detail: F("views.settings.security.2fa_enabled_success"),
429
429
  life: 3e3
430
430
  }), Rn(e.backupCodes);
431
431
  } catch (e) {
432
- N.add({
432
+ M.add({
433
433
  severity: "error",
434
434
  detail: e,
435
435
  life: 3e3
@@ -437,67 +437,67 @@ var ze = l({
437
437
  }
438
438
  }
439
439
  function In() {
440
- S.openComponentDialog(Qe, { data: {
441
- title: I("views.settings.security.disable_2fa"),
442
- confirmText: I("views.settings.security.disable_2fa"),
440
+ S.openComponentDialog($e, { data: {
441
+ title: F("views.settings.security.disable_2fa"),
442
+ confirmText: F("views.settings.security.disable_2fa"),
443
443
  confirmButtonProps: { severity: "danger" },
444
444
  contentProps: {}
445
445
  } });
446
446
  }
447
447
  function Ln() {
448
448
  S.openComponentDialog(et, { data: {
449
- title: I("views.settings.security.regenerate_backup"),
450
- confirmText: I("views.settings.security.regenerate_backup"),
449
+ title: F("views.settings.security.regenerate_backup"),
450
+ confirmText: F("views.settings.security.regenerate_backup"),
451
451
  contentProps: { onBackupCodesGenerated: (e) => {
452
452
  Rn(e);
453
453
  } }
454
454
  } });
455
455
  }
456
456
  function Rn(e) {
457
- S.openComponentDialog(Je, { data: {
458
- title: I("views.settings.security.backup_codes"),
459
- confirmText: I("components.form.button.close"),
457
+ S.openComponentDialog(Ye, { data: {
458
+ title: F("views.settings.security.backup_codes"),
459
+ confirmText: F("components.form.button.close"),
460
460
  hideCancelButton: !0,
461
461
  contentProps: { backupCodes: e }
462
462
  } });
463
463
  }
464
464
  async function zn(e) {
465
465
  let t = e.target?.files;
466
- G.value = t?.[0], K.value = await _e(e) ?? K.value;
466
+ G.value = t?.[0], K.value = await ye(e) ?? K.value;
467
467
  }
468
468
  async function Bn() {
469
469
  J.value = !0;
470
470
  try {
471
471
  let e;
472
472
  G.value && (e = new FormData(), e.append("upload", G.value));
473
- let t = z.value?.username !== q.value;
474
- if (t) await R.updateUser({ username: q.value }, e);
475
- else if (e) await R.updateUser(void 0, e);
473
+ let t = R.value?.username !== q.value;
474
+ if (t) await L.updateUser({ username: q.value }, e);
475
+ else if (e) await L.updateUser(void 0, e);
476
476
  else {
477
477
  J.value = !1;
478
478
  return;
479
479
  }
480
- N.add({
480
+ M.add({
481
481
  severity: "success",
482
- detail: I("components.toast.profile_updated"),
482
+ detail: F("components.toast.profile_updated"),
483
483
  life: 3e3
484
- }), G.value = void 0, t && R.logout();
484
+ }), G.value = void 0, t && L.logout();
485
485
  } catch {}
486
486
  J.value = !1;
487
487
  }
488
488
  async function Vn(e) {
489
489
  Y.value = !0;
490
490
  try {
491
- await R.updateUser({
491
+ await L.updateUser({
492
492
  password: e.password,
493
493
  passwordConfirm: e.passwordConfirm
494
- }), N.add({
494
+ }), M.add({
495
495
  severity: "success",
496
- detail: I("components.toast.password_updated"),
496
+ detail: F("components.toast.password_updated"),
497
497
  life: 3e3
498
- }), $e.value?.resetForm(), R.logout();
498
+ }), W.value?.resetForm(), L.logout();
499
499
  } catch (e) {
500
- N.add({
500
+ M.add({
501
501
  severity: "error",
502
502
  detail: e,
503
503
  life: 3e3
@@ -509,18 +509,18 @@ var ze = l({
509
509
  async function Un(e) {
510
510
  if (e !== xn.value) {
511
511
  if (e) {
512
- N.add({
512
+ M.add({
513
513
  severity: "info",
514
- detail: I("views.settings.biometric.enable_hint"),
514
+ detail: F("views.settings.biometric.enable_hint"),
515
515
  life: 3e3
516
516
  });
517
517
  return;
518
518
  }
519
519
  Sn.value = !0;
520
520
  try {
521
- await le(he()), xn.value = !1, N.add({
521
+ await le(he()), xn.value = !1, M.add({
522
522
  severity: "success",
523
- detail: I("views.settings.biometric.cleared"),
523
+ detail: F("views.settings.biometric.cleared"),
524
524
  life: 3e3
525
525
  });
526
526
  } finally {
@@ -530,13 +530,13 @@ var ze = l({
530
530
  }
531
531
  return te(() => {
532
532
  Hn();
533
- }), n({ formRef: W }), (e, n) => {
534
- let r = ie, i = Ee, l = ae, m = Se, v = be, x = Te, S = pe, C = ke, te = de, E = oe, le = A, k = se, he = je, ge = we, _e = T, ve = ue, j = De, ye = fe, M = Oe, N = re, Ce = Ae, P = ne;
535
- return a(), g("div", null, [y("div", tt, [p(L) ? (a(), u(p(ce), {
533
+ }), n({ formRef: U }), (e, n) => {
534
+ let r = ie, i = De, l = xe, m = Ce, v = ge, x = Ee, S = de, C = Ae, te = ae, E = ue, le = _e, pe = se, k = Me, he = Te, ve = T, ye = be, A = Oe, Se = fe, j = ke, M = re, we = je, N = ne;
535
+ return a(), g("div", null, [y("div", tt, [p(I) ? (a(), u(p(ce), {
536
536
  key: 0,
537
537
  ref_key: "formRef",
538
- ref: W,
539
- "validation-schema": p(Ze),
538
+ ref: U,
539
+ "validation-schema": p(Qe),
540
540
  class: "flex flex-col w-full gap-6"
541
541
  }, {
542
542
  default: h(() => [y("div", nt, [
@@ -555,7 +555,7 @@ var ze = l({
555
555
  y("span", at, o(e.$t("views.settings.profile")), 1),
556
556
  w(m, { class: "cui-card" }, {
557
557
  content: h(() => [y("div", ot, [w(p(O), {
558
- "model-value": p(z)?.username,
558
+ "model-value": p(R)?.username,
559
559
  name: "username",
560
560
  as: "div",
561
561
  class: "flex flex-col field-gap"
@@ -668,8 +668,8 @@ var ze = l({
668
668
  y("div", null, [y("span", bt, o(e.$t("views.settings.password")), 1), w(m, { class: "cui-card" }, {
669
669
  content: h(() => [w(p(ce), {
670
670
  ref_key: "passwordFormRef",
671
- ref: $e,
672
- "validation-schema": p(Xe),
671
+ ref: W,
672
+ "validation-schema": p(Ze),
673
673
  class: "flex flex-col gap-6",
674
674
  onSubmit: n[3] ||= (e) => Vn(e)
675
675
  }, {
@@ -736,7 +736,7 @@ var ze = l({
736
736
  _: 1
737
737
  })]),
738
738
  y("div", null, [y("span", wt, o(e.$t("views.settings.security.title")), 1), w(m, { class: "cui-card" }, {
739
- content: h(() => [p(Ne) ? (a(), g("div", Tt, [w(S, {
739
+ content: h(() => [p(Pe) ? (a(), g("div", Tt, [w(S, {
740
740
  class: "w-[30px] h-[30px] m-0",
741
741
  "stroke-width": "5"
742
742
  })])) : (a(), u(t, {
@@ -744,14 +744,14 @@ var ze = l({
744
744
  name: "fade",
745
745
  mode: "out-in"
746
746
  }, {
747
- default: h(() => [!p(B)?.enabled && !p(X) && !p(V) ? (a(), g("div", Et, [y("div", Dt, [y("span", Ot, o(e.$t("views.settings.security.2fa_title")), 1), y("span", kt, o(e.$t("views.settings.security.2fa_description")), 1)]), w(x, {
747
+ default: h(() => [!p(z)?.enabled && !p(X) && !p(B) ? (a(), g("div", Et, [y("div", Dt, [y("span", Ot, o(e.$t("views.settings.security.2fa_title")), 1), y("span", kt, o(e.$t("views.settings.security.2fa_description")), 1)]), w(x, {
748
748
  class: "cui-button-medium ml-auto",
749
749
  label: e.$t("views.settings.security.setup_2fa"),
750
750
  onClick: Nn
751
- }, null, 8, ["label"])])) : !p(B)?.enabled && p(V) ? (a(), g("div", At, [w(S, {
751
+ }, null, 8, ["label"])])) : !p(z)?.enabled && p(B) ? (a(), g("div", At, [w(S, {
752
752
  class: "w-[30px] h-[30px] m-0",
753
753
  "stroke-width": "5"
754
- }), y("span", jt, o(e.$t("views.settings.security.generating_qr")), 1)])) : !p(B)?.enabled && p(X) ? (a(), g("div", Mt, [y("div", Nt, [w(C, {
754
+ }), y("span", jt, o(e.$t("views.settings.security.generating_qr")), 1)])) : !p(z)?.enabled && p(X) ? (a(), g("div", Mt, [y("div", Nt, [w(C, {
755
755
  value: p(Tn),
756
756
  size: 160,
757
757
  "logo-size": 36
@@ -764,7 +764,7 @@ var ze = l({
764
764
  }, null, 8, ["model-value"]), w(E, null, {
765
765
  default: h(() => [w(te, {
766
766
  "action-text": e.$t("components.form.tooltip.copied"),
767
- icon: p(xe),
767
+ icon: p(oe),
768
768
  "button-props": {
769
769
  severity: "secondary",
770
770
  text: !0
@@ -789,7 +789,7 @@ var ze = l({
789
789
  }, null, 8, ["label"]), w(x, {
790
790
  class: "cui-button-medium",
791
791
  label: e.$t("views.settings.security.enable_2fa"),
792
- loading: p(Re),
792
+ loading: p(ze),
793
793
  disabled: p(Z).length < 6,
794
794
  onClick: Fn
795
795
  }, null, 8, [
@@ -798,8 +798,8 @@ var ze = l({
798
798
  "disabled"
799
799
  ])])
800
800
  ])])) : (a(), g("div", Vt, [
801
- y("div", Ht, [y("div", Ut, [w(k, { class: "w-5 h-5" })]), y("div", Wt, [y("span", Gt, o(e.$t("views.settings.security.2fa_enabled")), 1)])]),
802
- p(B)?.backupCodesCount === void 0 ? d("", !0) : (a(), g("div", Kt, [w(he, { class: "w-4 h-4" }), y("span", null, o(e.$t("views.settings.security.backup_codes_remaining", { count: p(B).backupCodesCount })), 1)])),
801
+ y("div", Ht, [y("div", Ut, [w(pe, { class: "w-5 h-5" })]), y("div", Wt, [y("span", Gt, o(e.$t("views.settings.security.2fa_enabled")), 1)])]),
802
+ p(z)?.backupCodesCount === void 0 ? d("", !0) : (a(), g("div", Kt, [w(k, { class: "w-4 h-4" }), y("span", null, o(e.$t("views.settings.security.backup_codes_remaining", { count: p(z).backupCodesCount })), 1)])),
803
803
  y("div", qt, [w(x, {
804
804
  severity: "secondary",
805
805
  class: "cui-button-medium",
@@ -818,8 +818,8 @@ var ze = l({
818
818
  })]),
819
819
  p(Cn) ? (a(), g("div", Jt, [y("span", Yt, o(e.$t("views.settings.biometric.title")), 1), w(m, { class: "cui-card" }, {
820
820
  content: h(() => [y("div", Xt, [
821
- w(ge, { class: "shrink-0 w-6 h-6 text-color" }),
822
- y("div", Zt, [y("span", Qt, o(e.$t("views.settings.biometric.label")), 1), w(_e, {
821
+ w(he, { class: "shrink-0 w-6 h-6 text-color" }),
822
+ y("div", Zt, [y("span", Qt, o(e.$t("views.settings.biometric.label")), 1), w(ve, {
823
823
  severity: "secondary",
824
824
  variant: "simple",
825
825
  size: "small",
@@ -828,7 +828,7 @@ var ze = l({
828
828
  default: h(() => [ee(o(e.$t("views.settings.biometric.description")), 1)]),
829
829
  _: 1
830
830
  })]),
831
- w(ve, {
831
+ w(ye, {
832
832
  "model-value": p(xn),
833
833
  loading: p(Sn),
834
834
  class: "ml-auto shrink-0",
@@ -840,10 +840,10 @@ var ze = l({
840
840
  y("div", null, [y("span", $t, o(e.$t("views.settings.api_tokens.title")), 1), w(m, { class: "cui-card" }, {
841
841
  content: h(() => [y("div", en, [
842
842
  y("span", tn, o(e.$t("views.settings.api_tokens.info")), 1),
843
- w(M, {
844
- value: p(U) ?? [],
843
+ w(j, {
844
+ value: p(H) ?? [],
845
845
  "data-key": "id",
846
- loading: p(We),
846
+ loading: p(Ge),
847
847
  pt: wn,
848
848
  "striped-rows": "",
849
849
  scrollable: ""
@@ -854,16 +854,16 @@ var ze = l({
854
854
  })]),
855
855
  empty: h(() => [y("span", nn, o(e.$t("views.settings.api_tokens.empty")), 1)]),
856
856
  default: h(() => [
857
- w(j, {
857
+ w(A, {
858
858
  field: "name",
859
859
  header: e.$t("views.settings.api_tokens.name_label"),
860
860
  "header-class": "p-2 h-7 min-h-7 max-h-7",
861
861
  class: "p-2 h-7 min-h-7 max-h-7"
862
862
  }, {
863
- body: h(({ data: e }) => [y("div", rn, [w(p(Pe), { class: "cui-session-icon" }), y("div", an, [y("span", on, o(e.name), 1), y("span", sn, o(e.token_hint), 1)])])]),
863
+ body: h(({ data: e }) => [y("div", rn, [w(p(Fe), { class: "cui-session-icon" }), y("div", an, [y("span", on, o(e.name), 1), y("span", sn, o(e.token_hint), 1)])])]),
864
864
  _: 1
865
865
  }, 8, ["header"]),
866
- w(j, {
866
+ w(A, {
867
867
  field: "last_seen_at",
868
868
  header: e.$t("views.settings.api_tokens.last_used"),
869
869
  "header-class": "p-2 h-7 min-h-7 max-h-7",
@@ -872,7 +872,7 @@ var ze = l({
872
872
  body: h(({ data: t }) => [y("span", cn, o(t.last_seen_at > t.created_at ? p(me)(t.last_seen_at) : e.$t("views.settings.api_tokens.never")), 1)]),
873
873
  _: 1
874
874
  }, 8, ["header"]),
875
- w(j, {
875
+ w(A, {
876
876
  field: "action",
877
877
  "header-class": "p-2 h-7 min-h-7 max-h-7",
878
878
  class: "p-2 h-7 min-h-7 max-h-7 text-right"
@@ -885,19 +885,19 @@ var ze = l({
885
885
  loading: p(Q) === t.id,
886
886
  onClick: (e) => jn(t)
887
887
  }, {
888
- icon: h(() => [w(ye, {
888
+ icon: h(() => [w(Se, {
889
889
  width: "100%",
890
890
  height: "100%"
891
891
  })]),
892
892
  _: 1
893
- }, 8, ["loading", "onClick"])), [[P, { value: e.$t("views.settings.api_tokens.revoke") }]])]),
893
+ }, 8, ["loading", "onClick"])), [[N, { value: e.$t("views.settings.api_tokens.revoke") }]])]),
894
894
  _: 1
895
895
  })
896
896
  ]),
897
897
  _: 1
898
898
  }, 8, ["value", "loading"]),
899
899
  y("div", ln, [w(x, {
900
- loading: p(qe),
900
+ loading: p(Je),
901
901
  class: "cui-button-medium mr-4 md:mr-0",
902
902
  label: e.$t("views.settings.api_tokens.create"),
903
903
  onClick: kn
@@ -906,10 +906,10 @@ var ze = l({
906
906
  _: 1
907
907
  })]),
908
908
  y("div", null, [y("span", un, o(e.$t("views.settings.active_sessions.title")), 1), w(m, { class: "cui-card" }, {
909
- content: h(() => [y("div", dn, [w(M, {
910
- value: p(H) ?? [],
909
+ content: h(() => [y("div", dn, [w(j, {
910
+ value: p(V) ?? [],
911
911
  "data-key": "id",
912
- loading: p(Be),
912
+ loading: p(Ve),
913
913
  pt: wn,
914
914
  "striped-rows": "",
915
915
  scrollable: ""
@@ -919,20 +919,20 @@ var ze = l({
919
919
  "stroke-width": "5"
920
920
  })]),
921
921
  empty: h(() => [y("span", fn, o(e.$t("views.settings.active_sessions.empty")), 1)]),
922
- default: h(() => [w(j, {
922
+ default: h(() => [w(A, {
923
923
  field: "device",
924
924
  header: e.$t("views.settings.title_device"),
925
925
  "header-class": "p-2 h-7 min-h-7 max-h-7",
926
926
  class: "p-2 h-7 min-h-7 max-h-7"
927
927
  }, {
928
- body: h(({ data: t }) => [y("div", pn, [(a(), u(c(Dn(t.device.kind)), { class: "cui-session-icon" })), y("div", mn, [y("div", hn, [y("span", gn, o(t.device.name), 1), t.is_current ? (a(), u(N, {
928
+ body: h(({ data: t }) => [y("div", pn, [(a(), u(c(Dn(t.device.kind)), { class: "cui-session-icon" })), y("div", mn, [y("div", hn, [y("span", gn, o(t.device.name), 1), t.is_current ? (a(), u(M, {
929
929
  key: 0,
930
930
  severity: "success",
931
931
  value: e.$t("views.settings.active_sessions.this_device"),
932
932
  class: "cui-session-tag"
933
933
  }, null, 8, ["value"])) : d("", !0)]), y("span", _n, o(t.device.ip || "—"), 1)])])]),
934
934
  _: 1
935
- }, 8, ["header"]), w(j, {
935
+ }, 8, ["header"]), w(A, {
936
936
  field: "action",
937
937
  "header-class": "p-2 h-7 min-h-7 max-h-7",
938
938
  class: "p-2 h-7 min-h-7 max-h-7 text-right"
@@ -946,12 +946,12 @@ var ze = l({
946
946
  loading: p(yn) === t.id,
947
947
  onClick: (e) => On(t.id)
948
948
  }, {
949
- icon: h(() => [w(Ce, {
949
+ icon: h(() => [w(we, {
950
950
  width: "100%",
951
951
  height: "100%"
952
952
  })]),
953
953
  _: 1
954
- }, 8, ["loading", "onClick"])), [[P, { value: e.$t("views.settings.active_sessions.revoke") }]])]),
954
+ }, 8, ["loading", "onClick"])), [[N, { value: e.$t("views.settings.active_sessions.revoke") }]])]),
955
955
  _: 1
956
956
  })]),
957
957
  _: 1
@@ -966,6 +966,6 @@ var ze = l({
966
966
  ], 64))])]);
967
967
  };
968
968
  }
969
- }), Y = /* @__PURE__ */ e({ default: () => X }), X = /*#__PURE__*/ N(J, [["__scopeId", "data-v-de51a7b1"]]);
969
+ }), Y = /* @__PURE__ */ e({ default: () => X }), X = /*#__PURE__*/ M(J, [["__scopeId", "data-v-f85a1758"]]);
970
970
  //#endregion
971
971
  export { Y as n, X as t };