@camera.ui/server 2.2.0 → 2.2.2

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 (413) hide show
  1. package/dist/interface/assets/{404-0R6IdIDK.js → 404-bSMSPWcp.js} +1 -1
  2. package/dist/interface/assets/{About-DMpFqnl5.js → About-DqMxC4AO.js} +1 -1
  3. package/dist/interface/assets/Assistant-CIHF-bHs.js +1 -0
  4. package/dist/interface/assets/Automation-CUDypjZw.js +3 -0
  5. package/dist/interface/assets/AutomationImport-Cr14tF-Q.js +2 -0
  6. package/dist/interface/assets/AutomationStore-BnZgfI9i.js +2 -0
  7. package/dist/interface/assets/AutomationStoreDetail-btcIglkw.js +2 -0
  8. package/dist/interface/assets/Automations-CKpwXTyc.js +2 -0
  9. package/dist/interface/assets/Camera-BEP_HAQm.js +2 -0
  10. package/dist/interface/assets/{CameraConsole-CUDLuW5x.js → CameraConsole-BK8TqHgA.js} +1 -1
  11. package/dist/interface/assets/{Cameras-CTF5buln.js → Cameras-DJreIgtW.js} +2 -2
  12. package/dist/interface/assets/Camview-D4VNMv_l.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-_VQx5fjA.js → CertificateUpload-PfgVZa4M.js} +1 -1
  14. package/dist/interface/assets/{Config-B0SEAh17.js → Config-DapgreIX.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionAssistant-Ug-C-Cx8.js → ConfigActionAssistant-v0w4E-mE.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionCameraControl-D0BTPk1r.js → ConfigActionCameraControl-fdrsnRyE.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionDelay-C6u-CHFE.js → ConfigActionDelay-C_dq3ozL.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionHttp-CxbJVkf2.js → ConfigActionHttp-1hDI-38w.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionImageInput-BpDXjbnf.js → ConfigActionImageInput-DCF8qeg9.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionMqtt-m_fOoTcf.js → ConfigActionMqtt-XpVD7lFg.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionNotification-Dwpm67Cr.js → ConfigActionNotification-CB1ymMRz.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotificationControl-CxlpMc7I.js → ConfigActionNotificationControl-BfDtLS5h.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionOutput-WVe74xXz.js → ConfigActionOutput-CMfXI1b3.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionPlugin-C1R8SkM3.js → ConfigActionPlugin-CZo6SudQ.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSensor-CN-KmQKx.js → ConfigActionSensor-CetFuASa.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSnapshot-uIsJGPwz.js → ConfigActionSnapshot-BpPhHpIk.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionVariable-Due14Kwt.js → ConfigActionVariable-SJomTISn.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionIfElse-mIXw954j.js → ConfigConditionIfElse-ClTxvZJz.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSensorState-BvS-fd36.js → ConfigConditionSensorState-FbLmmHyP.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSwitch-CYRUg-Uo.js → ConfigConditionSwitch--qAHkOdE.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionTime-WkevpYaO.js → ConfigConditionTime-BqjDUPVR.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-BDz5olLY.js → ConfigSensorValueInput-B1dLcmSO.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-BKIh59B7.js → ConfigTriggerDetection-CMZyEWui.js} +1 -1
  34. package/dist/interface/assets/{ConfigTriggerGeofence-kWjR7mlR.js → ConfigTriggerGeofence-B9JPVvhP.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerManual-D7w6C58j.js → ConfigTriggerManual-CSdF69jM.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerMqtt-DjDopQHT.js → ConfigTriggerMqtt-BzN7_xVm.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSchedule-1UcaRD5S.js → ConfigTriggerSchedule-BK_Ogvxn.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSensor-DbP-61eW.js → ConfigTriggerSensor-BaQklhHP.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSystem-CsSWt2u_.js → ConfigTriggerSystem-DIX95l0X.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerWebhook-TU4l4Tgx.js → ConfigTriggerWebhook-_EOJAgNk.js} +1 -1
  41. package/dist/interface/assets/Console-Y1IutnkC.js +1 -0
  42. package/dist/interface/assets/CuiAssistantConversation-C4RYcMAM.js +5 -0
  43. package/dist/interface/assets/{CuiAssistantConversation-CImeuG1m.css → CuiAssistantConversation-CWCLLi3b.css} +1 -1
  44. package/dist/interface/assets/{CuiAutomationRunsDialog-Bez4F56I.js → CuiAutomationRunsDialog-DpskKeEe.js} +1 -1
  45. package/dist/interface/assets/{CuiBottomSheet-Daxo4Mlc.js → CuiBottomSheet-Bg_AIuGY.js} +1 -1
  46. package/dist/interface/assets/CuiBottomSheet-S8bM23jj.js +1 -0
  47. package/dist/interface/assets/{CuiCameraPipCard-Z2PrIFdi.js → CuiCameraPipCard-HTjvF3yG.js} +1 -1
  48. package/dist/interface/assets/CuiCameraRecordings-Cx6FYz3Y.js +1 -0
  49. package/dist/interface/assets/CuiCameraShares-J728G9wF.js +1 -0
  50. package/dist/interface/assets/CuiCameraTable-CKur0qLE.js +1 -0
  51. package/dist/interface/assets/{CuiCameraTable-DDjhotD1.js → CuiCameraTable-CyAYYPvd.js} +2 -2
  52. package/dist/interface/assets/{CuiChartTable-CBVtsiJG.js → CuiChartTable-BklHSjRr.js} +1 -1
  53. package/dist/interface/assets/{CuiConsole-Cb22vO0N.js → CuiConsole-4rDfDj0a.js} +1 -1
  54. package/dist/interface/assets/{CuiDataTable-DCCXx-KT.js → CuiDataTable-BLyeEEAp.js} +1 -1
  55. package/dist/interface/assets/CuiLightControl-C1YSJSWd.js +1 -0
  56. package/dist/interface/assets/{CuiList-Dfklll0h.js → CuiList-BafzuN0H.js} +1 -1
  57. package/dist/interface/assets/CuiPluginCard-enc00hbc.js +2 -0
  58. package/dist/interface/assets/CuiPluginCategoryChip-B4w2DH_j.js +1 -0
  59. package/dist/interface/assets/CuiPluginOAuthButton-C_jxPrPQ.js +2 -0
  60. package/dist/interface/assets/{CuiPluginTrustBadge-DU-SN0LX.js → CuiPluginTrustBadge-pLnF2Ggn.js} +1 -1
  61. package/dist/interface/assets/{CuiQRCode-CE5p3ucc.js → CuiQRCode-8Q6cFdfs.js} +1 -1
  62. package/dist/interface/assets/CuiSchema-CRHUMY0B.js +1 -0
  63. package/dist/interface/assets/{CuiTopNavbarItem-DloEl6H2.js → CuiTopNavbarItem-BZXzuV42.js} +1 -1
  64. package/dist/interface/assets/Faces-fMMd6-PY.js +1 -0
  65. package/dist/interface/assets/FirstSteps-BNcAFp2c.js +1 -0
  66. package/dist/interface/assets/Floorplan-BQbOWCCf.js +1 -0
  67. package/dist/interface/assets/{Instances-BCs2bvFK.js → Instances-DUWWy-El.js} +1 -1
  68. package/dist/interface/assets/{Logs-Bc8Vw1LC.js → Logs-7CxXc2Re.js} +2 -2
  69. package/dist/interface/assets/{Menu-CxyTrCpO.js → Menu-B3VA0LMx.js} +1 -1
  70. package/dist/interface/assets/Metrics-C0q2BdKH.js +9 -0
  71. package/dist/interface/assets/OAuthDeviceFlow-ZiCl4400.js +1 -0
  72. package/dist/interface/assets/Plugin-C0CPlt4f.js +1 -0
  73. package/dist/interface/assets/{PluginConsole-C-OYBgoX.js → PluginConsole-BOaU7Ey0.js} +1 -1
  74. package/dist/interface/assets/PluginDetail-DDh6PfMd.js +2 -0
  75. package/dist/interface/assets/{PluginSchema-DWvIHRcH.js → PluginSchema-BWlRMPo6.js} +1 -1
  76. package/dist/interface/assets/PluginSearch-BR_ei8Pa.js +1 -0
  77. package/dist/interface/assets/PluginSearch-C2AXz2KG.js +2 -0
  78. package/dist/interface/assets/{PluginUpdateProgress-Co2Q3sTn.js → PluginUpdateProgress-DFg14vV8.js} +1 -1
  79. package/dist/interface/assets/Plugins-CN1YIfNk.js +1 -0
  80. package/dist/interface/assets/RecentEventsFilter-B6Ph-pxb.js +1 -0
  81. package/dist/interface/assets/Recordings-jhxwdrQY.js +1 -0
  82. package/dist/interface/assets/{SensorEdit-B_23v49k.js → SensorEdit-DEenjJ8S.js} +1 -1
  83. package/dist/interface/assets/{SensorHistory-CoMfC6Fx.js → SensorHistory-CU1Uwf5f.js} +1 -1
  84. package/dist/interface/assets/Sensors-LnVLPDWf.js +2 -0
  85. package/dist/interface/assets/{Settings-BH-IbtGi.js → Settings-uk3RVXCS.js} +1 -1
  86. package/dist/interface/assets/SettingsAccount-CJ_fPrT-.js +1 -0
  87. package/dist/interface/assets/SettingsAccount-CYn81m0Z.js +1 -0
  88. package/dist/interface/assets/{SettingsAppearance-JbKDfSiu.js → SettingsAppearance-CRYcal9v.js} +1 -1
  89. package/dist/interface/assets/SettingsAppearance-DFe8JsT5.js +1 -0
  90. package/dist/interface/assets/SettingsAssistant-CDyI6fee.css +1 -0
  91. package/dist/interface/assets/SettingsAssistant-Dm4oINqB.js +1 -0
  92. package/dist/interface/assets/{SettingsBackup-DNDyM2p5.js → SettingsBackup-CSvGqsru.js} +1 -1
  93. package/dist/interface/assets/{SettingsList-C9cI0Flx.js → SettingsList-BQR6jnP-.js} +1 -1
  94. package/dist/interface/assets/SettingsMqtt-ByQYIRkm.js +1 -0
  95. package/dist/interface/assets/SettingsNotifications-8sSoP-8S.js +1 -0
  96. package/dist/interface/assets/{SettingsPermissions-B6vNyFvJ.js → SettingsPermissions-D7kYdjfw.js} +1 -1
  97. package/dist/interface/assets/SettingsRecordings-DjLYqbKo.js +1 -0
  98. package/dist/interface/assets/SettingsRemote-7iDccnV9.js +2 -0
  99. package/dist/interface/assets/SettingsSystem-BxQNJc8n.js +2 -0
  100. package/dist/interface/assets/SettingsUsers-yYobKcPv.js +1 -0
  101. package/dist/interface/assets/{Terminal-DlJD6leH.js → Terminal-Bsnvs8gs.js} +2 -2
  102. package/dist/interface/assets/Training-BUhrkDzA.css +1 -0
  103. package/dist/interface/assets/Training-SOWa6Ay1.js +1 -0
  104. package/dist/interface/assets/{Updates-BV7OHWjC.js → Updates-Dsn_fJ-N.js} +1 -1
  105. package/dist/interface/assets/{VariableInput-Ds5NaShw.js → VariableInput-DCWiIgaZ.js} +1 -1
  106. package/dist/interface/assets/{VariableSuggestions-B0Y5QsCw.js → VariableSuggestions-BhIlXJ6r.js} +1 -1
  107. package/dist/interface/assets/{VersionsHandler-DYZDc3SX.js → VersionsHandler-DM_Jf4EA.js} +1 -1
  108. package/dist/interface/assets/VirtualSensorCreate-Q4kd0dfE.js +1 -0
  109. package/dist/interface/assets/Workers-D7mXpfvC.js +2 -0
  110. package/dist/interface/assets/api-BKiE8A_V.css +2 -0
  111. package/dist/interface/assets/api-Cl7JjXOQ.js +4 -0
  112. package/dist/interface/assets/{api-BA88nyEF.js → api-LjAY3aa3.js} +1 -1
  113. package/dist/interface/assets/{assistant-Ba5Ac9Nh.js → assistant-BFc44oq-.js} +1 -1
  114. package/dist/interface/assets/{auth-YWWYJni-.js → auth-CUPvHARA.js} +1 -1
  115. package/dist/interface/assets/automations-Dw4L5sT0.js +1 -0
  116. package/dist/interface/assets/cameraSources-CzENFiZx.js +1 -0
  117. package/dist/interface/assets/cloudHandoff-CGMLCwMb.js +1 -0
  118. package/dist/interface/assets/{config-BfTF54hH.js → config-EBcNBZkb.js} +1 -1
  119. package/dist/interface/assets/dots-vertical-C4DlXZyp.js +1 -0
  120. package/dist/interface/assets/eventIcons-BPQ-zSnz.js +1 -0
  121. package/dist/interface/assets/{flowSchema-ZMBzlKJI.js → flowSchema-CdzBw69a.js} +1 -1
  122. package/dist/interface/assets/{intercomService-DQ4LZJfW.js → intercomService-DIfdcsXc.js} +1 -1
  123. package/dist/interface/assets/main-W8WcKa2g.js +3 -0
  124. package/dist/interface/assets/{main-CbPa_jky.css → main-XHFrBKKz.css} +1 -1
  125. package/dist/interface/assets/mqtt-D_wH18eJ.js +1 -0
  126. package/dist/interface/assets/{notifications-D2QwzHwL.js → notifications-wLsrlI9N.js} +1 -1
  127. package/dist/interface/assets/plugins-DwmkpOPJ.js +1 -0
  128. package/dist/interface/assets/rooms-D_7As09p.js +1 -0
  129. package/dist/interface/assets/sensorIcons-BY853M0u.js +1 -0
  130. package/dist/interface/assets/{sensorSlots-CUWphRrL.js → sensorSlots-DnRJdaTG.js} +1 -1
  131. package/dist/interface/assets/{sensors-KDhClJkT.js → sensors-B9etOqBI.js} +1 -1
  132. package/dist/interface/assets/{server-BZUgxc3a.js → server-BTKgKMye.js} +1 -1
  133. package/dist/interface/assets/{theme-BPfSpHbW.js → theme-CbtGvohq.js} +1 -1
  134. package/dist/interface/assets/types-BEy4uGJ0.js +1 -0
  135. package/dist/interface/assets/{types-BxQYBZ2c.js → types-CEhVWRYD.js} +1 -1
  136. package/dist/interface/assets/types-COlvVtDn.js +1 -0
  137. package/dist/interface/assets/ungrouped-BJyBDv5e.js +1 -0
  138. package/dist/interface/assets/{updates-DBcWStos.js → updates-BQ6Ugcup.js} +1 -1
  139. package/dist/interface/assets/{useAppVersion-CnkrpDgi.js → useAppVersion-BO-3jbup.js} +1 -1
  140. package/dist/interface/assets/{useAssistantActions-BeXqj2-6.js → useAssistantActions-CRVHZw4o.js} +1 -1
  141. package/dist/interface/assets/{useBackupRestore-DMO3YoI3.js → useBackupRestore-D305pYHT.js} +1 -1
  142. package/dist/interface/assets/{useCameraOptions-Dka0PweD.js → useCameraOptions-C7tgceJ1.js} +1 -1
  143. package/dist/interface/assets/{useKeyboardInset--YIaX3ui.js → useKeyboardInset-yu3BVnj7.js} +1 -1
  144. package/dist/interface/assets/{useLogsSocket-CuBhuz2x.js → useLogsSocket-B4wTnSno.js} +1 -1
  145. package/dist/interface/assets/{useNavLayout-DqfVqch5.js → useNavLayout-Z61-OsIG.js} +1 -1
  146. package/dist/interface/assets/{usePermissions-CsWQ7pWp.js → usePermissions-Bjx4t0x3.js} +1 -1
  147. package/dist/interface/assets/{usePluginUpdates-Bd9aG0m4.js → usePluginUpdates-Dv3_XJTK.js} +1 -1
  148. package/dist/interface/assets/{usePushRegistration-CRfLAqg_.js → usePushRegistration-CHNMZ94f.js} +1 -1
  149. package/dist/interface/assets/{useServerRestart-dZl5kp-p.js → useServerRestart-C-AsOdJP.js} +1 -1
  150. package/dist/interface/assets/{useStreamStatus-CUhV9eYE.js → useStreamStatus-BJoJF68x.js} +1 -1
  151. package/dist/interface/assets/{useTabSwipe-CygERn8O.js → useTabSwipe-b_K3BIkW.js} +1 -1
  152. package/dist/interface/assets/{useUpdateChannel-DWFsxlIH.js → useUpdateChannel-Cc4IrrDy.js} +1 -1
  153. package/dist/interface/assets/{useUpdatesSocket-DrvP72pd.js → useUpdatesSocket-Cz9lN4Bc.js} +1 -1
  154. package/dist/interface/assets/{useUserOptions-RG_d0mku.js → useUserOptions-DrNB17kY.js} +1 -1
  155. package/dist/interface/assets/{vendor-cameraui-zaB6gIk1.js → vendor-cameraui-CqKq4Yeo.js} +1 -1
  156. package/dist/interface/assets/{vendor-core-CfoDuMvj.js → vendor-core-BTkC8NzR.js} +1 -1
  157. package/dist/interface/assets/{vendor-primevue-5HrOunkM.js → vendor-primevue-DQz5Qnqu.js} +1 -1
  158. package/dist/interface/assets/vendor-zod-BigRv4ty.js +109 -0
  159. package/dist/interface/ha/{404-BhFXBx4d.js → 404-Bg2Vlt5S.js} +1 -1
  160. package/dist/interface/ha/{About-D2u_8ssN.js → About-C6u2wgUi.js} +6 -6
  161. package/dist/interface/ha/{Assistant-DlUU6WbS.js → Assistant-BCyiVnwD.js} +1127 -1081
  162. package/dist/interface/ha/{Automation-Dddvbd8Y.js → Automation-DU_qv5xD.js} +176 -176
  163. package/dist/interface/ha/{AutomationImport-C8QyqnLL.js → AutomationImport-BpDyhabF.js} +7 -7
  164. package/dist/interface/ha/{AutomationStore-BbcWkMlV.js → AutomationStore-DPQsunpH.js} +52 -51
  165. package/dist/interface/ha/{AutomationStoreDetail-C6wqQI8t.js → AutomationStoreDetail-CASMQ-mD.js} +23 -23
  166. package/dist/interface/ha/{Automations-BL3XKISI.js → Automations-DSHVzwX4.js} +90 -90
  167. package/dist/interface/ha/{Camera-DjdtVIDf.js → Camera-ESmteicm.js} +42 -42
  168. package/dist/interface/ha/{CameraConsole-D_9KgIy6.js → CameraConsole-BE_jl4Co.js} +5 -5
  169. package/dist/interface/ha/{Cameras-BRKa0gO0.js → Cameras-otaj2xZO.js} +279 -279
  170. package/dist/interface/ha/{Camview-ugcvjRhF.js → Camview-BU1027if.js} +464 -463
  171. package/dist/interface/ha/{Config-GkoXI3ND.js → Config-BlEvHYVP.js} +11 -11
  172. package/dist/interface/ha/{ConfigActionAssistant-FdyhQC1g.js → ConfigActionAssistant-uDf5fgoJ.js} +4 -4
  173. package/dist/interface/ha/{ConfigActionCameraControl-CfM81AXm.js → ConfigActionCameraControl-BAQsXVLz.js} +5 -5
  174. package/dist/interface/ha/{ConfigActionHttp-DwPoY52J.js → ConfigActionHttp-Dy2MZHSm.js} +2 -2
  175. package/dist/interface/ha/{ConfigActionImageInput-Bgcc8iTW.js → ConfigActionImageInput-B5kyV3Un.js} +1 -1
  176. package/dist/interface/ha/{ConfigActionMqtt-Do3Lc6-c.js → ConfigActionMqtt-DHCgh1xx.js} +4 -4
  177. package/dist/interface/ha/{ConfigActionNotification-B_0IACMJ.js → ConfigActionNotification-mbA5PfcJ.js} +4 -4
  178. package/dist/interface/ha/{ConfigActionNotificationControl-dC7lQqHI.js → ConfigActionNotificationControl-TLaL7tYm.js} +2 -2
  179. package/dist/interface/ha/{ConfigActionOutput-BCQUuCL3.js → ConfigActionOutput-CJ40Fniw.js} +1 -1
  180. package/dist/interface/ha/{ConfigActionPlugin-ClGszpNQ.js → ConfigActionPlugin-BwTd-mdQ.js} +5 -5
  181. package/dist/interface/ha/{ConfigActionSensor-DuQR6Yu4.js → ConfigActionSensor-BI438ihg.js} +6 -6
  182. package/dist/interface/ha/{ConfigActionSnapshot-E7Hp07Q0.js → ConfigActionSnapshot-DJ4zI2a0.js} +2 -2
  183. package/dist/interface/ha/{ConfigActionVariable-CHkWJ76e.js → ConfigActionVariable-Bhy5jf_w.js} +1 -1
  184. package/dist/interface/ha/{ConfigConditionIfElse-BBgNDLpw.js → ConfigConditionIfElse-I7Qq8nfN.js} +3 -3
  185. package/dist/interface/ha/{ConfigConditionSensorState-BiFmpbMg.js → ConfigConditionSensorState-CTLP3ppx.js} +4 -4
  186. package/dist/interface/ha/{ConfigConditionSwitch-BZp4hCmz.js → ConfigConditionSwitch-UUupXf1b.js} +10 -10
  187. package/dist/interface/ha/{ConfigConditionTime-CcZFjBil.js → ConfigConditionTime-CRn4k6uE.js} +2 -2
  188. package/dist/interface/ha/{ConfigSensorValueInput-CI_4-6-o.js → ConfigSensorValueInput-CoHheDT0.js} +5 -4
  189. package/dist/interface/ha/{ConfigTriggerDetection-D5Yfd6nh.js → ConfigTriggerDetection-Cg_jKNed.js} +4 -4
  190. package/dist/interface/ha/{ConfigTriggerGeofence-BuadOROr.js → ConfigTriggerGeofence-WlJbu3sC.js} +6 -6
  191. package/dist/interface/ha/{ConfigTriggerMqtt-DKr9Lje8.js → ConfigTriggerMqtt-BeRJoceK.js} +1 -1
  192. package/dist/interface/ha/{ConfigTriggerSensor-DGYJoRq9.js → ConfigTriggerSensor-k58gVKdG.js} +2 -2
  193. package/dist/interface/ha/{ConfigTriggerSystem-HXnm4_7F.js → ConfigTriggerSystem-Ckm5yoUm.js} +2 -2
  194. package/dist/interface/ha/{ConfigTriggerWebhook-DBxcAAJI.js → ConfigTriggerWebhook-D425z-p1.js} +6 -6
  195. package/dist/interface/ha/{Console-BMvw2vXY.js → Console-C1Ub4Rji.js} +100 -100
  196. package/dist/interface/ha/{CuiAutomationRunsDialog-QNvLMPna.js → CuiAutomationRunsDialog-opy5qXwE.js} +2 -2
  197. package/dist/interface/ha/{CuiBottomSheet-CnDN0_Tp.js → CuiBottomSheet-DbCwVXl1.js} +1 -1
  198. package/dist/interface/ha/{CuiCameraRecordings-B4yap0Gu.js → CuiCameraRecordings-CifJLj7G.js} +20 -19
  199. package/dist/interface/ha/{CuiCameraShares-nPodkk2P.js → CuiCameraShares-Xty8LRcn.js} +7 -7
  200. package/dist/interface/ha/{CuiCameraTable-IsutvZcy.js → CuiCameraTable-CqfxX0Yn.js} +9 -9
  201. package/dist/interface/ha/{CuiChartTable-Dd0_sAge.js → CuiChartTable-ABHnLdR0.js} +36 -36
  202. package/dist/interface/ha/{CuiConsole-BZVHMf0M.js → CuiConsole-3JwbeUYD.js} +5 -5
  203. package/dist/interface/ha/{CuiDataTable--yJTTWKH.js → CuiDataTable-BwE7D2h5.js} +7 -6
  204. package/dist/interface/ha/{CuiPluginCard-D3hHRaFf.js → CuiPluginCard-bzxiy1yb.js} +53 -53
  205. package/dist/interface/ha/{CuiPluginOAuthButton-Dv9K7ZbU.js → CuiPluginOAuthButton-DSxrzDmg.js} +6 -6
  206. package/dist/interface/ha/{CuiPluginTrustBadge-8HRs2vnR.js → CuiPluginTrustBadge-g0XkvDt8.js} +3 -3
  207. package/dist/interface/ha/{CuiQRCode-CfLMS7k7.js → CuiQRCode-uyRFbzd6.js} +6 -6
  208. package/dist/interface/ha/{CuiSchema-CCrY2Lx-.js → CuiSchema-DZIrlY8R.js} +148 -148
  209. package/dist/interface/ha/{CuiTopNavbarItem-CRls6-wE.js → CuiTopNavbarItem-C3a5NA7u.js} +1 -1
  210. package/dist/interface/ha/{Faces-DRaKBXFa.js → Faces-D2eca8MN.js} +109 -108
  211. package/dist/interface/ha/{FirstSteps-Dyq-VE0F.js → FirstSteps-CdTE1cvw.js} +64 -64
  212. package/dist/interface/ha/{Floorplan-euEQQ_Wp.js → Floorplan-BrEC2Au5.js} +379 -378
  213. package/dist/interface/ha/{Instances-DRLfaxS6.js → Instances-ClOsPOi8.js} +20 -20
  214. package/dist/interface/ha/{Logs-CCK0wJOu.js → Logs-DnY1gTnb.js} +12 -12
  215. package/dist/interface/ha/{Menu-DUlknRU8.js → Menu-cLDE76XZ.js} +16 -16
  216. package/dist/interface/ha/{Metrics-R6cm39jI.js → Metrics-pMQX_0m1.js} +97 -96
  217. package/dist/interface/ha/{OAuthDeviceFlow-qpAW51DL.js → OAuthDeviceFlow-D1PGQ8r9.js} +9 -9
  218. package/dist/interface/ha/{Plugin-C_ucUCim.js → Plugin-DiC23P97.js} +83 -82
  219. package/dist/interface/ha/{PluginConsole-B3biAENv.js → PluginConsole-B-lX5KJu.js} +6 -6
  220. package/dist/interface/ha/{PluginDetail-tIUv1KCl.js → PluginDetail-B_tVJf6y.js} +10 -10
  221. package/dist/interface/ha/{PluginSearch-BoqtcJfg.js → PluginSearch-n8nfjx9q.js} +35 -34
  222. package/dist/interface/ha/{PluginUpdateProgress-Ci0J6dHX.js → PluginUpdateProgress-BjsYyrRk.js} +3 -3
  223. package/dist/interface/ha/{Plugins-LE7-xUCl.js → Plugins-CFhOUaqq.js} +178 -191
  224. package/dist/interface/ha/RecentEventsFilter-C1deXNIS.js +79 -0
  225. package/dist/interface/ha/{Recordings-DbvAT7YJ.js → Recordings-B07eUJwH.js} +332 -361
  226. package/dist/interface/ha/{SensorEdit-BqEjosUi.js → SensorEdit-DFPiBXQD.js} +362 -360
  227. package/dist/interface/ha/{SensorHistory-DXV4mdTs.js → SensorHistory-B2FOK4Qa.js} +2 -2
  228. package/dist/interface/ha/{Sensors-Bcs1GBQJ.js → Sensors-DtzmTc-L.js} +525 -523
  229. package/dist/interface/ha/{Settings-BwomsDjK.js → Settings-ClqSoFjT.js} +25 -25
  230. package/dist/interface/ha/{SettingsAccount-0onAlHuN.js → SettingsAccount-Bh8FfH7J.js} +263 -262
  231. package/dist/interface/ha/{SettingsAppearance-DBOsOLUc.js → SettingsAppearance--FJgY8cj.js} +20 -20
  232. package/dist/interface/ha/{SettingsAssistant-Cfsd5Uw6.js → SettingsAssistant-ClDfxd_d.js} +664 -613
  233. package/dist/interface/ha/{SettingsBackup-hj8iLx0k.js → SettingsBackup-BYM55pQ7.js} +39 -39
  234. package/dist/interface/ha/{SettingsList-B3ri6DQ2.js → SettingsList-CMSEKVCD.js} +2 -2
  235. package/dist/interface/ha/{SettingsMqtt-BjsuWyUa.js → SettingsMqtt-CFpgJ-E5.js} +149 -149
  236. package/dist/interface/ha/{SettingsNotifications-DVgF5Rri.js → SettingsNotifications-CzgsBNtW.js} +5 -5
  237. package/dist/interface/ha/{SettingsRecordings-BFhs0muG.js → SettingsRecordings-Bz686yU7.js} +10 -9
  238. package/dist/interface/ha/{SettingsRemote-B2Ei9dR1.js → SettingsRemote-DT4ZMjJO.js} +358 -358
  239. package/dist/interface/ha/{SettingsSystem-CXTNGd2y.js → SettingsSystem-CHctt06D.js} +9 -9
  240. package/dist/interface/ha/{SettingsUsers-CgPnsdzW.js → SettingsUsers-C_hvntON.js} +39 -39
  241. package/dist/interface/ha/{Terminal-Dwmdp2vt.js → Terminal-B5FXq4-Z.js} +41 -41
  242. package/dist/interface/ha/{Training-CdzQ1WtN.js → Training-BgvpsKPM.js} +469 -469
  243. package/dist/interface/ha/{Updates-CTU4JiFI.js → Updates-D0osNjqS.js} +13 -13
  244. package/dist/interface/ha/{VariableInput-C2qGWTPn.js → VariableInput-BK0qqMc7.js} +1 -1
  245. package/dist/interface/ha/{VersionsHandler-Z7RAUdO5.js → VersionsHandler-B-vpKHJN.js} +9 -9
  246. package/dist/interface/ha/{VirtualSensorCreate-BsRO9E1F.js → VirtualSensorCreate-Bp2201iM.js} +3 -3
  247. package/dist/interface/ha/{Workers-D_jtMnzt.js → Workers-BQ_luGWk.js} +86 -86
  248. package/dist/interface/ha/{accordion-DdpJ2jcK.js → accordion-X9Wa7KVq.js} +1 -1
  249. package/dist/interface/ha/{api-i97kvGtZ.js → api-BufZW7-A.js} +3 -3
  250. package/dist/interface/ha/{api-DRr9pyiA.js → api-JPS8NpNG.js} +9133 -9618
  251. package/dist/interface/ha/{assistant-DT5mH0IU.js → assistant-BXVGCw2q.js} +54 -54
  252. package/dist/interface/ha/{auth-Dd-U6Sx5.js → auth-CJC9G9BA.js} +38 -38
  253. package/dist/interface/ha/{automationBlueprint-Bp5haBxv.js → automationBlueprint-DWuBiu_Q.js} +4 -3
  254. package/dist/interface/ha/cameraui-cards.js +1 -1
  255. package/dist/interface/ha/{cards-B_qaT-id.js → cards-CGP6dWjy.js} +558 -557
  256. package/dist/interface/ha/checkbox-D012nd17.js +279 -0
  257. package/dist/interface/ha/{config-Cdjp82J6.js → config-BVURO_DZ.js} +15 -15
  258. package/dist/interface/ha/{datepicker-DpDmhDeD.js → datepicker-44Ub2Hx0.js} +329 -604
  259. package/dist/interface/ha/dist-BTp4AyuI.js +287 -0
  260. package/dist/interface/ha/{dist-aGnBxAoZ.js → dist-Ca4K4HIm.js} +763 -1048
  261. package/dist/interface/ha/dots-vertical-BEPlUtxU.js +19 -0
  262. package/dist/interface/ha/eventIcons-DrjNuTS2.js +676 -0
  263. package/dist/interface/ha/{mqtt--xCEEs7T.js → mqtt-DY6EvMC9.js} +11 -11
  264. package/dist/interface/ha/{multiselect-Cedfen4P.js → multiselect-B0fAnW75.js} +1 -1
  265. package/dist/interface/ha/{notifications-ByL47yWP.js → notifications-BdIqgnrC.js} +21 -21
  266. package/dist/interface/ha/{pinia-Dk3LfWcE.js → pinia-CqffEnzx.js} +2283 -2268
  267. package/dist/interface/ha/{plugins-OikBHddG.js → plugins-Bnq2Iw00.js} +67 -67
  268. package/dist/interface/ha/pwa/favicon-16.ico +0 -0
  269. package/dist/interface/ha/pwa/favicon-32.ico +0 -0
  270. package/dist/interface/ha/pwa/favicon-48.ico +0 -0
  271. package/dist/interface/ha/pwa/pwa-120x120.png +0 -0
  272. package/dist/interface/ha/pwa/pwa-24x24.png +0 -0
  273. package/dist/interface/ha/pwa/pwa-36x36.png +0 -0
  274. package/dist/interface/ha/pwa/pwa-48x48.png +0 -0
  275. package/dist/interface/ha/pwa/pwa-50x50.png +0 -0
  276. package/dist/interface/ha/pwa/pwa-64x64.png +0 -0
  277. package/dist/interface/ha/pwa/pwa-72x72.png +0 -0
  278. package/dist/interface/ha/pwa/pwa-88x88.png +0 -0
  279. package/dist/interface/ha/pwa/pwa-96x96.png +0 -0
  280. package/dist/interface/ha/{rooms-CMwrVqJO.js → rooms-AiJ5Tfir.js} +8 -8
  281. package/dist/interface/ha/{server-Byevi9ww.js → server-BHhFn2RZ.js} +30 -30
  282. package/dist/interface/ha/{types-D1-pD0Vp.js → types-7oMK8VO-.js} +26 -26
  283. package/dist/interface/ha/{ungrouped-a_k9QFxB.js → ungrouped-hib17Nvu.js} +29 -28
  284. package/dist/interface/ha/{updates-DapEyqmr.js → updates-DvnEEUsx.js} +36 -36
  285. package/dist/interface/ha/{useAppVersion-CBK74lkV.js → useAppVersion-BmWXr96y.js} +1 -1
  286. package/dist/interface/ha/{useLogsSocket-DsxXBViV.js → useLogsSocket-BKlJKGCB.js} +1 -1
  287. package/dist/interface/ha/{useNavLayout-D24L7VNu.js → useNavLayout-Dt0NH-G5.js} +11 -11
  288. package/dist/interface/ha/{useServerRestart-qTNapyIx.js → useServerRestart-DWs2dqQc.js} +1 -1
  289. package/dist/interface/ha/{useTabSwipe-DEha11Zv.js → useTabSwipe-vX79p6V_.js} +1 -1
  290. package/dist/interface/ha/{useUpdateChannel-DI-Ki0yH.js → useUpdateChannel-CHlRp8uj.js} +2 -2
  291. package/dist/interface/ha/{useUpdatesSocket-CKUgku1R.js → useUpdatesSocket-B40Cx-2L.js} +1 -1
  292. package/dist/interface/ha/{useUserOptions-BY-pcxd_.js → useUserOptions-hXz79rIV.js} +1 -1
  293. package/dist/interface/index.html +35 -34
  294. package/dist/interface/pwa/favicon-16.ico +0 -0
  295. package/dist/interface/pwa/favicon-32.ico +0 -0
  296. package/dist/interface/pwa/favicon-48.ico +0 -0
  297. package/dist/interface/pwa/pwa-120x120.png +0 -0
  298. package/dist/interface/pwa/pwa-24x24.png +0 -0
  299. package/dist/interface/pwa/pwa-36x36.png +0 -0
  300. package/dist/interface/pwa/pwa-48x48.png +0 -0
  301. package/dist/interface/pwa/pwa-50x50.png +0 -0
  302. package/dist/interface/pwa/pwa-64x64.png +0 -0
  303. package/dist/interface/pwa/pwa-72x72.png +0 -0
  304. package/dist/interface/pwa/pwa-88x88.png +0 -0
  305. package/dist/interface/pwa/pwa-96x96.png +0 -0
  306. package/dist/interface/sw.js +1 -1
  307. package/dist/server/package.json +4 -4
  308. package/dist/server/src/api/controllers/users.controller.d.ts +3 -1
  309. package/dist/server/src/api/controllers/users.controller.js +38 -0
  310. package/dist/server/src/api/controllers/users.controller.js.map +1 -1
  311. package/dist/server/src/api/database/record-schemas.d.ts +44 -1
  312. package/dist/server/src/api/database/record-schemas.js +3 -3
  313. package/dist/server/src/api/database/record-schemas.js.map +1 -1
  314. package/dist/server/src/api/database/types.d.ts +4 -2
  315. package/dist/server/src/api/routes/users.routes.js +24 -1
  316. package/dist/server/src/api/routes/users.routes.js.map +1 -1
  317. package/dist/server/src/api/schemas/assistant.schema.d.ts +43 -1
  318. package/dist/server/src/api/schemas/assistant.schema.js +2 -1
  319. package/dist/server/src/api/schemas/assistant.schema.js.map +1 -1
  320. package/dist/server/src/api/schemas/users.schema.d.ts +8 -0
  321. package/dist/server/src/api/schemas/users.schema.js +45 -0
  322. package/dist/server/src/api/schemas/users.schema.js.map +1 -1
  323. package/dist/server/src/api/services/users.service.d.ts +3 -1
  324. package/dist/server/src/api/services/users.service.js +33 -0
  325. package/dist/server/src/api/services/users.service.js.map +1 -1
  326. package/dist/server/src/api/types/index.d.ts +4 -1
  327. package/dist/server/src/api/types/index.js.map +1 -1
  328. package/dist/server/src/assistant/manager.js +23 -4
  329. package/dist/server/src/assistant/manager.js.map +1 -1
  330. package/dist/server/src/assistant/prompt.d.ts +1 -0
  331. package/dist/server/src/assistant/prompt.js +10 -1
  332. package/dist/server/src/assistant/prompt.js.map +1 -1
  333. package/dist/server/src/assistant/search.js +4 -2
  334. package/dist/server/src/assistant/search.js.map +1 -1
  335. package/dist/server/src/assistant/skills.js +3 -2
  336. package/dist/server/src/assistant/skills.js.map +1 -1
  337. package/dist/server/src/assistant/tools/index.js +2 -2
  338. package/dist/server/src/assistant/tools/index.js.map +1 -1
  339. package/dist/server/src/assistant/tools/notifications.d.ts +2 -1
  340. package/dist/server/src/assistant/tools/notifications.js +69 -35
  341. package/dist/server/src/assistant/tools/notifications.js.map +1 -1
  342. package/dist/server/src/assistant/tools/plugins.d.ts +7 -1
  343. package/dist/server/src/assistant/tools/plugins.js +13 -9
  344. package/dist/server/src/assistant/tools/plugins.js.map +1 -1
  345. package/dist/server/src/assistant/uploads.js +29 -2
  346. package/dist/server/src/assistant/uploads.js.map +1 -1
  347. package/dist/server/src/manager/downloadManager.d.ts +1 -0
  348. package/dist/server/src/manager/downloadManager.js +3 -0
  349. package/dist/server/src/manager/downloadManager.js.map +1 -1
  350. package/dist/server/src/manager/notificationManager.d.ts +1 -0
  351. package/dist/server/src/manager/notificationManager.js +13 -2
  352. package/dist/server/src/manager/notificationManager.js.map +1 -1
  353. package/package.json +4 -4
  354. package/dist/interface/assets/Assistant-DiL48qbB.js +0 -1
  355. package/dist/interface/assets/Automation-B0hMNSAw.js +0 -3
  356. package/dist/interface/assets/AutomationImport-BSb9krZ4.js +0 -2
  357. package/dist/interface/assets/AutomationStore-B0CoLiA8.js +0 -2
  358. package/dist/interface/assets/AutomationStoreDetail-CBolb08V.js +0 -2
  359. package/dist/interface/assets/Automations-kqWnqU6P.js +0 -2
  360. package/dist/interface/assets/Camera-vyc9F0HE.js +0 -2
  361. package/dist/interface/assets/Camview-DVs7NJlA.js +0 -1
  362. package/dist/interface/assets/Console-BCKOiAw3.js +0 -1
  363. package/dist/interface/assets/CuiAssistantConversation-DcPtJCQY.js +0 -5
  364. package/dist/interface/assets/CuiBottomSheet-DSf4fJTK.js +0 -1
  365. package/dist/interface/assets/CuiCameraRecordings-BIPlJiZL.js +0 -1
  366. package/dist/interface/assets/CuiCameraShares-DAlZyr-0.js +0 -1
  367. package/dist/interface/assets/CuiCameraTable-BgKbs8gK.js +0 -1
  368. package/dist/interface/assets/CuiLightControl-BdgBiaE3.js +0 -1
  369. package/dist/interface/assets/CuiPluginCard-ACM-8XiS.js +0 -2
  370. package/dist/interface/assets/CuiPluginCategoryChip-C5EQGJ3M.js +0 -1
  371. package/dist/interface/assets/CuiPluginOAuthButton-DzLXHOoU.js +0 -2
  372. package/dist/interface/assets/CuiSchema-BGDsFg7E.js +0 -1
  373. package/dist/interface/assets/Faces-4IZtM2h6.js +0 -1
  374. package/dist/interface/assets/FirstSteps-CNONDDmE.js +0 -1
  375. package/dist/interface/assets/Floorplan-BibtwoH-.js +0 -1
  376. package/dist/interface/assets/Metrics-C8EucBD8.js +0 -9
  377. package/dist/interface/assets/OAuthDeviceFlow-BPl8Ol0d.js +0 -1
  378. package/dist/interface/assets/Plugin-DGXAz6ID.js +0 -1
  379. package/dist/interface/assets/PluginDetail-jnxv0aEv.js +0 -2
  380. package/dist/interface/assets/PluginSearch-4DArZA-1.js +0 -2
  381. package/dist/interface/assets/PluginSearch-oQ7-vW_I.js +0 -1
  382. package/dist/interface/assets/Plugins-CX35AoGP.js +0 -1
  383. package/dist/interface/assets/Recordings-edUqNrNY.js +0 -1
  384. package/dist/interface/assets/Sensors-CFJX3XaI.js +0 -2
  385. package/dist/interface/assets/SettingsAccount-B665agGW.js +0 -1
  386. package/dist/interface/assets/SettingsAccount-CXMp3Jle.js +0 -1
  387. package/dist/interface/assets/SettingsAppearance-CHerioe-.js +0 -1
  388. package/dist/interface/assets/SettingsAssistant-BpTwRGXe.css +0 -1
  389. package/dist/interface/assets/SettingsAssistant-CcjD56Pd.js +0 -1
  390. package/dist/interface/assets/SettingsMqtt-Bh6bhYa0.js +0 -1
  391. package/dist/interface/assets/SettingsNotifications-B6wReKt5.js +0 -1
  392. package/dist/interface/assets/SettingsRecordings-CVdOQF8g.js +0 -1
  393. package/dist/interface/assets/SettingsRemote-CEUmUMfH.js +0 -2
  394. package/dist/interface/assets/SettingsSystem-BoPBhsJr.js +0 -2
  395. package/dist/interface/assets/SettingsUsers-DsBxZ-Tq.js +0 -1
  396. package/dist/interface/assets/Training-CfSPxQgA.js +0 -1
  397. package/dist/interface/assets/Training-DMNjB3uX.css +0 -1
  398. package/dist/interface/assets/VirtualSensorCreate-B1B2frUr.js +0 -1
  399. package/dist/interface/assets/Workers-BBIGwhRS.js +0 -2
  400. package/dist/interface/assets/api-C85p0Dk3.css +0 -2
  401. package/dist/interface/assets/api-DgcK7TwB.js +0 -4
  402. package/dist/interface/assets/automations-BPmaAqhX.js +0 -1
  403. package/dist/interface/assets/cameraSources-B5dOcB7w.js +0 -1
  404. package/dist/interface/assets/cloudHandoff-Bk25i74p.js +0 -1
  405. package/dist/interface/assets/main-Ceiwp3VL.js +0 -3
  406. package/dist/interface/assets/mqtt-DHY_na1K.js +0 -1
  407. package/dist/interface/assets/plugins-EdSbk-EV.js +0 -1
  408. package/dist/interface/assets/rooms-Cg8aq9k9.js +0 -1
  409. package/dist/interface/assets/sensorIcons-DJTgAwaE.js +0 -1
  410. package/dist/interface/assets/types-BZz-3rol.js +0 -1
  411. package/dist/interface/assets/types-zwRUIzRx.js +0 -1
  412. package/dist/interface/assets/ungrouped-IUmtQN_P.js +0 -1
  413. package/dist/interface/assets/vendor-zod-BMOt_yT8.js +0 -109
