@camera.ui/server 2.1.11 → 2.1.13
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.
- package/dist/interface/assets/{404-B4_ZWIGx.js → 404-CVkDpT0X.js} +1 -1
- package/dist/interface/assets/{About-Cd8Ipr7a.js → About-CUgIR2xi.js} +1 -1
- package/dist/interface/assets/Automation-BYRKp0AC.js +3 -0
- package/dist/interface/assets/{AutomationImport-BTkkRikE.js → AutomationImport-L_OzZZgi.js} +2 -2
- package/dist/interface/assets/{AutomationStore-VdGEOwci.js → AutomationStore-DaNQqJoT.js} +2 -2
- package/dist/interface/assets/AutomationStoreDetail-Seor4Ohh.js +2 -0
- package/dist/interface/assets/Automations-BMQIkpUa.js +2 -0
- package/dist/interface/assets/Camera-3umh2Xjc.js +2 -0
- package/dist/interface/assets/{CameraConsole-KqRFGZzT.js → CameraConsole-BLlgkKDp.js} +2 -2
- package/dist/interface/assets/Cameras-DvK8E1Vk.js +651 -0
- package/dist/interface/assets/{Camview-Lp3QU0de.css → Camview-DIEa8IRE.css} +1 -1
- package/dist/interface/assets/Camview-DSO2lWxT.js +1 -0
- package/dist/interface/assets/{CertificateUpload-Dd4Ec7bt.js → CertificateUpload-BsnlaxRS.js} +1 -1
- package/dist/interface/assets/{Config-Db-Eh4Lf.js → Config-BXj83-No.js} +1 -1
- package/dist/interface/assets/{ConfigActionCameraControl-CbG-HEuU.js → ConfigActionCameraControl-BGfvT6ME.js} +1 -1
- package/dist/interface/assets/{ConfigActionDelay-BoGIhNHr.js → ConfigActionDelay-D10_C6yo.js} +1 -1
- package/dist/interface/assets/{ConfigActionHttp-DyPo2XvQ.js → ConfigActionHttp-DL4jh9Wz.js} +1 -1
- package/dist/interface/assets/{ConfigActionImageInput-C9aYztb6.js → ConfigActionImageInput-DVvMUzrT.js} +1 -1
- package/dist/interface/assets/{ConfigActionMqtt-kQz9Y9OZ.js → ConfigActionMqtt-BqK3q4cC.js} +1 -1
- package/dist/interface/assets/ConfigActionNotification-D_H5Q68D.js +1 -0
- package/dist/interface/assets/{ConfigActionNotificationControl-DEOv_FGO.js → ConfigActionNotificationControl-BnTJl4dr.js} +1 -1
- package/dist/interface/assets/{ConfigActionOutput-CGtG-8PF.js → ConfigActionOutput-udY95_rH.js} +1 -1
- package/dist/interface/assets/{ConfigActionPlugin-C8v0CWrz.js → ConfigActionPlugin-C51LrkZb.js} +1 -1
- package/dist/interface/assets/{ConfigActionSensor-CESXnRuQ.js → ConfigActionSensor-B2tFf8x6.js} +1 -1
- package/dist/interface/assets/{ConfigActionSnapshot-TVhjeFKP.js → ConfigActionSnapshot-BzmeByH3.js} +1 -1
- package/dist/interface/assets/{ConfigActionVariable-DwRFwopb.js → ConfigActionVariable-BagC3lj5.js} +1 -1
- package/dist/interface/assets/{ConfigConditionIfElse-CmtoYTUU.js → ConfigConditionIfElse-CQOZJ19Y.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSensorState-3B9Sjxdb.js → ConfigConditionSensorState-SGYpkNP5.js} +1 -1
- package/dist/interface/assets/ConfigConditionSwitch-BXR6xUN8.js +1 -0
- package/dist/interface/assets/{ConfigConditionTime-Djq2yOCr.js → ConfigConditionTime-BrEhw1R9.js} +1 -1
- package/dist/interface/assets/{ConfigSensorValueInput-DZ7r71aU.js → ConfigSensorValueInput-DezTWtbA.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerDetection-B62txb4H.js → ConfigTriggerDetection-xo0imE_3.js} +1 -1
- package/dist/interface/assets/ConfigTriggerGeofence-BmJpP4Ew.js +1 -0
- package/dist/interface/assets/{ConfigTriggerManual-nrYy4xBP.js → ConfigTriggerManual-CmAdnZQK.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerMqtt-CK8FEVxs.js → ConfigTriggerMqtt-F19dhVm1.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSchedule-DN3Tl7f4.js → ConfigTriggerSchedule-BGci3Aed.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSensor-DBXrlYyS.js → ConfigTriggerSensor-DSEDGB2X.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSystem-QFLNb9GC.js → ConfigTriggerSystem-DPy8Zir4.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerWebhook-46mdJk6X.js → ConfigTriggerWebhook-Dv0Kmwg8.js} +1 -1
- package/dist/interface/assets/Console-Cuh-Vc4u.js +1 -0
- package/dist/interface/assets/{CuiAutomationRunsDialog-BvtQfpTx.js → CuiAutomationRunsDialog-B1UeVC6Q.js} +1 -1
- package/dist/interface/assets/{CuiBottomSheet-UiJcO4M3.js → CuiBottomSheet-BjkDE7_9.js} +1 -1
- package/dist/interface/assets/CuiBottomSheet-C9G-NoMU.js +1 -0
- package/dist/interface/assets/CuiCameraPipCard-nrln9zp-.js +1 -0
- package/dist/interface/assets/CuiCameraRecordings-B7BhgPpP.css +1 -0
- package/dist/interface/assets/CuiCameraRecordings-HKwhFpea.js +1 -0
- package/dist/interface/assets/{CuiCameraShares-46_p-wPD.js → CuiCameraShares-D-fhJCro.js} +1 -1
- package/dist/interface/assets/{CuiCameraTable-BXm5THd1.js → CuiCameraTable-BTVfK-HY.js} +2 -2
- package/dist/interface/assets/CuiCameraTable-DGg4_c_u.js +1 -0
- package/dist/interface/assets/{CuiChartTable-ByHWgFTc.js → CuiChartTable-DAUYP-EW.js} +1 -1
- package/dist/interface/assets/{CuiConsole-BOyrbC0a.js → CuiConsole-C7aZj4wK.js} +2 -2
- package/dist/interface/assets/{CuiDataTable-BDyku8Vr.js → CuiDataTable-1B8aaZQO.js} +1 -1
- package/dist/interface/assets/CuiLightControl-CSA1PYc8.js +1 -0
- package/dist/interface/assets/{CuiList-D1d-S_-K.js → CuiList-D-hOSNou.js} +1 -1
- package/dist/interface/assets/CuiMarkdownContent-D2bWw1GN.js +1 -0
- package/dist/interface/assets/{CuiMarkdownContent-bAQw35id.js → CuiMarkdownContent-gJ8gvmYA.js} +1 -1
- package/dist/interface/assets/CuiPluginCard-D1Hkyiy4.js +2 -0
- package/dist/interface/assets/{CuiPluginCategoryChip-CCnZkkL5.js → CuiPluginCategoryChip-qnn-HD6g.js} +1 -1
- package/dist/interface/assets/{CuiPluginOAuthButton-CTKbdFZJ.js → CuiPluginOAuthButton-CXextmBv.js} +2 -2
- package/dist/interface/assets/{CuiPluginTrustBadge-B_1b1iYf.js → CuiPluginTrustBadge-C-8MN2Qc.js} +1 -1
- package/dist/interface/assets/{CuiQRCode-B0CF6e-5.js → CuiQRCode-D1qmU4qU.js} +1 -1
- package/dist/interface/assets/CuiSchema-DnHOpBg4.js +1 -0
- package/dist/interface/assets/{CuiTopNavbarItem-Bs4iRb31.js → CuiTopNavbarItem-Csb3O1-n.js} +1 -1
- package/dist/interface/assets/Faces-C0QpQxuF.js +1 -0
- package/dist/interface/assets/FirstSteps-BqZQovY7.js +1 -0
- package/dist/interface/assets/{Floorplan-Da5gt435.css → Floorplan-Bxhdg4C2.css} +1 -1
- package/dist/interface/assets/Floorplan-CW-W5ZkV.js +1 -0
- package/dist/interface/assets/Instances-VSkiqKKf.js +1 -0
- package/dist/interface/assets/{Logs-Bnq3wEXS.js → Logs-DQFS2AUi.js} +2 -2
- package/dist/interface/assets/{Menu-M1PaPt5e.js → Menu-COvvZ_vz.js} +1 -1
- package/dist/interface/assets/Metrics-cvbQzChA.js +9 -0
- package/dist/interface/assets/OAuthDeviceFlow-3ZC2QCAs.js +1 -0
- package/dist/interface/assets/Plugin-DjQd3Y9J.js +1 -0
- package/dist/interface/assets/{PluginConsole-f5xf7P3Y.js → PluginConsole-BaUkghQD.js} +2 -2
- package/dist/interface/assets/PluginDetail-Ofj1hk2q.js +2 -0
- package/dist/interface/assets/{PluginSchema-DMjDPtOB.js → PluginSchema-f-ER7hlx.js} +1 -1
- package/dist/interface/assets/PluginSearch-Ce3S1HDv.js +1 -0
- package/dist/interface/assets/PluginSearch-D5eQsj5p.js +2 -0
- package/dist/interface/assets/{PluginUpdateProgress-FVY9RtmB.js → PluginUpdateProgress-BfYNLvVX.js} +1 -1
- package/dist/interface/assets/Plugins-DtDN9z0k.js +1 -0
- package/dist/interface/assets/Recordings-CQGnTZFt.js +1 -0
- package/dist/interface/assets/SensorEdit-BZtiJyoI.js +1 -0
- package/dist/interface/assets/{SensorHistory-5nCWisih.js → SensorHistory-BFkT3teu.js} +1 -1
- package/dist/interface/assets/{Sensors-BsLHVGqk.css → Sensors-CaKl4PQY.css} +1 -1
- package/dist/interface/assets/Sensors-DSR-AUqb.js +2 -0
- package/dist/interface/assets/{Settings-DsxjHlTb.js → Settings-DV3JZFjc.js} +1 -1
- package/dist/interface/assets/SettingsAccount-Cd5JPsv2.js +1 -0
- package/dist/interface/assets/SettingsAccount-D4ib7Asi.js +1 -0
- package/dist/interface/assets/SettingsAppearance-BYsQmdyo.js +1 -0
- package/dist/interface/assets/{SettingsAppearance-Dc5qomCw.js → SettingsAppearance-CC6StMAi.js} +1 -1
- package/dist/interface/assets/{SettingsBackup-xZ6fRlMp.js → SettingsBackup-BcVFCbhB.js} +1 -1
- package/dist/interface/assets/{SettingsList-M3eOiLIi.js → SettingsList-04HiM3OT.js} +1 -1
- package/dist/interface/assets/SettingsMqtt-XaJdsYPn.js +1 -0
- package/dist/interface/assets/SettingsNotifications-CUoYMHwr.js +1 -0
- package/dist/interface/assets/{SettingsPermissions-g6ppqzcI.js → SettingsPermissions-gFDNSlTh.js} +1 -1
- package/dist/interface/assets/SettingsRecordings-Bw64UZWe.js +1 -0
- package/dist/interface/assets/SettingsRemote-BnFW-uT-.js +2 -0
- package/dist/interface/assets/{SettingsSystem-EaqPKfS_.js → SettingsSystem-Cdjg5GNY.js} +2 -2
- package/dist/interface/assets/{SettingsUsers-B3m7YHzN.js → SettingsUsers-DphPL78H.js} +1 -1
- package/dist/interface/assets/{Terminal-BXQKgvte.js → Terminal-CrNjqzTs.js} +2 -2
- package/dist/interface/assets/{Updates-Difs3xzH.js → Updates-V5B9LSD-.js} +2 -2
- package/dist/interface/assets/{VariableInput-DNlqv5NS.js → VariableInput-n0TxKRqq.js} +1 -1
- package/dist/interface/assets/{VariableSuggestions-cR1Q4nfD.js → VariableSuggestions-C4LmaCAo.js} +1 -1
- package/dist/interface/assets/{VersionsHandler-BHyZgGCP.js → VersionsHandler-BPocJcb0.js} +2 -2
- package/dist/interface/assets/{VirtualSensorCreate-CSzlXcHk.js → VirtualSensorCreate-BPvbrzGS.js} +1 -1
- package/dist/interface/assets/Workers-DEvQNzUi.js +2 -0
- package/dist/interface/assets/{lightbulb-outline-BtraGBwO.js → alert-outline-DtiCgufF.js} +1 -1
- package/dist/interface/assets/{api-Bpl4Sd0_.js → api-BXmkXIE8.js} +1 -1
- package/dist/interface/assets/api-DO5wBndX.css +2 -0
- package/dist/interface/assets/api-x8zXlvtm.js +4 -0
- package/dist/interface/assets/{auth-O2tHbgZf.js → auth-BKJnreuu.js} +1 -1
- package/dist/interface/assets/{automations-C3f5HUy2.js → automations-CVuIXlAQ.js} +1 -1
- package/dist/interface/assets/cameraSources-C3cl6FVD.js +1 -0
- package/dist/interface/assets/cloudHandoff-BZvvihwX.js +1 -0
- package/dist/interface/assets/{config-BIxANITl.js → config-Sw94rZxF.js} +1 -1
- package/dist/interface/assets/{flowSchema-Cu_f8mZr.js → flowSchema-BOrDqdeG.js} +1 -1
- package/dist/interface/assets/{intercomService-JoKcW49f.js → intercomService-CfCIMUlA.js} +1 -1
- package/dist/interface/assets/main-Jl93jEZK.js +3 -0
- package/dist/interface/assets/{main-BF8Mg561.css → main-Qqk3RyYP.css} +1 -1
- package/dist/interface/assets/{mqtt-D_ToI2JF.js → mqtt-BaCMJJk_.js} +1 -1
- package/dist/interface/assets/nodeDefinitions-a8iyp3yk.js +1 -0
- package/dist/interface/assets/{notifications-BZCPhbuG.js → notifications-l-x8vA4D.js} +1 -1
- package/dist/interface/assets/{plugins-DXYT--j6.js → plugins-GA9v-eQx.js} +1 -1
- package/dist/interface/assets/{rooms-BXXhWbYq.js → rooms-DX7PBdpP.js} +1 -1
- package/dist/interface/assets/sensorIcons-BTgouEmX.js +1 -0
- package/dist/interface/assets/{sensors-ud0INKWh.js → sensors-LJkBCaMk.js} +1 -1
- package/dist/interface/assets/{server-_f9tZajz.js → server-dOx3q8o1.js} +1 -1
- package/dist/interface/assets/theme-DgrclY58.js +1 -0
- package/dist/interface/assets/types-CSWXRySW.js +1 -0
- package/dist/interface/assets/{types-CCCcoJBr.js → types-D19FOdYo.js} +1 -1
- package/dist/interface/assets/types-Yq0FH8fa.js +1 -0
- package/dist/interface/assets/ungrouped-B_u9a5wm.js +1 -0
- package/dist/interface/assets/{ungrouped-uv64nr5n.css → ungrouped-DTYy_Pud.css} +1 -1
- package/dist/interface/assets/{updates-i-Ukebxe.js → updates-BVN6uGXy.js} +1 -1
- package/dist/interface/assets/{useAppVersion-DY0h_lct.js → useAppVersion-BUDIkitU.js} +1 -1
- package/dist/interface/assets/useBackupRestore-CnSZNCC8.js +1 -0
- package/dist/interface/assets/{useCameraOptions-C-rXBi8d.js → useCameraOptions-Cgb4eV2d.js} +1 -1
- package/dist/interface/assets/{useLogsSocket-Bigb4u3j.js → useLogsSocket-CGKtL049.js} +1 -1
- package/dist/interface/assets/{useNavLayout-C9FWniNC.js → useNavLayout-Dcngcb73.js} +1 -1
- package/dist/interface/assets/{usePermissions-C_4RPiE4.js → usePermissions-zJF4LCPm.js} +1 -1
- package/dist/interface/assets/{usePluginUpdates-CQwLK3om.js → usePluginUpdates-DP--lRxm.js} +1 -1
- package/dist/interface/assets/{usePushRegistration-sYPibp5s.js → usePushRegistration-BhPBp28J.js} +1 -1
- package/dist/interface/assets/{useServerRestart-B0Cfu10q.js → useServerRestart-BpCDYbPH.js} +1 -1
- package/dist/interface/assets/{useStreamStatus-BLXdLAvK.js → useStreamStatus-BoVMk6KT.js} +1 -1
- package/dist/interface/assets/{useTabSwipe-C3qfclkm.js → useTabSwipe--t-Qqa31.js} +1 -1
- package/dist/interface/assets/{useUpdateChannel-DvO5NQPE.js → useUpdateChannel-DAuhU-__.js} +1 -1
- package/dist/interface/assets/{useUpdatesSocket-C6wTDGIg.js → useUpdatesSocket-C-j3b3tU.js} +1 -1
- package/dist/interface/assets/{useUserOptions-B9T46skV.js → useUserOptions-CcLVC73O.js} +1 -1
- package/dist/interface/assets/vendor-cameraui-phsC2Mmi.js +2326 -0
- package/dist/interface/assets/vendor-core-C0ZWoGJD.js +1 -0
- package/dist/interface/assets/{vendor-markdown-pUmink8s.js → vendor-markdown-aj6qAoLx.js} +3 -3
- package/dist/interface/assets/{vendor-primevue-CvHDsVi_.js → vendor-primevue-nPess0JU.js} +76 -76
- package/dist/interface/assets/vendor-zod-CJ7LAMqQ.js +99 -0
- package/dist/interface/ha/404-PedrGUiq.js +60 -0
- package/dist/interface/ha/About-l5fkBqG7.js +55 -0
- package/dist/interface/ha/Automation-CaSlGjT4.js +2015 -0
- package/dist/interface/ha/AutomationImport-BNavtjDq.js +206 -0
- package/dist/interface/ha/AutomationStore-BVSW8TVt.js +335 -0
- package/dist/interface/ha/AutomationStoreDetail-DHZwlpz0.js +122 -0
- package/dist/interface/ha/Automations-CZ2jvH6d.js +437 -0
- package/dist/interface/ha/Camera-CggUrrPm.js +625 -0
- package/dist/interface/ha/CameraConsole-DpzF48TF.js +52 -0
- package/dist/interface/ha/Cameras-K-kQF5tG.js +1970 -0
- package/dist/interface/ha/Camview-zJVP7JwZ.js +1337 -0
- package/dist/interface/ha/CertificateUpload-DbBQ87OT.js +117 -0
- package/dist/interface/ha/Config-Bsud2DYI.js +356 -0
- package/dist/interface/ha/ConfigActionCameraControl-Czkfw_NO.js +152 -0
- package/dist/interface/ha/ConfigActionDelay-BHug57u7.js +61 -0
- package/dist/interface/ha/ConfigActionHttp-LfbxbfgG.js +134 -0
- package/dist/interface/ha/ConfigActionImageInput-Ce2GJzCm.js +171 -0
- package/dist/interface/ha/ConfigActionMqtt-KmCGcNZb.js +81 -0
- package/dist/interface/ha/ConfigActionNotification-DUMY_3IT.js +199 -0
- package/dist/interface/ha/ConfigActionNotificationControl-B9Z2i5WR.js +111 -0
- package/dist/interface/ha/ConfigActionOutput-CX-ZQjcs.js +98 -0
- package/dist/interface/ha/ConfigActionPlugin-y5PuPwdk.js +172 -0
- package/dist/interface/ha/ConfigActionSensor-CC39Rpxi.js +139 -0
- package/dist/interface/ha/ConfigActionSnapshot-CWyhx6rk.js +48 -0
- package/dist/interface/ha/ConfigActionVariable-BNRLCthd.js +88 -0
- package/dist/interface/ha/ConfigConditionIfElse-BayS5_Dr.js +124 -0
- package/dist/interface/ha/ConfigConditionSensorState-DLXNqL-R.js +192 -0
- package/dist/interface/ha/ConfigConditionSwitch-BBesQgWi.js +128 -0
- package/dist/interface/ha/ConfigConditionTime-aD8mk2aa.js +95 -0
- package/dist/interface/ha/ConfigSensorValueInput-5JzesEuD.js +169 -0
- package/dist/interface/ha/ConfigTriggerDetection--BcjPuyh.js +241 -0
- package/dist/interface/ha/ConfigTriggerGeofence-BZi5a2Yv.js +4896 -0
- package/dist/interface/ha/ConfigTriggerManual-ConxhgNx.js +14 -0
- package/dist/interface/ha/ConfigTriggerMqtt-B6C9injX.js +134 -0
- package/dist/interface/ha/ConfigTriggerSchedule-Vv5iNKL3.js +72 -0
- package/dist/interface/ha/ConfigTriggerSensor-beixHfSD.js +73 -0
- package/dist/interface/ha/ConfigTriggerSystem-BHDpn485.js +188 -0
- package/dist/interface/ha/ConfigTriggerWebhook-D9cuCU_p.js +94 -0
- package/dist/interface/ha/Console-CbQnrt6X.js +348 -0
- package/dist/interface/ha/CuiAutomationRunsDialog-CckgCRNS.js +130 -0
- package/dist/interface/ha/CuiBottomSheet-juhGdTsO.js +270 -0
- package/dist/interface/ha/CuiCameraRecordings-CLzZiXhk.js +552 -0
- package/dist/interface/ha/CuiCameraShares-Dzx1jZGE.js +121 -0
- package/dist/interface/ha/CuiCameraTable-ug0ik9N-.js +153 -0
- package/dist/interface/ha/CuiChartTable-7EnAA-WG.js +6784 -0
- package/dist/interface/ha/CuiConsole-DOnyBSL7.js +244 -0
- package/dist/interface/ha/CuiDataTable-Cx9GBqsV.js +8725 -0
- package/dist/interface/ha/CuiList-C45psxFZ.js +57 -0
- package/dist/interface/ha/CuiMarkdownContent-D7sCtnNQ.js +4716 -0
- package/dist/interface/ha/CuiPluginCard-ChLIfOms.js +769 -0
- package/dist/interface/ha/CuiPluginOAuthButton-B6vPOEx2.js +105 -0
- package/dist/interface/ha/CuiPluginTrustBadge-BvPV93D0.js +123 -0
- package/dist/interface/ha/CuiQRCode-Djr3z54t.js +86 -0
- package/dist/interface/ha/CuiSchema-dl7TXv-k.js +963 -0
- package/dist/interface/ha/CuiTopNavbarItem-BXoda5eM.js +141 -0
- package/dist/interface/ha/Faces-DnqWMGWW.js +1281 -0
- package/dist/interface/ha/FirstSteps-CFawb017.js +251 -0
- package/dist/interface/ha/Floorplan-Mv-Ootly.js +3677 -0
- package/dist/interface/ha/Instances-DJjZ3btI.js +680 -0
- package/dist/interface/ha/Logs-CLFhW1xq.js +418 -0
- package/dist/interface/ha/Menu-D7QTRqMJ.js +161 -0
- package/dist/interface/ha/Metrics-CCvFtezL.js +1330 -0
- package/dist/interface/ha/OAuthDeviceFlow-4YupTNsK.js +112 -0
- package/dist/interface/ha/Plugin-BHU0yhBa.js +1404 -0
- package/dist/interface/ha/PluginConsole-CNrLuFQM.js +56 -0
- package/dist/interface/ha/PluginDetail-Bm3X-xN4.js +230 -0
- package/dist/interface/ha/PluginSearch-C0be8cYD.js +475 -0
- package/dist/interface/ha/PluginUpdateProgress-DVvgYMLG.js +34 -0
- package/dist/interface/ha/Plugins-R-uz0Se-.js +705 -0
- package/dist/interface/ha/Recordings-DAwbihs8.js +1463 -0
- package/dist/interface/ha/SensorEdit-BxE1cRLR.js +1460 -0
- package/dist/interface/ha/SensorHistory-DUGlH2pU.js +54 -0
- package/dist/interface/ha/Sensors-Cax5RlPH.js +1358 -0
- package/dist/interface/ha/Settings-DKtlCoyz.js +218 -0
- package/dist/interface/ha/SettingsAccount-2e_Vjpev.js +970 -0
- package/dist/interface/ha/SettingsAppearance-DCm60FhX.js +220 -0
- package/dist/interface/ha/SettingsBackup-CiM_nNWt.js +556 -0
- package/dist/interface/ha/SettingsList-D4D3cmLo.js +40 -0
- package/dist/interface/ha/SettingsMqtt-CID4L0PD.js +526 -0
- package/dist/interface/ha/SettingsNotifications-DGJkhm8T.js +529 -0
- package/dist/interface/ha/SettingsPermissions-Cd0rtgli.js +84 -0
- package/dist/interface/ha/SettingsRecordings-pR4L0wgy.js +151 -0
- package/dist/interface/ha/SettingsRemote-CYg-LSQK.js +1810 -0
- package/dist/interface/ha/SettingsSystem-BeYJN1Ut.js +376 -0
- package/dist/interface/ha/SettingsUsers-F4CZggSR.js +379 -0
- package/dist/interface/ha/Terminal-iQahUx9P.js +631 -0
- package/dist/interface/ha/Updates-ClQ77p-o.js +356 -0
- package/dist/interface/ha/VariableInput-BOHBmNff.js +52 -0
- package/dist/interface/ha/VariableSuggestions-BE06z6SW.js +201 -0
- package/dist/interface/ha/VersionsHandler-Cx9u0oj8.js +211 -0
- package/dist/interface/ha/VirtualSensorCreate-CvSzLo4N.js +101 -0
- package/dist/interface/ha/Workers-CEJtdSu-.js +765 -0
- package/dist/interface/ha/accordion-BT2wHwK8.js +577 -0
- package/dist/interface/ha/account-B1xL2wxD.js +19 -0
- package/dist/interface/ha/ace-Dh61T4RV.js +13238 -0
- package/dist/interface/ha/ace.config-HyzcNHkM.js +1429 -0
- package/dist/interface/ha/alert-circle-CLRn5GAd.js +19 -0
- package/dist/interface/ha/alert-outline-CGTMAqXf.js +75 -0
- package/dist/interface/ha/api-BmNBy1ay.js +29 -0
- package/dist/interface/ha/api-CWJkvtnM.js +60866 -0
- package/dist/interface/ha/arrow-left-DkvcResi.js +19 -0
- package/dist/interface/ha/auth-X6tkVYJs.js +271 -0
- package/dist/interface/ha/autocomplete-L_jK3s3m.js +1373 -0
- package/dist/interface/ha/automationBlueprint-D1TiCF7R.js +249 -0
- package/dist/interface/ha/back-filled-Cxzg5vQg.js +20 -0
- package/dist/interface/ha/base-D_LAf3cS.js +26 -0
- package/dist/interface/ha/base-c1lsE5TW.js +125 -0
- package/dist/interface/ha/bell-ring-xrXdzNHW.js +19 -0
- package/dist/interface/ha/brain-DyOOk3m3.js +19 -0
- package/dist/interface/ha/browser-Bxx7joo_.js +1227 -0
- package/dist/interface/ha/browserconfig.xml +11 -0
- package/dist/interface/ha/button-BlYuI0Q7.js +406 -0
- package/dist/interface/ha/cameraui-cards.js +190 -0
- package/dist/interface/ha/cards-CNOyNWMA.js +13316 -0
- package/dist/interface/ha/cctv-Bz6BH0ns.js +19 -0
- package/dist/interface/ha/check-circle-D_wDxrLs.js +19 -0
- package/dist/interface/ha/chevron-down-P5MtUhJO.js +19 -0
- package/dist/interface/ha/chip-DxGABeun.js +149 -0
- package/dist/interface/ha/clock-outline-JxApewmA.js +19 -0
- package/dist/interface/ha/close-Eq3txTBS.js +19 -0
- package/dist/interface/ha/close-circle-C2nTtN_-.js +19 -0
- package/dist/interface/ha/config-E4Jkelkr.js +116 -0
- package/dist/interface/ha/content-copy-DpPXKtKE.js +19 -0
- package/dist/interface/ha/copy-C48Ur26H.js +22 -0
- package/dist/interface/ha/datepicker-BuvKhBWJ.js +3236 -0
- package/dist/interface/ha/definitions-E-sY7Cxg.js +23 -0
- package/dist/interface/ha/delete-D-m8mqly.js +19 -0
- package/dist/interface/ha/dist-B7lgvbyI.js +279 -0
- package/dist/interface/ha/dist-Ca9_5rzq.js +3457 -0
- package/dist/interface/ha/divider-jkWvVbPJ.js +110 -0
- package/dist/interface/ha/download-Cnr7IQKX.js +19 -0
- package/dist/interface/ha/esm-1sIZN4t7.js +6 -0
- package/dist/interface/ha/esm-6hnPZcZr.js +15 -0
- package/dist/interface/ha/esm-B72ViJ7F.js +5 -0
- package/dist/interface/ha/esm-BGlkcEes.js +156 -0
- package/dist/interface/ha/esm-BKPZuThK.js +5 -0
- package/dist/interface/ha/esm-BMx7MsZ_.js +15 -0
- package/dist/interface/ha/esm-CChFtwcx.js +21 -0
- package/dist/interface/ha/esm-CMTmAdHP.js +5 -0
- package/dist/interface/ha/esm-CkoEL9YX.js +7 -0
- package/dist/interface/ha/esm-CvxDASXR.js +23 -0
- package/dist/interface/ha/esm-Demxl4zQ.js +5 -0
- package/dist/interface/ha/esm-DiBhi9zp.js +5 -0
- package/dist/interface/ha/esm-XFPB9fYb.js +15 -0
- package/dist/interface/ha/eventLabels-B4C1_4vT.js +42 -0
- package/dist/interface/ha/eye-off-AdumIw0H.js +33 -0
- package/dist/interface/ha/eye-off-outline-DO3xfiua.js +19 -0
- package/dist/interface/ha/fonts/InterVariable.woff2 +0 -0
- package/dist/interface/ha/history-BoZc8mgf.js +19 -0
- package/dist/interface/ha/home-am0tRTsk.js +19 -0
- package/dist/interface/ha/information-outline-DIdNxPCN.js +19 -0
- package/dist/interface/ha/inputicon-6-vaPLbw.js +324 -0
- package/dist/interface/ha/inputnumber-B1Buq8Nc.js +1033 -0
- package/dist/interface/ha/inputtext-DGIESrd0.js +257 -0
- package/dist/interface/ha/intercomService-jB2mTgsn.js +1406 -0
- package/dist/interface/ha/message-C8U_kMBA.js +244 -0
- package/dist/interface/ha/minus-DKa9TXat.js +19 -0
- package/dist/interface/ha/minus-QyTgaT70.js +46 -0
- package/dist/interface/ha/mqtt-BmDCmG9h.js +56 -0
- package/dist/interface/ha/multiselect-BbgV_fPx.js +1492 -0
- package/dist/interface/ha/native-BaNeloQn.js +35 -0
- package/dist/interface/ha/native-C8PbNqsJ.js +29 -0
- package/dist/interface/ha/notifications-B51yvrGL.js +159 -0
- package/dist/interface/ha/og-share.png +0 -0
- package/dist/interface/ha/pencil-outline-BqfTDXIh.js +19 -0
- package/dist/interface/ha/pinia-3D39Do4a.js +6934 -0
- package/dist/interface/ha/platformLabels-C3d1PLg-.js +27 -0
- package/dist/interface/ha/plugin-DAGqBiG_.js +38 -0
- package/dist/interface/ha/plugins-dkWbXWVM.js +592 -0
- package/dist/interface/ha/plus-CNdrByQb.js +46 -0
- package/dist/interface/ha/plus-d_caPq5l.js +19 -0
- package/dist/interface/ha/progressbar-CIoPoMSe.js +95 -0
- package/dist/interface/ha/protocol-BB4jdtUC-K1r3LFCq.js +706 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-1136x640.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-1334x750.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-1792x828.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2048x1536.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2160x1620.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2208x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2224x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2388x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2436x1125.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2532x1170.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2556x1179.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2688x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2732x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2778x1284.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-dark-2796x1290.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-1136x640.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-1334x750.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-1792x828.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2048x1536.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2160x1620.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2208x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2224x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2388x1668.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2436x1125.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2532x1170.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2556x1179.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2688x1242.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2732x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2778x1284.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-landscape-light-2796x1290.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1125x2436.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1170x2532.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1179x2556.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2208.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2688.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1284x2778.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1290x2796.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1536x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1620x2160.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2224.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2388.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-2048x2732.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-640x1136.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-750x1334.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-dark-828x1792.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1125x2436.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1170x2532.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1179x2556.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2208.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2688.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1284x2778.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1290x2796.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1536x2048.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1620x2160.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2224.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2388.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-2048x2732.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-640x1136.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-750x1334.png +0 -0
- package/dist/interface/ha/pwa/apple-splash-portrait-light-828x1792.png +0 -0
- package/dist/interface/ha/pwa/apple-touch-icon-180x180.png +0 -0
- package/dist/interface/ha/pwa/favicon-16.ico +0 -0
- package/dist/interface/ha/pwa/favicon-32.ico +0 -0
- package/dist/interface/ha/pwa/favicon-48.ico +0 -0
- package/dist/interface/ha/pwa/favicon-64.ico +0 -0
- package/dist/interface/ha/pwa/logo.svg +1 -0
- package/dist/interface/ha/pwa/maskable-icon-1240x600.png +0 -0
- package/dist/interface/ha/pwa/maskable-icon-512x512.png +0 -0
- package/dist/interface/ha/pwa/maskable-icon-620x300.png +0 -0
- package/dist/interface/ha/pwa/pwa-1024x1024.png +0 -0
- package/dist/interface/ha/pwa/pwa-120x120.png +0 -0
- package/dist/interface/ha/pwa/pwa-144x144.png +0 -0
- package/dist/interface/ha/pwa/pwa-152x152.png +0 -0
- package/dist/interface/ha/pwa/pwa-167x167.png +0 -0
- package/dist/interface/ha/pwa/pwa-180x180.png +0 -0
- package/dist/interface/ha/pwa/pwa-192x192.png +0 -0
- package/dist/interface/ha/pwa/pwa-24x24.png +0 -0
- package/dist/interface/ha/pwa/pwa-300x300.png +0 -0
- package/dist/interface/ha/pwa/pwa-36x36.png +0 -0
- package/dist/interface/ha/pwa/pwa-48x48.png +0 -0
- package/dist/interface/ha/pwa/pwa-50x50.png +0 -0
- package/dist/interface/ha/pwa/pwa-64x64.png +0 -0
- package/dist/interface/ha/pwa/pwa-72x72.png +0 -0
- package/dist/interface/ha/pwa/pwa-88x88.png +0 -0
- package/dist/interface/ha/pwa/pwa-96x96.png +0 -0
- package/dist/interface/ha/radar-C7lI26j4.js +19 -0
- package/dist/interface/ha/refresh-BIhepekY.js +19 -0
- package/dist/interface/ha/ring-resize-VS4MSeBv.js +16 -0
- package/dist/interface/ha/ripple-BilzxWfY.js +2928 -0
- package/dist/interface/ha/robots.txt +2 -0
- package/dist/interface/ha/rolldown-runtime-CEFd7nDs.js +30 -0
- package/dist/interface/ha/rooms-B-FUXQ1p.js +45 -0
- package/dist/interface/ha/round-alt-arrow-left-bold-CWEg-ZLF.js +37 -0
- package/dist/interface/ha/runtime-core.esm-bundler-D8slQ3BU.js +3295 -0
- package/dist/interface/ha/search-CoOsbgeb.js +19 -0
- package/dist/interface/ha/select-DjWkRqsI.js +1382 -0
- package/dist/interface/ha/server-CKJKoFfg.js +239 -0
- package/dist/interface/ha/settings-EKkSQLzv.js +22 -0
- package/dist/interface/ha/source-branch-CZwSOrQA.js +19 -0
- package/dist/interface/ha/speeddial-Dv9txWte.js +682 -0
- package/dist/interface/ha/spinner-D6iUldg9.js +46 -0
- package/dist/interface/ha/synapse-CGrlyQDE.js +35 -0
- package/dist/interface/ha/tag-CXgC9OZ6.js +95 -0
- package/dist/interface/ha/textarea-DvLkfUX7.js +130 -0
- package/dist/interface/ha/tooltip-BIrD_hC8.js +277 -0
- package/dist/interface/ha/trash-2-C4zSCZfs.js +23 -0
- package/dist/interface/ha/trash-can-outline-DCqsCOd2.js +19 -0
- package/dist/interface/ha/trash-fill-BPsrwR8X.js +21 -0
- package/dist/interface/ha/types-C7MzwoQR.js +28 -0
- package/dist/interface/ha/types-J_J0HKlK.js +1032 -0
- package/dist/interface/ha/ungrouped-BpaM88Y-.js +1116 -0
- package/dist/interface/ha/updates-BdVmkKAa.js +341 -0
- package/dist/interface/ha/upload-2xJkVPZE.js +19 -0
- package/dist/interface/ha/upload-wQHBRZX_.js +23 -0
- package/dist/interface/ha/useAppVersion-DzDaOsKc.js +22 -0
- package/dist/interface/ha/useLogsSocket-CWUE-KXV.js +59 -0
- package/dist/interface/ha/useNavLayout-BqpyvD2F.js +125 -0
- package/dist/interface/ha/usePermissions-BIUeW4ef.js +72 -0
- package/dist/interface/ha/useServerRestart-0c4gA1fG.js +23 -0
- package/dist/interface/ha/useTabSwipe-C8LdKw23.js +45 -0
- package/dist/interface/ha/useUpdateChannel-CHVLthZB.js +22 -0
- package/dist/interface/ha/useUpdatesSocket-CaxEs511.js +34 -0
- package/dist/interface/ha/useUserOptions-Rk_71WAK.js +15 -0
- package/dist/interface/ha/utils-DYtBrGDz.js +7 -0
- package/dist/interface/ha/virtualscroller-s_gNqN5p.js +996 -0
- package/dist/interface/ha/vue-flow-background-B0Vu4-8M.js +6840 -0
- package/dist/interface/ha/vue-i18n-Dcb07o5U.js +2409 -0
- package/dist/interface/ha/web-0Kyq65na.js +78 -0
- package/dist/interface/ha/web-B7Dt2zZN.js +340 -0
- package/dist/interface/ha/web-BNdrPSpb.js +102 -0
- package/dist/interface/ha/web-BPBZBCtX.js +8 -0
- package/dist/interface/ha/web-BjKL51lK-qwJdIpM1.js +221 -0
- package/dist/interface/ha/web-C01i9qI1.js +57 -0
- package/dist/interface/ha/web-CH3JeXWa.js +211 -0
- package/dist/interface/ha/web-Cpm1-DVe.js +33 -0
- package/dist/interface/ha/web-DqRMXrnx.js +31 -0
- package/dist/interface/ha/web-DtVT7WYt.js +17 -0
- package/dist/interface/ha/web-DxJQZCiR.js +59 -0
- package/dist/interface/ha/web-I7Urp4AE.js +46 -0
- package/dist/interface/ha/web-aSaPk7kr.js +57 -0
- package/dist/interface/ha/web-pMey9p3Y.js +79 -0
- package/dist/interface/ha/xterm-B6xA6E5i.js +14833 -0
- package/dist/interface/ha/zoom-in-CNVB9H3D.js +41 -0
- package/dist/interface/index.html +29 -29
- package/dist/interface/sw.js +1 -1
- package/dist/server/package.json +10 -10
- package/dist/server/requirements.txt +3 -3
- package/dist/server/src/_camera_ui_tools/camera_ui_rpc/client.py +9 -6
- package/dist/server/src/_camera_ui_tools/camera_ui_rpc/types.py +2 -2
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/__init__.py +4 -2
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/config.py +8 -0
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/device.py +4 -3
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/__init__.py +6 -0
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/sensor_rpc.py +17 -6
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/manager/__init__.py +24 -70
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/plugin/interfaces.py +46 -19
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/__init__.py +2 -0
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/base.py +65 -8
- package/dist/server/src/api/database/index.d.ts +1 -1
- package/dist/server/src/api/database/index.js +4 -32
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/database/migrations/v2-1-17.d.ts +3 -0
- package/dist/server/src/api/database/migrations/v2-1-17.js +14 -0
- package/dist/server/src/api/database/migrations/v2-1-17.js.map +1 -0
- package/dist/server/src/api/database/migrations/v2-1-18.d.ts +3 -0
- package/dist/server/src/api/database/migrations/v2-1-18.js +24 -0
- package/dist/server/src/api/database/migrations/v2-1-18.js.map +1 -0
- package/dist/server/src/api/database/record-schemas.d.ts +1 -0
- package/dist/server/src/api/database/types.d.ts +4 -3
- package/dist/server/src/api/schemas/cameras.schema.d.ts +53 -15
- package/dist/server/src/api/schemas/cameras.schema.js +5 -1
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/schemas/users.schema.d.ts +7 -0
- package/dist/server/src/api/schemas/users.schema.js +1 -1
- package/dist/server/src/api/schemas/users.schema.js.map +1 -1
- package/dist/server/src/api/services/cameras.service.js +14 -21
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/services/sensors.service.d.ts +3 -3
- package/dist/server/src/api/services/sensors.service.js +3 -24
- package/dist/server/src/api/services/sensors.service.js.map +1 -1
- package/dist/server/src/api/services/server.service.js +1 -1
- package/dist/server/src/api/services/server.service.js.map +1 -1
- package/dist/server/src/api/utils/cert.js +18 -8
- package/dist/server/src/api/utils/cert.js.map +1 -1
- package/dist/server/src/api/utils/regex.d.ts +2 -0
- package/dist/server/src/api/utils/regex.js +2 -0
- package/dist/server/src/api/utils/regex.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/sensors.d.ts +3 -1
- package/dist/server/src/api/websocket/nsp/sensors.js +13 -3
- package/dist/server/src/api/websocket/nsp/sensors.js.map +1 -1
- package/dist/server/src/camera/decoder/debug/detection-record.d.ts +3 -1
- package/dist/server/src/camera/decoder/debug/detection-record.js +6 -2
- package/dist/server/src/camera/decoder/debug/detection-record.js.map +1 -1
- package/dist/server/src/camera/decoder/detection-coordinator.d.ts +2 -0
- package/dist/server/src/camera/decoder/detection-coordinator.js +44 -25
- package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
- package/dist/server/src/camera/decoder/detection-pipeline.d.ts +3 -1
- package/dist/server/src/camera/decoder/detection-pipeline.js +3 -22
- package/dist/server/src/camera/decoder/detection-pipeline.js.map +1 -1
- package/dist/server/src/camera/decoder/event-manager.d.ts +4 -3
- package/dist/server/src/camera/decoder/event-manager.js +17 -5
- package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
- package/dist/server/src/camera/decoder/event-thumbnailer.d.ts +3 -0
- package/dist/server/src/camera/decoder/event-thumbnailer.js +13 -8
- package/dist/server/src/camera/decoder/event-thumbnailer.js.map +1 -1
- package/dist/server/src/camera/decoder/event-trace.d.ts +58 -0
- package/dist/server/src/camera/decoder/event-trace.js +118 -0
- package/dist/server/src/camera/decoder/event-trace.js.map +1 -0
- package/dist/server/src/camera/decoder/nvr-sink.d.ts +2 -0
- package/dist/server/src/camera/decoder/nvr-sink.js.map +1 -1
- package/dist/server/src/camera/decoder/reconnect-backoff.js +1 -1
- package/dist/server/src/camera/decoder/reconnect-backoff.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/analysis-source.d.ts +1 -0
- package/dist/server/src/camera/decoder/sources/buffered-source.d.ts +7 -1
- package/dist/server/src/camera/decoder/sources/buffered-source.js +27 -15
- package/dist/server/src/camera/decoder/sources/buffered-source.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/frame-handle.d.ts +2 -1
- package/dist/server/src/camera/decoder/sources/frame-handle.js +5 -3
- package/dist/server/src/camera/decoder/sources/frame-handle.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/frame-source.d.ts +1 -0
- package/dist/server/src/camera/decoder/sources/frame-source.js +7 -2
- package/dist/server/src/camera/decoder/sources/frame-source.js.map +1 -1
- package/dist/server/src/camera/decoder/sources/rtp-index.d.ts +9 -0
- package/dist/server/src/camera/decoder/sources/rtp-index.js +24 -0
- package/dist/server/src/camera/decoder/sources/rtp-index.js.map +1 -0
- package/dist/server/src/camera/decoder/worker.js +1 -0
- package/dist/server/src/camera/decoder/worker.js.map +1 -1
- package/dist/server/src/camera/streaming/rtp-session.js +12 -9
- package/dist/server/src/camera/streaming/rtp-session.js.map +1 -1
- package/dist/server/src/go2rtc/types.d.ts +1 -1
- package/dist/server/src/go2rtc/types.js +1 -1
- package/dist/server/src/go2rtc/types.js.map +1 -1
- package/dist/server/src/plugins/runtime/node/child.js +1 -0
- package/dist/server/src/plugins/runtime/node/child.js.map +1 -1
- package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js +3 -0
- package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/plugins/runtime/node/proxy/sensorManager.d.ts +2 -5
- package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js +95 -24
- package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js.map +1 -1
- package/dist/server/src/plugins/runtime/python/child.py +1 -0
- package/dist/server/src/plugins/runtime/python/proxy/camera_device.py +9 -0
- package/dist/server/src/plugins/runtime/python/proxy/sensor.py +2 -1
- package/dist/server/src/plugins/runtime/python/proxy/sensor_manager.py +185 -88
- package/dist/server/src/plugins/runtime/python/typings.py +18 -0
- package/dist/server/src/rpc/interfaces/sensor.d.ts +19 -4
- package/dist/server/src/sensors/discovery.d.ts +1 -1
- package/dist/server/src/sensors/discovery.js +12 -21
- package/dist/server/src/sensors/discovery.js.map +1 -1
- package/dist/server/src/sensors/registry.d.ts +6 -2
- package/dist/server/src/sensors/registry.js +75 -6
- package/dist/server/src/sensors/registry.js.map +1 -1
- package/dist/server/src/services/config/defaults.js +1 -1
- package/dist/server/src/services/config/defaults.js.map +1 -1
- package/dist/server/src/services/config/index.js +4 -6
- package/dist/server/src/services/config/index.js.map +1 -1
- package/dist/server/src/utils/camera.d.ts +12 -2
- package/dist/server/src/utils/camera.js +27 -1
- package/dist/server/src/utils/camera.js.map +1 -1
- package/dist/server/src/workers/pairing.js +17 -8
- package/dist/server/src/workers/pairing.js.map +1 -1
- package/package.json +10 -10
- package/dist/interface/assets/Automation-COZFDnKK.js +0 -3
- package/dist/interface/assets/AutomationStoreDetail-BQ2fER7x.js +0 -2
- package/dist/interface/assets/Automations-QmfGIQXO.js +0 -2
- package/dist/interface/assets/Camera-g95slrO0.js +0 -2
- package/dist/interface/assets/Cameras-BO4SDgY0.js +0 -652
- package/dist/interface/assets/Camview-yzOY3cnD.js +0 -1
- package/dist/interface/assets/ConfigActionNotification-CbhQpAqn.js +0 -1
- package/dist/interface/assets/ConfigConditionSwitch-CA-tuT-G.js +0 -1
- package/dist/interface/assets/ConfigTriggerGeofence-sbEglk8c.js +0 -1
- package/dist/interface/assets/Console-B78qXoaH.js +0 -1
- package/dist/interface/assets/CuiBottomSheet-BjkvcU8T.js +0 -1
- package/dist/interface/assets/CuiCameraPipCard-BOky075i.js +0 -1
- package/dist/interface/assets/CuiCameraRecordings-BzbwSK8-.css +0 -1
- package/dist/interface/assets/CuiCameraRecordings-DIBgpGaS.js +0 -1
- package/dist/interface/assets/CuiCameraTable-DwRywA0z.js +0 -1
- package/dist/interface/assets/CuiLightControl-CsK2cn7L.js +0 -1
- package/dist/interface/assets/CuiMarkdownContent-CckAX6Ci.js +0 -1
- package/dist/interface/assets/CuiPluginCard-C-1ZhHi8.js +0 -2
- package/dist/interface/assets/CuiSchema-CxRd72K7.js +0 -1
- package/dist/interface/assets/Faces-kl1hwT5M.js +0 -1
- package/dist/interface/assets/FirstSteps-BYGvfH-S.js +0 -1
- package/dist/interface/assets/Floorplan-DNd9aQv3.js +0 -1
- package/dist/interface/assets/Instances-aZApGeHu.js +0 -1
- package/dist/interface/assets/Metrics-D5UHs6wj.js +0 -9
- package/dist/interface/assets/OAuthDeviceFlow-o2Irbs3_.js +0 -1
- package/dist/interface/assets/Plugin-CEpSsNQA.js +0 -1
- package/dist/interface/assets/PluginDetail-Ca-NJcL1.js +0 -2
- package/dist/interface/assets/PluginSearch-DurGrb4n.js +0 -1
- package/dist/interface/assets/PluginSearch-Tmg5vCQF.js +0 -2
- package/dist/interface/assets/Plugins-ocuSdXhB.js +0 -1
- package/dist/interface/assets/Recordings-CtSj2RuO.js +0 -1
- package/dist/interface/assets/SensorEdit-CcD4LvZr.js +0 -1
- package/dist/interface/assets/Sensors-CWjmo27p.js +0 -2
- package/dist/interface/assets/SettingsAccount-DQm9vFIT.js +0 -1
- package/dist/interface/assets/SettingsAccount-DekJwq5r.js +0 -1
- package/dist/interface/assets/SettingsAppearance-B7mm_vGf.js +0 -1
- package/dist/interface/assets/SettingsMqtt-D8grttey.js +0 -1
- package/dist/interface/assets/SettingsNotifications-BtFyN8J3.js +0 -1
- package/dist/interface/assets/SettingsRecordings-DVEsPab-.js +0 -1
- package/dist/interface/assets/SettingsRemote-Dqs-d-Xk.js +0 -2
- package/dist/interface/assets/Workers-L7PPidAd.js +0 -2
- package/dist/interface/assets/alert-outline-KxFvd3i6.js +0 -1
- package/dist/interface/assets/api-CEbDxsSY.css +0 -2
- package/dist/interface/assets/api-ou2-S3Z9.js +0 -2
- package/dist/interface/assets/cameras.schema-BzSBpeUl.js +0 -1
- package/dist/interface/assets/cloudHandoff-ChRx5fsr.js +0 -1
- package/dist/interface/assets/main-CT2dZ3bR.js +0 -3
- package/dist/interface/assets/nodeDefinitions-D6zhuw60.js +0 -1
- package/dist/interface/assets/sensorIcons-tORVN7ay.js +0 -1
- package/dist/interface/assets/theme-t4dIArYy.js +0 -1
- package/dist/interface/assets/types-D889aM6c.js +0 -1
- package/dist/interface/assets/types-Dg1X10xd.js +0 -1
- package/dist/interface/assets/ungrouped-Pn6rAXZt.js +0 -1
- package/dist/interface/assets/useBackupRestore-BcAR3KYA.js +0 -1
- package/dist/interface/assets/vendor-cameraui-OySaGjmo.js +0 -2326
- package/dist/interface/assets/vendor-core-BZ52eUwC.js +0 -1
- package/dist/interface/assets/vendor-zod-B0ZFM2Pr.js +0 -127
|
@@ -0,0 +1,970 @@
|
|
|
1
|
+
import { r as e } from "./rolldown-runtime-CEFd7nDs.js";
|
|
2
|
+
import { c as t } from "./ripple-BilzxWfY.js";
|
|
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 x, wt as S, x as C, xt as w, y as T, z as ee } from "./runtime-core.esm-bundler-D8slQ3BU.js";
|
|
4
|
+
import { t as te } from "./tooltip-BIrD_hC8.js";
|
|
5
|
+
import { t as ne } from "./message-C8U_kMBA.js";
|
|
6
|
+
import { t as re } from "./tag-CXgC9OZ6.js";
|
|
7
|
+
import { A as ie, D as ae, Dt as oe, Et as se, F as ce, Gr as le, N as E, O as D, On as ue, Ot as de, P as O, S as k, Tt as fe, Wr as pe, ai as me, c as he, dt as ge, ft as _e, gi as A, gt as ve, kn as ye, m as j, p as be, r as M, vr as N, yr as xe, z as Se } from "./api-CWJkvtnM.js";
|
|
8
|
+
import { i as Ce } from "./intercomService-jB2mTgsn.js";
|
|
9
|
+
import { r as we } from "./pinia-3D39Do4a.js";
|
|
10
|
+
import { n as P } from "./vue-i18n-Dcb07o5U.js";
|
|
11
|
+
import { t as Te } from "./button-BlYuI0Q7.js";
|
|
12
|
+
import { t as Ee } from "./inputtext-DGIESrd0.js";
|
|
13
|
+
import { i as De, t as Oe } from "./CuiDataTable-Cx9GBqsV.js";
|
|
14
|
+
import { t as ke } from "./CuiQRCode-Djr3z54t.js";
|
|
15
|
+
import { n as Ae, t as F } from "./auth-X6tkVYJs.js";
|
|
16
|
+
//#region ~icons/mdi/key
|
|
17
|
+
var I = {
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
width: "1.2em",
|
|
20
|
+
height: "1.2em"
|
|
21
|
+
};
|
|
22
|
+
function L(e, t) {
|
|
23
|
+
return a(), g("svg", I, [...t[0] ||= [y("path", {
|
|
24
|
+
fill: "currentColor",
|
|
25
|
+
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
|
+
}, null, -1)]]);
|
|
27
|
+
}
|
|
28
|
+
var je = l({
|
|
29
|
+
name: "mdi-key",
|
|
30
|
+
render: L
|
|
31
|
+
}), R = {
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
width: "1.2em",
|
|
34
|
+
height: "1.2em"
|
|
35
|
+
};
|
|
36
|
+
function z(e, t) {
|
|
37
|
+
return a(), g("svg", R, [...t[0] ||= [y("path", {
|
|
38
|
+
fill: "currentColor",
|
|
39
|
+
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
|
+
}, null, -1)]]);
|
|
41
|
+
}
|
|
42
|
+
var Me = l({
|
|
43
|
+
name: "mdi-cellphone",
|
|
44
|
+
render: z
|
|
45
|
+
}), B = {
|
|
46
|
+
viewBox: "0 0 24 24",
|
|
47
|
+
width: "1.2em",
|
|
48
|
+
height: "1.2em"
|
|
49
|
+
};
|
|
50
|
+
function Ne(e, t) {
|
|
51
|
+
return a(), g("svg", B, [...t[0] ||= [y("path", {
|
|
52
|
+
fill: "currentColor",
|
|
53
|
+
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
|
+
}, null, -1)]]);
|
|
55
|
+
}
|
|
56
|
+
var Pe = l({
|
|
57
|
+
name: "mdi-key-variant",
|
|
58
|
+
render: Ne
|
|
59
|
+
}), Fe = {
|
|
60
|
+
viewBox: "0 0 24 24",
|
|
61
|
+
width: "1.2em",
|
|
62
|
+
height: "1.2em"
|
|
63
|
+
};
|
|
64
|
+
function V(e, t) {
|
|
65
|
+
return a(), g("svg", Fe, [...t[0] ||= [y("path", {
|
|
66
|
+
fill: "currentColor",
|
|
67
|
+
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
|
+
}, null, -1)]]);
|
|
69
|
+
}
|
|
70
|
+
var Ie = l({
|
|
71
|
+
name: "mdi-laptop",
|
|
72
|
+
render: V
|
|
73
|
+
}), Le = {
|
|
74
|
+
viewBox: "0 0 24 24",
|
|
75
|
+
width: "1.2em",
|
|
76
|
+
height: "1.2em"
|
|
77
|
+
};
|
|
78
|
+
function Re(e, t) {
|
|
79
|
+
return a(), g("svg", Le, [...t[0] ||= [y("path", {
|
|
80
|
+
fill: "currentColor",
|
|
81
|
+
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
|
+
}, null, -1)]]);
|
|
83
|
+
}
|
|
84
|
+
var ze = l({
|
|
85
|
+
name: "mdi-television",
|
|
86
|
+
render: Re
|
|
87
|
+
}), H = { class: "flex flex-col gap-6" }, Be = { class: "token-box" }, Ve = { class: "token-value" }, He = /*#__PURE__*/ N(/* @__PURE__ */ C({
|
|
88
|
+
__name: "ApiTokenCreated",
|
|
89
|
+
props: { token: {} },
|
|
90
|
+
setup(e, { expose: t }) {
|
|
91
|
+
let n = e, i = A(), { t: s } = P(), { token: c } = r(n);
|
|
92
|
+
async function l() {
|
|
93
|
+
await M(c.value) ? i.add({
|
|
94
|
+
severity: "success",
|
|
95
|
+
detail: s("components.toast.copied"),
|
|
96
|
+
life: 1500
|
|
97
|
+
}) : i.add({
|
|
98
|
+
severity: "error",
|
|
99
|
+
detail: s("components.toast.copy_failed"),
|
|
100
|
+
life: 3e3
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
async function d() {}
|
|
104
|
+
return t({ onConfirm: d }), (e, t) => {
|
|
105
|
+
let n = ne, r = Te, i = te;
|
|
106
|
+
return a(), g("div", H, [T(n, { severity: "warn" }, {
|
|
107
|
+
default: h(() => [x(o(e.$t("views.settings.api_tokens.created_warning")), 1)]),
|
|
108
|
+
_: 1
|
|
109
|
+
}), y("div", Be, [y("span", Ve, o(p(c)), 1), b((a(), u(r, {
|
|
110
|
+
text: "",
|
|
111
|
+
rounded: "",
|
|
112
|
+
class: "cui-icon-md shrink-0",
|
|
113
|
+
onClick: l
|
|
114
|
+
}, {
|
|
115
|
+
icon: h(() => [T(p(fe), {
|
|
116
|
+
width: "100%",
|
|
117
|
+
height: "100%"
|
|
118
|
+
})]),
|
|
119
|
+
_: 1
|
|
120
|
+
})), [[i, { value: e.$t("components.form.button.copy") }]])])]);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}), [["__scopeId", "data-v-591cfcb4"]]), Ue = { class: "flex flex-col gap-2 w-full" }, U = {
|
|
124
|
+
for: "apiTokenName",
|
|
125
|
+
class: "cui-label"
|
|
126
|
+
}, We = {
|
|
127
|
+
key: 0,
|
|
128
|
+
class: "text-xs text-red-500"
|
|
129
|
+
}, Ge = /* @__PURE__ */ C({
|
|
130
|
+
__name: "CreateApiToken",
|
|
131
|
+
props: { existingNames: {} },
|
|
132
|
+
setup(e, { expose: t }) {
|
|
133
|
+
let n = e, r = w(""), i = m(() => n.existingNames.includes(r.value.trim()));
|
|
134
|
+
return t({ onConfirm: async () => {
|
|
135
|
+
let e = r.value.trim();
|
|
136
|
+
return !e || i.value ? null : e;
|
|
137
|
+
} }), (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),
|
|
141
|
+
T(n, {
|
|
142
|
+
id: "apiTokenName",
|
|
143
|
+
modelValue: p(r),
|
|
144
|
+
"onUpdate:modelValue": t[0] ||= (e) => f(r) ? r.value = e : null,
|
|
145
|
+
class: "w-full",
|
|
146
|
+
placeholder: e.$t("views.settings.api_tokens.name_placeholder"),
|
|
147
|
+
autofocus: "",
|
|
148
|
+
invalid: p(i)
|
|
149
|
+
}, null, 8, [
|
|
150
|
+
"modelValue",
|
|
151
|
+
"placeholder",
|
|
152
|
+
"invalid"
|
|
153
|
+
]),
|
|
154
|
+
p(i) ? (a(), g("span", We, o(e.$t("views.settings.api_tokens.name_exists")), 1)) : d("", !0)
|
|
155
|
+
]);
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}), Ke = { class: "flex flex-col gap-6" }, qe = { class: "backup-codes-grid" }, Je = /*#__PURE__*/ N(/* @__PURE__ */ C({
|
|
159
|
+
__name: "TwoFactorBackupCodes",
|
|
160
|
+
props: { backupCodes: {} },
|
|
161
|
+
setup(e, { expose: t }) {
|
|
162
|
+
let { backupCodes: n } = r(e);
|
|
163
|
+
async function s() {}
|
|
164
|
+
return t({ onConfirm: s }), (e, t) => {
|
|
165
|
+
let r = ne;
|
|
166
|
+
return a(), g("div", Ke, [T(r, { severity: "warn" }, {
|
|
167
|
+
default: h(() => [x(o(e.$t("views.settings.security.backup_warning")), 1)]),
|
|
168
|
+
_: 1
|
|
169
|
+
}), y("div", qe, [(a(!0), g(_, null, i(p(n), (e) => (a(), g("span", {
|
|
170
|
+
key: e,
|
|
171
|
+
class: "backup-code"
|
|
172
|
+
}, o(e), 1))), 128))])]);
|
|
173
|
+
};
|
|
174
|
+
}
|
|
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__ */ C({
|
|
176
|
+
__name: "TwoFactorDisable",
|
|
177
|
+
setup(e, { expose: t }) {
|
|
178
|
+
let r = new F(), i = A(), { t: s } = P(), c = n("dialogRefProps"), { mutateAsync: l, isPending: u } = r.disable2FAQuery(), d = w(""), h = m(() => !!(c.loading?.value || u.value)), _ = m(() => d.value.length < 6);
|
|
179
|
+
async function v() {
|
|
180
|
+
if (d.value.length < 6) return null;
|
|
181
|
+
try {
|
|
182
|
+
await l({ code: d.value }), i.add({
|
|
183
|
+
severity: "success",
|
|
184
|
+
detail: s("views.settings.security.2fa_disabled_success"),
|
|
185
|
+
life: 3e3
|
|
186
|
+
});
|
|
187
|
+
} catch (e) {
|
|
188
|
+
return i.add({
|
|
189
|
+
severity: "error",
|
|
190
|
+
detail: e,
|
|
191
|
+
life: 3e3
|
|
192
|
+
}), null;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return t({
|
|
196
|
+
isLoading: h,
|
|
197
|
+
isDisabled: _,
|
|
198
|
+
onConfirm: v
|
|
199
|
+
}), (e, t) => {
|
|
200
|
+
let n = _e;
|
|
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), T(n, {
|
|
202
|
+
modelValue: p(d),
|
|
203
|
+
"onUpdate:modelValue": t[0] ||= (e) => f(d) ? d.value = e : null,
|
|
204
|
+
length: 6,
|
|
205
|
+
"integer-only": "",
|
|
206
|
+
class: "justify-center"
|
|
207
|
+
}, null, 8, ["modelValue"])])]);
|
|
208
|
+
};
|
|
209
|
+
}
|
|
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__ */ C({
|
|
211
|
+
__name: "TwoFactorRegenerate",
|
|
212
|
+
props: { onBackupCodesGenerated: { type: Function } },
|
|
213
|
+
setup(e, { expose: t }) {
|
|
214
|
+
let r = new F(), i = e, s = A(), { t: c } = P(), l = n("dialogRefProps"), { mutateAsync: u, isPending: d } = r.regenerateBackupCodesQuery(), h = w(""), _ = m(() => !!(l.loading?.value || d.value)), v = m(() => h.value.length < 6);
|
|
215
|
+
async function b() {
|
|
216
|
+
if (h.value.length < 6) return null;
|
|
217
|
+
try {
|
|
218
|
+
let e = await u({ code: h.value });
|
|
219
|
+
s.add({
|
|
220
|
+
severity: "success",
|
|
221
|
+
detail: c("views.settings.security.backup_regenerated"),
|
|
222
|
+
life: 3e3
|
|
223
|
+
}), i.onBackupCodesGenerated && i.onBackupCodesGenerated(e.backupCodes);
|
|
224
|
+
} catch (e) {
|
|
225
|
+
return s.add({
|
|
226
|
+
severity: "error",
|
|
227
|
+
detail: e,
|
|
228
|
+
life: 3e3
|
|
229
|
+
}), null;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
return t({
|
|
233
|
+
isLoading: _,
|
|
234
|
+
isDisabled: v,
|
|
235
|
+
onConfirm: b
|
|
236
|
+
}), (e, t) => {
|
|
237
|
+
let n = _e;
|
|
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), T(n, {
|
|
239
|
+
modelValue: p(h),
|
|
240
|
+
"onUpdate:modelValue": t[0] ||= (e) => f(h) ? h.value = e : null,
|
|
241
|
+
length: 6,
|
|
242
|
+
"integer-only": "",
|
|
243
|
+
class: "justify-center"
|
|
244
|
+
}, null, 8, ["modelValue"])])]);
|
|
245
|
+
};
|
|
246
|
+
}
|
|
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
|
+
for: "username",
|
|
249
|
+
class: "cui-label"
|
|
250
|
+
}, st = { class: "card-title" }, ct = { class: "flex flex-col gap-6" }, lt = {
|
|
251
|
+
for: "password",
|
|
252
|
+
class: "cui-label"
|
|
253
|
+
}, ut = {
|
|
254
|
+
for: "passwordConfirm",
|
|
255
|
+
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
|
+
for: "username",
|
|
258
|
+
class: "cui-label"
|
|
259
|
+
}, vt = { class: "flex flex-row items-end justify-end" }, yt = { class: "card-title" }, bt = {
|
|
260
|
+
for: "password",
|
|
261
|
+
class: "cui-label"
|
|
262
|
+
}, xt = {
|
|
263
|
+
for: "passwordConfirm",
|
|
264
|
+
class: "cui-label"
|
|
265
|
+
}, St = { class: "flex flex-row items-end justify-end" }, Ct = { class: "card-title" }, wt = {
|
|
266
|
+
key: 0,
|
|
267
|
+
class: "flex justify-center py-6"
|
|
268
|
+
}, Tt = {
|
|
269
|
+
key: "initial",
|
|
270
|
+
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
|
+
key: "loading",
|
|
273
|
+
class: "flex flex-col items-center py-8 gap-3"
|
|
274
|
+
}, At = { class: "text-sm text-muted" }, jt = {
|
|
275
|
+
key: "setup",
|
|
276
|
+
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
|
+
key: "enabled",
|
|
279
|
+
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
|
+
key: 0,
|
|
282
|
+
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
|
+
key: 0,
|
|
285
|
+
class: "flex flex-row items-end justify-end gap-2"
|
|
286
|
+
}, Y = /*@__PURE__*/ C({
|
|
287
|
+
__name: "SettingsAccount",
|
|
288
|
+
props: { firststeps: { type: Boolean } },
|
|
289
|
+
setup(e, { expose: n }) {
|
|
290
|
+
let i = new F(), l = e, C = ve(), N = A(), { t: I } = P(), { firststeps: L } = r(l), R = j(), { 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
|
+
page: 1,
|
|
292
|
+
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 = ae({
|
|
294
|
+
password: k,
|
|
295
|
+
passwordConfirm: D().min(1)
|
|
296
|
+
}).refine((e) => e.password === e.passwordConfirm, {
|
|
297
|
+
message: "Passwords do not match",
|
|
298
|
+
path: ["passwordConfirm"]
|
|
299
|
+
}), Ze = ae({
|
|
300
|
+
username: D().min(1),
|
|
301
|
+
password: k,
|
|
302
|
+
passwordConfirm: D().min(1)
|
|
303
|
+
}).refine((e) => e.password === e.passwordConfirm, {
|
|
304
|
+
message: "Passwords do not match",
|
|
305
|
+
path: ["passwordConfirm"]
|
|
306
|
+
}), W = v("formRef"), G = v("passwordFormRef"), K = S(), q = w("avatar"), J = w(z.value?.username ?? ""), Y = w(!1), X = w(!1), Z = w(null), Q = w(""), vn = w(null), yn = w(!1), $ = w(null);
|
|
307
|
+
w(!1);
|
|
308
|
+
let bn = w(!1), xn = w(!1), Sn = m(() => !1), Cn = {
|
|
309
|
+
bodyRow: { class: "text-sm text-secondary" },
|
|
310
|
+
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
|
+
async function En() {
|
|
313
|
+
Z.value?.secret && await M(Z.value.secret);
|
|
314
|
+
}
|
|
315
|
+
function Dn(e) {
|
|
316
|
+
return e === "tv" ? ze : e === "native" ? Me : Ie;
|
|
317
|
+
}
|
|
318
|
+
async function On(e) {
|
|
319
|
+
vn.value = e;
|
|
320
|
+
try {
|
|
321
|
+
await Ve({ id: e });
|
|
322
|
+
} catch (e) {
|
|
323
|
+
N.add({
|
|
324
|
+
severity: "error",
|
|
325
|
+
detail: e,
|
|
326
|
+
life: 3e3
|
|
327
|
+
});
|
|
328
|
+
} finally {
|
|
329
|
+
vn.value = null;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
function kn() {
|
|
333
|
+
C.openComponentDialog(Ge, {
|
|
334
|
+
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) }
|
|
338
|
+
},
|
|
339
|
+
onConfirm: async (e) => {
|
|
340
|
+
if (e) try {
|
|
341
|
+
An((await Ke({ name: e })).token);
|
|
342
|
+
} catch (e) {
|
|
343
|
+
N.add({
|
|
344
|
+
severity: "error",
|
|
345
|
+
detail: e,
|
|
346
|
+
life: 3e3
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
function An(e) {
|
|
353
|
+
C.openComponentDialog(He, { data: {
|
|
354
|
+
title: I("views.settings.api_tokens.created_title"),
|
|
355
|
+
confirmText: I("components.form.button.close"),
|
|
356
|
+
hideCancelButton: !0,
|
|
357
|
+
contentProps: { token: e }
|
|
358
|
+
} });
|
|
359
|
+
}
|
|
360
|
+
function jn(e) {
|
|
361
|
+
C.openTextDialog({
|
|
362
|
+
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"),
|
|
366
|
+
confirmButtonProps: { severity: "danger" }
|
|
367
|
+
},
|
|
368
|
+
onConfirm: async () => {
|
|
369
|
+
$.value = e.id;
|
|
370
|
+
try {
|
|
371
|
+
await Ye({ id: e.id });
|
|
372
|
+
} catch (e) {
|
|
373
|
+
N.add({
|
|
374
|
+
severity: "error",
|
|
375
|
+
detail: e,
|
|
376
|
+
life: 3e3
|
|
377
|
+
});
|
|
378
|
+
} finally {
|
|
379
|
+
$.value = null;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
function Mn() {
|
|
385
|
+
C.openTextDialog({
|
|
386
|
+
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"),
|
|
390
|
+
confirmButtonProps: { severity: "danger" }
|
|
391
|
+
},
|
|
392
|
+
onConfirm: async () => {
|
|
393
|
+
yn.value = !0;
|
|
394
|
+
try {
|
|
395
|
+
await Ue();
|
|
396
|
+
} catch (e) {
|
|
397
|
+
N.add({
|
|
398
|
+
severity: "error",
|
|
399
|
+
detail: e,
|
|
400
|
+
life: 3e3
|
|
401
|
+
});
|
|
402
|
+
} finally {
|
|
403
|
+
yn.value = !1;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
async function Nn() {
|
|
409
|
+
try {
|
|
410
|
+
Z.value = await Fe();
|
|
411
|
+
} catch (e) {
|
|
412
|
+
N.add({
|
|
413
|
+
severity: "error",
|
|
414
|
+
detail: e,
|
|
415
|
+
life: 3e3
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
function Pn() {
|
|
420
|
+
Z.value = null, Q.value = "";
|
|
421
|
+
}
|
|
422
|
+
async function Fn() {
|
|
423
|
+
try {
|
|
424
|
+
let e = await Le({ code: Q.value });
|
|
425
|
+
Z.value = null, Q.value = "", N.add({
|
|
426
|
+
severity: "success",
|
|
427
|
+
detail: I("views.settings.security.2fa_enabled_success"),
|
|
428
|
+
life: 3e3
|
|
429
|
+
}), Rn(e.backupCodes);
|
|
430
|
+
} catch (e) {
|
|
431
|
+
N.add({
|
|
432
|
+
severity: "error",
|
|
433
|
+
detail: e,
|
|
434
|
+
life: 3e3
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
function In() {
|
|
439
|
+
C.openComponentDialog(Qe, { data: {
|
|
440
|
+
title: I("views.settings.security.disable_2fa"),
|
|
441
|
+
confirmText: I("views.settings.security.disable_2fa"),
|
|
442
|
+
confirmButtonProps: { severity: "danger" },
|
|
443
|
+
contentProps: {}
|
|
444
|
+
} });
|
|
445
|
+
}
|
|
446
|
+
function Ln() {
|
|
447
|
+
C.openComponentDialog($e, { data: {
|
|
448
|
+
title: I("views.settings.security.regenerate_backup"),
|
|
449
|
+
confirmText: I("views.settings.security.regenerate_backup"),
|
|
450
|
+
contentProps: { onBackupCodesGenerated: (e) => {
|
|
451
|
+
Rn(e);
|
|
452
|
+
} }
|
|
453
|
+
} });
|
|
454
|
+
}
|
|
455
|
+
function Rn(e) {
|
|
456
|
+
C.openComponentDialog(Je, { data: {
|
|
457
|
+
title: I("views.settings.security.backup_codes"),
|
|
458
|
+
confirmText: I("components.form.button.close"),
|
|
459
|
+
hideCancelButton: !0,
|
|
460
|
+
contentProps: { backupCodes: e }
|
|
461
|
+
} });
|
|
462
|
+
}
|
|
463
|
+
async function zn(e) {
|
|
464
|
+
let t = e.target?.files;
|
|
465
|
+
K.value = t?.[0], q.value = await be(e) ?? q.value;
|
|
466
|
+
}
|
|
467
|
+
async function Bn() {
|
|
468
|
+
Y.value = !0;
|
|
469
|
+
try {
|
|
470
|
+
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);
|
|
475
|
+
else {
|
|
476
|
+
Y.value = !1;
|
|
477
|
+
return;
|
|
478
|
+
}
|
|
479
|
+
N.add({
|
|
480
|
+
severity: "success",
|
|
481
|
+
detail: I("components.toast.profile_updated"),
|
|
482
|
+
life: 3e3
|
|
483
|
+
}), K.value = void 0, t && R.logout();
|
|
484
|
+
} catch {}
|
|
485
|
+
Y.value = !1;
|
|
486
|
+
}
|
|
487
|
+
async function Vn(e) {
|
|
488
|
+
X.value = !0;
|
|
489
|
+
try {
|
|
490
|
+
await R.updateUser({
|
|
491
|
+
password: e.password,
|
|
492
|
+
passwordConfirm: e.passwordConfirm
|
|
493
|
+
}), N.add({
|
|
494
|
+
severity: "success",
|
|
495
|
+
detail: I("components.toast.password_updated"),
|
|
496
|
+
life: 3e3
|
|
497
|
+
}), G.value?.resetForm(), R.logout();
|
|
498
|
+
} catch (e) {
|
|
499
|
+
N.add({
|
|
500
|
+
severity: "error",
|
|
501
|
+
detail: e,
|
|
502
|
+
life: 3e3
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
X.value = !1;
|
|
506
|
+
}
|
|
507
|
+
async function Hn() {}
|
|
508
|
+
async function Un(e) {
|
|
509
|
+
if (e !== bn.value) {
|
|
510
|
+
if (e) {
|
|
511
|
+
N.add({
|
|
512
|
+
severity: "info",
|
|
513
|
+
detail: I("views.settings.biometric.enable_hint"),
|
|
514
|
+
life: 3e3
|
|
515
|
+
});
|
|
516
|
+
return;
|
|
517
|
+
}
|
|
518
|
+
xn.value = !0;
|
|
519
|
+
try {
|
|
520
|
+
await ie(me()), bn.value = !1, N.add({
|
|
521
|
+
severity: "success",
|
|
522
|
+
detail: I("views.settings.biometric.cleared"),
|
|
523
|
+
life: 3e3
|
|
524
|
+
});
|
|
525
|
+
} finally {
|
|
526
|
+
xn.value = !1;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
return ee(() => {
|
|
531
|
+
Hn();
|
|
532
|
+
}), n({ formRef: W }), (e, n) => {
|
|
533
|
+
let r = ue, i = Ee, l = de, m = Ce, v = ge, S = Te, C = xe, w = ke, ee = se, ie = oe, ae = _e, D = pe, k = je, me = le, A = ne, ve = ye, j = De, be = Se, M = Oe, N = re, we = Ae, P = te;
|
|
534
|
+
return a(), g("div", null, [y("div", et, [p(L) ? (a(), u(p(ce), {
|
|
535
|
+
key: 0,
|
|
536
|
+
ref_key: "formRef",
|
|
537
|
+
ref: W,
|
|
538
|
+
"validation-schema": p(Ze),
|
|
539
|
+
class: "flex flex-col w-full gap-6"
|
|
540
|
+
}, {
|
|
541
|
+
default: h(() => [y("div", tt, [
|
|
542
|
+
y("div", nt, [y("label", rt, [T(r, {
|
|
543
|
+
src: p(q),
|
|
544
|
+
size: 64,
|
|
545
|
+
"show-border": !1,
|
|
546
|
+
class: "cursor-pointer"
|
|
547
|
+
}, null, 8, ["src"]), y("input", {
|
|
548
|
+
id: "file-input",
|
|
549
|
+
type: "file",
|
|
550
|
+
class: "hidden",
|
|
551
|
+
accept: "image/png,image/jpeg,image/jpg",
|
|
552
|
+
onChange: n[0] ||= (e) => zn(e)
|
|
553
|
+
}, null, 32)])]),
|
|
554
|
+
y("span", it, o(e.$t("views.settings.profile")), 1),
|
|
555
|
+
T(m, { class: "cui-card" }, {
|
|
556
|
+
content: h(() => [y("div", at, [T(p(O), {
|
|
557
|
+
"model-value": p(z)?.username,
|
|
558
|
+
name: "username",
|
|
559
|
+
as: "div",
|
|
560
|
+
class: "flex flex-col field-gap"
|
|
561
|
+
}, {
|
|
562
|
+
default: h(({ field: n, errors: r }) => [
|
|
563
|
+
y("label", ot, o(e.$t("components.form.label.username")), 1),
|
|
564
|
+
T(l, null, {
|
|
565
|
+
default: h(() => [T(i, s(n, {
|
|
566
|
+
invalid: r.length > 0,
|
|
567
|
+
type: "text"
|
|
568
|
+
}), null, 16, ["invalid"])]),
|
|
569
|
+
_: 2
|
|
570
|
+
}, 1024),
|
|
571
|
+
T(t, { name: "fade" }, {
|
|
572
|
+
default: h(() => [T(p(E), {
|
|
573
|
+
name: "username",
|
|
574
|
+
class: "cui-input-error"
|
|
575
|
+
})]),
|
|
576
|
+
_: 1
|
|
577
|
+
})
|
|
578
|
+
]),
|
|
579
|
+
_: 1
|
|
580
|
+
}, 8, ["model-value"])])]),
|
|
581
|
+
_: 1
|
|
582
|
+
})
|
|
583
|
+
]), y("div", null, [y("span", st, o(e.$t("views.settings.password")), 1), T(m, { class: "cui-card" }, {
|
|
584
|
+
content: h(() => [y("div", ct, [T(p(O), {
|
|
585
|
+
name: "password",
|
|
586
|
+
as: "div",
|
|
587
|
+
class: "flex flex-col field-gap"
|
|
588
|
+
}, {
|
|
589
|
+
default: h(({ field: n, errors: r }) => [
|
|
590
|
+
y("label", lt, o(e.$t("components.form.label.new_password")), 1),
|
|
591
|
+
T(l, null, {
|
|
592
|
+
default: h(() => [T(v, s({ invalid: r.length > 0 }, n, {
|
|
593
|
+
feedback: !1,
|
|
594
|
+
"toggle-mask": ""
|
|
595
|
+
}), null, 16, ["invalid"])]),
|
|
596
|
+
_: 2
|
|
597
|
+
}, 1024),
|
|
598
|
+
T(t, { name: "fade" }, {
|
|
599
|
+
default: h(() => [T(p(E), {
|
|
600
|
+
name: "password",
|
|
601
|
+
class: "cui-input-error"
|
|
602
|
+
})]),
|
|
603
|
+
_: 1
|
|
604
|
+
})
|
|
605
|
+
]),
|
|
606
|
+
_: 1
|
|
607
|
+
}), T(p(O), {
|
|
608
|
+
name: "passwordConfirm",
|
|
609
|
+
as: "div",
|
|
610
|
+
class: "flex flex-col field-gap"
|
|
611
|
+
}, {
|
|
612
|
+
default: h(({ field: n, errors: r }) => [
|
|
613
|
+
y("label", ut, o(e.$t("components.form.label.new_password_confirm")), 1),
|
|
614
|
+
T(l, null, {
|
|
615
|
+
default: h(() => [T(v, s({ invalid: r.length > 0 }, n, {
|
|
616
|
+
feedback: !1,
|
|
617
|
+
"toggle-mask": ""
|
|
618
|
+
}), null, 16, ["invalid"])]),
|
|
619
|
+
_: 2
|
|
620
|
+
}, 1024),
|
|
621
|
+
T(t, { name: "fade" }, {
|
|
622
|
+
default: h(() => [T(p(E), {
|
|
623
|
+
name: "passwordConfirm",
|
|
624
|
+
class: "cui-input-error"
|
|
625
|
+
})]),
|
|
626
|
+
_: 1
|
|
627
|
+
})
|
|
628
|
+
]),
|
|
629
|
+
_: 1
|
|
630
|
+
})])]),
|
|
631
|
+
_: 1
|
|
632
|
+
})])]),
|
|
633
|
+
_: 1
|
|
634
|
+
}, 8, ["validation-schema"])) : (a(), g(_, { key: 1 }, [
|
|
635
|
+
y("div", dt, [
|
|
636
|
+
y("div", ft, [y("label", pt, [T(r, {
|
|
637
|
+
src: p(q),
|
|
638
|
+
size: 64,
|
|
639
|
+
"show-border": !1,
|
|
640
|
+
class: "cursor-pointer"
|
|
641
|
+
}, null, 8, ["src"]), y("input", {
|
|
642
|
+
id: "file-input",
|
|
643
|
+
type: "file",
|
|
644
|
+
class: "hidden",
|
|
645
|
+
accept: "image/png,image/jpeg,image/jpg",
|
|
646
|
+
onChange: n[1] ||= (e) => zn(e)
|
|
647
|
+
}, null, 32)])]),
|
|
648
|
+
y("span", mt, o(e.$t("views.settings.profile")), 1),
|
|
649
|
+
T(m, { class: "cui-card" }, {
|
|
650
|
+
content: h(() => [y("div", ht, [y("div", gt, [y("label", _t, o(e.$t("components.form.label.username")), 1), T(l, null, {
|
|
651
|
+
default: h(() => [T(i, {
|
|
652
|
+
modelValue: p(J),
|
|
653
|
+
"onUpdate:modelValue": n[2] ||= (e) => f(J) ? J.value = e : null,
|
|
654
|
+
loading: p(Y),
|
|
655
|
+
type: "text"
|
|
656
|
+
}, null, 8, ["modelValue", "loading"])]),
|
|
657
|
+
_: 1
|
|
658
|
+
})]), y("div", vt, [T(S, {
|
|
659
|
+
loading: p(Y),
|
|
660
|
+
class: "cui-button-medium",
|
|
661
|
+
label: e.$t("components.form.button.update_profile"),
|
|
662
|
+
onClick: Bn
|
|
663
|
+
}, null, 8, ["loading", "label"])])])]),
|
|
664
|
+
_: 1
|
|
665
|
+
})
|
|
666
|
+
]),
|
|
667
|
+
y("div", null, [y("span", yt, o(e.$t("views.settings.password")), 1), T(m, { class: "cui-card" }, {
|
|
668
|
+
content: h(() => [T(p(ce), {
|
|
669
|
+
ref_key: "passwordFormRef",
|
|
670
|
+
ref: G,
|
|
671
|
+
"validation-schema": p(Xe),
|
|
672
|
+
class: "flex flex-col gap-6",
|
|
673
|
+
onSubmit: n[3] ||= (e) => Vn(e)
|
|
674
|
+
}, {
|
|
675
|
+
default: h(() => [
|
|
676
|
+
T(p(O), {
|
|
677
|
+
name: "password",
|
|
678
|
+
as: "div",
|
|
679
|
+
class: "flex flex-col field-gap"
|
|
680
|
+
}, {
|
|
681
|
+
default: h(({ field: n, errors: r }) => [
|
|
682
|
+
y("label", bt, o(e.$t("components.form.label.new_password")), 1),
|
|
683
|
+
T(l, null, {
|
|
684
|
+
default: h(() => [T(v, s({ invalid: r.length > 0 }, n, {
|
|
685
|
+
loading: p(X),
|
|
686
|
+
feedback: !1,
|
|
687
|
+
"toggle-mask": ""
|
|
688
|
+
}), null, 16, ["invalid", "loading"])]),
|
|
689
|
+
_: 2
|
|
690
|
+
}, 1024),
|
|
691
|
+
T(t, { name: "fade" }, {
|
|
692
|
+
default: h(() => [T(p(E), {
|
|
693
|
+
name: "password",
|
|
694
|
+
class: "cui-input-error"
|
|
695
|
+
})]),
|
|
696
|
+
_: 1
|
|
697
|
+
})
|
|
698
|
+
]),
|
|
699
|
+
_: 1
|
|
700
|
+
}),
|
|
701
|
+
T(p(O), {
|
|
702
|
+
name: "passwordConfirm",
|
|
703
|
+
as: "div",
|
|
704
|
+
class: "flex flex-col field-gap"
|
|
705
|
+
}, {
|
|
706
|
+
default: h(({ field: n, errors: r }) => [
|
|
707
|
+
y("label", xt, o(e.$t("components.form.label.new_password_confirm")), 1),
|
|
708
|
+
T(l, null, {
|
|
709
|
+
default: h(() => [T(v, s({ invalid: r.length > 0 }, n, {
|
|
710
|
+
loading: p(X),
|
|
711
|
+
feedback: !1,
|
|
712
|
+
"toggle-mask": ""
|
|
713
|
+
}), null, 16, ["invalid", "loading"])]),
|
|
714
|
+
_: 2
|
|
715
|
+
}, 1024),
|
|
716
|
+
T(t, { name: "fade" }, {
|
|
717
|
+
default: h(() => [T(p(E), {
|
|
718
|
+
name: "passwordConfirm",
|
|
719
|
+
class: "cui-input-error"
|
|
720
|
+
})]),
|
|
721
|
+
_: 1
|
|
722
|
+
})
|
|
723
|
+
]),
|
|
724
|
+
_: 1
|
|
725
|
+
}),
|
|
726
|
+
y("div", St, [T(S, {
|
|
727
|
+
type: "submit",
|
|
728
|
+
loading: p(X),
|
|
729
|
+
class: "cui-button-medium",
|
|
730
|
+
label: e.$t("components.form.button.change_password")
|
|
731
|
+
}, null, 8, ["loading", "label"])])
|
|
732
|
+
]),
|
|
733
|
+
_: 1
|
|
734
|
+
}, 8, ["validation-schema"])]),
|
|
735
|
+
_: 1
|
|
736
|
+
})]),
|
|
737
|
+
y("div", null, [y("span", Ct, o(e.$t("views.settings.security.title")), 1), T(m, { class: "cui-card" }, {
|
|
738
|
+
content: h(() => [p(Ne) ? (a(), g("div", wt, [T(C, {
|
|
739
|
+
class: "w-[30px] h-[30px] m-0",
|
|
740
|
+
"stroke-width": "5"
|
|
741
|
+
})])) : (a(), u(t, {
|
|
742
|
+
key: 1,
|
|
743
|
+
name: "fade",
|
|
744
|
+
mode: "out-in"
|
|
745
|
+
}, {
|
|
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)]), T(S, {
|
|
747
|
+
class: "cui-button-medium ml-auto",
|
|
748
|
+
label: e.$t("views.settings.security.setup_2fa"),
|
|
749
|
+
onClick: Nn
|
|
750
|
+
}, null, 8, ["label"])])) : !p(B)?.enabled && p(V) ? (a(), g("div", kt, [T(C, {
|
|
751
|
+
class: "w-[30px] h-[30px] m-0",
|
|
752
|
+
"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, [T(w, {
|
|
754
|
+
value: p(Tn),
|
|
755
|
+
size: 160,
|
|
756
|
+
"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), T(l, null, {
|
|
759
|
+
default: h(() => [T(i, {
|
|
760
|
+
"model-value": p(Z)?.secret,
|
|
761
|
+
readonly: "",
|
|
762
|
+
class: "font-mono text-sm"
|
|
763
|
+
}, null, 8, ["model-value"]), T(ie, null, {
|
|
764
|
+
default: h(() => [T(ee, {
|
|
765
|
+
"action-text": e.$t("components.form.tooltip.copied"),
|
|
766
|
+
icon: p(fe),
|
|
767
|
+
"button-props": {
|
|
768
|
+
severity: "secondary",
|
|
769
|
+
text: !0
|
|
770
|
+
},
|
|
771
|
+
onAction: En
|
|
772
|
+
}, null, 8, ["action-text", "icon"])]),
|
|
773
|
+
_: 1
|
|
774
|
+
})]),
|
|
775
|
+
_: 1
|
|
776
|
+
})]),
|
|
777
|
+
y("div", Lt, [y("label", Rt, o(e.$t("views.settings.security.enter_code")), 1), T(ae, {
|
|
778
|
+
modelValue: p(Q),
|
|
779
|
+
"onUpdate:modelValue": n[4] ||= (e) => f(Q) ? Q.value = e : null,
|
|
780
|
+
length: 6,
|
|
781
|
+
"integer-only": ""
|
|
782
|
+
}, null, 8, ["modelValue"])]),
|
|
783
|
+
y("div", zt, [T(S, {
|
|
784
|
+
severity: "secondary",
|
|
785
|
+
class: "cui-button-medium",
|
|
786
|
+
label: e.$t("components.form.button.cancel"),
|
|
787
|
+
onClick: Pn
|
|
788
|
+
}, null, 8, ["label"]), T(S, {
|
|
789
|
+
class: "cui-button-medium",
|
|
790
|
+
label: e.$t("views.settings.security.enable_2fa"),
|
|
791
|
+
loading: p(Re),
|
|
792
|
+
disabled: p(Q).length < 6,
|
|
793
|
+
onClick: Fn
|
|
794
|
+
}, null, 8, [
|
|
795
|
+
"label",
|
|
796
|
+
"loading",
|
|
797
|
+
"disabled"
|
|
798
|
+
])])
|
|
799
|
+
])])) : (a(), g("div", Bt, [
|
|
800
|
+
y("div", Vt, [y("div", Ht, [T(D, { 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, [T(k, { 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, [T(S, {
|
|
803
|
+
severity: "secondary",
|
|
804
|
+
class: "cui-button-medium",
|
|
805
|
+
label: e.$t("views.settings.security.regenerate_backup"),
|
|
806
|
+
onClick: Ln
|
|
807
|
+
}, null, 8, ["label"]), T(S, {
|
|
808
|
+
severity: "danger",
|
|
809
|
+
class: "cui-button-medium",
|
|
810
|
+
label: e.$t("views.settings.security.disable_2fa"),
|
|
811
|
+
onClick: In
|
|
812
|
+
}, null, 8, ["label"])])
|
|
813
|
+
]))]),
|
|
814
|
+
_: 1
|
|
815
|
+
}))]),
|
|
816
|
+
_: 1
|
|
817
|
+
})]),
|
|
818
|
+
p(Sn) ? (a(), g("div", qt, [y("span", Jt, o(e.$t("views.settings.biometric.title")), 1), T(m, { class: "cui-card" }, {
|
|
819
|
+
content: h(() => [y("div", Yt, [
|
|
820
|
+
T(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), T(A, {
|
|
822
|
+
severity: "secondary",
|
|
823
|
+
variant: "simple",
|
|
824
|
+
size: "small",
|
|
825
|
+
class: "cui-input-switch-hint"
|
|
826
|
+
}, {
|
|
827
|
+
default: h(() => [x(o(e.$t("views.settings.biometric.description")), 1)]),
|
|
828
|
+
_: 1
|
|
829
|
+
})]),
|
|
830
|
+
T(ve, {
|
|
831
|
+
"model-value": p(bn),
|
|
832
|
+
loading: p(xn),
|
|
833
|
+
class: "ml-auto shrink-0",
|
|
834
|
+
"onUpdate:modelValue": Un
|
|
835
|
+
}, null, 8, ["model-value", "loading"])
|
|
836
|
+
])]),
|
|
837
|
+
_: 1
|
|
838
|
+
})])) : d("", !0),
|
|
839
|
+
y("div", null, [y("span", Qt, o(e.$t("views.settings.api_tokens.title")), 1), T(m, { class: "cui-card" }, {
|
|
840
|
+
content: h(() => [y("div", $t, [
|
|
841
|
+
y("span", en, o(e.$t("views.settings.api_tokens.info")), 1),
|
|
842
|
+
T(M, {
|
|
843
|
+
value: p(U) ?? [],
|
|
844
|
+
"data-key": "id",
|
|
845
|
+
loading: p(We),
|
|
846
|
+
pt: Cn,
|
|
847
|
+
"striped-rows": "",
|
|
848
|
+
scrollable: ""
|
|
849
|
+
}, {
|
|
850
|
+
loading: h(() => [T(C, {
|
|
851
|
+
class: "w-[30px] h-[30px] m-0",
|
|
852
|
+
"stroke-width": "5"
|
|
853
|
+
})]),
|
|
854
|
+
empty: h(() => [y("span", tn, o(e.$t("views.settings.api_tokens.empty")), 1)]),
|
|
855
|
+
default: h(() => [
|
|
856
|
+
T(j, {
|
|
857
|
+
field: "name",
|
|
858
|
+
header: e.$t("views.settings.api_tokens.name_label"),
|
|
859
|
+
"header-class": "p-2 h-7 min-h-7 max-h-7",
|
|
860
|
+
class: "p-2 h-7 min-h-7 max-h-7"
|
|
861
|
+
}, {
|
|
862
|
+
body: h(({ data: e }) => [y("div", nn, [T(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
|
+
_: 1
|
|
864
|
+
}, 8, ["header"]),
|
|
865
|
+
T(j, {
|
|
866
|
+
field: "last_seen_at",
|
|
867
|
+
header: e.$t("views.settings.api_tokens.last_used"),
|
|
868
|
+
"header-class": "p-2 h-7 min-h-7 max-h-7",
|
|
869
|
+
class: "p-2 h-7 min-h-7 max-h-7"
|
|
870
|
+
}, {
|
|
871
|
+
body: h(({ data: t }) => [y("span", sn, o(t.last_seen_at > t.created_at ? p(he)(t.last_seen_at) : e.$t("views.settings.api_tokens.never")), 1)]),
|
|
872
|
+
_: 1
|
|
873
|
+
}, 8, ["header"]),
|
|
874
|
+
T(j, {
|
|
875
|
+
field: "action",
|
|
876
|
+
"header-class": "p-2 h-7 min-h-7 max-h-7",
|
|
877
|
+
class: "p-2 h-7 min-h-7 max-h-7 text-right"
|
|
878
|
+
}, {
|
|
879
|
+
body: h(({ data: t }) => [b((a(), u(S, {
|
|
880
|
+
severity: "danger",
|
|
881
|
+
text: "",
|
|
882
|
+
rounded: "",
|
|
883
|
+
class: "cui-icon-md",
|
|
884
|
+
loading: p($) === t.id,
|
|
885
|
+
onClick: (e) => jn(t)
|
|
886
|
+
}, {
|
|
887
|
+
icon: h(() => [T(be, {
|
|
888
|
+
width: "100%",
|
|
889
|
+
height: "100%"
|
|
890
|
+
})]),
|
|
891
|
+
_: 1
|
|
892
|
+
}, 8, ["loading", "onClick"])), [[P, { value: e.$t("views.settings.api_tokens.revoke") }]])]),
|
|
893
|
+
_: 1
|
|
894
|
+
})
|
|
895
|
+
]),
|
|
896
|
+
_: 1
|
|
897
|
+
}, 8, ["value", "loading"]),
|
|
898
|
+
y("div", cn, [T(S, {
|
|
899
|
+
loading: p(qe),
|
|
900
|
+
class: "cui-button-medium mr-4 md:mr-0",
|
|
901
|
+
label: e.$t("views.settings.api_tokens.create"),
|
|
902
|
+
onClick: kn
|
|
903
|
+
}, null, 8, ["loading", "label"])])
|
|
904
|
+
])]),
|
|
905
|
+
_: 1
|
|
906
|
+
})]),
|
|
907
|
+
y("div", null, [y("span", ln, o(e.$t("views.settings.active_sessions.title")), 1), T(m, { class: "cui-card" }, {
|
|
908
|
+
content: h(() => [y("div", un, [T(M, {
|
|
909
|
+
value: p(H) ?? [],
|
|
910
|
+
"data-key": "id",
|
|
911
|
+
loading: p(Be),
|
|
912
|
+
pt: Cn,
|
|
913
|
+
"striped-rows": "",
|
|
914
|
+
scrollable: ""
|
|
915
|
+
}, {
|
|
916
|
+
loading: h(() => [T(C, {
|
|
917
|
+
class: "w-[30px] h-[30px] m-0",
|
|
918
|
+
"stroke-width": "5"
|
|
919
|
+
})]),
|
|
920
|
+
empty: h(() => [y("span", dn, o(e.$t("views.settings.active_sessions.empty")), 1)]),
|
|
921
|
+
default: h(() => [T(j, {
|
|
922
|
+
field: "device",
|
|
923
|
+
header: e.$t("views.settings.title_device"),
|
|
924
|
+
"header-class": "p-2 h-7 min-h-7 max-h-7",
|
|
925
|
+
class: "p-2 h-7 min-h-7 max-h-7"
|
|
926
|
+
}, {
|
|
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
|
+
key: 0,
|
|
929
|
+
severity: "success",
|
|
930
|
+
value: e.$t("views.settings.active_sessions.this_device"),
|
|
931
|
+
class: "cui-session-tag"
|
|
932
|
+
}, null, 8, ["value"])) : d("", !0)]), y("span", gn, o(t.device.ip || "—"), 1)])])]),
|
|
933
|
+
_: 1
|
|
934
|
+
}, 8, ["header"]), T(j, {
|
|
935
|
+
field: "action",
|
|
936
|
+
"header-class": "p-2 h-7 min-h-7 max-h-7",
|
|
937
|
+
class: "p-2 h-7 min-h-7 max-h-7 text-right"
|
|
938
|
+
}, {
|
|
939
|
+
body: h(({ data: t }) => [t.is_current ? d("", !0) : b((a(), u(S, {
|
|
940
|
+
key: 0,
|
|
941
|
+
severity: "danger",
|
|
942
|
+
text: "",
|
|
943
|
+
rounded: "",
|
|
944
|
+
class: "cui-icon-md",
|
|
945
|
+
loading: p(vn) === t.id,
|
|
946
|
+
onClick: (e) => On(t.id)
|
|
947
|
+
}, {
|
|
948
|
+
icon: h(() => [T(we, {
|
|
949
|
+
width: "100%",
|
|
950
|
+
height: "100%"
|
|
951
|
+
})]),
|
|
952
|
+
_: 1
|
|
953
|
+
}, 8, ["loading", "onClick"])), [[P, { value: e.$t("views.settings.active_sessions.revoke") }]])]),
|
|
954
|
+
_: 1
|
|
955
|
+
})]),
|
|
956
|
+
_: 1
|
|
957
|
+
}, 8, ["value", "loading"]), p(wn) > 0 ? (a(), g("div", _n, [T(S, {
|
|
958
|
+
loading: p(yn),
|
|
959
|
+
class: "cui-button-medium mr-4 md:mr-0",
|
|
960
|
+
label: e.$t("views.settings.active_sessions.revoke_all_others", { count: p(wn) }),
|
|
961
|
+
onClick: Mn
|
|
962
|
+
}, null, 8, ["loading", "label"])])) : d("", !0)])]),
|
|
963
|
+
_: 1
|
|
964
|
+
})])
|
|
965
|
+
], 64))])]);
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
}), X = /* @__PURE__ */ e({ default: () => Z }), Z = /*#__PURE__*/ N(Y, [["__scopeId", "data-v-de51a7b1"]]);
|
|
969
|
+
//#endregion
|
|
970
|
+
export { X as n, Z as t };
|