@@ -2,95 +2,96 @@ import { r as e } from "./rolldown-runtime-CEFd7nDs.js";
2
2
  import { c as t } from "./ripple-B_itunQV.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-DCktklpY.js";
4
4
  import { t as ne } from "./tooltip-X5MY9FoG.js";
5
- import { t as T } from "./message-BExXUXHN.js";
6
- import { t as re } from "./tag-Bko2QYOK.js";
7
- import { A as E, F as D, I as O, In as ie, L as ae, Ln as oe, M as se, Mt as ce, Nt as le, Or as k, Pt as ue, V as de, c as fe, ct as A, ft as pe, g as me, h as he, jt as ge, k as j, ki as M, kr as _e, r as ve, ri as ye, st as be, ti as xe, vi as Se, w as N } from "./api-DRr9pyiA.js";
5
+ import { t as re } from "./message-BExXUXHN.js";
6
+ import { t as ie } from "./tag-Bko2QYOK.js";
7
+ import { A as T, Ct as ae, Dn as oe, En as se, Et as ce, F as E, Gr as le, I as D, L as ue, M as de, Tt as fe, V as pe, c as me, g as he, h as ge, k as O, lt as _e, mt as ve, r as k, si as A, ut as ye, vi as j, vr as M, w as be, wt as xe, yr as Se } from "./api-JPS8NpNG.js";
8
8
  import { i as Ce } from "./intercomService-Dwd0bhSN.js";
9
- import { r as we } from "./pinia-Dk3LfWcE.js";
10
- import { n as P } from "./vue-i18n-BBObX4QY.js";
11
- import { t as Te } from "./button-DJDZxmKj.js";
12
- import { t as Ee } from "./inputtext-vdcrNX6K.js";
13
- import { i as De, t as Oe } from "./CuiDataTable--yJTTWKH.js";
14
- import { t as ke } from "./CuiQRCode-CfLMS7k7.js";
15
- import { n as Ae, t as F } from "./auth-Dd-U6Sx5.js";
9
+ import { r as we } from "./pinia-CqffEnzx.js";
10
+ import { n as N } from "./vue-i18n-BBObX4QY.js";
11
+ import { h as Te } from "./eventIcons-DrjNuTS2.js";
12
+ import { t as Ee } from "./button-DJDZxmKj.js";
13
+ import { t as De } from "./inputtext-vdcrNX6K.js";
14
+ import { i as Oe, t as ke } from "./CuiDataTable-BwE7D2h5.js";
15
+ import { t as Ae } from "./CuiQRCode-uyRFbzd6.js";
16
+ import { n as je, t as P } from "./auth-CJC9G9BA.js";
16
17
  //#region ~icons/mdi/key
17
- var I = {
18
+ var F = {
18
19
  viewBox: "0 0 24 24",
19
20
  width: "1.2em",
20
21
  height: "1.2em"
21
22
  };
22
- function L(e, t) {
23
- return a(), g("svg", I, [...t[0] ||= [y("path", {
23
+ function I(e, t) {
24
+ return a(), g("svg", F, [...t[0] ||= [y("path", {
24
25
  fill: "currentColor",
25
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"
26
27
  }, null, -1)]]);
27
28
  }
28
- var je = l({
29
+ var Me = l({
29
30
  name: "mdi-key",
30
- render: L
31
- }), R = {
31
+ render: I
32
+ }), L = {
32
33
  viewBox: "0 0 24 24",
33
34
  width: "1.2em",
34
35
  height: "1.2em"
35
36
  };
36
- function z(e, t) {
37
- return a(), g("svg", R, [...t[0] ||= [y("path", {
37
+ function R(e, t) {
38
+ return a(), g("svg", L, [...t[0] ||= [y("path", {
38
39
  fill: "currentColor",
39
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"
40
41
  }, null, -1)]]);
41
42
  }
42
- var Me = l({
43
+ var Ne = l({
43
44
  name: "mdi-cellphone",
44
- render: z
45
- }), B = {
45
+ render: R
46
+ }), z = {
46
47
  viewBox: "0 0 24 24",
47
48
  width: "1.2em",
48
49
  height: "1.2em"
49
50
  };
50
- function Ne(e, t) {
51
- return a(), g("svg", B, [...t[0] ||= [y("path", {
51
+ function Pe(e, t) {
52
+ return a(), g("svg", z, [...t[0] ||= [y("path", {
52
53
  fill: "currentColor",
53
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"
54
55
  }, null, -1)]]);
55
56
  }
56
- var Pe = l({
57
+ var Fe = l({
57
58
  name: "mdi-key-variant",
58
- render: Ne
59
- }), Fe = {
59
+ render: Pe
60
+ }), Ie = {
60
61
  viewBox: "0 0 24 24",
61
62
  width: "1.2em",
62
63
  height: "1.2em"
63
64
  };
64
- function V(e, t) {
65
- return a(), g("svg", Fe, [...t[0] ||= [y("path", {
65
+ function B(e, t) {
66
+ return a(), g("svg", Ie, [...t[0] ||= [y("path", {
66
67
  fill: "currentColor",
67
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"
68
69
  }, null, -1)]]);
69
70
  }
70
- var Ie = l({
71
+ var Le = l({
71
72
  name: "mdi-laptop",
72
- render: V
73
- }), Le = {
73
+ render: B
74
+ }), Re = {
74
75
  viewBox: "0 0 24 24",
75
76
  width: "1.2em",
76
77
  height: "1.2em"
77
78
  };
78
- function Re(e, t) {
79
- return a(), g("svg", Le, [...t[0] ||= [y("path", {
79
+ function ze(e, t) {
80
+ return a(), g("svg", Re, [...t[0] ||= [y("path", {
80
81
  fill: "currentColor",
81
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"
82
83
  }, null, -1)]]);
83
84
  }
84
- var ze = l({
85
+ var Be = l({
85
86
  name: "mdi-television",
86
- render: Re
87
- }), H = { class: "flex flex-col gap-6" }, Be = { class: "token-box" }, Ve = { class: "token-value" }, He = /*#__PURE__*/ k(/* @__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({
88
89
  __name: "ApiTokenCreated",
89
90
  props: { token: {} },
90
91
  setup(e, { expose: t }) {
91
- let n = e, i = M(), { t: s } = P(), { token: c } = r(n);
92
+ let n = e, i = j(), { t: s } = N(), { token: c } = r(n);
92
93
  async function l() {
93
- await ve(c.value) ? i.add({
94
+ await k(c.value) ? i.add({
94
95
  severity: "success",
95
96
  detail: s("components.toast.copied"),
96
97
  life: 1500
@@ -102,17 +103,17 @@ var ze = l({
102
103
  }
103
104
  async function d() {}
104
105
  return t({ onConfirm: d }), (e, t) => {
105
- let n = T, r = Te, i = ne;
106
- return a(), g("div", H, [w(n, { severity: "warn" }, {
106
+ let n = re, r = Ee, i = ne;
107
+ return a(), g("div", V, [w(n, { severity: "warn" }, {
107
108
  default: h(() => [ee(o(e.$t("views.settings.api_tokens.created_warning")), 1)]),
108
109
  _: 1
109
- }), 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, {
110
111
  text: "",
111
112
  rounded: "",
112
113
  class: "cui-icon-md shrink-0",
113
114
  onClick: l
114
115
  }, {
115
- icon: h(() => [w(p(ge), {
116
+ icon: h(() => [w(p(ae), {
116
117
  width: "100%",
117
118
  height: "100%"
118
119
  })]),
@@ -120,13 +121,13 @@ var ze = l({
120
121
  })), [[i, { value: e.$t("components.form.button.copy") }]])])]);
121
122
  };
122
123
  }
123
- }), [["__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 = {
124
125
  for: "apiTokenName",
125
126
  class: "cui-label"
126
- }, We = {
127
+ }, Ge = {
127
128
  key: 0,
128
129
  class: "text-xs text-red-500"
129
- }, Ge = /* @__PURE__ */ S({
130
+ }, Ke = /* @__PURE__ */ S({
130
131
  __name: "CreateApiToken",
131
132
  props: { existingNames: {} },
132
133
  setup(e, { expose: t }) {
@@ -135,9 +136,9 @@ var ze = l({
135
136
  let e = r.value.trim();
136
137
  return !e || i.value ? null : e;
137
138
  } }), (e, t) => {
138
- let n = Ee;
139
- return a(), g("div", Ue, [
140
- 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),
141
142
  w(n, {
142
143
  id: "apiTokenName",
143
144
  modelValue: p(r),
@@ -151,31 +152,31 @@ var ze = l({
151
152
  "placeholder",
152
153
  "invalid"
153
154
  ]),
154
- 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)
155
156
  ]);
156
157
  };
157
158
  }
158
- }), Ke = { class: "flex flex-col gap-6" }, qe = { class: "backup-codes-grid" }, Je = /*#__PURE__*/ k(/* @__PURE__ */ S({
159
+ }), qe = { class: "flex flex-col gap-6" }, Je = { class: "backup-codes-grid" }, Ye = /*#__PURE__*/ M(/* @__PURE__ */ S({
159
160
  __name: "TwoFactorBackupCodes",
160
161
  props: { backupCodes: {} },
161
162
  setup(e, { expose: t }) {
162
163
  let { backupCodes: n } = r(e);
163
164
  async function s() {}
164
165
  return t({ onConfirm: s }), (e, t) => {
165
- let r = T;
166
- return a(), g("div", Ke, [w(r, { severity: "warn" }, {
166
+ let r = re;
167
+ return a(), g("div", qe, [w(r, { severity: "warn" }, {
167
168
  default: h(() => [ee(o(e.$t("views.settings.security.backup_warning")), 1)]),
168
169
  _: 1
169
- }), 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", {
170
171
  key: e,
171
172
  class: "backup-code"
172
173
  }, o(e), 1))), 128))])]);
173
174
  };
174
175
  }
175
- }), [["__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({
176
177
  __name: "TwoFactorDisable",
177
178
  setup(e, { expose: t }) {
178
- let r = new F(), i = M(), { 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 = j(), { 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);
179
180
  async function v() {
180
181
  if (d.value.length < 6) return null;
181
182
  try {
@@ -197,8 +198,8 @@ var ze = l({
197
198
  isDisabled: _,
198
199
  onConfirm: v
199
200
  }), (e, t) => {
200
- let n = A;
201
- 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 = ye;
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, {
202
203
  modelValue: p(d),
203
204
  "onUpdate:modelValue": t[0] ||= (e) => f(d) ? d.value = e : null,
204
205
  length: 6,
@@ -207,11 +208,11 @@ var ze = l({
207
208
  }, null, 8, ["modelValue"])])]);
208
209
  };
209
210
  }
210
- }), G = { class: "flex flex-col gap-6" }, K = { class: "text-muted" }, q = { class: "flex flex-col gap-2 justify-center items-center mt-5" }, J = { class: "cui-label" }, $e = /* @__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({
211
212
  __name: "TwoFactorRegenerate",
212
213
  props: { onBackupCodesGenerated: { type: Function } },
213
214
  setup(e, { expose: t }) {
214
- let r = new F(), i = e, s = M(), { 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 = j(), { 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);
215
216
  async function b() {
216
217
  if (h.value.length < 6) return null;
217
218
  try {
@@ -234,8 +235,8 @@ var ze = l({
234
235
  isDisabled: v,
235
236
  onConfirm: b
236
237
  }), (e, t) => {
237
- let n = A;
238
- return a(), g("div", G, [y("p", K, o(e.$t("views.settings.security.regenerate_confirm")), 1), y("div", q, [y("label", J, o(e.$t("views.settings.security.enter_code")), 1), w(n, {
238
+ let n = ye;
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, {
239
240
  modelValue: p(h),
240
241
  "onUpdate:modelValue": t[0] ||= (e) => f(h) ? h.value = e : null,
241
242
  length: 6,
@@ -244,103 +245,103 @@ var ze = l({
244
245
  }, null, 8, ["modelValue"])])]);
245
246
  };
246
247
  }
247
- }), et = { class: "flex flex-col w-full gap-6" }, tt = { class: "relative" }, nt = { class: "image-upload rounded-full z-1" }, rt = { for: "file-input" }, it = { class: "card-title" }, at = { class: "flex flex-col gap-6" }, ot = {
248
+ }), tt = { class: "flex flex-col w-full gap-6" }, nt = { class: "relative" }, rt = { class: "image-upload rounded-full z-1" }, it = { for: "file-input" }, at = { class: "card-title" }, ot = { class: "flex flex-col gap-6" }, st = {
248
249
  for: "username",
249
250
  class: "cui-label"
250
- }, st = { class: "card-title" }, ct = { class: "flex flex-col gap-6" }, lt = {
251
+ }, ct = { class: "card-title" }, lt = { class: "flex flex-col gap-6" }, ut = {
251
252
  for: "password",
252
253
  class: "cui-label"
253
- }, ut = {
254
+ }, dt = {
254
255
  for: "passwordConfirm",
255
256
  class: "cui-label"
256
- }, dt = { class: "relative" }, ft = { class: "image-upload rounded-full z-1" }, pt = { for: "file-input" }, mt = { class: "card-title" }, ht = { class: "flex flex-col gap-6" }, gt = { class: "flex flex-col field-gap" }, _t = {
257
+ }, ft = { class: "relative" }, pt = { class: "image-upload rounded-full z-1" }, mt = { for: "file-input" }, ht = { class: "card-title" }, gt = { class: "flex flex-col gap-6" }, _t = { class: "flex flex-col field-gap" }, vt = {
257
258
  for: "username",
258
259
  class: "cui-label"
259
- }, vt = { class: "flex flex-row items-end justify-end" }, yt = { class: "card-title" }, bt = {
260
+ }, yt = { class: "flex flex-row items-end justify-end" }, bt = { class: "card-title" }, xt = {
260
261
  for: "password",
261
262
  class: "cui-label"
262
- }, xt = {
263
+ }, St = {
263
264
  for: "passwordConfirm",
264
265
  class: "cui-label"
265
- }, St = { class: "flex flex-row items-end justify-end" }, Ct = { class: "card-title" }, wt = {
266
+ }, Ct = { class: "flex flex-row items-end justify-end" }, wt = { class: "card-title" }, Tt = {
266
267
  key: 0,
267
268
  class: "flex justify-center py-6"
268
- }, Tt = {
269
+ }, Et = {
269
270
  key: "initial",
270
271
  class: "flex flex-col gap-6"
271
- }, Et = { class: "flex flex-col gap-1" }, Dt = { class: "tfa-row-title" }, Ot = { class: "tfa-row-description" }, kt = {
272
+ }, Dt = { class: "flex flex-col gap-1" }, Ot = { class: "tfa-row-title" }, kt = { class: "tfa-row-description" }, At = {
272
273
  key: "loading",
273
274
  class: "flex flex-col items-center py-8 gap-3"
274
- }, At = { class: "text-sm text-muted" }, jt = {
275
+ }, jt = { class: "text-sm text-muted" }, Mt = {
275
276
  key: "setup",
276
277
  class: "tfa-setup"
277
- }, Mt = { class: "tfa-setup-qr" }, Nt = { class: "text-sm text-muted text-center mt-3" }, Pt = { class: "flex flex-col gap-5 flex-1" }, Ft = { class: "flex flex-col field-gap" }, It = { class: "cui-label" }, Lt = { class: "flex flex-col field-gap" }, Rt = { class: "cui-label" }, zt = { class: "flex gap-2 justify-end" }, Bt = {
278
+ }, Nt = { class: "tfa-setup-qr" }, Pt = { class: "text-sm text-muted text-center mt-3" }, Ft = { class: "flex flex-col gap-5 flex-1" }, It = { class: "flex flex-col field-gap" }, Lt = { class: "cui-label" }, Rt = { class: "flex flex-col field-gap" }, zt = { class: "cui-label" }, Bt = { class: "flex gap-2 justify-end" }, Vt = {
278
279
  key: "enabled",
279
280
  class: "flex flex-col gap-6"
280
- }, Vt = { class: "tfa-row tfa-row-enabled" }, Ht = { class: "tfa-status-icon" }, Ut = { class: "tfa-row-content" }, Wt = { class: "tfa-row-title" }, Gt = {
281
+ }, Ht = { class: "tfa-row tfa-row-enabled" }, Ut = { class: "tfa-status-icon" }, Wt = { class: "tfa-row-content" }, Gt = { class: "tfa-row-title" }, Kt = {
281
282
  key: 0,
282
283
  class: "tfa-backup-info"
283
- }, Kt = { class: "flex gap-2 justify-end" }, qt = { key: 0 }, Jt = { class: "card-title" }, Yt = { class: "flex items-center gap-4" }, Xt = { class: "flex flex-col field-switch-gap min-w-0" }, Zt = { class: "text-sm font-bold text-color" }, Qt = { class: "card-title" }, $t = { class: "flex flex-col gap-6" }, en = { class: "text-sm text-muted" }, tn = { class: "text-muted text-sm" }, nn = { class: "flex items-center gap-3" }, rn = { class: "flex flex-col min-w-0" }, an = { class: "text-sm font-semibold text-color truncate" }, on = { class: "text-xs text-muted truncate font-mono" }, sn = { class: "text-xs text-muted" }, cn = { class: "flex flex-row items-end justify-end gap-2" }, ln = { class: "card-title" }, un = { class: "flex flex-col gap-6" }, dn = { class: "text-muted text-sm" }, fn = { class: "flex items-center gap-3" }, pn = { class: "flex flex-col min-w-0" }, mn = { class: "flex items-center gap-2" }, hn = { class: "text-sm font-semibold text-color truncate" }, gn = { class: "text-xs text-muted truncate" }, _n = {
284
+ }, qt = { class: "flex gap-2 justify-end" }, Jt = { key: 0 }, Yt = { class: "card-title" }, Xt = { class: "flex items-center gap-4" }, Zt = { class: "flex flex-col field-switch-gap min-w-0" }, Qt = { class: "text-sm font-bold text-color" }, $t = { class: "card-title" }, en = { class: "flex flex-col gap-6" }, tn = { class: "text-sm text-muted" }, nn = { class: "text-muted text-sm" }, rn = { class: "flex items-center gap-3" }, an = { class: "flex flex-col min-w-0" }, on = { class: "text-sm font-semibold text-color truncate" }, sn = { class: "text-xs text-muted truncate font-mono" }, cn = { class: "text-xs text-muted" }, ln = { class: "flex flex-row items-end justify-end gap-2" }, un = { class: "card-title" }, dn = { class: "flex flex-col gap-6" }, fn = { class: "text-muted text-sm" }, pn = { class: "flex items-center gap-3" }, mn = { class: "flex flex-col min-w-0" }, hn = { class: "flex items-center gap-2" }, gn = { class: "text-sm font-semibold text-color truncate" }, _n = { class: "text-xs text-muted truncate" }, vn = {
284
285
  key: 0,
285
286
  class: "flex flex-row items-end justify-end gap-2"
286
- }, Y = /*@__PURE__*/ S({
287
+ }, J = /*@__PURE__*/ S({
287
288
  __name: "SettingsAccount",
288
289
  props: { firststeps: { type: Boolean } },
289
290
  setup(e, { expose: n }) {
290
- let i = new F(), l = e, S = pe(), k = M(), { t: I } = P(), { firststeps: L } = r(l), R = me(), { user: z } = we(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 = ve(), M = j(), { t: F } = N(), { firststeps: I } = r(l), L = he(), { 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({
291
292
  page: 1,
292
293
  pageSize: -1
293
- }), { 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({
294
- password: N,
295
- passwordConfirm: E().min(1)
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 = O({
295
+ password: be,
296
+ passwordConfirm: T().min(1)
296
297
  }).refine((e) => e.password === e.passwordConfirm, {
297
298
  message: "Passwords do not match",
298
299
  path: ["passwordConfirm"]
299
- }), Ze = j({
300
- username: E().min(1),
301
- password: N,
302
- passwordConfirm: E().min(1)
300
+ }), Qe = O({
301
+ username: T().min(1),
302
+ password: be,
303
+ passwordConfirm: T().min(1)
303
304
  }).refine((e) => e.password === e.passwordConfirm, {
304
305
  message: "Passwords do not match",
305
306
  path: ["passwordConfirm"]
306
- }), W = v("formRef"), G = v("passwordFormRef"), K = x(), q = C("avatar"), J = C(z.value?.username ?? ""), Y = C(!1), X = C(!1), Z = C(null), Q = C(""), vn = C(null), yn = C(!1), $ = 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);
307
308
  C(!1);
308
- let bn = C(!1), xn = C(!1), Sn = m(() => !1), Cn = {
309
+ let xn = C(!1), Sn = C(!1), Cn = m(() => !1), wn = {
309
310
  bodyRow: { class: "text-sm text-secondary" },
310
311
  column: { columnTitle: { class: "text-sm" } }
311
- }, wn = m(() => (H.value ?? []).filter((e) => !e.is_current).length), Tn = m(() => !Z.value?.secret || !z.value?.username ? "" : `otpauth://totp/${encodeURIComponent(`camera.ui:${z.value.username}`)}?secret=${Z.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`);
312
313
  async function En() {
313
- Z.value?.secret && await ve(Z.value.secret);
314
+ X.value?.secret && await k(X.value.secret);
314
315
  }
315
316
  function Dn(e) {
316
- return e === "tv" ? ze : e === "native" ? Me : Ie;
317
+ return e === "tv" ? Be : e === "native" ? Ne : Le;
317
318
  }
318
319
  async function On(e) {
319
- vn.value = e;
320
+ yn.value = e;
320
321
  try {
321
- await Ve({ id: e });
322
+ await He({ id: e });
322
323
  } catch (e) {
323
- k.add({
324
+ M.add({
324
325
  severity: "error",
325
326
  detail: e,
326
327
  life: 3e3
327
328
  });
328
329
  } finally {
329
- vn.value = null;
330
+ yn.value = null;
330
331
  }
331
332
  }
332
333
  function kn() {
333
- S.openComponentDialog(Ge, {
334
+ S.openComponentDialog(Ke, {
334
335
  data: {
335
- title: I("views.settings.api_tokens.create"),
336
- confirmText: I("views.settings.api_tokens.create_confirm"),
337
- 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) }
338
339
  },
339
340
  onConfirm: async (e) => {
340
341
  if (e) try {
341
- An((await Ke({ name: e })).token);
342
+ An((await qe({ name: e })).token);
342
343
  } catch (e) {
343
- k.add({
344
+ M.add({
344
345
  severity: "error",
345
346
  detail: e,
346
347
  life: 3e3
@@ -350,9 +351,9 @@ var ze = l({
350
351
  });
351
352
  }
352
353
  function An(e) {
353
- S.openComponentDialog(He, { data: {
354
- title: I("views.settings.api_tokens.created_title"),
355
- 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"),
356
357
  hideCancelButton: !0,
357
358
  contentProps: { token: e }
358
359
  } });
@@ -360,23 +361,23 @@ var ze = l({
360
361
  function jn(e) {
361
362
  S.openTextDialog({
362
363
  data: {
363
- title: I("views.settings.api_tokens.revoke_title"),
364
- contentText: I("views.settings.api_tokens.revoke_confirm", { name: e.name }),
365
- 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"),
366
367
  confirmButtonProps: { severity: "danger" }
367
368
  },
368
369
  onConfirm: async () => {
369
- $.value = e.id;
370
+ Q.value = e.id;
370
371
  try {
371
- await Ye({ id: e.id });
372
+ await Xe({ id: e.id });
372
373
  } catch (e) {
373
- k.add({
374
+ M.add({
374
375
  severity: "error",
375
376
  detail: e,
376
377
  life: 3e3
377
378
  });
378
379
  } finally {
379
- $.value = null;
380
+ Q.value = null;
380
381
  }
381
382
  }
382
383
  });
@@ -384,32 +385,32 @@ var ze = l({
384
385
  function Mn() {
385
386
  S.openTextDialog({
386
387
  data: {
387
- title: I("views.settings.active_sessions.revoke_others_title"),
388
- contentText: I("views.settings.active_sessions.revoke_others_confirm", { count: wn.value }),
389
- 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"),
390
391
  confirmButtonProps: { severity: "danger" }
391
392
  },
392
393
  onConfirm: async () => {
393
- yn.value = !0;
394
+ bn.value = !0;
394
395
  try {
395
- await Ue();
396
+ await We();
396
397
  } catch (e) {
397
- k.add({
398
+ M.add({
398
399
  severity: "error",
399
400
  detail: e,
400
401
  life: 3e3
401
402
  });
402
403
  } finally {
403
- yn.value = !1;
404
+ bn.value = !1;
404
405
  }
405
406
  }
406
407
  });
407
408
  }
408
409
  async function Nn() {
409
410
  try {
410
- Z.value = await Fe();
411
+ X.value = await Ie();
411
412
  } catch (e) {
412
- k.add({
413
+ M.add({
413
414
  severity: "error",
414
415
  detail: e,
415
416
  life: 3e3
@@ -417,18 +418,18 @@ var ze = l({
417
418
  }
418
419
  }
419
420
  function Pn() {
420
- Z.value = null, Q.value = "";
421
+ X.value = null, Z.value = "";
421
422
  }
422
423
  async function Fn() {
423
424
  try {
424
- let e = await Le({ code: Q.value });
425
- Z.value = null, Q.value = "", k.add({
425
+ let e = await Re({ code: Z.value });
426
+ X.value = null, Z.value = "", M.add({
426
427
  severity: "success",
427
- detail: I("views.settings.security.2fa_enabled_success"),
428
+ detail: F("views.settings.security.2fa_enabled_success"),
428
429
  life: 3e3
429
430
  }), Rn(e.backupCodes);
430
431
  } catch (e) {
431
- k.add({
432
+ M.add({
432
433
  severity: "error",
433
434
  detail: e,
434
435
  life: 3e3
@@ -436,111 +437,111 @@ var ze = l({
436
437
  }
437
438
  }
438
439
  function In() {
439
- S.openComponentDialog(Qe, { data: {
440
- title: I("views.settings.security.disable_2fa"),
441
- 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"),
442
443
  confirmButtonProps: { severity: "danger" },
443
444
  contentProps: {}
444
445
  } });
445
446
  }
446
447
  function Ln() {
447
- S.openComponentDialog($e, { data: {
448
- title: I("views.settings.security.regenerate_backup"),
449
- confirmText: I("views.settings.security.regenerate_backup"),
448
+ S.openComponentDialog(et, { data: {
449
+ title: F("views.settings.security.regenerate_backup"),
450
+ confirmText: F("views.settings.security.regenerate_backup"),
450
451
  contentProps: { onBackupCodesGenerated: (e) => {
451
452
  Rn(e);
452
453
  } }
453
454
  } });
454
455
  }
455
456
  function Rn(e) {
456
- S.openComponentDialog(Je, { data: {
457
- title: I("views.settings.security.backup_codes"),
458
- 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"),
459
460
  hideCancelButton: !0,
460
461
  contentProps: { backupCodes: e }
461
462
  } });
462
463
  }
463
464
  async function zn(e) {
464
465
  let t = e.target?.files;
465
- K.value = t?.[0], q.value = await he(e) ?? q.value;
466
+ G.value = t?.[0], K.value = await ge(e) ?? K.value;
466
467
  }
467
468
  async function Bn() {
468
- Y.value = !0;
469
+ J.value = !0;
469
470
  try {
470
471
  let e;
471
- K.value && (e = new FormData(), e.append("upload", K.value));
472
- let t = z.value?.username !== J.value;
473
- if (t) await R.updateUser({ username: J.value }, e);
474
- else if (e) await R.updateUser(void 0, e);
472
+ G.value && (e = new FormData(), e.append("upload", G.value));
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);
475
476
  else {
476
- Y.value = !1;
477
+ J.value = !1;
477
478
  return;
478
479
  }
479
- k.add({
480
+ M.add({
480
481
  severity: "success",
481
- detail: I("components.toast.profile_updated"),
482
+ detail: F("components.toast.profile_updated"),
482
483
  life: 3e3
483
- }), K.value = void 0, t && R.logout();
484
+ }), G.value = void 0, t && L.logout();
484
485
  } catch {}
485
- Y.value = !1;
486
+ J.value = !1;
486
487
  }
487
488
  async function Vn(e) {
488
- X.value = !0;
489
+ Y.value = !0;
489
490
  try {
490
- await R.updateUser({
491
+ await L.updateUser({
491
492
  password: e.password,
492
493
  passwordConfirm: e.passwordConfirm
493
- }), k.add({
494
+ }), M.add({
494
495
  severity: "success",
495
- detail: I("components.toast.password_updated"),
496
+ detail: F("components.toast.password_updated"),
496
497
  life: 3e3
497
- }), G.value?.resetForm(), R.logout();
498
+ }), W.value?.resetForm(), L.logout();
498
499
  } catch (e) {
499
- k.add({
500
+ M.add({
500
501
  severity: "error",
501
502
  detail: e,
502
503
  life: 3e3
503
504
  });
504
505
  }
505
- X.value = !1;
506
+ Y.value = !1;
506
507
  }
507
508
  async function Hn() {}
508
509
  async function Un(e) {
509
- if (e !== bn.value) {
510
+ if (e !== xn.value) {
510
511
  if (e) {
511
- k.add({
512
+ M.add({
512
513
  severity: "info",
513
- detail: I("views.settings.biometric.enable_hint"),
514
+ detail: F("views.settings.biometric.enable_hint"),
514
515
  life: 3e3
515
516
  });
516
517
  return;
517
518
  }
518
- xn.value = !0;
519
+ Sn.value = !0;
519
520
  try {
520
- await se(Se()), bn.value = !1, k.add({
521
+ await de(A()), xn.value = !1, M.add({
521
522
  severity: "success",
522
- detail: I("views.settings.biometric.cleared"),
523
+ detail: F("views.settings.biometric.cleared"),
523
524
  life: 3e3
524
525
  });
525
526
  } finally {
526
- xn.value = !1;
527
+ Sn.value = !1;
527
528
  }
528
529
  }
529
530
  }
530
531
  return te(() => {
531
532
  Hn();
532
- }), n({ formRef: W }), (e, n) => {
533
- let r = ie, i = Ee, l = ue, m = Ce, v = be, x = Te, S = _e, C = ke, te = ce, E = le, se = A, k = xe, pe = je, me = ye, he = T, j = oe, M = De, ve = de, Se = Oe, N = re, we = Ae, P = ne;
534
- return a(), g("div", null, [y("div", et, [p(L) ? (a(), u(p(ae), {
533
+ }), n({ formRef: U }), (e, n) => {
534
+ let r = se, i = De, l = ce, m = Ce, v = _e, x = Ee, S = Se, C = Ae, te = xe, T = fe, de = ye, he = le, ge = Me, O = Te, ve = re, k = oe, A = Oe, j = pe, M = ke, be = ie, we = je, N = ne;
535
+ return a(), g("div", null, [y("div", tt, [p(I) ? (a(), u(p(ue), {
535
536
  key: 0,
536
537
  ref_key: "formRef",
537
- ref: W,
538
- "validation-schema": p(Ze),
538
+ ref: U,
539
+ "validation-schema": p(Qe),
539
540
  class: "flex flex-col w-full gap-6"
540
541
  }, {
541
- default: h(() => [y("div", tt, [
542
- y("div", nt, [y("label", rt, [w(r, {
543
- src: p(q),
542
+ default: h(() => [y("div", nt, [
543
+ y("div", rt, [y("label", it, [w(r, {
544
+ src: p(K),
544
545
  size: 64,
545
546
  "show-border": !1,
546
547
  class: "cursor-pointer"
@@ -551,16 +552,16 @@ var ze = l({
551
552
  accept: "image/png,image/jpeg,image/jpg",
552
553
  onChange: n[0] ||= (e) => zn(e)
553
554
  }, null, 32)])]),
554
- y("span", it, o(e.$t("views.settings.profile")), 1),
555
+ y("span", at, o(e.$t("views.settings.profile")), 1),
555
556
  w(m, { class: "cui-card" }, {
556
- content: h(() => [y("div", at, [w(p(O), {
557
- "model-value": p(z)?.username,
557
+ content: h(() => [y("div", ot, [w(p(D), {
558
+ "model-value": p(R)?.username,
558
559
  name: "username",
559
560
  as: "div",
560
561
  class: "flex flex-col field-gap"
561
562
  }, {
562
563
  default: h(({ field: n, errors: r }) => [
563
- y("label", ot, o(e.$t("components.form.label.username")), 1),
564
+ y("label", st, o(e.$t("components.form.label.username")), 1),
564
565
  w(l, null, {
565
566
  default: h(() => [w(i, s(n, {
566
567
  invalid: r.length > 0,
@@ -569,7 +570,7 @@ var ze = l({
569
570
  _: 2
570
571
  }, 1024),
571
572
  w(t, { name: "fade" }, {
572
- default: h(() => [w(p(D), {
573
+ default: h(() => [w(p(E), {
573
574
  name: "username",
574
575
  class: "cui-input-error"
575
576
  })]),
@@ -580,14 +581,14 @@ var ze = l({
580
581
  }, 8, ["model-value"])])]),
581
582
  _: 1
582
583
  })
583
- ]), y("div", null, [y("span", st, o(e.$t("views.settings.password")), 1), w(m, { class: "cui-card" }, {
584
- content: h(() => [y("div", ct, [w(p(O), {
584
+ ]), y("div", null, [y("span", ct, o(e.$t("views.settings.password")), 1), w(m, { class: "cui-card" }, {
585
+ content: h(() => [y("div", lt, [w(p(D), {
585
586
  name: "password",
586
587
  as: "div",
587
588
  class: "flex flex-col field-gap"
588
589
  }, {
589
590
  default: h(({ field: n, errors: r }) => [
590
- y("label", lt, o(e.$t("components.form.label.new_password")), 1),
591
+ y("label", ut, o(e.$t("components.form.label.new_password")), 1),
591
592
  w(l, null, {
592
593
  default: h(() => [w(v, s({ invalid: r.length > 0 }, n, {
593
594
  feedback: !1,
@@ -596,7 +597,7 @@ var ze = l({
596
597
  _: 2
597
598
  }, 1024),
598
599
  w(t, { name: "fade" }, {
599
- default: h(() => [w(p(D), {
600
+ default: h(() => [w(p(E), {
600
601
  name: "password",
601
602
  class: "cui-input-error"
602
603
  })]),
@@ -604,13 +605,13 @@ var ze = l({
604
605
  })
605
606
  ]),
606
607
  _: 1
607
- }), w(p(O), {
608
+ }), w(p(D), {
608
609
  name: "passwordConfirm",
609
610
  as: "div",
610
611
  class: "flex flex-col field-gap"
611
612
  }, {
612
613
  default: h(({ field: n, errors: r }) => [
613
- y("label", ut, o(e.$t("components.form.label.new_password_confirm")), 1),
614
+ y("label", dt, o(e.$t("components.form.label.new_password_confirm")), 1),
614
615
  w(l, null, {
615
616
  default: h(() => [w(v, s({ invalid: r.length > 0 }, n, {
616
617
  feedback: !1,
@@ -619,7 +620,7 @@ var ze = l({
619
620
  _: 2
620
621
  }, 1024),
621
622
  w(t, { name: "fade" }, {
622
- default: h(() => [w(p(D), {
623
+ default: h(() => [w(p(E), {
623
624
  name: "passwordConfirm",
624
625
  class: "cui-input-error"
625
626
  })]),
@@ -632,9 +633,9 @@ var ze = l({
632
633
  })])]),
633
634
  _: 1
634
635
  }, 8, ["validation-schema"])) : (a(), g(_, { key: 1 }, [
635
- y("div", dt, [
636
- y("div", ft, [y("label", pt, [w(r, {
637
- src: p(q),
636
+ y("div", ft, [
637
+ y("div", pt, [y("label", mt, [w(r, {
638
+ src: p(K),
638
639
  size: 64,
639
640
  "show-border": !1,
640
641
  class: "cursor-pointer"
@@ -645,18 +646,18 @@ var ze = l({
645
646
  accept: "image/png,image/jpeg,image/jpg",
646
647
  onChange: n[1] ||= (e) => zn(e)
647
648
  }, null, 32)])]),
648
- y("span", mt, o(e.$t("views.settings.profile")), 1),
649
+ y("span", ht, o(e.$t("views.settings.profile")), 1),
649
650
  w(m, { class: "cui-card" }, {
650
- content: h(() => [y("div", ht, [y("div", gt, [y("label", _t, o(e.$t("components.form.label.username")), 1), w(l, null, {
651
+ content: h(() => [y("div", gt, [y("div", _t, [y("label", vt, o(e.$t("components.form.label.username")), 1), w(l, null, {
651
652
  default: h(() => [w(i, {
652
- modelValue: p(J),
653
- "onUpdate:modelValue": n[2] ||= (e) => f(J) ? J.value = e : null,
654
- loading: p(Y),
653
+ modelValue: p(q),
654
+ "onUpdate:modelValue": n[2] ||= (e) => f(q) ? q.value = e : null,
655
+ loading: p(J),
655
656
  type: "text"
656
657
  }, null, 8, ["modelValue", "loading"])]),
657
658
  _: 1
658
- })]), y("div", vt, [w(x, {
659
- loading: p(Y),
659
+ })]), y("div", yt, [w(x, {
660
+ loading: p(J),
660
661
  class: "cui-button-medium",
661
662
  label: e.$t("components.form.button.update_profile"),
662
663
  onClick: Bn
@@ -664,32 +665,32 @@ var ze = l({
664
665
  _: 1
665
666
  })
666
667
  ]),
667
- y("div", null, [y("span", yt, o(e.$t("views.settings.password")), 1), w(m, { class: "cui-card" }, {
668
- content: h(() => [w(p(ae), {
668
+ y("div", null, [y("span", bt, o(e.$t("views.settings.password")), 1), w(m, { class: "cui-card" }, {
669
+ content: h(() => [w(p(ue), {
669
670
  ref_key: "passwordFormRef",
670
- ref: G,
671
- "validation-schema": p(Xe),
671
+ ref: W,
672
+ "validation-schema": p(Ze),
672
673
  class: "flex flex-col gap-6",
673
674
  onSubmit: n[3] ||= (e) => Vn(e)
674
675
  }, {
675
676
  default: h(() => [
676
- w(p(O), {
677
+ w(p(D), {
677
678
  name: "password",
678
679
  as: "div",
679
680
  class: "flex flex-col field-gap"
680
681
  }, {
681
682
  default: h(({ field: n, errors: r }) => [
682
- y("label", bt, o(e.$t("components.form.label.new_password")), 1),
683
+ y("label", xt, o(e.$t("components.form.label.new_password")), 1),
683
684
  w(l, null, {
684
685
  default: h(() => [w(v, s({ invalid: r.length > 0 }, n, {
685
- loading: p(X),
686
+ loading: p(Y),
686
687
  feedback: !1,
687
688
  "toggle-mask": ""
688
689
  }), null, 16, ["invalid", "loading"])]),
689
690
  _: 2
690
691
  }, 1024),
691
692
  w(t, { name: "fade" }, {
692
- default: h(() => [w(p(D), {
693
+ default: h(() => [w(p(E), {
693
694
  name: "password",
694
695
  class: "cui-input-error"
695
696
  })]),
@@ -698,23 +699,23 @@ var ze = l({
698
699
  ]),
699
700
  _: 1
700
701
  }),
701
- w(p(O), {
702
+ w(p(D), {
702
703
  name: "passwordConfirm",
703
704
  as: "div",
704
705
  class: "flex flex-col field-gap"
705
706
  }, {
706
707
  default: h(({ field: n, errors: r }) => [
707
- y("label", xt, o(e.$t("components.form.label.new_password_confirm")), 1),
708
+ y("label", St, o(e.$t("components.form.label.new_password_confirm")), 1),
708
709
  w(l, null, {
709
710
  default: h(() => [w(v, s({ invalid: r.length > 0 }, n, {
710
- loading: p(X),
711
+ loading: p(Y),
711
712
  feedback: !1,
712
713
  "toggle-mask": ""
713
714
  }), null, 16, ["invalid", "loading"])]),
714
715
  _: 2
715
716
  }, 1024),
716
717
  w(t, { name: "fade" }, {
717
- default: h(() => [w(p(D), {
718
+ default: h(() => [w(p(E), {
718
719
  name: "passwordConfirm",
719
720
  class: "cui-input-error"
720
721
  })]),
@@ -723,9 +724,9 @@ var ze = l({
723
724
  ]),
724
725
  _: 1
725
726
  }),
726
- y("div", St, [w(x, {
727
+ y("div", Ct, [w(x, {
727
728
  type: "submit",
728
- loading: p(X),
729
+ loading: p(Y),
729
730
  class: "cui-button-medium",
730
731
  label: e.$t("components.form.button.change_password")
731
732
  }, null, 8, ["loading", "label"])])
@@ -734,8 +735,8 @@ var ze = l({
734
735
  }, 8, ["validation-schema"])]),
735
736
  _: 1
736
737
  })]),
737
- y("div", null, [y("span", Ct, o(e.$t("views.settings.security.title")), 1), w(m, { class: "cui-card" }, {
738
- content: h(() => [p(Ne) ? (a(), g("div", wt, [w(S, {
738
+ y("div", null, [y("span", wt, o(e.$t("views.settings.security.title")), 1), w(m, { class: "cui-card" }, {
739
+ content: h(() => [p(Pe) ? (a(), g("div", Tt, [w(S, {
739
740
  class: "w-[30px] h-[30px] m-0",
740
741
  "stroke-width": "5"
741
742
  })])) : (a(), u(t, {
@@ -743,27 +744,27 @@ var ze = l({
743
744
  name: "fade",
744
745
  mode: "out-in"
745
746
  }, {
746
- default: h(() => [!p(B)?.enabled && !p(Z) && !p(V) ? (a(), g("div", Tt, [y("div", Et, [y("span", Dt, o(e.$t("views.settings.security.2fa_title")), 1), y("span", Ot, 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, {
747
748
  class: "cui-button-medium ml-auto",
748
749
  label: e.$t("views.settings.security.setup_2fa"),
749
750
  onClick: Nn
750
- }, null, 8, ["label"])])) : !p(B)?.enabled && p(V) ? (a(), g("div", kt, [w(S, {
751
+ }, null, 8, ["label"])])) : !p(z)?.enabled && p(B) ? (a(), g("div", At, [w(S, {
751
752
  class: "w-[30px] h-[30px] m-0",
752
753
  "stroke-width": "5"
753
- }), y("span", At, o(e.$t("views.settings.security.generating_qr")), 1)])) : !p(B)?.enabled && p(Z) ? (a(), g("div", jt, [y("div", Mt, [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, {
754
755
  value: p(Tn),
755
756
  size: 160,
756
757
  "logo-size": 36
757
- }, null, 8, ["value"]), y("p", Nt, o(e.$t("views.settings.security.scan_qr")), 1)]), y("div", Pt, [
758
- y("div", Ft, [y("label", It, o(e.$t("views.settings.security.manual_entry")), 1), w(l, null, {
758
+ }, null, 8, ["value"]), y("p", Pt, o(e.$t("views.settings.security.scan_qr")), 1)]), y("div", Ft, [
759
+ y("div", It, [y("label", Lt, o(e.$t("views.settings.security.manual_entry")), 1), w(l, null, {
759
760
  default: h(() => [w(i, {
760
- "model-value": p(Z)?.secret,
761
+ "model-value": p(X)?.secret,
761
762
  readonly: "",
762
763
  class: "font-mono text-sm"
763
- }, null, 8, ["model-value"]), w(E, null, {
764
+ }, null, 8, ["model-value"]), w(T, null, {
764
765
  default: h(() => [w(te, {
765
766
  "action-text": e.$t("components.form.tooltip.copied"),
766
- icon: p(ge),
767
+ icon: p(ae),
767
768
  "button-props": {
768
769
  severity: "secondary",
769
770
  text: !0
@@ -774,13 +775,13 @@ var ze = l({
774
775
  })]),
775
776
  _: 1
776
777
  })]),
777
- y("div", Lt, [y("label", Rt, o(e.$t("views.settings.security.enter_code")), 1), w(se, {
778
- modelValue: p(Q),
779
- "onUpdate:modelValue": n[4] ||= (e) => f(Q) ? Q.value = e : null,
778
+ y("div", Rt, [y("label", zt, o(e.$t("views.settings.security.enter_code")), 1), w(de, {
779
+ modelValue: p(Z),
780
+ "onUpdate:modelValue": n[4] ||= (e) => f(Z) ? Z.value = e : null,
780
781
  length: 6,
781
782
  "integer-only": ""
782
783
  }, null, 8, ["modelValue"])]),
783
- y("div", zt, [w(x, {
784
+ y("div", Bt, [w(x, {
784
785
  severity: "secondary",
785
786
  class: "cui-button-medium",
786
787
  label: e.$t("components.form.button.cancel"),
@@ -788,18 +789,18 @@ var ze = l({
788
789
  }, null, 8, ["label"]), w(x, {
789
790
  class: "cui-button-medium",
790
791
  label: e.$t("views.settings.security.enable_2fa"),
791
- loading: p(Re),
792
- disabled: p(Q).length < 6,
792
+ loading: p(ze),
793
+ disabled: p(Z).length < 6,
793
794
  onClick: Fn
794
795
  }, null, 8, [
795
796
  "label",
796
797
  "loading",
797
798
  "disabled"
798
799
  ])])
799
- ])])) : (a(), g("div", Bt, [
800
- y("div", Vt, [y("div", Ht, [w(k, { class: "w-5 h-5" })]), y("div", Ut, [y("span", Wt, o(e.$t("views.settings.security.2fa_enabled")), 1)])]),
801
- p(B)?.backupCodesCount === void 0 ? d("", !0) : (a(), g("div", Gt, [w(pe, { class: "w-4 h-4" }), y("span", null, o(e.$t("views.settings.security.backup_codes_remaining", { count: p(B).backupCodesCount })), 1)])),
802
- y("div", Kt, [w(x, {
800
+ ])])) : (a(), g("div", Vt, [
801
+ y("div", Ht, [y("div", Ut, [w(he, { 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(ge, { class: "w-4 h-4" }), y("span", null, o(e.$t("views.settings.security.backup_codes_remaining", { count: p(z).backupCodesCount })), 1)])),
803
+ y("div", qt, [w(x, {
803
804
  severity: "secondary",
804
805
  class: "cui-button-medium",
805
806
  label: e.$t("views.settings.security.regenerate_backup"),
@@ -815,10 +816,10 @@ var ze = l({
815
816
  }))]),
816
817
  _: 1
817
818
  })]),
818
- p(Sn) ? (a(), g("div", qt, [y("span", Jt, o(e.$t("views.settings.biometric.title")), 1), w(m, { class: "cui-card" }, {
819
- content: h(() => [y("div", Yt, [
820
- w(me, { class: "shrink-0 w-6 h-6 text-color" }),
821
- y("div", Xt, [y("span", Zt, o(e.$t("views.settings.biometric.label")), 1), w(he, {
819
+ p(Cn) ? (a(), g("div", Jt, [y("span", Yt, o(e.$t("views.settings.biometric.title")), 1), w(m, { class: "cui-card" }, {
820
+ content: h(() => [y("div", Xt, [
821
+ w(O, { 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, {
822
823
  severity: "secondary",
823
824
  variant: "simple",
824
825
  size: "small",
@@ -827,23 +828,23 @@ var ze = l({
827
828
  default: h(() => [ee(o(e.$t("views.settings.biometric.description")), 1)]),
828
829
  _: 1
829
830
  })]),
830
- w(j, {
831
- "model-value": p(bn),
832
- loading: p(xn),
831
+ w(k, {
832
+ "model-value": p(xn),
833
+ loading: p(Sn),
833
834
  class: "ml-auto shrink-0",
834
835
  "onUpdate:modelValue": Un
835
836
  }, null, 8, ["model-value", "loading"])
836
837
  ])]),
837
838
  _: 1
838
839
  })])) : d("", !0),
839
- y("div", null, [y("span", Qt, o(e.$t("views.settings.api_tokens.title")), 1), w(m, { class: "cui-card" }, {
840
- content: h(() => [y("div", $t, [
841
- y("span", en, o(e.$t("views.settings.api_tokens.info")), 1),
842
- w(Se, {
843
- value: p(U) ?? [],
840
+ y("div", null, [y("span", $t, o(e.$t("views.settings.api_tokens.title")), 1), w(m, { class: "cui-card" }, {
841
+ content: h(() => [y("div", en, [
842
+ y("span", tn, o(e.$t("views.settings.api_tokens.info")), 1),
843
+ w(M, {
844
+ value: p(H) ?? [],
844
845
  "data-key": "id",
845
- loading: p(We),
846
- pt: Cn,
846
+ loading: p(Ge),
847
+ pt: wn,
847
848
  "striped-rows": "",
848
849
  scrollable: ""
849
850
  }, {
@@ -851,27 +852,27 @@ var ze = l({
851
852
  class: "w-[30px] h-[30px] m-0",
852
853
  "stroke-width": "5"
853
854
  })]),
854
- empty: h(() => [y("span", tn, o(e.$t("views.settings.api_tokens.empty")), 1)]),
855
+ empty: h(() => [y("span", nn, o(e.$t("views.settings.api_tokens.empty")), 1)]),
855
856
  default: h(() => [
856
- w(M, {
857
+ w(A, {
857
858
  field: "name",
858
859
  header: e.$t("views.settings.api_tokens.name_label"),
859
860
  "header-class": "p-2 h-7 min-h-7 max-h-7",
860
861
  class: "p-2 h-7 min-h-7 max-h-7"
861
862
  }, {
862
- body: h(({ data: e }) => [y("div", nn, [w(p(Pe), { class: "cui-session-icon" }), y("div", rn, [y("span", an, o(e.name), 1), y("span", on, 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)])])]),
863
864
  _: 1
864
865
  }, 8, ["header"]),
865
- w(M, {
866
+ w(A, {
866
867
  field: "last_seen_at",
867
868
  header: e.$t("views.settings.api_tokens.last_used"),
868
869
  "header-class": "p-2 h-7 min-h-7 max-h-7",
869
870
  class: "p-2 h-7 min-h-7 max-h-7"
870
871
  }, {
871
- body: h(({ data: t }) => [y("span", sn, o(t.last_seen_at > t.created_at ? p(fe)(t.last_seen_at) : e.$t("views.settings.api_tokens.never")), 1)]),
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)]),
872
873
  _: 1
873
874
  }, 8, ["header"]),
874
- w(M, {
875
+ w(A, {
875
876
  field: "action",
876
877
  "header-class": "p-2 h-7 min-h-7 max-h-7",
877
878
  class: "p-2 h-7 min-h-7 max-h-7 text-right"
@@ -881,22 +882,22 @@ var ze = l({
881
882
  text: "",
882
883
  rounded: "",
883
884
  class: "cui-icon-md",
884
- loading: p($) === t.id,
885
+ loading: p(Q) === t.id,
885
886
  onClick: (e) => jn(t)
886
887
  }, {
887
- icon: h(() => [w(ve, {
888
+ icon: h(() => [w(j, {
888
889
  width: "100%",
889
890
  height: "100%"
890
891
  })]),
891
892
  _: 1
892
- }, 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") }]])]),
893
894
  _: 1
894
895
  })
895
896
  ]),
896
897
  _: 1
897
898
  }, 8, ["value", "loading"]),
898
- y("div", cn, [w(x, {
899
- loading: p(qe),
899
+ y("div", ln, [w(x, {
900
+ loading: p(Je),
900
901
  class: "cui-button-medium mr-4 md:mr-0",
901
902
  label: e.$t("views.settings.api_tokens.create"),
902
903
  onClick: kn
@@ -904,12 +905,12 @@ var ze = l({
904
905
  ])]),
905
906
  _: 1
906
907
  })]),
907
- y("div", null, [y("span", ln, o(e.$t("views.settings.active_sessions.title")), 1), w(m, { class: "cui-card" }, {
908
- content: h(() => [y("div", un, [w(Se, {
909
- value: p(H) ?? [],
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(V) ?? [],
910
911
  "data-key": "id",
911
- loading: p(Be),
912
- pt: Cn,
912
+ loading: p(Ve),
913
+ pt: wn,
913
914
  "striped-rows": "",
914
915
  scrollable: ""
915
916
  }, {
@@ -917,21 +918,21 @@ var ze = l({
917
918
  class: "w-[30px] h-[30px] m-0",
918
919
  "stroke-width": "5"
919
920
  })]),
920
- empty: h(() => [y("span", dn, o(e.$t("views.settings.active_sessions.empty")), 1)]),
921
- default: h(() => [w(M, {
921
+ empty: h(() => [y("span", fn, o(e.$t("views.settings.active_sessions.empty")), 1)]),
922
+ default: h(() => [w(A, {
922
923
  field: "device",
923
924
  header: e.$t("views.settings.title_device"),
924
925
  "header-class": "p-2 h-7 min-h-7 max-h-7",
925
926
  class: "p-2 h-7 min-h-7 max-h-7"
926
927
  }, {
927
- body: h(({ data: t }) => [y("div", fn, [(a(), u(c(Dn(t.device.kind)), { class: "cui-session-icon" })), y("div", pn, [y("div", mn, [y("span", hn, 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(be, {
928
929
  key: 0,
929
930
  severity: "success",
930
931
  value: e.$t("views.settings.active_sessions.this_device"),
931
932
  class: "cui-session-tag"
932
- }, null, 8, ["value"])) : d("", !0)]), y("span", gn, o(t.device.ip || "—"), 1)])])]),
933
+ }, null, 8, ["value"])) : d("", !0)]), y("span", _n, o(t.device.ip || "—"), 1)])])]),
933
934
  _: 1
934
- }, 8, ["header"]), w(M, {
935
+ }, 8, ["header"]), w(A, {
935
936
  field: "action",
936
937
  "header-class": "p-2 h-7 min-h-7 max-h-7",
937
938
  class: "p-2 h-7 min-h-7 max-h-7 text-right"
@@ -942,7 +943,7 @@ var ze = l({
942
943
  text: "",
943
944
  rounded: "",
944
945
  class: "cui-icon-md",
945
- loading: p(vn) === t.id,
946
+ loading: p(yn) === t.id,
946
947
  onClick: (e) => On(t.id)
947
948
  }, {
948
949
  icon: h(() => [w(we, {
@@ -950,14 +951,14 @@ var ze = l({
950
951
  height: "100%"
951
952
  })]),
952
953
  _: 1
953
- }, 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") }]])]),
954
955
  _: 1
955
956
  })]),
956
957
  _: 1
957
- }, 8, ["value", "loading"]), p(wn) > 0 ? (a(), g("div", _n, [w(x, {
958
- loading: p(yn),
958
+ }, 8, ["value", "loading"]), p($) > 0 ? (a(), g("div", vn, [w(x, {
959
+ loading: p(bn),
959
960
  class: "cui-button-medium mr-4 md:mr-0",
960
- label: e.$t("views.settings.active_sessions.revoke_all_others", { count: p(wn) }),
961
+ label: e.$t("views.settings.active_sessions.revoke_all_others", { count: p($) }),
961
962
  onClick: Mn
962
963
  }, null, 8, ["loading", "label"])])) : d("", !0)])]),
963
964
  _: 1
@@ -965,6 +966,6 @@ var ze = l({
965
966
  ], 64))])]);
966
967
  };
967
968
  }
968
- }), X = /* @__PURE__ */ e({ default: () => Z }), Z = /*#__PURE__*/ k(Y, [["__scopeId", "data-v-de51a7b1"]]);
969
+ }), Y = /* @__PURE__ */ e({ default: () => X }), X = /*#__PURE__*/ M(J, [["__scopeId", "data-v-de51a7b1"]]);
969
970
  //#endregion
970
- export { X as n, Z as t };
971
+ export { Y as n, X as t };