@camera.ui/server 2.1.14-beta.2 → 2.1.14
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-BUI5AjaN.js → 404-DRo8zW0F.js} +1 -1
- package/dist/interface/assets/{About-B68h2Ypp.js → About-DMjE0Qte.js} +1 -1
- package/dist/interface/assets/Automation-BLolxsX8.js +3 -0
- package/dist/interface/assets/AutomationImport-C_rR9kDq.js +2 -0
- package/dist/interface/assets/AutomationStore-whk_TeCG.js +2 -0
- package/dist/interface/assets/AutomationStoreDetail-BDDgg3zY.js +2 -0
- package/dist/interface/assets/Automations-sEIWIfdE.js +2 -0
- package/dist/interface/assets/Camera-BWdUUW_H.css +1 -0
- package/dist/interface/assets/Camera-l1DApD8b.js +2 -0
- package/dist/interface/assets/{CameraConsole-2ik6hqsi.js → CameraConsole-CP_kwVq7.js} +1 -1
- package/dist/interface/assets/{Cameras-BiBeIDTT.js → Cameras-Bp6P5eQC.js} +2 -2
- package/dist/interface/assets/{Camview-DIEa8IRE.css → Camview-BZS4_jv1.css} +1 -1
- package/dist/interface/assets/Camview-CWS3VJ1A.js +1 -0
- package/dist/interface/assets/{CertificateUpload-BsnlaxRS.js → CertificateUpload-CA2PrWb3.js} +1 -1
- package/dist/interface/assets/Config-C02ndytC.js +2 -0
- package/dist/interface/assets/{ConfigActionCameraControl-Um6CGbRu.js → ConfigActionCameraControl-BODp6yd4.js} +1 -1
- package/dist/interface/assets/{ConfigActionDelay-D10_C6yo.js → ConfigActionDelay-ChQOPeXL.js} +1 -1
- package/dist/interface/assets/{ConfigActionHttp-DL4jh9Wz.js → ConfigActionHttp-BVeQKfLN.js} +1 -1
- package/dist/interface/assets/{ConfigActionImageInput-DVvMUzrT.js → ConfigActionImageInput-B99__kdP.js} +1 -1
- package/dist/interface/assets/{ConfigActionMqtt-doO8Az89.js → ConfigActionMqtt-D595Lo5y.js} +1 -1
- package/dist/interface/assets/{ConfigActionNotification-B5EpVQYl.js → ConfigActionNotification-DxzLPmUf.js} +1 -1
- package/dist/interface/assets/{ConfigActionNotificationControl-zSrCVmyd.js → ConfigActionNotificationControl-Bp4yWebz.js} +1 -1
- package/dist/interface/assets/{ConfigActionOutput-udY95_rH.js → ConfigActionOutput-Di3KaQ_P.js} +1 -1
- package/dist/interface/assets/{ConfigActionPlugin-DAsJCHlA.js → ConfigActionPlugin-B7vbDV9n.js} +1 -1
- package/dist/interface/assets/{ConfigActionSensor-DXbcVPIc.js → ConfigActionSensor-Qj0c8MZq.js} +1 -1
- package/dist/interface/assets/{ConfigActionSnapshot-DxN3OCxP.js → ConfigActionSnapshot-159QrEMJ.js} +1 -1
- package/dist/interface/assets/{ConfigActionVariable-BagC3lj5.js → ConfigActionVariable-Bodvejrx.js} +1 -1
- package/dist/interface/assets/{ConfigConditionIfElse-CQOZJ19Y.js → ConfigConditionIfElse-BMI_mgi3.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSensorState-CSXRl20N.js → ConfigConditionSensorState-DkwjHr31.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSwitch-BXR6xUN8.js → ConfigConditionSwitch-ZlqOfRQE.js} +1 -1
- package/dist/interface/assets/{ConfigConditionTime-BrEhw1R9.js → ConfigConditionTime-B2igg9Tb.js} +1 -1
- package/dist/interface/assets/{ConfigSensorValueInput-DezTWtbA.js → ConfigSensorValueInput-DMnkNDC_.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerDetection-Bm4rRg1w.js → ConfigTriggerDetection-C_ujxraC.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerGeofence-CBe0l1jA.js → ConfigTriggerGeofence-DnYSaLPb.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerManual-CmAdnZQK.js → ConfigTriggerManual-BVIiZfOj.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerMqtt-X6PJ4118.js → ConfigTriggerMqtt-B7Tf1jOh.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSchedule-BGci3Aed.js → ConfigTriggerSchedule-CcvA02N3.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSensor-THoba5wK.js → ConfigTriggerSensor-CHCDeFmR.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSystem-DvKpEj8j.js → ConfigTriggerSystem-0SeQnHSX.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerWebhook-COk74WMO.js → ConfigTriggerWebhook-t0tFjZ7V.js} +1 -1
- package/dist/interface/assets/{Console-B-c9uFON.js → Console-B3xhLOhl.js} +1 -1
- package/dist/interface/assets/{CuiAutomationRunsDialog-B4jdBnXB.js → CuiAutomationRunsDialog-hZJsv95Y.js} +1 -1
- package/dist/interface/assets/{CuiBottomSheet-D6Ar_Vq5.js → CuiBottomSheet-Cv_fwvYu.js} +1 -1
- package/dist/interface/assets/CuiBottomSheet-epGdNqA8.js +1 -0
- package/dist/interface/assets/CuiCameraPipCard-Bm6wjm6h.js +1 -0
- package/dist/interface/assets/{CuiCameraRecordings-B57cH2Zl.js → CuiCameraRecordings-4LLV-U85.js} +1 -1
- package/dist/interface/assets/{CuiCameraShares-CIiNdSs9.js → CuiCameraShares-DqmX3koT.js} +1 -1
- package/dist/interface/assets/CuiCameraTable-CfyXLqkh.js +1 -0
- package/dist/interface/assets/{CuiCameraTable-BwcUrxRG.js → CuiCameraTable-CkAeMqcZ.js} +1 -1
- package/dist/interface/assets/{CuiChartTable-T7LhCE75.js → CuiChartTable-CZXvn_Iy.js} +1 -1
- package/dist/interface/assets/{CuiConsole-eYQze0Ui.js → CuiConsole-CW8Q43cq.js} +1 -1
- package/dist/interface/assets/{CuiDataTable-DRn4fgA3.js → CuiDataTable-cN03N7lr.js} +1 -1
- package/dist/interface/assets/{CuiLightControl-BUYobZ7u.js → CuiLightControl-CA8MAVex.js} +1 -1
- package/dist/interface/assets/{CuiList-D-hOSNou.js → CuiList-BI488Ne9.js} +1 -1
- package/dist/interface/assets/CuiMarkdownContent-BXUJahQp.js +1 -0
- package/dist/interface/assets/{CuiMarkdownContent-gJ8gvmYA.js → CuiMarkdownContent-Diua-pVD.js} +1 -1
- package/dist/interface/assets/CuiPluginCard-Bj6cUIJ0.js +2 -0
- package/dist/interface/assets/{CuiPluginCategoryChip-BcUzuEzZ.js → CuiPluginCategoryChip-5YBKOVmo.js} +1 -1
- package/dist/interface/assets/CuiPluginOAuthButton-BmdfXNce.js +2 -0
- package/dist/interface/assets/{CuiPluginTrustBadge-DVgAlpH5.js → CuiPluginTrustBadge-BFpziu4f.js} +1 -1
- package/dist/interface/assets/{CuiQRCode-CeQ_McaA.js → CuiQRCode-CiWTLo9T.js} +1 -1
- package/dist/interface/assets/{CuiSchema-DdZA0ZMU.js → CuiSchema-DntSkCO2.js} +1 -1
- package/dist/interface/assets/{CuiTopNavbarItem-C4k-nVFX.js → CuiTopNavbarItem-DuzCbIZ8.js} +1 -1
- package/dist/interface/assets/Faces-Bea5pIop.js +1 -0
- package/dist/interface/assets/FirstSteps-BNbQsYHq.js +1 -0
- package/dist/interface/assets/Floorplan-D9zKFQ2q.js +1 -0
- package/dist/interface/assets/Instances-DBphCwLn.js +1 -0
- package/dist/interface/assets/{Logs-BMbipaHY.js → Logs-Bjyi3BKP.js} +2 -2
- package/dist/interface/assets/{Menu-CeRrSc4S.js → Menu-BQDo_rxR.js} +1 -1
- package/dist/interface/assets/Metrics-Dvnil66d.js +9 -0
- package/dist/interface/assets/{OAuthDeviceFlow-h34MrQBF.js → OAuthDeviceFlow-C-a76FaQ.js} +1 -1
- package/dist/interface/assets/Plugin-1ZS-dcRt.js +1 -0
- package/dist/interface/assets/{PluginConsole-BmoxL8Zf.js → PluginConsole-B5A04A2x.js} +1 -1
- package/dist/interface/assets/PluginDetail-SCj7WYL6.js +2 -0
- package/dist/interface/assets/{PluginSchema-E2mYGyo7.js → PluginSchema-BJEOq6im.js} +1 -1
- package/dist/interface/assets/PluginSearch-CHeix3n8.js +2 -0
- package/dist/interface/assets/PluginSearch-CcjGzS5R.js +1 -0
- package/dist/interface/assets/{PluginUpdateProgress-C24YDhuR.js → PluginUpdateProgress-BZ-OtZet.js} +1 -1
- package/dist/interface/assets/Plugins-DS-NZusx.js +1 -0
- package/dist/interface/assets/Recordings-Bqb2uV7R.js +1 -0
- package/dist/interface/assets/{SensorEdit-BNjKeleI.js → SensorEdit-CQagiAww.js} +1 -1
- package/dist/interface/assets/{SensorHistory-CdH5maOV.js → SensorHistory-DIMTRYRa.js} +1 -1
- package/dist/interface/assets/Sensors-DU0MBnV1.js +2 -0
- package/dist/interface/assets/{Settings-DKBZFxlv.js → Settings-Dn-TJCtd.js} +1 -1
- package/dist/interface/assets/SettingsAccount-CLclTO2m.js +1 -0
- package/dist/interface/assets/SettingsAccount-Q2sigi3a.js +1 -0
- package/dist/interface/assets/SettingsAppearance-Bo61ZncS.js +1 -0
- package/dist/interface/assets/{SettingsAppearance-CQCBQbi9.js → SettingsAppearance-NpsVIJUO.js} +1 -1
- package/dist/interface/assets/SettingsBackup-D1NER4RI.js +1 -0
- package/dist/interface/assets/{SettingsList-DBsW8ThN.js → SettingsList-BKyyC2_M.js} +1 -1
- package/dist/interface/assets/{SettingsMqtt-2CZar6Ok.js → SettingsMqtt-14d54svj.js} +1 -1
- package/dist/interface/assets/{SettingsNotifications-XklBpBAA.js → SettingsNotifications-kKPcCTLM.js} +1 -1
- package/dist/interface/assets/{SettingsPermissions-gFDNSlTh.js → SettingsPermissions-r6wxjmHg.js} +1 -1
- package/dist/interface/assets/{SettingsRecordings-DNivVi-n.js → SettingsRecordings-GPy1AdjG.js} +1 -1
- package/dist/interface/assets/SettingsRemote-Da_6mcHl.js +2 -0
- package/dist/interface/assets/SettingsSystem-BpPrajwG.js +2 -0
- package/dist/interface/assets/SettingsUsers-CBItOJic.js +1 -0
- package/dist/interface/assets/{Terminal-DIJQiSuv.js → Terminal-DtvlszuP.js} +1 -1
- package/dist/interface/assets/Updates-CV5MWBHg.js +2 -0
- package/dist/interface/assets/{VariableInput-n0TxKRqq.js → VariableInput-C-f6bNmi.js} +1 -1
- package/dist/interface/assets/{VariableSuggestions-C4LmaCAo.js → VariableSuggestions-B4LYkbu5.js} +1 -1
- package/dist/interface/assets/VersionsHandler-Cxxcwt9W.js +7 -0
- package/dist/interface/assets/{VirtualSensorCreate-hkTH1oyx.js → VirtualSensorCreate-CrGmWsI7.js} +1 -1
- package/dist/interface/assets/Workers-DaHj_0te.js +2 -0
- package/dist/interface/assets/{account-BW_r05fC.js → account-BD2MtsdK.js} +1 -1
- package/dist/interface/assets/{alert-circle-We_nDFAy.js → alert-circle-CDCxdnIi.js} +1 -1
- package/dist/interface/assets/{alert-outline-DtiCgufF.js → alert-outline-E6GK9c5n.js} +1 -1
- package/dist/interface/assets/{api-DO5wBndX.css → api-BTWXbCPQ.css} +1 -1
- package/dist/interface/assets/{api-Fnlph_Dy.js → api-CD4zuPhg.js} +1 -1
- package/dist/interface/assets/api-CdT8ZD-n.js +4 -0
- package/dist/interface/assets/{arrow-left-V1y_rwzT.js → arrow-left-3p85-F5N.js} +1 -1
- package/dist/interface/assets/{auth-BR3YzjI6.js → auth-W2HVbsrF.js} +1 -1
- package/dist/interface/assets/{automations-CEQA_ktf.js → automations-CY5xtQCF.js} +1 -1
- package/dist/interface/assets/{back-filled-MAIFvJqE.js → back-filled-CE63214a.js} +1 -1
- package/dist/interface/assets/{bell-ring-DBCDVZQy.js → bell-ring-CGVdWMCy.js} +1 -1
- package/dist/interface/assets/{brain-Bqf50oqB.js → brain-DqTk5Zyq.js} +1 -1
- package/dist/interface/assets/{cameraSources-C3cl6FVD.js → cameraSources-BSFgVwUz.js} +1 -1
- package/dist/interface/assets/{cctv-Tng3HqLa.js → cctv-Dh6i5n3w.js} +1 -1
- package/dist/interface/assets/{check-circle-DNTQ812v.js → check-circle-B4u2U1O6.js} +1 -1
- package/dist/interface/assets/{chevron-down-DqCuosKP.js → chevron-down-CA4ntUJ5.js} +1 -1
- package/dist/interface/assets/{clock-outline-DwnISu0k.js → clock-outline-D45HCnXi.js} +1 -1
- package/dist/interface/assets/{close-ChGy_BeH.js → close-BiHUNAkN.js} +1 -1
- package/dist/interface/assets/{close-circle-B9jFTQT1.js → close-circle-BRfsyoFY.js} +1 -1
- package/dist/interface/assets/{cloud-check-DABrVuto.js → cloud-check-v8fBsHY8.js} +1 -1
- package/dist/interface/assets/cloudHandoff-RfAVMcZZ.js +1 -0
- package/dist/interface/assets/{config-C9VJJPSY.js → config-DOFSd8-0.js} +1 -1
- package/dist/interface/assets/{content-copy-CsUEmnFS.js → content-copy-VcYnXV6l.js} +1 -1
- package/dist/interface/assets/{copy-CzGo5Njh.js → copy-KnN8Met6.js} +1 -1
- package/dist/interface/assets/{cube-scan-BR5la6Qx.js → cube-scan-DcvByv2J.js} +1 -1
- package/dist/interface/assets/{delete-CiJ6ng5_.js → delete-B_wgbT_W.js} +1 -1
- package/dist/interface/assets/{dist-2BkH6KaN.js → dist-CA3CfqGE.js} +1 -1
- package/dist/interface/assets/{download-CaV8-tw6.js → download-Cg8JrPGl.js} +1 -1
- package/dist/interface/assets/esm-B9CzQCu4.js +1 -0
- package/dist/interface/assets/esm-BBtiU--A.js +1 -0
- package/dist/interface/assets/esm-BW1JB7cT.js +1 -0
- package/dist/interface/assets/esm-BrTItqsO.js +1 -0
- package/dist/interface/assets/esm-C-1txZoa.js +1 -0
- package/dist/interface/assets/esm-C-e-sIcG.js +1 -0
- package/dist/interface/assets/esm-CE4Rajd0.js +1 -0
- package/dist/interface/assets/esm-Ccyy-x2Y.js +1 -0
- package/dist/interface/assets/esm-CixxvBfo.js +1 -0
- package/dist/interface/assets/esm-CkFoKPdV.js +1 -0
- package/dist/interface/assets/esm-CvZd2jWJ.js +1 -0
- package/dist/interface/assets/esm-Dhi49FLm.js +1 -0
- package/dist/interface/assets/esm-DqEbZj6J.js +1 -0
- package/dist/interface/assets/esm-tauuy5_Z.js +1 -0
- package/dist/interface/assets/{eye-off-DAhBNvxJ.js → eye-off-C-VpEYqY.js} +1 -1
- package/dist/interface/assets/{eye-off-outline-Bj1tXD9w.js → eye-off-outline-Dnsc9na3.js} +1 -1
- package/dist/interface/assets/{flowSchema-BOrDqdeG.js → flowSchema-Bq6CskDh.js} +1 -1
- package/dist/interface/assets/{history-F0qTKQGT.js → history-DSKZX4F9.js} +1 -1
- package/dist/interface/assets/{home-DEKGoPL_.js → home-CGNmzgku.js} +1 -1
- package/dist/interface/assets/{information-outline-CQ5e79wc.js → information-outline-CdLdxg1d.js} +1 -1
- package/dist/interface/assets/{intercomService-CfCIMUlA.js → intercomService-CT_KVjly.js} +1 -1
- package/dist/interface/assets/{lan-D9PCM8iA.js → lan-Cj3DpVaf.js} +1 -1
- package/dist/interface/assets/main-VmsUT9aF.js +3 -0
- package/dist/interface/assets/{microphone-CGwzrMxl.js → microphone-DGgazpZX.js} +1 -1
- package/dist/interface/assets/{minus-HH0UdIjG.js → minus-CWip8tXS.js} +1 -1
- package/dist/interface/assets/{mqtt-C0Fk_0A0.js → mqtt-x7JvjSZ0.js} +1 -1
- package/dist/interface/assets/native-BMdJvE8u.js +1 -0
- package/dist/interface/assets/native-i7j7-uHJ.js +1 -0
- package/dist/interface/assets/{nodeDefinitions-a8iyp3yk.js → nodeDefinitions-CtfX1M97.js} +1 -1
- package/dist/interface/assets/{notifications-cLHaJrkF.js → notifications-B_hY7DqC.js} +1 -1
- package/dist/interface/assets/{pencil-outline-B5N-eyTy.js → pencil-outline-Pf6B58h3.js} +1 -1
- package/dist/interface/assets/plugin-lrS8bUX2.js +1 -0
- package/dist/interface/assets/{plugins-BSj5ptYS.js → plugins-V5-6e5L7.js} +1 -1
- package/dist/interface/assets/{plus-Ct9djYce.js → plus-CTpkwuud.js} +1 -1
- package/dist/interface/assets/{plus-CxnlTOHI.js → plus-TyoK27n7.js} +1 -1
- package/dist/interface/assets/{power-C-XO8yWI.js → power-BdKoekqT.js} +1 -1
- package/dist/interface/assets/{radar-8nK_pSbi.js → radar-CH2BXtex.js} +1 -1
- package/dist/interface/assets/{refresh-CygeIRWu.js → refresh-B7-CESap.js} +1 -1
- package/dist/interface/assets/{restore-D_Dq23W9.js → restore-kAL9Wrd4.js} +1 -1
- package/dist/interface/assets/{ring-resize-DsW_XYdA.js → ring-resize-DDYKCwBE.js} +1 -1
- package/dist/interface/assets/{rooms-B2qpadxS.js → rooms-iq9Ync9a.js} +1 -1
- package/dist/interface/assets/{round-alt-arrow-left-bold-2FHg8vBl.js → round-alt-arrow-left-bold-MZGO7rU3.js} +1 -1
- package/dist/interface/assets/{search-Ck7b7yvI.js → search-70mLVEz7.js} +1 -1
- package/dist/interface/assets/sensorIcons-DQIyC9JL.js +1 -0
- package/dist/interface/assets/{sensors-CF2XtbQy.js → sensors-7R3hMa_s.js} +1 -1
- package/dist/interface/assets/{server-CtYeoF7I.js → server-CyCTaiWl.js} +1 -1
- package/dist/interface/assets/{settings-Bw6giVLH.js → settings-B7tifwXn.js} +1 -1
- package/dist/interface/assets/{source-branch-K7YOvHCE.js → source-branch-CgHfENTa.js} +1 -1
- package/dist/interface/assets/{theme-XIkYA0Sr.js → theme-Cc5MIK4j.js} +1 -1
- package/dist/interface/assets/{trash-2-eaKaSMof.js → trash-2-DUSJ2XLn.js} +1 -1
- package/dist/interface/assets/{trash-can-outline-_aiv_oEu.js → trash-can-outline-wuIbai1c.js} +1 -1
- package/dist/interface/assets/{trash-fill-OkxLbTTj.js → trash-fill-CKyYCHKC.js} +1 -1
- package/dist/interface/assets/{trash2-Czz-2j5D.js → trash2-BZMXAPZP.js} +1 -1
- package/dist/interface/assets/{types-CSWXRySW.js → types-Br6AbfXl.js} +1 -1
- package/dist/interface/assets/{types-C_BNAgFu.js → types-CDVUPFqE.js} +1 -1
- package/dist/interface/assets/{types-D19FOdYo.js → types-D9iX7VVJ.js} +1 -1
- package/dist/interface/assets/{undo-RdNzlJdm.js → undo-OK_WWA5K.js} +1 -1
- package/dist/interface/assets/ungrouped-B-_P9Nxn.js +1 -0
- package/dist/interface/assets/{updates-BAgOBEkj.js → updates-H8lZYYSt.js} +1 -1
- package/dist/interface/assets/{upload-D_9SZvdG.js → upload-BJQKy0Z4.js} +1 -1
- package/dist/interface/assets/{upload-DCTSXaJV.js → upload-Dp1Z1JOP.js} +1 -1
- package/dist/interface/assets/{useAppVersion-D9KkJTXk.js → useAppVersion-DuXhWeJY.js} +1 -1
- package/dist/interface/assets/{useBackupRestore-sN-km6-B.js → useBackupRestore-C9JlDbTt.js} +1 -1
- package/dist/interface/assets/{useCameraOptions-DMVDXZmK.js → useCameraOptions-CZvujVuW.js} +1 -1
- package/dist/interface/assets/{useLogsSocket-DQkjdbYG.js → useLogsSocket-DW5Ll9qN.js} +1 -1
- package/dist/interface/assets/{useNavLayout-D3ouWCmp.js → useNavLayout-Ay4GP0IF.js} +1 -1
- package/dist/interface/assets/{usePermissions-zJF4LCPm.js → usePermissions-tvEa1N9y.js} +1 -1
- package/dist/interface/assets/{usePluginUpdates-aa47-Yks.js → usePluginUpdates-C6c7mdBo.js} +1 -1
- package/dist/interface/assets/{usePushRegistration-CTL6lj6G.js → usePushRegistration-Cp-oFaYU.js} +2 -2
- package/dist/interface/assets/{useServerRestart-DJ7Yp-hS.js → useServerRestart-F0do0_a5.js} +1 -1
- package/dist/interface/assets/{useStreamStatus-caRsJFPo.js → useStreamStatus-Cof0SieK.js} +1 -1
- package/dist/interface/assets/{useTabSwipe-C0dqPNrP.js → useTabSwipe-CH2JsEKl.js} +1 -1
- package/dist/interface/assets/{useUpdateChannel-rQpLNPVf.js → useUpdateChannel--yUW8uvn.js} +1 -1
- package/dist/interface/assets/{useUpdatesSocket-BRGd8z0Q.js → useUpdatesSocket-DOHvs02g.js} +1 -1
- package/dist/interface/assets/useUserOptions-CO_I7IAm.js +1 -0
- package/dist/interface/assets/{variable-CYzMRxrK.js → variable-DQYEQC2B.js} +1 -1
- package/dist/interface/assets/{vendor-cameraui-phsC2Mmi.js → vendor-cameraui-B96_CDGO.js} +12 -12
- package/dist/interface/assets/{vendor-capacitor-B-ykF6jr.js → vendor-capacitor-NWfzfsQC.js} +2 -2
- package/dist/interface/assets/{vendor-chart-C-1xJhJN.js → vendor-chart-dE6RS38u.js} +1 -1
- package/dist/interface/assets/{vendor-core-C0ZWoGJD.js → vendor-core-DFWGbWRD.js} +1 -1
- package/dist/interface/assets/{vendor-dnd-onyWAbsd.js → vendor-dnd-BopggnhP.js} +1 -1
- package/dist/interface/assets/{vendor-draggabilly-B7q3Src-.js → vendor-draggabilly-Ci8TnnTO.js} +1 -1
- package/dist/interface/assets/{vendor-markdown-aj6qAoLx.js → vendor-markdown-CuuUoQv-.js} +1 -1
- package/dist/interface/assets/{vendor-AX0A8AMd.js → vendor-nVfLT5jI.js} +1 -1
- package/dist/interface/assets/{vendor-primevue-nPess0JU.js → vendor-primevue-uo78flP9.js} +1 -1
- package/dist/interface/assets/{vendor-vueflow-8uLknwcA.js → vendor-vueflow-BedhB9R6.js} +1 -1
- package/dist/interface/assets/web-7C8V33mW.js +1 -0
- package/dist/interface/assets/web-BY2ge2z3.js +1 -0
- package/dist/interface/assets/web-Be7M1t3d.js +1 -0
- package/dist/interface/assets/web-BgvG5te3.js +1 -0
- package/dist/interface/assets/web-BjKL51lK-BH0_-sFs.js +1 -0
- package/dist/interface/assets/web-C8Kk4oGz.js +1 -0
- package/dist/interface/assets/web-CTyRzCSS.js +1 -0
- package/dist/interface/assets/web-CUqrzL_F.js +1 -0
- package/dist/interface/assets/web-CrNXFCs3.js +1 -0
- package/dist/interface/assets/web-D7fKj4KF.js +1 -0
- package/dist/interface/assets/web-DAr7KVsu.js +1 -0
- package/dist/interface/assets/web-DiXOyiwy.js +1 -0
- package/dist/interface/assets/web-Dx3qFqYr.js +1 -0
- package/dist/interface/assets/web-FQYwBib0.js +1 -0
- package/dist/interface/assets/{webhook-CPF2kUgU.js → webhook-B9NooZUT.js} +1 -1
- package/dist/interface/assets/workbox-window.prod.es5-CubmHh5i.js +1 -0
- package/dist/interface/assets/{zoom-in-D-OIVcXF.js → zoom-in-DkOfo9Ku.js} +1 -1
- package/dist/interface/ha/{404-XfD0QhlQ.js → 404-CvCsIvOn.js} +1 -1
- package/dist/interface/ha/{About-BDT0bXs9.js → About-Bqb-qrXr.js} +3 -3
- package/dist/interface/ha/{Automation-zp87FeF1.js → Automation-AiOadcvh.js} +157 -157
- package/dist/interface/ha/{AutomationImport-DqW0CH_W.js → AutomationImport-CHs99b96.js} +6 -6
- package/dist/interface/ha/{AutomationStore-BzbphHII.js → AutomationStore-yTxgRNos.js} +49 -49
- package/dist/interface/ha/{AutomationStoreDetail-BLo9ruib.js → AutomationStoreDetail-CWB-S_Dq.js} +6 -6
- package/dist/interface/ha/{Automations-CPnr0gsA.js → Automations-ymrcS6zL.js} +96 -96
- package/dist/interface/ha/{Camera-B4ER1Z0s.js → Camera-gfUjA1cF.js} +160 -160
- package/dist/interface/ha/{CameraConsole-BmCff686.js → CameraConsole-DBM_9sZD.js} +3 -3
- package/dist/interface/ha/{Cameras-BhqLnuzl.js → Cameras-BDYtuflZ.js} +25 -25
- package/dist/interface/ha/{Camview-B4gJF52k.js → Camview-CyZW6Ccj.js} +333 -327
- package/dist/interface/ha/{Config-CZsLcgnx.js → Config-Dw11VG_z.js} +109 -109
- package/dist/interface/ha/{ConfigActionCameraControl-BO_omYtE.js → ConfigActionCameraControl-SpfqepU9.js} +3 -3
- package/dist/interface/ha/{ConfigActionHttp-0XiJGo1p.js → ConfigActionHttp-DRNiEJwf.js} +2 -2
- package/dist/interface/ha/{ConfigActionImageInput-DKfoq44v.js → ConfigActionImageInput-BKIS7_Az.js} +1 -1
- package/dist/interface/ha/{ConfigActionMqtt-DpWEe172.js → ConfigActionMqtt-vcKjYONr.js} +4 -4
- package/dist/interface/ha/{ConfigActionNotification-C-dw-rJc.js → ConfigActionNotification-C8RqA0hp.js} +3 -3
- package/dist/interface/ha/{ConfigActionNotificationControl-BKETfXHu.js → ConfigActionNotificationControl-DxDU-1LD.js} +2 -2
- package/dist/interface/ha/{ConfigActionOutput-Bl0WhQsB.js → ConfigActionOutput-Dd9tqEbp.js} +1 -1
- package/dist/interface/ha/{ConfigActionPlugin-DQ-IQioz.js → ConfigActionPlugin-hZohlF2U.js} +5 -5
- package/dist/interface/ha/{ConfigActionSensor-COKCL9VJ.js → ConfigActionSensor-CsTZdgpn.js} +4 -4
- package/dist/interface/ha/{ConfigActionSnapshot-KMgZaQTk.js → ConfigActionSnapshot-CVuRrZog.js} +2 -2
- package/dist/interface/ha/{ConfigActionVariable-B6c0mHx3.js → ConfigActionVariable-BW0Mfwzv.js} +1 -1
- package/dist/interface/ha/{ConfigConditionIfElse-DjqW9DL2.js → ConfigConditionIfElse-B8giXSLg.js} +3 -3
- package/dist/interface/ha/{ConfigConditionSensorState-DP4H2EhX.js → ConfigConditionSensorState-SOYmnv38.js} +4 -4
- package/dist/interface/ha/{ConfigConditionSwitch-DUZ4EXMa.js → ConfigConditionSwitch-DPYRsgIP.js} +4 -4
- package/dist/interface/ha/{ConfigSensorValueInput-BZ6VP_SV.js → ConfigSensorValueInput-C8uDea7H.js} +3 -3
- package/dist/interface/ha/{ConfigTriggerDetection-DubElOjf.js → ConfigTriggerDetection-DKrNlf4n.js} +3 -3
- package/dist/interface/ha/{ConfigTriggerGeofence-CAb9EIyW.js → ConfigTriggerGeofence-BoKYjfEF.js} +2 -2
- package/dist/interface/ha/{ConfigTriggerMqtt-DEEiQfiG.js → ConfigTriggerMqtt-A0druw9s.js} +1 -1
- package/dist/interface/ha/{ConfigTriggerSensor-BWU9p7DN.js → ConfigTriggerSensor-DnqfzsxM.js} +1 -1
- package/dist/interface/ha/{ConfigTriggerSystem-CrBnn7N4.js → ConfigTriggerSystem-B8JHImoF.js} +2 -2
- package/dist/interface/ha/{ConfigTriggerWebhook-BxhYX1v3.js → ConfigTriggerWebhook-B34dHYln.js} +1 -1
- package/dist/interface/ha/{Console-DSFjYlo2.js → Console-vTZkA5_c.js} +2 -2
- package/dist/interface/ha/{CuiAutomationRunsDialog-B_6B5g5M.js → CuiAutomationRunsDialog-D1j6QT1J.js} +2 -2
- package/dist/interface/ha/{CuiBottomSheet-H-Q85NZI.js → CuiBottomSheet-tJqB2HMb.js} +1 -1
- package/dist/interface/ha/{CuiCameraRecordings-RbA-z2aC.js → CuiCameraRecordings-CbXShYur.js} +7 -7
- package/dist/interface/ha/{CuiCameraShares-ljsNljpk.js → CuiCameraShares-fsCg_eYs.js} +2 -2
- package/dist/interface/ha/{CuiCameraTable-D8v9f0KG.js → CuiCameraTable-cCH34Rqx.js} +2 -2
- package/dist/interface/ha/{CuiChartTable-CRh5hraX.js → CuiChartTable-CMkcRmDL.js} +3 -3
- package/dist/interface/ha/{CuiConsole-BDyVAdJ1.js → CuiConsole-wuBto4Ht.js} +1 -1
- package/dist/interface/ha/{CuiDataTable-BQJn0V9s.js → CuiDataTable-yviddz9T.js} +1 -1
- package/dist/interface/ha/{CuiPluginCard-BBufTf5G.js → CuiPluginCard-Dr4cFcve.js} +90 -90
- package/dist/interface/ha/{CuiPluginOAuthButton-C040cvyg.js → CuiPluginOAuthButton-D4M7piUp.js} +3 -3
- package/dist/interface/ha/{CuiPluginTrustBadge-nzUGrby_.js → CuiPluginTrustBadge-CVwRbaTh.js} +1 -1
- package/dist/interface/ha/{CuiQRCode-D5mDAVxc.js → CuiQRCode-CTr0g0fy.js} +2 -2
- package/dist/interface/ha/{CuiSchema-Dediu0ne.js → CuiSchema-DtfAoLxQ.js} +115 -115
- package/dist/interface/ha/{CuiTopNavbarItem-CLctGl42.js → CuiTopNavbarItem-4H6Gg0Pe.js} +1 -1
- package/dist/interface/ha/{Faces-Dj-0ZqJo.js → Faces-DSjPW-A-.js} +98 -98
- package/dist/interface/ha/{FirstSteps-D8Oz_1wZ.js → FirstSteps-BK_EXlZU.js} +62 -62
- package/dist/interface/ha/{Floorplan-bSWb_OO9.js → Floorplan-BWRteZjr.js} +36 -36
- package/dist/interface/ha/{Instances-DHn0dknd.js → Instances-Dln03_o7.js} +3 -3
- package/dist/interface/ha/{Logs-ztXnQRDu.js → Logs-xwh0fkZV.js} +8 -8
- package/dist/interface/ha/{Menu-DZjKIIdo.js → Menu-BwzIh1vF.js} +2 -2
- package/dist/interface/ha/{Metrics-CaQpSqaT.js → Metrics-CiMXu6rz.js} +312 -312
- package/dist/interface/ha/{OAuthDeviceFlow-CXFvbNVS.js → OAuthDeviceFlow-D4IUrYub.js} +4 -4
- package/dist/interface/ha/{Plugin-Bobl3pAj.js → Plugin-CM5b1Jz4.js} +26 -26
- package/dist/interface/ha/{PluginConsole-BeTXH3CA.js → PluginConsole-BJNblZb5.js} +4 -4
- package/dist/interface/ha/{PluginDetail-DYwkpSJl.js → PluginDetail--RFw88FL.js} +9 -9
- package/dist/interface/ha/{PluginSearch-CNvESsIW.js → PluginSearch-yzBxy3Zj.js} +43 -43
- package/dist/interface/ha/{PluginUpdateProgress-uTba6bsg.js → PluginUpdateProgress-BaYmaaE7.js} +3 -3
- package/dist/interface/ha/{Plugins-IVwEtrWx.js → Plugins-C-sU0dsj.js} +7 -7
- package/dist/interface/ha/{Recordings-DQHW85Xb.js → Recordings-CXnTN85c.js} +39 -39
- package/dist/interface/ha/{SensorEdit-DTzTZ0Qx.js → SensorEdit-ByAfduAA.js} +3 -3
- package/dist/interface/ha/{SensorHistory-Dpol8a3B.js → SensorHistory-Cv1YF7qX.js} +2 -2
- package/dist/interface/ha/{Sensors-CcYkfpcW.js → Sensors-DyxXLT1C.js} +296 -296
- package/dist/interface/ha/{Settings-DOHd_Zfh.js → Settings-DMBgMUpe.js} +2 -2
- package/dist/interface/ha/{SettingsAccount-BlR20Jka.js → SettingsAccount-CiyVRy4Y.js} +11 -11
- package/dist/interface/ha/{SettingsAppearance-BzJjEnql.js → SettingsAppearance-BfXcGIwE.js} +3 -3
- package/dist/interface/ha/{SettingsBackup-QU7tBfCW.js → SettingsBackup-vsITZfgV.js} +29 -29
- package/dist/interface/ha/{SettingsList-QfhxkhGx.js → SettingsList-BTxhjM8J.js} +1 -1
- package/dist/interface/ha/{SettingsMqtt-Cn0-nvNq.js → SettingsMqtt-JHf9BXbp.js} +3 -3
- package/dist/interface/ha/{SettingsNotifications-CFDrkIuj.js → SettingsNotifications-Bvay7Ob7.js} +6 -6
- package/dist/interface/ha/{SettingsRecordings-BL5w_tTM.js → SettingsRecordings-BAUAhyEd.js} +4 -4
- package/dist/interface/ha/{SettingsRemote-CMKRVkmQ.js → SettingsRemote-DAI3p-gY.js} +251 -251
- package/dist/interface/ha/{SettingsSystem-BZ0kjqI4.js → SettingsSystem-D-UQqZyn.js} +10 -10
- package/dist/interface/ha/{SettingsUsers-D_43q_Z9.js → SettingsUsers-D-_uCeBe.js} +10 -10
- package/dist/interface/ha/{Terminal-D9aTmirQ.js → Terminal-BBBP74zZ.js} +3 -3
- package/dist/interface/ha/{Updates-Ba7nwyPE.js → Updates-DDEAqmrt.js} +11 -11
- package/dist/interface/ha/{VariableInput-Ba8UmjLp.js → VariableInput-5aDKaHK6.js} +1 -1
- package/dist/interface/ha/VersionsHandler-Z5aUBicW.js +216 -0
- package/dist/interface/ha/{VirtualSensorCreate-DYip9rEZ.js → VirtualSensorCreate-DOjwBgbP.js} +1 -1
- package/dist/interface/ha/{Workers-0JfC-Rpb.js → Workers-lI-ulBfQ.js} +9 -9
- package/dist/interface/ha/{api-BlYG2Y80.js → api-B-1nJvx1.js} +1 -1
- package/dist/interface/ha/{api-DgV9VAO6.js → api-BU1ot-rQ.js} +9200 -8950
- package/dist/interface/ha/{auth-BWXBL9G_.js → auth-Wr26Jrhr.js} +1 -1
- package/dist/interface/ha/{automationBlueprint-6k7kFTOs.js → automationBlueprint-CjXCYTHX.js} +2 -2
- package/dist/interface/ha/{base-c1lsE5TW.js → base-JFhfGFcr.js} +2 -2
- package/dist/interface/ha/{base-D_LAf3cS.js → base-SuFG39qr.js} +2 -2
- package/dist/interface/ha/cameraui-cards.js +1 -1
- package/dist/interface/ha/{cards-Nr4bm7Wh.js → cards-DJ8I0DpS.js} +42 -41
- package/dist/interface/ha/{config-CPv6cFbP.js → config--3c2hYeI.js} +1 -1
- package/dist/interface/ha/{dist-B7lgvbyI.js → dist-B6-R-H0I.js} +1 -1
- package/dist/interface/ha/{dist-Ca9_5rzq.js → dist-BQFunPaA.js} +281 -267
- package/dist/interface/ha/{esm-DiBhi9zp.js → esm-B0AOriHG.js} +2 -2
- package/dist/interface/ha/{esm-CChFtwcx.js → esm-BJURq5pU.js} +4 -4
- package/dist/interface/ha/{esm-BGlkcEes.js → esm-BUN34MPG.js} +2 -2
- package/dist/interface/ha/{esm-6hnPZcZr.js → esm-Bih3VOl2.js} +1 -1
- package/dist/interface/ha/{esm-BKPZuThK.js → esm-CMQeJH3c.js} +2 -2
- package/dist/interface/ha/{esm-CvxDASXR.js → esm-CX7xaJ8m.js} +4 -4
- package/dist/interface/ha/{esm-XFPB9fYb.js → esm-CYrEjG_f.js} +2 -2
- package/dist/interface/ha/{esm-1sIZN4t7.js → esm-DHGj1GPK.js} +2 -2
- package/dist/interface/ha/{esm-BMx7MsZ_.js → esm-DIdsnkc_.js} +2 -2
- package/dist/interface/ha/{esm-CMTmAdHP.js → esm-DXHGazhG.js} +2 -2
- package/dist/interface/ha/{esm-B72ViJ7F.js → esm-Df31rl0C.js} +2 -2
- package/dist/interface/ha/{esm-CkoEL9YX.js → esm-WT4CLule.js} +2 -2
- package/dist/interface/ha/{esm-Demxl4zQ.js → esm-kzP5q0tS.js} +2 -2
- package/dist/interface/ha/{mqtt-BKhgNbHr.js → mqtt-CSWN3zrE.js} +1 -1
- package/dist/interface/ha/{native-C8PbNqsJ.js → native-BVp2L4zs.js} +1 -1
- package/dist/interface/ha/{native-BaNeloQn.js → native-DpeL5PMH.js} +1 -1
- package/dist/interface/ha/{notifications-DZioGp1d.js → notifications-B4jziVIo.js} +1 -1
- package/dist/interface/ha/{plugin-DAGqBiG_.js → plugin-l2y6Y_8_.js} +2 -2
- package/dist/interface/ha/{plugins-CtPzLfvr.js → plugins-BTBXmJqQ.js} +1 -1
- package/dist/interface/ha/{rooms-CKuaHJV7.js → rooms-BxY9U6db.js} +1 -1
- package/dist/interface/ha/{server-BWqoFAaO.js → server-BxPWpMFK.js} +1 -1
- package/dist/interface/ha/{types-C5EVK0o5.js → types-D_Y5r1Yz.js} +2 -2
- package/dist/interface/ha/{ungrouped-l7bhuZz1.js → ungrouped-CpcBXTDQ.js} +11 -11
- package/dist/interface/ha/{updates-UPyHju8C.js → updates-Hyzkue_s.js} +5 -5
- package/dist/interface/ha/{useAppVersion-B9trcrlI.js → useAppVersion-BME7p9Tn.js} +1 -1
- package/dist/interface/ha/{useLogsSocket-BDb1lLIi.js → useLogsSocket-9HYA1tN7.js} +1 -1
- package/dist/interface/ha/{useNavLayout-DaNSE-ip.js → useNavLayout-BP3bvHDX.js} +1 -1
- package/dist/interface/ha/{useServerRestart-Dj428ORg.js → useServerRestart-L0gugeHY.js} +1 -1
- package/dist/interface/ha/{useTabSwipe-CUN_ESGI.js → useTabSwipe-DKFPKAuu.js} +1 -1
- package/dist/interface/ha/{useUpdateChannel-CkvgjPZ9.js → useUpdateChannel-DgPBMvzK.js} +2 -2
- package/dist/interface/ha/{useUpdatesSocket-5MdVL3-H.js → useUpdatesSocket-j4Sl2_YJ.js} +1 -1
- package/dist/interface/ha/{useUserOptions-CypjzB3t.js → useUserOptions-BIVNeXD9.js} +1 -1
- package/dist/interface/ha/{web-B7Dt2zZN.js → web-BTc3X5b5.js} +2 -2
- package/dist/interface/ha/{web-BPBZBCtX.js → web-BXYQbRzG.js} +1 -1
- package/dist/interface/ha/{web-DtVT7WYt.js → web-BcNKpSQe.js} +1 -1
- package/dist/interface/ha/{web-BjKL51lK-qwJdIpM1.js → web-BjKL51lK-BaEnqwsB.js} +1 -1
- package/dist/interface/ha/{web-DqRMXrnx.js → web-C-wyOM11.js} +1 -1
- package/dist/interface/ha/{web-I7Urp4AE.js → web-CR01Y58E.js} +1 -1
- package/dist/interface/ha/{web-C01i9qI1.js → web-CyoXGIAe.js} +1 -1
- package/dist/interface/ha/{web-DxJQZCiR.js → web-D0dRLhy1.js} +2 -2
- package/dist/interface/ha/{web-aSaPk7kr.js → web-DbfBnw4i.js} +1 -1
- package/dist/interface/ha/{web-0Kyq65na.js → web-DdHWxSOZ.js} +1 -1
- package/dist/interface/ha/{web-pMey9p3Y.js → web-DhyFnSBX.js} +1 -1
- package/dist/interface/ha/{web-Cpm1-DVe.js → web-Dk8xCKUO.js} +1 -1
- package/dist/interface/ha/{web-CH3JeXWa.js → web-DyAa7xFA.js} +2 -2
- package/dist/interface/ha/{web-BNdrPSpb.js → web-_pDCYOmR.js} +1 -1
- package/dist/interface/index.html +48 -48
- package/dist/interface/sw.js +1 -1
- package/dist/server/package.json +8 -8
- package/dist/server/requirements.txt +1 -1
- package/dist/server/src/api/controllers/cameras.controller.js +1 -1
- package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
- package/dist/server/src/api/routes/sensors.routes.js +1 -1
- package/dist/server/src/api/routes/sensors.routes.js.map +1 -1
- package/dist/server/src/api/types/index.d.ts +1 -0
- package/dist/server/src/camera/controller.js +1 -1
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/camera/decoder/detection-pipeline.d.ts +5 -1
- package/dist/server/src/camera/decoder/detection-pipeline.js +20 -0
- package/dist/server/src/camera/decoder/detection-pipeline.js.map +1 -1
- package/dist/server/src/camera/decoder/event-manager.js +10 -2
- package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
- package/dist/server/src/camera/decoder/event-trace.d.ts +2 -0
- package/dist/server/src/camera/decoder/event-trace.js +28 -1
- package/dist/server/src/camera/decoder/event-trace.js.map +1 -1
- package/dist/server/src/camera/decoder/nvr-sink.d.ts +1 -0
- package/dist/server/src/camera/decoder/nvr-sink.js +1 -1
- package/dist/server/src/camera/decoder/nvr-sink.js.map +1 -1
- package/dist/server/src/camera/decoder/worker.d.ts +7 -0
- package/dist/server/src/camera/decoder/worker.js +74 -29
- package/dist/server/src/camera/decoder/worker.js.map +1 -1
- package/package.json +8 -8
- package/dist/interface/assets/Automation-3b8p-NP7.js +0 -3
- package/dist/interface/assets/AutomationImport-Cof0ZgBr.js +0 -2
- package/dist/interface/assets/AutomationStore-DqwY7_JA.js +0 -2
- package/dist/interface/assets/AutomationStoreDetail-uFGvc8bB.js +0 -2
- package/dist/interface/assets/Automations-DdQcG0T5.js +0 -2
- package/dist/interface/assets/Camera-DYVLSEOo.js +0 -2
- package/dist/interface/assets/Camera-LSq1bWmA.css +0 -1
- package/dist/interface/assets/Camview-BkEubnjc.js +0 -1
- package/dist/interface/assets/Config-BpJm9zF3.js +0 -2
- package/dist/interface/assets/CuiBottomSheet-BBOwB5Zq.js +0 -1
- package/dist/interface/assets/CuiCameraPipCard-DdBfjmdR.js +0 -1
- package/dist/interface/assets/CuiCameraTable-CHr9p0ba.js +0 -1
- package/dist/interface/assets/CuiMarkdownContent-D2bWw1GN.js +0 -1
- package/dist/interface/assets/CuiPluginCard-DG548RLO.js +0 -2
- package/dist/interface/assets/CuiPluginOAuthButton-DKJ_GwoH.js +0 -2
- package/dist/interface/assets/Faces-BN3LDg5D.js +0 -1
- package/dist/interface/assets/FirstSteps-CdEYgnJS.js +0 -1
- package/dist/interface/assets/Floorplan-C0DE4XmK.js +0 -1
- package/dist/interface/assets/Instances-ko7OBDH1.js +0 -1
- package/dist/interface/assets/Metrics-FaEC2O0W.js +0 -9
- package/dist/interface/assets/Plugin-CAOe6A6k.js +0 -1
- package/dist/interface/assets/PluginDetail-B7m8ItCA.js +0 -2
- package/dist/interface/assets/PluginSearch-Bz7yBDFM.js +0 -2
- package/dist/interface/assets/PluginSearch-COU0ZMPl.js +0 -1
- package/dist/interface/assets/Plugins-awtrDkXE.js +0 -1
- package/dist/interface/assets/Recordings-DmSUUu1g.js +0 -1
- package/dist/interface/assets/Sensors-JWeMNQk7.js +0 -2
- package/dist/interface/assets/SettingsAccount-BZUeNC1l.js +0 -1
- package/dist/interface/assets/SettingsAccount-C28fm0rI.js +0 -1
- package/dist/interface/assets/SettingsAppearance-BpBmVVsX.js +0 -1
- package/dist/interface/assets/SettingsBackup-Bwm-t1Bv.js +0 -1
- package/dist/interface/assets/SettingsRemote-DoEn1Sh8.js +0 -2
- package/dist/interface/assets/SettingsSystem-D9kKvgg7.js +0 -2
- package/dist/interface/assets/SettingsUsers-CiVQEe21.js +0 -1
- package/dist/interface/assets/Updates-DmgVULv6.js +0 -2
- package/dist/interface/assets/VersionsHandler-DQIGi_rX.js +0 -7
- package/dist/interface/assets/Workers-5z3GS0W5.js +0 -2
- package/dist/interface/assets/api-Cgd8B7dM.js +0 -4
- package/dist/interface/assets/cloudHandoff-KBagmIaI.js +0 -1
- package/dist/interface/assets/esm-BbJ0evRe.js +0 -1
- package/dist/interface/assets/esm-BhHeaCLC.js +0 -1
- package/dist/interface/assets/esm-BoDnt3g2.js +0 -1
- package/dist/interface/assets/esm-BvXpx-4p.js +0 -1
- package/dist/interface/assets/esm-BvcRUTNT.js +0 -1
- package/dist/interface/assets/esm-C0UOpApX.js +0 -1
- package/dist/interface/assets/esm-C43w04L-.js +0 -1
- package/dist/interface/assets/esm-CdrLDSBm.js +0 -1
- package/dist/interface/assets/esm-Cwg8vrH-.js +0 -1
- package/dist/interface/assets/esm-DKQwb4z2.js +0 -1
- package/dist/interface/assets/esm-DcJy8m_I.js +0 -1
- package/dist/interface/assets/esm-Dp7jb0si.js +0 -1
- package/dist/interface/assets/esm-cbRd6tNR.js +0 -1
- package/dist/interface/assets/esm-iDhBQslT.js +0 -1
- package/dist/interface/assets/main-ByhmqKXq.js +0 -3
- package/dist/interface/assets/native-BNjvFMoD.js +0 -1
- package/dist/interface/assets/native-XKbagpr7.js +0 -1
- package/dist/interface/assets/plugin-BStPT8lW.js +0 -1
- package/dist/interface/assets/sensorIcons-DyhiORrB.js +0 -1
- package/dist/interface/assets/ungrouped-B8BjUBtt.js +0 -1
- package/dist/interface/assets/useUserOptions-DJzQcCxU.js +0 -1
- package/dist/interface/assets/web-BFaZfzEP.js +0 -1
- package/dist/interface/assets/web-BdoMdiEl.js +0 -1
- package/dist/interface/assets/web-BjKL51lK-BiZEVgwj.js +0 -1
- package/dist/interface/assets/web-Bo0giiE9.js +0 -1
- package/dist/interface/assets/web-Bq6cS9c5.js +0 -1
- package/dist/interface/assets/web-Ckkk3gWT.js +0 -1
- package/dist/interface/assets/web-CsH298dH.js +0 -1
- package/dist/interface/assets/web-Cti9cQXr.js +0 -1
- package/dist/interface/assets/web-CtlJwfNS.js +0 -1
- package/dist/interface/assets/web-DUuNw0Ig.js +0 -1
- package/dist/interface/assets/web-Dz9QrW1k.js +0 -1
- package/dist/interface/assets/web-MA3uDo37.js +0 -1
- package/dist/interface/assets/web-UiUgCX6p.js +0 -1
- package/dist/interface/assets/web-zisLysQx.js +0 -1
- package/dist/interface/assets/workbox-window.prod.es5-CocanelX.js +0 -1
- package/dist/interface/ha/VersionsHandler-aP1yiV6h.js +0 -211
|
@@ -3,168 +3,168 @@ import { G as t, H as n, I as r, Jt as i, M as a, Wt as o, Y as s, _t as c, d as
|
|
|
3
3
|
import { t as ee } from "./tooltip-BIrD_hC8.js";
|
|
4
4
|
import { t as te } from "./message-C8U_kMBA.js";
|
|
5
5
|
import { t as ne } from "./tag-CXgC9OZ6.js";
|
|
6
|
-
import { Dt as re, Et as ie, F as ae, Li as w, N as T, Ot as oe, P as E, Pi as D, Tt as se, Wi as ce, Yi as O, Zi as k, Zr as le, _i as A, a as ue,
|
|
7
|
-
import { i as
|
|
8
|
-
import { R as
|
|
9
|
-
import { n as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
6
|
+
import { Dt as re, Et as ie, F as ae, Li as w, N as T, Ot as oe, P as E, Pi as D, Tt as se, Wi as ce, Yi as O, Zi as k, Zr as le, _i as A, a as ue, gi as j, kn as de, lt as fe, mi as M, n as pe, ot as me, qi as N, r as P, ra as he, tt as ge, vr as F, yr as _e } from "./api-BU1ot-rQ.js";
|
|
7
|
+
import { i as ve, o as ye } from "./intercomService-jB2mTgsn.js";
|
|
8
|
+
import { R as be, k as I } from "./pinia-3D39Do4a.js";
|
|
9
|
+
import { n as xe } from "./vue-i18n-Dcb07o5U.js";
|
|
10
|
+
import { t as Se } from "./button-BlYuI0Q7.js";
|
|
11
|
+
import { t as Ce } from "./inputtext-DGIESrd0.js";
|
|
12
|
+
import { t as we } from "./select-DjWkRqsI.js";
|
|
13
|
+
import { t as Te } from "./multiselect-BbgV_fPx.js";
|
|
14
|
+
import { t as Ee } from "./information-outline-DIdNxPCN.js";
|
|
15
|
+
import { t as De } from "./CuiQRCode-CTr0g0fy.js";
|
|
16
|
+
import { t as Oe } from "./server-BxPWpMFK.js";
|
|
17
|
+
import { t as ke } from "./api-B-1nJvx1.js";
|
|
18
18
|
//#region src/connection/endpointScope.ts
|
|
19
|
-
var
|
|
19
|
+
var Ae = /^(10\.|127\.|192\.168\.|169\.254\.|172\.(1[6-9]|2\d|3[01])\.)/, je = /^f[cd][0-9a-f]{2}:/, L = [
|
|
20
20
|
".local",
|
|
21
21
|
".lan",
|
|
22
22
|
".home",
|
|
23
23
|
".internal",
|
|
24
24
|
".localdomain"
|
|
25
25
|
];
|
|
26
|
-
function
|
|
26
|
+
function Me(e) {
|
|
27
27
|
try {
|
|
28
28
|
return new URL(e).hostname.toLowerCase();
|
|
29
29
|
} catch {
|
|
30
30
|
return;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ne(e) {
|
|
34
34
|
let t = e.startsWith("[") && e.endsWith("]") ? e.slice(1, -1) : e;
|
|
35
|
-
return t === "localhost" ? !0 : t.includes(":") ? t === "::1" ||
|
|
35
|
+
return t === "localhost" ? !0 : t.includes(":") ? t === "::1" || je.test(t) || t.startsWith("fe80:") : Ae.test(t) || !t.includes(".") ? !0 : L.some((e) => t.endsWith(e));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
let t = e ?
|
|
39
|
-
return t ?
|
|
37
|
+
function Pe(e) {
|
|
38
|
+
let t = e ? Me(e) : void 0;
|
|
39
|
+
return t ? Ne(t) : !1;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return e ? t === "direct" ?
|
|
41
|
+
function Fe(e, t) {
|
|
42
|
+
return e ? t === "direct" ? Pe(e.url) : e.mode === "direct-lan" : !1;
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region ~icons/material-symbols-light/cloud-off
|
|
46
|
-
var
|
|
46
|
+
var Ie = {
|
|
47
47
|
viewBox: "0 0 24 24",
|
|
48
48
|
width: "1.2em",
|
|
49
49
|
height: "1.2em"
|
|
50
50
|
};
|
|
51
|
-
function
|
|
52
|
-
return n(), g("svg",
|
|
51
|
+
function Le(e, t) {
|
|
52
|
+
return n(), g("svg", Ie, [...t[0] ||= [v("path", {
|
|
53
53
|
fill: "currentColor",
|
|
54
54
|
d: "M20.454 21.87L17.612 19H6.5q-1.896 0-3.198-1.302T2 14.5q0-1.829 1.226-3.098t2.87-1.368q.018-.373.208-.925q.19-.553.438-.951l-3.88-3.881l.707-.708l17.593 17.593zm.454-3.812L8.78 5.937q.875-.523 1.612-.73T12 5q2.502 0 4.251 1.749T18 11v1h.616q1.436.046 2.41 1.055T22 15.5q0 .687-.25 1.332t-.842 1.226"
|
|
55
55
|
}, null, -1)]]);
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var Re = c({
|
|
58
58
|
name: "material-symbols-light-cloud-off",
|
|
59
|
-
render:
|
|
60
|
-
}),
|
|
59
|
+
render: Le
|
|
60
|
+
}), ze = {
|
|
61
61
|
viewBox: "0 0 24 24",
|
|
62
62
|
width: "1.2em",
|
|
63
63
|
height: "1.2em"
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
return n(), g("svg",
|
|
65
|
+
function Be(e, t) {
|
|
66
|
+
return n(), g("svg", ze, [...t[0] ||= [v("path", {
|
|
67
67
|
fill: "currentColor",
|
|
68
68
|
d: "m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4z"
|
|
69
69
|
}, null, -1)]]);
|
|
70
70
|
}
|
|
71
|
-
var
|
|
71
|
+
var Ve = c({
|
|
72
72
|
name: "material-symbols-check",
|
|
73
|
-
render:
|
|
74
|
-
}),
|
|
73
|
+
render: Be
|
|
74
|
+
}), He = {
|
|
75
75
|
viewBox: "0 0 24 24",
|
|
76
76
|
width: "1.2em",
|
|
77
77
|
height: "1.2em"
|
|
78
78
|
};
|
|
79
|
-
function
|
|
80
|
-
return n(), g("svg",
|
|
79
|
+
function Ue(e, t) {
|
|
80
|
+
return n(), g("svg", He, [...t[0] ||= [v("path", {
|
|
81
81
|
fill: "currentColor",
|
|
82
82
|
d: "M20.5 16H15v-1h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h4v1H3.5c-.83 0-1.5.67-1.5 1.5v3c0 .83.67 1.5 1.5 1.5h17c.83 0 1.5-.67 1.5-1.5v-3c0-.83-.67-1.5-1.5-1.5M5 4h14v9H5zm10 16H5v-2h10zm3 0c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1",
|
|
83
83
|
class: "b"
|
|
84
84
|
}, null, -1)]]);
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var We = c({
|
|
87
87
|
name: "boxicons-computer-filled",
|
|
88
|
-
render:
|
|
89
|
-
}),
|
|
88
|
+
render: Ue
|
|
89
|
+
}), Ge = {
|
|
90
90
|
viewBox: "0 0 24 24",
|
|
91
91
|
width: "1.2em",
|
|
92
92
|
height: "1.2em"
|
|
93
93
|
};
|
|
94
|
-
function
|
|
95
|
-
return n(), g("svg",
|
|
94
|
+
function Ke(e, t) {
|
|
95
|
+
return n(), g("svg", Ge, [...t[0] ||= [v("path", {
|
|
96
96
|
fill: "currentColor",
|
|
97
97
|
d: "M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"
|
|
98
98
|
}, null, -1)]]);
|
|
99
99
|
}
|
|
100
|
-
var
|
|
100
|
+
var qe = c({
|
|
101
101
|
name: "mdi-earth",
|
|
102
|
-
render:
|
|
103
|
-
}),
|
|
102
|
+
render: Ke
|
|
103
|
+
}), Je = {
|
|
104
104
|
viewBox: "0 0 24 24",
|
|
105
105
|
width: "1.2em",
|
|
106
106
|
height: "1.2em"
|
|
107
107
|
};
|
|
108
|
-
function
|
|
109
|
-
return n(), g("svg",
|
|
108
|
+
function R(e, t) {
|
|
109
|
+
return n(), g("svg", Je, [...t[0] ||= [v("path", {
|
|
110
110
|
fill: "currentColor",
|
|
111
111
|
d: "M10 2c-1.11 0-2 .89-2 2v3c0 1.11.89 2 2 2h1v2H2v2h4v2H5c-1.11 0-2 .89-2 2v3c0 1.11.89 2 2 2h4c1.11 0 2-.89 2-2v-3c0-1.11-.89-2-2-2H8v-2h8v2h-1c-1.11 0-2 .89-2 2v3c0 1.11.89 2 2 2h4c1.11 0 2-.89 2-2v-3c0-1.11-.89-2-2-2h-1v-2h4v-2h-9V9h1c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 2h4v3h-4zM5 17h4v3H5zm10 0h4v3h-4z"
|
|
112
112
|
}, null, -1)]]);
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var Ye = c({
|
|
115
115
|
name: "mdi-lan",
|
|
116
|
-
render:
|
|
116
|
+
render: R
|
|
117
117
|
});
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/api/routes/remote.ts
|
|
120
|
-
async function
|
|
120
|
+
async function Xe({ signal: e }) {
|
|
121
121
|
return (await N.get("/remote", { signal: e })).data;
|
|
122
122
|
}
|
|
123
|
-
async function
|
|
123
|
+
async function Ze(e) {
|
|
124
124
|
return (await N.patch("/remote", e)).data;
|
|
125
125
|
}
|
|
126
|
-
async function
|
|
126
|
+
async function Qe(e) {
|
|
127
127
|
return (await N.post("/remote/pair/init", e ? { name: e } : {})).data;
|
|
128
128
|
}
|
|
129
|
-
async function
|
|
129
|
+
async function $e({ name: e } = {}) {
|
|
130
130
|
return (await N.post("/remote/pair/poll", e ? { name: e } : {})).data;
|
|
131
131
|
}
|
|
132
|
-
async function
|
|
132
|
+
async function et() {
|
|
133
133
|
await N.delete("/remote/unregister");
|
|
134
134
|
}
|
|
135
|
-
async function
|
|
135
|
+
async function tt({ signal: e }) {
|
|
136
136
|
return (await N.get("/remote/status", { signal: e })).data;
|
|
137
137
|
}
|
|
138
|
-
async function
|
|
138
|
+
async function nt(e) {
|
|
139
139
|
await N.patch("/remote/name", { name: e });
|
|
140
140
|
}
|
|
141
|
-
async function
|
|
141
|
+
async function rt({ signal: e }) {
|
|
142
142
|
return (await N.get("/remote/tunnel", { signal: e })).data;
|
|
143
143
|
}
|
|
144
|
-
async function
|
|
144
|
+
async function z({ signal: e } = {}) {
|
|
145
145
|
return (await N.get("/remote/connection-info", { signal: e })).data;
|
|
146
146
|
}
|
|
147
|
-
async function
|
|
147
|
+
async function B(e) {
|
|
148
148
|
return (await N.post(`/remote/test/${e}`)).data;
|
|
149
149
|
}
|
|
150
|
-
async function
|
|
150
|
+
async function V({ signal: e } = {}) {
|
|
151
151
|
return (await N.get("/remote/cloudflare/managed/status", { signal: e })).data;
|
|
152
152
|
}
|
|
153
|
-
async function
|
|
153
|
+
async function H(e) {
|
|
154
154
|
await N.post("/remote/cloudflare/managed/connect", { hostname: e });
|
|
155
155
|
}
|
|
156
|
-
async function
|
|
156
|
+
async function U() {
|
|
157
157
|
await N.post("/remote/cloudflare/managed/cancel");
|
|
158
158
|
}
|
|
159
|
-
async function
|
|
159
|
+
async function W() {
|
|
160
160
|
await N.post("/remote/cloudflare/managed/disconnect");
|
|
161
161
|
}
|
|
162
|
-
async function
|
|
162
|
+
async function G() {
|
|
163
163
|
await N.post("/remote/cloudflare/managed/logout");
|
|
164
164
|
}
|
|
165
|
-
var
|
|
165
|
+
var it = class {
|
|
166
166
|
_queryClient = D();
|
|
167
|
-
t =
|
|
167
|
+
t = he.global.t;
|
|
168
168
|
toast = j();
|
|
169
169
|
queryActivator = S([
|
|
170
170
|
{
|
|
@@ -194,14 +194,14 @@ var at = class {
|
|
|
194
194
|
getRemoteInfoQuery() {
|
|
195
195
|
return M({
|
|
196
196
|
queryKey: ["remote"],
|
|
197
|
-
queryFn: ({ signal: e }) =>
|
|
197
|
+
queryFn: ({ signal: e }) => Xe({ signal: e }),
|
|
198
198
|
enabled: () => this.queryActivator.value.some((e) => e.name === "getRemoteInfoQuery" && e.enabled),
|
|
199
199
|
staleTime: 1e3
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
patchRemoteInfoQuery() {
|
|
203
203
|
return A({
|
|
204
|
-
mutationFn:
|
|
204
|
+
mutationFn: Ze,
|
|
205
205
|
onSuccess: async () => {
|
|
206
206
|
await this._queryClient.refetchQueries({
|
|
207
207
|
queryKey: ["remote"],
|
|
@@ -217,17 +217,17 @@ var at = class {
|
|
|
217
217
|
getRegistrationStatusQuery() {
|
|
218
218
|
return M({
|
|
219
219
|
queryKey: ["remote", "status"],
|
|
220
|
-
queryFn: ({ signal: e }) =>
|
|
220
|
+
queryFn: ({ signal: e }) => tt({ signal: e }),
|
|
221
221
|
enabled: () => this.queryActivator.value.some((e) => e.name === "getRegistrationStatusQuery" && e.enabled),
|
|
222
222
|
staleTime: 1e3
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
pairInitMutation() {
|
|
226
|
-
return A({ mutationFn:
|
|
226
|
+
return A({ mutationFn: Qe });
|
|
227
227
|
}
|
|
228
228
|
pairPollMutation() {
|
|
229
229
|
return A({
|
|
230
|
-
mutationFn:
|
|
230
|
+
mutationFn: $e,
|
|
231
231
|
onSuccess: async (e) => {
|
|
232
232
|
e.state === "confirmed" && (await this._queryClient.refetchQueries({
|
|
233
233
|
queryKey: ["remote"],
|
|
@@ -245,7 +245,7 @@ var at = class {
|
|
|
245
245
|
}
|
|
246
246
|
unregisterServerQuery() {
|
|
247
247
|
return A({
|
|
248
|
-
mutationFn:
|
|
248
|
+
mutationFn: et,
|
|
249
249
|
onSuccess: async () => {
|
|
250
250
|
await this._queryClient.refetchQueries({
|
|
251
251
|
queryKey: ["remote"],
|
|
@@ -264,7 +264,7 @@ var at = class {
|
|
|
264
264
|
getTunnelStatusQuery() {
|
|
265
265
|
return M({
|
|
266
266
|
queryKey: ["remote", "tunnel"],
|
|
267
|
-
queryFn: ({ signal: e }) =>
|
|
267
|
+
queryFn: ({ signal: e }) => rt({ signal: e }),
|
|
268
268
|
enabled: () => this.queryActivator.value.some((e) => e.name === "getTunnelStatusQuery" && e.enabled),
|
|
269
269
|
refetchInterval: 3e4,
|
|
270
270
|
staleTime: 1e4
|
|
@@ -272,7 +272,7 @@ var at = class {
|
|
|
272
272
|
}
|
|
273
273
|
updateServerNameQuery() {
|
|
274
274
|
return A({
|
|
275
|
-
mutationFn:
|
|
275
|
+
mutationFn: nt,
|
|
276
276
|
onSuccess: async () => {
|
|
277
277
|
await this._queryClient.refetchQueries({
|
|
278
278
|
queryKey: ["remote", "status"],
|
|
@@ -288,13 +288,13 @@ var at = class {
|
|
|
288
288
|
getConnectionInfoQuery() {
|
|
289
289
|
return M({
|
|
290
290
|
queryKey: ["remote", "connection-info"],
|
|
291
|
-
queryFn: ({ signal: e }) =>
|
|
291
|
+
queryFn: ({ signal: e }) => z({ signal: e }),
|
|
292
292
|
enabled: () => this.queryActivator.value.some((e) => e.name === "getConnectionInfoQuery" && e.enabled),
|
|
293
293
|
refetchInterval: 1e4
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
296
|
testRemoteModeMutation() {
|
|
297
|
-
return A({ mutationFn:
|
|
297
|
+
return A({ mutationFn: B });
|
|
298
298
|
}
|
|
299
299
|
getCloudflareManagedStatusQuery() {
|
|
300
300
|
return M({
|
|
@@ -303,7 +303,7 @@ var at = class {
|
|
|
303
303
|
"cloudflare",
|
|
304
304
|
"managed"
|
|
305
305
|
],
|
|
306
|
-
queryFn: ({ signal: e }) =>
|
|
306
|
+
queryFn: ({ signal: e }) => V({ signal: e }),
|
|
307
307
|
enabled: () => this.queryActivator.value.some((e) => e.name === "getCloudflareManagedStatusQuery" && e.enabled),
|
|
308
308
|
refetchInterval: (e) => {
|
|
309
309
|
let t = e.state.data?.state;
|
|
@@ -315,7 +315,7 @@ var at = class {
|
|
|
315
315
|
}
|
|
316
316
|
cloudflareManagedConnectMutation() {
|
|
317
317
|
return A({
|
|
318
|
-
mutationFn:
|
|
318
|
+
mutationFn: H,
|
|
319
319
|
onSuccess: async () => {
|
|
320
320
|
await this._queryClient.refetchQueries({
|
|
321
321
|
queryKey: [
|
|
@@ -330,7 +330,7 @@ var at = class {
|
|
|
330
330
|
}
|
|
331
331
|
cloudflareManagedCancelMutation() {
|
|
332
332
|
return A({
|
|
333
|
-
mutationFn:
|
|
333
|
+
mutationFn: U,
|
|
334
334
|
onSuccess: async () => {
|
|
335
335
|
await this._queryClient.refetchQueries({
|
|
336
336
|
queryKey: [
|
|
@@ -345,7 +345,7 @@ var at = class {
|
|
|
345
345
|
}
|
|
346
346
|
cloudflareManagedDisconnectMutation() {
|
|
347
347
|
return A({
|
|
348
|
-
mutationFn:
|
|
348
|
+
mutationFn: W,
|
|
349
349
|
onSuccess: async () => {
|
|
350
350
|
await this._queryClient.refetchQueries({
|
|
351
351
|
queryKey: ["remote"],
|
|
@@ -363,7 +363,7 @@ var at = class {
|
|
|
363
363
|
}
|
|
364
364
|
cloudflareManagedLogoutMutation() {
|
|
365
365
|
return A({
|
|
366
|
-
mutationFn:
|
|
366
|
+
mutationFn: G,
|
|
367
367
|
onSuccess: async () => {
|
|
368
368
|
await this._queryClient.refetchQueries({
|
|
369
369
|
queryKey: ["remote"],
|
|
@@ -383,7 +383,7 @@ var at = class {
|
|
|
383
383
|
let n = this.queryActivator.value.find((t) => t.name === e);
|
|
384
384
|
return n && (n.enabled = t), this;
|
|
385
385
|
}
|
|
386
|
-
},
|
|
386
|
+
}, at = { class: "flex flex-col gap-6" }, K = { class: "flex flex-col field-gap" }, q = { class: "section-chip" }, ot = { class: "text-sm font-bold text-color" }, st = { class: "flex flex-col field-gap" }, ct = { class: "section-chip" }, J = { class: "text-sm text-color" }, Y = { class: "flex flex-col field-gap" }, X = { class: "section-chip" }, lt = {
|
|
387
387
|
key: 0,
|
|
388
388
|
class: "text-sm text-muted"
|
|
389
389
|
}, ut = {
|
|
@@ -396,7 +396,7 @@ var at = class {
|
|
|
396
396
|
currentAddress: {}
|
|
397
397
|
},
|
|
398
398
|
setup(e, { expose: r }) {
|
|
399
|
-
let a = e, s = new
|
|
399
|
+
let a = e, s = new ke(), c = j(), { t: l } = xe(), { data: u } = s.apiInfoQuery(), d = k() ? O() : void 0, h = pe(), y = p(() => d?.attempts.rounds.value[0]), x = p(() => d?.target.value?.endpoint.url ?? l("components.connection_details.no_target")), S = p(() => {
|
|
400
400
|
let e = d?.target.value?.endpoint;
|
|
401
401
|
return e ? ne(e) : l("components.connection_details.no_target");
|
|
402
402
|
}), ee = p(() => y.value?.attempts.map((e) => ({
|
|
@@ -407,7 +407,7 @@ var at = class {
|
|
|
407
407
|
})
|
|
408
408
|
})) ?? []);
|
|
409
409
|
function ne(e) {
|
|
410
|
-
return
|
|
410
|
+
return Fe(e, h) ? l("components.connection_details.mode_lan") : l("components.connection_details.mode_wan");
|
|
411
411
|
}
|
|
412
412
|
function re(e) {
|
|
413
413
|
return e.outcome === "connected" && e.url === x.value;
|
|
@@ -431,7 +431,7 @@ var at = class {
|
|
|
431
431
|
""
|
|
432
432
|
];
|
|
433
433
|
for (let t of ee.value) e.push(`${re(t) ? "+" : "-"} ${t.modeLabel} ${t.url} ${ae(t)} ${w(t)}`);
|
|
434
|
-
if (y.value?.reason && e.push("", y.value.reason), await
|
|
434
|
+
if (y.value?.reason && e.push("", y.value.reason), await P(e.join("\n"))) {
|
|
435
435
|
c.add({
|
|
436
436
|
severity: "success",
|
|
437
437
|
detail: l("components.connection_details.copied"),
|
|
@@ -447,10 +447,10 @@ var at = class {
|
|
|
447
447
|
}
|
|
448
448
|
return r({ onConfirm: T }), (r, a) => {
|
|
449
449
|
let s = te;
|
|
450
|
-
return n(), g("div",
|
|
451
|
-
v("div",
|
|
452
|
-
v("span",
|
|
453
|
-
v("span",
|
|
450
|
+
return n(), g("div", at, [
|
|
451
|
+
v("div", K, [
|
|
452
|
+
v("span", q, i(r.$t("components.connection_details.current")), 1),
|
|
453
|
+
v("span", ot, i(f(S)), 1),
|
|
454
454
|
C(s, {
|
|
455
455
|
severity: "secondary",
|
|
456
456
|
variant: "simple",
|
|
@@ -461,7 +461,7 @@ var at = class {
|
|
|
461
461
|
_: 1
|
|
462
462
|
})
|
|
463
463
|
]),
|
|
464
|
-
v("div",
|
|
464
|
+
v("div", st, [
|
|
465
465
|
v("span", ct, i(r.$t("components.connection_details.server_view")), 1),
|
|
466
466
|
v("span", J, i(e.currentType), 1),
|
|
467
467
|
C(s, {
|
|
@@ -487,7 +487,7 @@ var at = class {
|
|
|
487
487
|
]);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
}), mt =
|
|
490
|
+
}), mt = be, ht = I, gt = { class: "w-full h-full" }, _t = {
|
|
491
491
|
key: 0,
|
|
492
492
|
class: "w-full h-full flex items-center justify-center"
|
|
493
493
|
}, vt = {
|
|
@@ -559,42 +559,42 @@ var at = class {
|
|
|
559
559
|
}, Un = {
|
|
560
560
|
for: "localUrl",
|
|
561
561
|
class: "cui-label"
|
|
562
|
-
}, Wn = /*#__PURE__*/
|
|
562
|
+
}, Wn = /*#__PURE__*/ F(/* @__PURE__ */ x({
|
|
563
563
|
__name: "SettingsRemote",
|
|
564
564
|
setup(t) {
|
|
565
|
-
let c = new
|
|
565
|
+
let c = new Oe(), x = new it(), D = ye(), O = me(), k = j(), { t: A } = xe(), { endpoint: M, isOnline: pe } = w(), { data: N, isBusy: he } = c.getServerInfoQuery(), { data: F, isBusy: be } = x.getRemoteInfoQuery(), { data: I, isBusy: ke } = x.getRegistrationStatusQuery(), { data: Ae, isLoading: je } = x.getTunnelStatusQuery(), { data: L } = x.getConnectionInfoQuery(), { mutateAsync: Me, isPending: Ne } = c.patchSystemInfoQuery(), { mutateAsync: Pe, isPending: Fe } = x.patchRemoteInfoQuery(), { mutateAsync: Ie, isPending: Le } = x.pairInitMutation(), { mutateAsync: ze } = x.pairPollMutation(), { mutateAsync: Be, isPending: He } = x.unregisterServerQuery(), { mutateAsync: Ue, isPending: Ge } = x.updateServerNameQuery(), { mutateAsync: Ke, isPending: Je } = x.testRemoteModeMutation(), { data: R } = x.getCloudflareManagedStatusQuery(), { mutateAsync: Xe, isPending: Ze } = x.cloudflareManagedConnectMutation(), { mutateAsync: Qe, isPending: $e } = x.cloudflareManagedCancelMutation(), { mutateAsync: et, isPending: tt } = x.cloudflareManagedDisconnectMutation(), { mutateAsync: nt, isPending: rt } = x.cloudflareManagedLogoutMutation(), z = S(), B = S(), V = S(""), H = S(""), U = S("quick"), W = S(""), G = S(""), at = S(!1), K = S(null), q = S(""), ot = S(null), st = S(2), ct = S(""), J = null, Y = null, X = p(() => Ne.value || Fe.value || he.value || be.value || ke.value || He.value), lt = p(() => !!(B.value?.enabled || B.value?.directEnabled)), ut = p(() => F.value?.directOverride ?? {
|
|
566
566
|
active: !1,
|
|
567
567
|
fallback: !1
|
|
568
|
-
}), Z = p(() =>
|
|
568
|
+
}), Z = p(() => I.value?.isRegistered ?? !1), dt = p(() => I.value?.needsReauth ?? !1), ft = p(() => !X.value), Wn = p(() => {
|
|
569
569
|
if (!ft.value) return !1;
|
|
570
|
-
let e =
|
|
571
|
-
return !e || e.length > 100 ? !1 : e !== (
|
|
570
|
+
let e = V.value.trim();
|
|
571
|
+
return !e || e.length > 100 ? !1 : e !== (I.value?.serverName ?? "");
|
|
572
572
|
}), Gn = p(() => {
|
|
573
|
-
if (!
|
|
574
|
-
if (
|
|
575
|
-
let e =
|
|
573
|
+
if (!B.value) return !1;
|
|
574
|
+
if (B.value.directMode === "customDomain") {
|
|
575
|
+
let e = H.value.trim();
|
|
576
576
|
if (!e) return !1;
|
|
577
577
|
try {
|
|
578
578
|
new URL(e);
|
|
579
579
|
} catch {
|
|
580
580
|
return !1;
|
|
581
581
|
}
|
|
582
|
-
return e !== (
|
|
582
|
+
return e !== (F.value?.remoteSettings.customDomain.url ?? "");
|
|
583
583
|
}
|
|
584
|
-
if (
|
|
585
|
-
let e =
|
|
584
|
+
if (B.value.directMode === "cloudflare") {
|
|
585
|
+
let e = F.value?.remoteSettings.cloudflare, t = F.value?.remoteSettings.directMode !== "cloudflare", n = U.value;
|
|
586
586
|
if (n === "quick") return t || e?.mode !== "quick";
|
|
587
|
-
let r =
|
|
587
|
+
let r = W.value.trim();
|
|
588
588
|
if (!r || !/^[a-z0-9.-]+\.[a-z]{2,}$/i.test(r)) return !1;
|
|
589
589
|
if (n === "token") {
|
|
590
|
-
let n =
|
|
591
|
-
if (!n && !
|
|
590
|
+
let n = G.value.trim();
|
|
591
|
+
if (!n && !at.value) return !1;
|
|
592
592
|
let i = n.length > 0;
|
|
593
593
|
return t || e?.mode !== "token" || e?.hostname !== r || i;
|
|
594
594
|
}
|
|
595
595
|
return n === "managed" ? t || e?.mode !== "managed" || e?.hostname !== r : !1;
|
|
596
596
|
}
|
|
597
|
-
return
|
|
597
|
+
return B.value.directMode !== F.value?.remoteSettings.directMode;
|
|
598
598
|
}), Kn = p(() => [{
|
|
599
599
|
value: "cloudflare",
|
|
600
600
|
label: A("components.form.label.cloudflare"),
|
|
@@ -603,7 +603,7 @@ var at = class {
|
|
|
603
603
|
value: "customDomain",
|
|
604
604
|
label: A("components.form.label.custom_domain"),
|
|
605
605
|
description: A("components.form.hint.custom_domain_mode_info")
|
|
606
|
-
}]), qn = p(() => Kn.value.find((e) => e.value ===
|
|
606
|
+
}]), qn = p(() => Kn.value.find((e) => e.value === B.value?.directMode)?.description ?? ""), Jn = p(() => [
|
|
607
607
|
{
|
|
608
608
|
value: "quick",
|
|
609
609
|
label: A("components.form.label.cloudflare_variant_quick"),
|
|
@@ -619,22 +619,22 @@ var at = class {
|
|
|
619
619
|
label: A("components.form.label.cloudflare_variant_managed"),
|
|
620
620
|
description: A("components.form.hint.cloudflare_variant_managed")
|
|
621
621
|
}
|
|
622
|
-
]), Yn = p(() => Jn.value.find((e) => e.value ===
|
|
623
|
-
if (
|
|
624
|
-
let e =
|
|
625
|
-
return e?.mode ===
|
|
626
|
-
}), Q = p(() =>
|
|
622
|
+
]), Yn = p(() => Jn.value.find((e) => e.value === U.value)?.description ?? ""), Xn = p(() => {
|
|
623
|
+
if (U.value === "quick") return !0;
|
|
624
|
+
let e = F.value?.remoteSettings.cloudflare;
|
|
625
|
+
return e?.mode === U.value && !!e?.hostname;
|
|
626
|
+
}), Q = p(() => R.value?.state ?? "idle"), Zn = p(() => {
|
|
627
627
|
if (Q.value !== "idle") return !1;
|
|
628
|
-
let e =
|
|
628
|
+
let e = W.value.trim();
|
|
629
629
|
return !!e && /^[a-z0-9.-]+\.[a-z]{2,}$/i.test(e);
|
|
630
630
|
}), Qn = p(() => {
|
|
631
|
-
let e =
|
|
631
|
+
let e = L.value?.currentConnection.type ?? "lan";
|
|
632
632
|
return A(`views.settings.connection_type.${e}`);
|
|
633
633
|
}), $n = p(() => {
|
|
634
|
-
let e =
|
|
635
|
-
return e === "external" ?
|
|
634
|
+
let e = L.value?.currentConnection.type;
|
|
635
|
+
return e === "external" ? qe : e === "local" ? We : Ye;
|
|
636
636
|
}), er = p(() => {
|
|
637
|
-
let e =
|
|
637
|
+
let e = L.value?.currentConnection.type;
|
|
638
638
|
return e === "external" ? "text-info" : e === "local" ? "text-primary" : "text-success";
|
|
639
639
|
});
|
|
640
640
|
function tr() {
|
|
@@ -644,14 +644,14 @@ var at = class {
|
|
|
644
644
|
cancelText: A("components.form.button.close"),
|
|
645
645
|
contentProps: {
|
|
646
646
|
currentType: Qn,
|
|
647
|
-
currentAddress: p(() =>
|
|
647
|
+
currentAddress: p(() => L.value?.currentConnection.address ?? "")
|
|
648
648
|
}
|
|
649
649
|
} });
|
|
650
650
|
}
|
|
651
651
|
async function nr() {
|
|
652
|
-
let e =
|
|
652
|
+
let e = V.value.trim();
|
|
653
653
|
if (e) try {
|
|
654
|
-
await
|
|
654
|
+
await Ue(e);
|
|
655
655
|
} catch {}
|
|
656
656
|
}
|
|
657
657
|
function rr() {
|
|
@@ -664,7 +664,7 @@ var at = class {
|
|
|
664
664
|
},
|
|
665
665
|
onConfirm: async () => {
|
|
666
666
|
try {
|
|
667
|
-
await
|
|
667
|
+
await Be();
|
|
668
668
|
} catch {}
|
|
669
669
|
}
|
|
670
670
|
});
|
|
@@ -673,7 +673,7 @@ var at = class {
|
|
|
673
673
|
J &&= (clearTimeout(J), null), Y &&= (clearInterval(Y), null);
|
|
674
674
|
}
|
|
675
675
|
function $() {
|
|
676
|
-
ir(),
|
|
676
|
+
ir(), K.value = null, q.value = "", ot.value = null, ct.value = "";
|
|
677
677
|
}
|
|
678
678
|
function ar(e) {
|
|
679
679
|
let t = Math.max(0, Math.floor(e / 1e3));
|
|
@@ -682,8 +682,8 @@ var at = class {
|
|
|
682
682
|
function or() {
|
|
683
683
|
Y && clearInterval(Y);
|
|
684
684
|
let e = () => {
|
|
685
|
-
if (!
|
|
686
|
-
let e =
|
|
685
|
+
if (!ot.value) return;
|
|
686
|
+
let e = ot.value - Date.now();
|
|
687
687
|
if (e <= 0) {
|
|
688
688
|
$(), k.add({
|
|
689
689
|
severity: "warn",
|
|
@@ -697,14 +697,14 @@ var at = class {
|
|
|
697
697
|
e(), Y = setInterval(e, 1e3);
|
|
698
698
|
}
|
|
699
699
|
function sr() {
|
|
700
|
-
J && clearTimeout(J), J = setTimeout(cr,
|
|
700
|
+
J && clearTimeout(J), J = setTimeout(cr, st.value * 1e3);
|
|
701
701
|
}
|
|
702
702
|
async function cr() {
|
|
703
|
-
if (!
|
|
704
|
-
let e =
|
|
703
|
+
if (!K.value) return;
|
|
704
|
+
let e = K.value;
|
|
705
705
|
try {
|
|
706
|
-
let t = await
|
|
707
|
-
if (!
|
|
706
|
+
let t = await ze({ name: V.value.trim() || void 0 });
|
|
707
|
+
if (!K.value || K.value !== e) return;
|
|
708
708
|
if (t.state === "confirmed") {
|
|
709
709
|
$();
|
|
710
710
|
return;
|
|
@@ -725,21 +725,21 @@ var at = class {
|
|
|
725
725
|
});
|
|
726
726
|
return;
|
|
727
727
|
}
|
|
728
|
-
t.state === "slow_down" && (
|
|
728
|
+
t.state === "slow_down" && (st.value = Math.min(st.value + 2, 10)), sr();
|
|
729
729
|
} catch (t) {
|
|
730
|
-
if (!
|
|
730
|
+
if (!K.value || K.value !== e) return;
|
|
731
731
|
D.error("pair poll failed:", t), sr();
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
734
|
async function lr() {
|
|
735
735
|
$();
|
|
736
736
|
try {
|
|
737
|
-
let e =
|
|
738
|
-
if (e && e !== (
|
|
739
|
-
await
|
|
737
|
+
let e = V.value.trim();
|
|
738
|
+
if (e && e !== (I.value?.serverName ?? "")) try {
|
|
739
|
+
await Ue(e);
|
|
740
740
|
} catch {}
|
|
741
|
-
let t = await
|
|
742
|
-
|
|
741
|
+
let t = await Ie(e || void 0);
|
|
742
|
+
K.value = t.userCode, q.value = t.verificationUriComplete, ot.value = Date.now() + t.expiresIn * 1e3, st.value = Math.max(1, t.pollInterval), or(), sr();
|
|
743
743
|
} catch (e) {
|
|
744
744
|
k.add({
|
|
745
745
|
severity: "error",
|
|
@@ -752,17 +752,17 @@ var at = class {
|
|
|
752
752
|
$();
|
|
753
753
|
}
|
|
754
754
|
async function dr() {
|
|
755
|
-
if (
|
|
756
|
-
await
|
|
755
|
+
if (K.value) try {
|
|
756
|
+
await P(K.value);
|
|
757
757
|
} catch {}
|
|
758
758
|
}
|
|
759
759
|
async function fr() {
|
|
760
|
-
if (
|
|
761
|
-
await
|
|
760
|
+
if (q.value) try {
|
|
761
|
+
await P(q.value);
|
|
762
762
|
} catch {}
|
|
763
763
|
}
|
|
764
764
|
function pr() {
|
|
765
|
-
|
|
765
|
+
q.value && window.open(q.value, "_blank", "noopener");
|
|
766
766
|
}
|
|
767
767
|
function mr(e) {
|
|
768
768
|
let t = window.location.host === ce || !1, n;
|
|
@@ -776,57 +776,57 @@ var at = class {
|
|
|
776
776
|
},
|
|
777
777
|
onConfirm: async () => {
|
|
778
778
|
try {
|
|
779
|
-
await
|
|
779
|
+
await Pe(e ? { enabled: !0 } : { enabled: !1 });
|
|
780
780
|
} catch {
|
|
781
|
-
|
|
781
|
+
B.value && (B.value.enabled = !e);
|
|
782
782
|
}
|
|
783
783
|
},
|
|
784
784
|
onCancel: () => {
|
|
785
|
-
|
|
785
|
+
B.value && (B.value.enabled = !e);
|
|
786
786
|
}
|
|
787
787
|
});
|
|
788
788
|
}
|
|
789
789
|
function hr(e) {
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
Pe({ directEnabled: e }).catch(() => {
|
|
791
|
+
B.value && (B.value.directEnabled = !e);
|
|
792
792
|
});
|
|
793
793
|
}
|
|
794
794
|
function gr(e) {
|
|
795
|
-
|
|
795
|
+
B.value && (B.value.directMode = e);
|
|
796
796
|
}
|
|
797
797
|
function _r(e) {
|
|
798
|
-
|
|
798
|
+
U.value = e;
|
|
799
799
|
}
|
|
800
800
|
async function vr() {
|
|
801
|
-
let e =
|
|
801
|
+
let e = W.value.trim();
|
|
802
802
|
if (e) try {
|
|
803
|
-
await
|
|
803
|
+
await Pe({
|
|
804
804
|
directMode: "cloudflare",
|
|
805
805
|
cloudflare: {
|
|
806
806
|
mode: "managed",
|
|
807
807
|
hostname: e
|
|
808
808
|
}
|
|
809
|
-
}), await
|
|
809
|
+
}), await Xe(e);
|
|
810
810
|
} catch {}
|
|
811
811
|
}
|
|
812
812
|
async function yr() {
|
|
813
813
|
try {
|
|
814
|
-
await
|
|
814
|
+
await Qe();
|
|
815
815
|
} catch {}
|
|
816
816
|
}
|
|
817
817
|
async function br() {
|
|
818
818
|
try {
|
|
819
|
-
await
|
|
819
|
+
await et();
|
|
820
820
|
} catch {}
|
|
821
821
|
}
|
|
822
822
|
async function xr() {
|
|
823
823
|
try {
|
|
824
|
-
await
|
|
824
|
+
await nt();
|
|
825
825
|
} catch {}
|
|
826
826
|
}
|
|
827
827
|
async function Sr(e) {
|
|
828
828
|
try {
|
|
829
|
-
await
|
|
829
|
+
await P(e);
|
|
830
830
|
} catch {}
|
|
831
831
|
}
|
|
832
832
|
function Cr(e) {
|
|
@@ -834,7 +834,7 @@ var at = class {
|
|
|
834
834
|
}
|
|
835
835
|
async function wr(e) {
|
|
836
836
|
try {
|
|
837
|
-
let t = await
|
|
837
|
+
let t = await Ke(e);
|
|
838
838
|
t.ok ? k.add({
|
|
839
839
|
severity: "success",
|
|
840
840
|
detail: A("components.toast.remote_test_success"),
|
|
@@ -854,41 +854,41 @@ var at = class {
|
|
|
854
854
|
}
|
|
855
855
|
async function Tr(e) {
|
|
856
856
|
let t = { directMode: e.directMode };
|
|
857
|
-
if (e.directMode === "customDomain") t.customDomain = { url:
|
|
857
|
+
if (e.directMode === "customDomain") t.customDomain = { url: H.value.trim() };
|
|
858
858
|
else if (e.directMode === "cloudflare") {
|
|
859
|
-
let e =
|
|
859
|
+
let e = U.value;
|
|
860
860
|
if (e === "quick") t.cloudflare = {
|
|
861
861
|
mode: "quick",
|
|
862
862
|
hostname: null,
|
|
863
863
|
token: null
|
|
864
864
|
};
|
|
865
865
|
else if (e === "token") {
|
|
866
|
-
let e =
|
|
866
|
+
let e = G.value.trim();
|
|
867
867
|
t.cloudflare = {
|
|
868
868
|
mode: "token",
|
|
869
|
-
hostname:
|
|
869
|
+
hostname: W.value.trim(),
|
|
870
870
|
...e ? { token: e } : {}
|
|
871
871
|
};
|
|
872
872
|
} else e === "managed" && (t.cloudflare = {
|
|
873
873
|
mode: "managed",
|
|
874
|
-
hostname:
|
|
874
|
+
hostname: W.value.trim(),
|
|
875
875
|
token: null
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
878
|
try {
|
|
879
|
-
await
|
|
879
|
+
await Pe(t);
|
|
880
880
|
} catch {}
|
|
881
881
|
}
|
|
882
882
|
async function Er(e) {
|
|
883
883
|
try {
|
|
884
|
-
await
|
|
884
|
+
await Me(e);
|
|
885
885
|
} catch {}
|
|
886
886
|
}
|
|
887
|
-
return h(() =>
|
|
888
|
-
e && (
|
|
887
|
+
return h(() => I.value?.serverName, (e) => {
|
|
888
|
+
e && (V.value = e);
|
|
889
889
|
}, { immediate: !0 }), h(Z, (e) => {
|
|
890
|
-
e &&
|
|
891
|
-
}), h([
|
|
890
|
+
e && K.value && $();
|
|
891
|
+
}), h([pe, M], ([e]) => {
|
|
892
892
|
e && x.queryClient.refetchQueries({
|
|
893
893
|
queryKey: ["remote", "connection-info"],
|
|
894
894
|
exact: !0
|
|
@@ -896,7 +896,7 @@ var at = class {
|
|
|
896
896
|
}), h(N, (e) => {
|
|
897
897
|
if (e) {
|
|
898
898
|
let t = ue(e);
|
|
899
|
-
|
|
899
|
+
z.value = {
|
|
900
900
|
...t,
|
|
901
901
|
serverAddresses: (t.serverAddresses || []).filter(Boolean),
|
|
902
902
|
localUrl: t.localUrl ?? ""
|
|
@@ -905,12 +905,12 @@ var at = class {
|
|
|
905
905
|
}, {
|
|
906
906
|
deep: !0,
|
|
907
907
|
immediate: !0
|
|
908
|
-
}), h(
|
|
908
|
+
}), h(F, (e) => {
|
|
909
909
|
if (e) {
|
|
910
910
|
let t = ue(e);
|
|
911
|
-
|
|
911
|
+
B.value = { ...t.remoteSettings }, H.value = t.remoteSettings.customDomain.url ?? "";
|
|
912
912
|
let n = t.remoteSettings.cloudflare;
|
|
913
|
-
|
|
913
|
+
U.value = n?.mode ?? "quick", W.value = n?.hostname ?? "", G.value = "", at.value = t.cloudflareTokenSet ?? !1;
|
|
914
914
|
}
|
|
915
915
|
}, {
|
|
916
916
|
deep: !0,
|
|
@@ -918,12 +918,12 @@ var at = class {
|
|
|
918
918
|
}), r(() => {
|
|
919
919
|
ir();
|
|
920
920
|
}), (t, r) => {
|
|
921
|
-
let c = _e, p = te, h =
|
|
922
|
-
return n(), g("div", gt, [!f(
|
|
921
|
+
let c = _e, p = te, h = Ee, x = Se, S = ve, w = de, D = Ce, ce = Ve, O = re, k = oe, A = ne, ue = De, j = ie, M = le, pe = Re, me = we, P = ge, he = Te, F = ee;
|
|
922
|
+
return n(), g("div", gt, [!f(z) || !f(B) ? (n(), g("div", _t, [C(c, {
|
|
923
923
|
class: "w-[30px] h-[30px] m-0",
|
|
924
924
|
"stroke-width": "5"
|
|
925
925
|
})])) : (n(), g("div", vt, [
|
|
926
|
-
f(
|
|
926
|
+
f(L) ? (n(), g("div", yt, [v("span", bt, i(t.$t("views.settings.connection_status")), 1), C(S, { class: "cui-card" }, {
|
|
927
927
|
content: m(() => [v("div", xt, [
|
|
928
928
|
(n(), l(s(f($n)), { class: o(["shrink-0 w-6 h-6", f(er)]) }, null, 8, ["class"])),
|
|
929
929
|
v("div", St, [v("span", Ct, i(f(Qn)), 1), C(p, {
|
|
@@ -932,7 +932,7 @@ var at = class {
|
|
|
932
932
|
size: "small",
|
|
933
933
|
class: "cui-input-switch-hint truncate"
|
|
934
934
|
}, {
|
|
935
|
-
default: m(() => [b(i(f(
|
|
935
|
+
default: m(() => [b(i(f(L).currentConnection.address), 1)]),
|
|
936
936
|
_: 1
|
|
937
937
|
})]),
|
|
938
938
|
y((n(), l(x, {
|
|
@@ -946,7 +946,7 @@ var at = class {
|
|
|
946
946
|
icon: m(() => [C(h, { class: "w-5 h-5" })]),
|
|
947
947
|
_: 1
|
|
948
948
|
}, 8, ["aria-label"])), [[
|
|
949
|
-
|
|
949
|
+
F,
|
|
950
950
|
{ value: t.$t("components.connection_details.title") },
|
|
951
951
|
void 0,
|
|
952
952
|
{ left: !0 }
|
|
@@ -963,7 +963,7 @@ var at = class {
|
|
|
963
963
|
default: m(() => [v("div", null, [v("span", wt, i(t.$t("views.settings.cloud")), 1), C(S, { class: "cui-card" }, {
|
|
964
964
|
content: m(() => [v("div", Tt, [
|
|
965
965
|
C(f(E), {
|
|
966
|
-
"model-value": f(
|
|
966
|
+
"model-value": f(B).enabled,
|
|
967
967
|
value: !0,
|
|
968
968
|
"unchecked-value": !1,
|
|
969
969
|
type: "checkbox",
|
|
@@ -989,11 +989,11 @@ var at = class {
|
|
|
989
989
|
})]),
|
|
990
990
|
_: 1
|
|
991
991
|
})
|
|
992
|
-
]), C(w, a({ "model-value": f(
|
|
992
|
+
]), C(w, a({ "model-value": f(B).enabled }, n, {
|
|
993
993
|
invalid: o.length > 0,
|
|
994
994
|
loading: f(X),
|
|
995
995
|
class: "ml-auto shrink-0",
|
|
996
|
-
onValueChange: r[0] ||= (e) => f(
|
|
996
|
+
onValueChange: r[0] ||= (e) => f(B).enabled = e,
|
|
997
997
|
"onUpdate:modelValue": r[1] ||= (e) => mr(e)
|
|
998
998
|
}), null, 16, [
|
|
999
999
|
"model-value",
|
|
@@ -1007,8 +1007,8 @@ var at = class {
|
|
|
1007
1007
|
C(k, null, {
|
|
1008
1008
|
default: m(() => [C(D, {
|
|
1009
1009
|
id: "serverName",
|
|
1010
|
-
modelValue: f(
|
|
1011
|
-
"onUpdate:modelValue": r[2] ||= (e) => d(
|
|
1010
|
+
modelValue: f(V),
|
|
1011
|
+
"onUpdate:modelValue": r[2] ||= (e) => d(V) ? V.value = e : null,
|
|
1012
1012
|
modelModifiers: { trim: !0 },
|
|
1013
1013
|
disabled: !f(ft),
|
|
1014
1014
|
loading: f(X),
|
|
@@ -1022,14 +1022,14 @@ var at = class {
|
|
|
1022
1022
|
default: m(() => [y((n(), l(x, {
|
|
1023
1023
|
text: "",
|
|
1024
1024
|
severity: "secondary",
|
|
1025
|
-
loading: f(
|
|
1025
|
+
loading: f(Ge),
|
|
1026
1026
|
disabled: !f(Wn),
|
|
1027
1027
|
type: "button",
|
|
1028
1028
|
onClick: nr
|
|
1029
1029
|
}, {
|
|
1030
1030
|
icon: m(() => [C(ce)]),
|
|
1031
1031
|
_: 1
|
|
1032
|
-
}, 8, ["loading", "disabled"])), [[
|
|
1032
|
+
}, 8, ["loading", "disabled"])), [[F, { value: t.$t("components.form.button.save") }]])]),
|
|
1033
1033
|
_: 1
|
|
1034
1034
|
})]),
|
|
1035
1035
|
_: 1
|
|
@@ -1065,20 +1065,20 @@ var at = class {
|
|
|
1065
1065
|
}, {
|
|
1066
1066
|
default: m(() => [b(i(t.$t("views.settings.tunnel_status_info")), 1)]),
|
|
1067
1067
|
_: 1
|
|
1068
|
-
})]), v("div", Bt, [f(
|
|
1068
|
+
})]), v("div", Bt, [f(je) ? (n(), l(c, {
|
|
1069
1069
|
key: 0,
|
|
1070
1070
|
class: "w-[15px] h-[15px] m-0",
|
|
1071
1071
|
"stroke-width": "5"
|
|
1072
1072
|
})) : (n(), l(A, {
|
|
1073
1073
|
key: 1,
|
|
1074
|
-
severity: f(
|
|
1075
|
-
value: f(
|
|
1074
|
+
severity: f(Ae)?.connected ? "success" : "secondary",
|
|
1075
|
+
value: f(Ae)?.connected ? t.$t("views.settings.tunnel_connected") : t.$t("views.settings.tunnel_disconnected")
|
|
1076
1076
|
}, null, 8, ["severity", "value"]))])])) : u("", !0),
|
|
1077
1077
|
C(e, {
|
|
1078
1078
|
name: "fade",
|
|
1079
1079
|
mode: "out-in"
|
|
1080
1080
|
}, {
|
|
1081
|
-
default: m(() => [f(
|
|
1081
|
+
default: m(() => [f(K) ? (n(), g("div", Vt, [C(p, {
|
|
1082
1082
|
severity: "error",
|
|
1083
1083
|
variant: "simple",
|
|
1084
1084
|
size: "small",
|
|
@@ -1087,7 +1087,7 @@ var at = class {
|
|
|
1087
1087
|
default: m(() => [b(i(t.$t("views.settings.pair_instructions")), 1)]),
|
|
1088
1088
|
_: 1
|
|
1089
1089
|
}), v("div", Ht, [v("div", Ut, [C(ue, {
|
|
1090
|
-
value: f(
|
|
1090
|
+
value: f(q),
|
|
1091
1091
|
size: 180,
|
|
1092
1092
|
"logo-size": 36
|
|
1093
1093
|
}, null, 8, ["value"])]), v("div", Wt, [
|
|
@@ -1095,7 +1095,7 @@ var at = class {
|
|
|
1095
1095
|
v("label", Kt, i(t.$t("views.settings.pair_code")), 1),
|
|
1096
1096
|
C(k, null, {
|
|
1097
1097
|
default: m(() => [C(D, {
|
|
1098
|
-
"model-value": f(
|
|
1098
|
+
"model-value": f(K),
|
|
1099
1099
|
readonly: "",
|
|
1100
1100
|
class: "font-mono text-lg text-center tracking-widest"
|
|
1101
1101
|
}, null, 8, ["model-value"]), C(O, null, {
|
|
@@ -1125,7 +1125,7 @@ var at = class {
|
|
|
1125
1125
|
v("div", qt, [v("label", Jt, i(t.$t("views.settings.pair_url")), 1), C(k, null, {
|
|
1126
1126
|
default: m(() => [
|
|
1127
1127
|
C(D, {
|
|
1128
|
-
"model-value": f(
|
|
1128
|
+
"model-value": f(q),
|
|
1129
1129
|
readonly: "",
|
|
1130
1130
|
class: "font-mono text-sm"
|
|
1131
1131
|
}, null, 8, ["model-value"]),
|
|
@@ -1148,9 +1148,9 @@ var at = class {
|
|
|
1148
1148
|
text: "",
|
|
1149
1149
|
onClick: pr
|
|
1150
1150
|
}, {
|
|
1151
|
-
icon: m(() => [C(f(
|
|
1151
|
+
icon: m(() => [C(f(fe))]),
|
|
1152
1152
|
_: 1
|
|
1153
|
-
})), [[
|
|
1153
|
+
})), [[F, { value: t.$t("components.form.button.open_in_browser") }]])]),
|
|
1154
1154
|
_: 1
|
|
1155
1155
|
})
|
|
1156
1156
|
]),
|
|
@@ -1181,28 +1181,28 @@ var at = class {
|
|
|
1181
1181
|
disabled: !f(Z),
|
|
1182
1182
|
onClick: r[3] ||= (e) => t.$router.absUrl(f("https://cloud.cameraui.com"), !0)
|
|
1183
1183
|
}, {
|
|
1184
|
-
icon: m(() => [f(Z) ? (n(), l(
|
|
1184
|
+
icon: m(() => [f(Z) ? (n(), l(M, {
|
|
1185
1185
|
key: 0,
|
|
1186
1186
|
width: "100%",
|
|
1187
1187
|
height: "100%"
|
|
1188
|
-
})) : (n(), l(
|
|
1188
|
+
})) : (n(), l(pe, {
|
|
1189
1189
|
key: 1,
|
|
1190
1190
|
width: "100%",
|
|
1191
1191
|
height: "100%"
|
|
1192
1192
|
}))]),
|
|
1193
1193
|
_: 1
|
|
1194
|
-
}, 8, ["disabled"])), [[
|
|
1194
|
+
}, 8, ["disabled"])), [[F, { value: f(Z) ? t.$t("views.settings.registered") : t.$t("views.settings.not_registered") }]])]),
|
|
1195
1195
|
r[22] ||= v("div", { class: "ml-auto" }, null, -1),
|
|
1196
|
-
!f(Z) && !f(
|
|
1196
|
+
!f(Z) && !f(K) ? (n(), l(x, {
|
|
1197
1197
|
key: 0,
|
|
1198
|
-
loading: f(
|
|
1198
|
+
loading: f(Le),
|
|
1199
1199
|
class: "cui-button-medium",
|
|
1200
1200
|
label: t.$t("components.form.button.register_server"),
|
|
1201
1201
|
onClick: lr
|
|
1202
1202
|
}, null, 8, ["loading", "label"])) : u("", !0),
|
|
1203
|
-
f(dt) && !f(
|
|
1203
|
+
f(dt) && !f(K) ? (n(), l(x, {
|
|
1204
1204
|
key: 1,
|
|
1205
|
-
loading: f(
|
|
1205
|
+
loading: f(Le),
|
|
1206
1206
|
severity: "warn",
|
|
1207
1207
|
class: "cui-button-medium",
|
|
1208
1208
|
label: t.$t("components.form.button.reconnect_server"),
|
|
@@ -1227,7 +1227,7 @@ var at = class {
|
|
|
1227
1227
|
_: 1
|
|
1228
1228
|
})]), v("div", null, [v("span", $t, i(t.$t("views.settings.direct_connection")), 1), C(S, { class: "cui-card" }, {
|
|
1229
1229
|
content: m(() => [v("div", en, [C(f(E), {
|
|
1230
|
-
"model-value": f(
|
|
1230
|
+
"model-value": f(B).directEnabled,
|
|
1231
1231
|
value: !0,
|
|
1232
1232
|
"unchecked-value": !1,
|
|
1233
1233
|
type: "checkbox",
|
|
@@ -1256,9 +1256,9 @@ var at = class {
|
|
|
1256
1256
|
]), C(w, a({ "model-value": f(lt) }, o, {
|
|
1257
1257
|
invalid: s.length > 0,
|
|
1258
1258
|
loading: f(X),
|
|
1259
|
-
disabled: f(
|
|
1259
|
+
disabled: f(B).enabled,
|
|
1260
1260
|
class: "ml-auto shrink-0",
|
|
1261
|
-
onValueChange: r[4] ||= (e) => f(
|
|
1261
|
+
onValueChange: r[4] ||= (e) => f(B).directEnabled = e,
|
|
1262
1262
|
"onUpdate:modelValue": r[5] ||= (e) => hr(e)
|
|
1263
1263
|
}), null, 16, [
|
|
1264
1264
|
"model-value",
|
|
@@ -1284,7 +1284,7 @@ var at = class {
|
|
|
1284
1284
|
C(D, {
|
|
1285
1285
|
readonly: "",
|
|
1286
1286
|
type: "text",
|
|
1287
|
-
value: f(
|
|
1287
|
+
value: f(L)?.externalUrl ?? t.$t("components.form.label.disconnected")
|
|
1288
1288
|
}, null, 8, ["value"]),
|
|
1289
1289
|
C(p, {
|
|
1290
1290
|
severity: "secondary",
|
|
@@ -1297,7 +1297,7 @@ var at = class {
|
|
|
1297
1297
|
})
|
|
1298
1298
|
]),
|
|
1299
1299
|
C(f(E), {
|
|
1300
|
-
"model-value": f(
|
|
1300
|
+
"model-value": f(B).directMode,
|
|
1301
1301
|
name: "directMode",
|
|
1302
1302
|
as: "div",
|
|
1303
1303
|
class: "flex flex-col field-gap"
|
|
@@ -1305,7 +1305,7 @@ var at = class {
|
|
|
1305
1305
|
default: m(({ errors: n }) => [
|
|
1306
1306
|
v("label", sn, i(t.$t("views.settings.connection_method")), 1),
|
|
1307
1307
|
C(me, {
|
|
1308
|
-
"model-value": f(
|
|
1308
|
+
"model-value": f(B).directMode,
|
|
1309
1309
|
options: f(Kn),
|
|
1310
1310
|
"option-label": "label",
|
|
1311
1311
|
"option-value": "value",
|
|
@@ -1337,10 +1337,10 @@ var at = class {
|
|
|
1337
1337
|
]),
|
|
1338
1338
|
_: 1
|
|
1339
1339
|
}, 8, ["model-value"]),
|
|
1340
|
-
f(
|
|
1340
|
+
f(B).directMode === "cloudflare" ? (n(), g("div", cn, [v("div", ln, [
|
|
1341
1341
|
v("label", un, i(t.$t("components.form.label.cloudflare_variant")), 1),
|
|
1342
1342
|
C(me, {
|
|
1343
|
-
"model-value": f(
|
|
1343
|
+
"model-value": f(U),
|
|
1344
1344
|
options: f(Jn),
|
|
1345
1345
|
"option-label": "label",
|
|
1346
1346
|
"option-value": "value",
|
|
@@ -1360,20 +1360,20 @@ var at = class {
|
|
|
1360
1360
|
default: m(() => [b(i(f(Yn)), 1)]),
|
|
1361
1361
|
_: 1
|
|
1362
1362
|
})
|
|
1363
|
-
]), f(
|
|
1363
|
+
]), f(U) === "quick" ? (n(), g("div", dn, [C(x, {
|
|
1364
1364
|
type: "button",
|
|
1365
1365
|
severity: "secondary",
|
|
1366
|
-
loading: f(
|
|
1366
|
+
loading: f(Je),
|
|
1367
1367
|
class: "cui-button-small",
|
|
1368
1368
|
label: t.$t("components.form.button.test_connection"),
|
|
1369
1369
|
onClick: r[8] ||= (e) => wr("cloudflare")
|
|
1370
|
-
}, null, 8, ["loading", "label"])])) : f(
|
|
1370
|
+
}, null, 8, ["loading", "label"])])) : f(U) === "token" ? (n(), g(_, { key: 1 }, [
|
|
1371
1371
|
v("div", fn, [
|
|
1372
1372
|
v("label", pn, i(t.$t("components.form.label.hostname")), 1),
|
|
1373
1373
|
C(D, {
|
|
1374
1374
|
id: "cloudflareHostname",
|
|
1375
|
-
modelValue: f(
|
|
1376
|
-
"onUpdate:modelValue": r[9] ||= (e) => d(
|
|
1375
|
+
modelValue: f(W),
|
|
1376
|
+
"onUpdate:modelValue": r[9] ||= (e) => d(W) ? W.value = e : null,
|
|
1377
1377
|
modelModifiers: { trim: !0 },
|
|
1378
1378
|
loading: f(X),
|
|
1379
1379
|
type: "text",
|
|
@@ -1392,16 +1392,16 @@ var at = class {
|
|
|
1392
1392
|
]),
|
|
1393
1393
|
v("div", mn, [
|
|
1394
1394
|
v("label", hn, i(t.$t("components.form.label.tunnel_token")), 1),
|
|
1395
|
-
C(
|
|
1395
|
+
C(P, {
|
|
1396
1396
|
id: "cloudflareToken",
|
|
1397
|
-
modelValue: f(
|
|
1398
|
-
"onUpdate:modelValue": r[10] ||= (e) => d(
|
|
1397
|
+
modelValue: f(G),
|
|
1398
|
+
"onUpdate:modelValue": r[10] ||= (e) => d(G) ? G.value = e : null,
|
|
1399
1399
|
modelModifiers: { trim: !0 },
|
|
1400
1400
|
loading: f(X),
|
|
1401
1401
|
feedback: !1,
|
|
1402
1402
|
"toggle-mask": "",
|
|
1403
1403
|
fluid: "",
|
|
1404
|
-
placeholder: f(
|
|
1404
|
+
placeholder: f(at) ? "••••••••••••" : "eyJ..."
|
|
1405
1405
|
}, null, 8, [
|
|
1406
1406
|
"modelValue",
|
|
1407
1407
|
"loading",
|
|
@@ -1413,14 +1413,14 @@ var at = class {
|
|
|
1413
1413
|
size: "small",
|
|
1414
1414
|
class: "cui-input-hint"
|
|
1415
1415
|
}, {
|
|
1416
|
-
default: m(() => [b(i(f(
|
|
1416
|
+
default: m(() => [b(i(f(at) ? t.$t("components.form.hint.cloudflare_token_already_set") : t.$t("components.form.hint.cloudflare_token_info")), 1)]),
|
|
1417
1417
|
_: 1
|
|
1418
1418
|
})
|
|
1419
1419
|
]),
|
|
1420
1420
|
v("div", gn, [C(x, {
|
|
1421
1421
|
type: "button",
|
|
1422
1422
|
severity: "secondary",
|
|
1423
|
-
loading: f(
|
|
1423
|
+
loading: f(Je),
|
|
1424
1424
|
disabled: !f(Xn),
|
|
1425
1425
|
class: "cui-button-small",
|
|
1426
1426
|
label: t.$t("components.form.button.test_connection"),
|
|
@@ -1430,7 +1430,7 @@ var at = class {
|
|
|
1430
1430
|
"disabled",
|
|
1431
1431
|
"label"
|
|
1432
1432
|
])])
|
|
1433
|
-
], 64)) : f(
|
|
1433
|
+
], 64)) : f(U) === "managed" ? (n(), l(e, {
|
|
1434
1434
|
key: 2,
|
|
1435
1435
|
name: "fade",
|
|
1436
1436
|
mode: "out-in"
|
|
@@ -1443,8 +1443,8 @@ var at = class {
|
|
|
1443
1443
|
v("label", vn, i(t.$t("components.form.label.hostname")), 1),
|
|
1444
1444
|
C(D, {
|
|
1445
1445
|
id: "cloudflareHostnameManaged",
|
|
1446
|
-
modelValue: f(
|
|
1447
|
-
"onUpdate:modelValue": r[12] ||= (e) => d(
|
|
1446
|
+
modelValue: f(W),
|
|
1447
|
+
"onUpdate:modelValue": r[12] ||= (e) => d(W) ? W.value = e : null,
|
|
1448
1448
|
modelModifiers: { trim: !0 },
|
|
1449
1449
|
loading: f(X),
|
|
1450
1450
|
type: "text",
|
|
@@ -1461,18 +1461,18 @@ var at = class {
|
|
|
1461
1461
|
_: 1
|
|
1462
1462
|
})
|
|
1463
1463
|
]),
|
|
1464
|
-
f(
|
|
1464
|
+
f(R)?.lastError ? (n(), l(p, {
|
|
1465
1465
|
key: 0,
|
|
1466
1466
|
severity: "error",
|
|
1467
1467
|
variant: "simple",
|
|
1468
1468
|
size: "small"
|
|
1469
1469
|
}, {
|
|
1470
|
-
default: m(() => [b(i(f(
|
|
1470
|
+
default: m(() => [b(i(f(R).lastError), 1)]),
|
|
1471
1471
|
_: 1
|
|
1472
1472
|
})) : u("", !0),
|
|
1473
1473
|
v("div", yn, [C(x, {
|
|
1474
1474
|
type: "button",
|
|
1475
|
-
loading: f(
|
|
1475
|
+
loading: f(Ze),
|
|
1476
1476
|
disabled: !f(Zn),
|
|
1477
1477
|
class: "cui-button-medium",
|
|
1478
1478
|
label: t.$t("components.form.button.connect_cloudflare"),
|
|
@@ -1482,8 +1482,8 @@ var at = class {
|
|
|
1482
1482
|
"disabled",
|
|
1483
1483
|
"label"
|
|
1484
1484
|
])])
|
|
1485
|
-
], 64)) : f(Q) === "awaiting_login" ? (n(), g(_, { key: 1 }, [f(
|
|
1486
|
-
value: f(
|
|
1485
|
+
], 64)) : f(Q) === "awaiting_login" ? (n(), g(_, { key: 1 }, [f(R)?.loginUrl ? (n(), g("div", bn, [v("div", xn, [C(ue, {
|
|
1486
|
+
value: f(R).loginUrl,
|
|
1487
1487
|
size: 160,
|
|
1488
1488
|
"logo-size": 32
|
|
1489
1489
|
}, null, 8, ["value"])]), v("div", Sn, [
|
|
@@ -1492,13 +1492,13 @@ var at = class {
|
|
|
1492
1492
|
size: "small",
|
|
1493
1493
|
class: "text-primary"
|
|
1494
1494
|
}, {
|
|
1495
|
-
default: m(() => [b(i(t.$t("components.form.hint.cloudflare_managed_awaiting_login", { hostname: f(
|
|
1495
|
+
default: m(() => [b(i(t.$t("components.form.hint.cloudflare_managed_awaiting_login", { hostname: f(W) })), 1)]),
|
|
1496
1496
|
_: 1
|
|
1497
1497
|
}),
|
|
1498
1498
|
v("div", Cn, [v("label", wn, i(t.$t("components.form.label.cloudflare_url")), 1), C(k, null, {
|
|
1499
1499
|
default: m(() => [
|
|
1500
1500
|
C(D, {
|
|
1501
|
-
"model-value": f(
|
|
1501
|
+
"model-value": f(R).loginUrl,
|
|
1502
1502
|
readonly: "",
|
|
1503
1503
|
class: "font-mono text-sm"
|
|
1504
1504
|
}, null, 8, ["model-value"]),
|
|
@@ -1510,7 +1510,7 @@ var at = class {
|
|
|
1510
1510
|
severity: "secondary",
|
|
1511
1511
|
text: !0
|
|
1512
1512
|
},
|
|
1513
|
-
onAction: r[13] ||= (e) => Sr(f(
|
|
1513
|
+
onAction: r[13] ||= (e) => Sr(f(R).loginUrl)
|
|
1514
1514
|
}, null, 8, ["action-text", "icon"])]),
|
|
1515
1515
|
_: 1
|
|
1516
1516
|
}),
|
|
@@ -1519,11 +1519,11 @@ var at = class {
|
|
|
1519
1519
|
type: "button",
|
|
1520
1520
|
severity: "secondary",
|
|
1521
1521
|
text: "",
|
|
1522
|
-
onClick: r[14] ||= (e) => Cr(f(
|
|
1522
|
+
onClick: r[14] ||= (e) => Cr(f(R).loginUrl)
|
|
1523
1523
|
}, {
|
|
1524
|
-
icon: m(() => [C(f(
|
|
1524
|
+
icon: m(() => [C(f(fe))]),
|
|
1525
1525
|
_: 1
|
|
1526
|
-
})), [[
|
|
1526
|
+
})), [[F, { value: t.$t("components.form.button.open_in_browser") }]])]),
|
|
1527
1527
|
_: 1
|
|
1528
1528
|
})
|
|
1529
1529
|
]),
|
|
@@ -1538,7 +1538,7 @@ var at = class {
|
|
|
1538
1538
|
C(x, {
|
|
1539
1539
|
type: "button",
|
|
1540
1540
|
severity: "secondary",
|
|
1541
|
-
loading: f(
|
|
1541
|
+
loading: f($e),
|
|
1542
1542
|
class: "cui-button-small ml-auto",
|
|
1543
1543
|
label: t.$t("components.form.button.cancel"),
|
|
1544
1544
|
onClick: yr
|
|
@@ -1553,7 +1553,7 @@ var at = class {
|
|
|
1553
1553
|
C(x, {
|
|
1554
1554
|
type: "button",
|
|
1555
1555
|
severity: "secondary",
|
|
1556
|
-
loading: f(
|
|
1556
|
+
loading: f($e),
|
|
1557
1557
|
class: "cui-button-small ml-auto",
|
|
1558
1558
|
label: t.$t("components.form.button.cancel"),
|
|
1559
1559
|
onClick: yr
|
|
@@ -1563,11 +1563,11 @@ var at = class {
|
|
|
1563
1563
|
class: "w-[20px] h-[20px] m-0",
|
|
1564
1564
|
"stroke-width": "5"
|
|
1565
1565
|
}),
|
|
1566
|
-
v("span", An, i(f(Q) === "creating_tunnel" ? t.$t("components.form.hint.cloudflare_managed_creating_tunnel") : t.$t("components.form.hint.cloudflare_managed_setting_dns", { hostname: f(
|
|
1566
|
+
v("span", An, i(f(Q) === "creating_tunnel" ? t.$t("components.form.hint.cloudflare_managed_creating_tunnel") : t.$t("components.form.hint.cloudflare_managed_setting_dns", { hostname: f(W) })), 1),
|
|
1567
1567
|
C(x, {
|
|
1568
1568
|
type: "button",
|
|
1569
1569
|
severity: "secondary",
|
|
1570
|
-
loading: f(
|
|
1570
|
+
loading: f($e),
|
|
1571
1571
|
class: "cui-button-small ml-auto",
|
|
1572
1572
|
label: t.$t("components.form.button.cancel"),
|
|
1573
1573
|
onClick: yr
|
|
@@ -1577,7 +1577,7 @@ var at = class {
|
|
|
1577
1577
|
v("label", Mn, i(t.$t("components.form.label.hostname")), 1),
|
|
1578
1578
|
C(D, {
|
|
1579
1579
|
readonly: "",
|
|
1580
|
-
value: `https://${f(
|
|
1580
|
+
value: `https://${f(R)?.hostname ?? ""}`,
|
|
1581
1581
|
type: "text"
|
|
1582
1582
|
}, null, 8, ["value"]),
|
|
1583
1583
|
C(p, {
|
|
@@ -1590,11 +1590,11 @@ var at = class {
|
|
|
1590
1590
|
_: 1
|
|
1591
1591
|
})
|
|
1592
1592
|
]),
|
|
1593
|
-
f(
|
|
1593
|
+
f(R)?.tunnelId ? (n(), g("div", Nn, [
|
|
1594
1594
|
v("label", Pn, i(t.$t("components.form.label.tunnel_id")), 1),
|
|
1595
1595
|
C(D, {
|
|
1596
1596
|
readonly: "",
|
|
1597
|
-
value: f(
|
|
1597
|
+
value: f(R).tunnelId,
|
|
1598
1598
|
type: "text"
|
|
1599
1599
|
}, null, 8, ["value"]),
|
|
1600
1600
|
C(p, {
|
|
@@ -1611,7 +1611,7 @@ var at = class {
|
|
|
1611
1611
|
C(x, {
|
|
1612
1612
|
type: "button",
|
|
1613
1613
|
severity: "secondary",
|
|
1614
|
-
loading: f(
|
|
1614
|
+
loading: f(Je),
|
|
1615
1615
|
class: "cui-button-small",
|
|
1616
1616
|
label: t.$t("components.form.button.test_connection"),
|
|
1617
1617
|
onClick: r[15] ||= (e) => wr("cloudflare")
|
|
@@ -1619,7 +1619,7 @@ var at = class {
|
|
|
1619
1619
|
C(x, {
|
|
1620
1620
|
type: "button",
|
|
1621
1621
|
severity: "secondary",
|
|
1622
|
-
loading: f(
|
|
1622
|
+
loading: f(tt),
|
|
1623
1623
|
class: "cui-button-small ml-auto",
|
|
1624
1624
|
label: t.$t("components.form.button.disconnect"),
|
|
1625
1625
|
onClick: br
|
|
@@ -1627,7 +1627,7 @@ var at = class {
|
|
|
1627
1627
|
C(x, {
|
|
1628
1628
|
type: "button",
|
|
1629
1629
|
severity: "danger",
|
|
1630
|
-
loading: f(
|
|
1630
|
+
loading: f(rt),
|
|
1631
1631
|
class: "cui-button-small",
|
|
1632
1632
|
label: t.$t("components.form.button.logout"),
|
|
1633
1633
|
onClick: xr
|
|
@@ -1635,9 +1635,9 @@ var at = class {
|
|
|
1635
1635
|
])
|
|
1636
1636
|
], 64)) : u("", !0)]))]),
|
|
1637
1637
|
_: 1
|
|
1638
|
-
})) : u("", !0)])) : f(
|
|
1639
|
-
modelValue: f(
|
|
1640
|
-
"onUpdate:modelValue": r[16] ||= (e) => d(
|
|
1638
|
+
})) : u("", !0)])) : f(B).directMode === "customDomain" ? (n(), g("div", In, [C(f(E), {
|
|
1639
|
+
modelValue: f(H),
|
|
1640
|
+
"onUpdate:modelValue": r[16] ||= (e) => d(H) ? H.value = e : null,
|
|
1641
1641
|
modelModifiers: { trim: !0 },
|
|
1642
1642
|
loading: f(X),
|
|
1643
1643
|
name: "customDomain.url",
|
|
@@ -1664,8 +1664,8 @@ var at = class {
|
|
|
1664
1664
|
}, 8, ["modelValue", "loading"]), v("div", Rn, [C(x, {
|
|
1665
1665
|
type: "button",
|
|
1666
1666
|
severity: "secondary",
|
|
1667
|
-
loading: f(
|
|
1668
|
-
disabled: !f(
|
|
1667
|
+
loading: f(Je),
|
|
1668
|
+
disabled: !f(H),
|
|
1669
1669
|
class: "cui-button-small",
|
|
1670
1670
|
label: t.$t("components.form.button.test_connection"),
|
|
1671
1671
|
onClick: r[17] ||= (e) => wr("customDomain")
|
|
@@ -1700,7 +1700,7 @@ var at = class {
|
|
|
1700
1700
|
content: m(() => [v("div", Bn, [
|
|
1701
1701
|
v("span", Vn, i(t.$t("views.settings.network_info")), 1),
|
|
1702
1702
|
C(f(E), {
|
|
1703
|
-
"model-value": f(
|
|
1703
|
+
"model-value": f(z).serverAddresses,
|
|
1704
1704
|
name: "serverAddresses",
|
|
1705
1705
|
as: "div",
|
|
1706
1706
|
class: "flex flex-col field-gap"
|
|
@@ -1708,8 +1708,8 @@ var at = class {
|
|
|
1708
1708
|
default: m(({ field: o, errors: s }) => [
|
|
1709
1709
|
v("label", Hn, i(t.$t("components.form.label.server_addresses")), 1),
|
|
1710
1710
|
C(k, null, {
|
|
1711
|
-
default: m(() => [C(
|
|
1712
|
-
"model-value": f(
|
|
1711
|
+
default: m(() => [C(he, a(o, {
|
|
1712
|
+
"model-value": f(z).serverAddresses,
|
|
1713
1713
|
options: f(N)?.availableAddresses || [],
|
|
1714
1714
|
invalid: s.length > 0,
|
|
1715
1715
|
loading: f(X),
|
|
@@ -1720,7 +1720,7 @@ var at = class {
|
|
|
1720
1720
|
"option-value": "address",
|
|
1721
1721
|
type: "text",
|
|
1722
1722
|
display: "chip",
|
|
1723
|
-
onValueChange: r[19] ||= (e) => f(
|
|
1723
|
+
onValueChange: r[19] ||= (e) => f(z).serverAddresses = e
|
|
1724
1724
|
}), null, 16, [
|
|
1725
1725
|
"model-value",
|
|
1726
1726
|
"options",
|
|
@@ -1750,7 +1750,7 @@ var at = class {
|
|
|
1750
1750
|
_: 1
|
|
1751
1751
|
}, 8, ["model-value"]),
|
|
1752
1752
|
C(f(E), {
|
|
1753
|
-
"model-value": f(
|
|
1753
|
+
"model-value": f(z).localUrl,
|
|
1754
1754
|
name: "localUrl",
|
|
1755
1755
|
as: "div",
|
|
1756
1756
|
class: "flex flex-col field-gap"
|
|
@@ -1759,11 +1759,11 @@ var at = class {
|
|
|
1759
1759
|
v("label", Un, i(t.$t("components.form.label.local_url")), 1),
|
|
1760
1760
|
C(k, null, {
|
|
1761
1761
|
default: m(() => [C(D, a(o, {
|
|
1762
|
-
"model-value": f(
|
|
1762
|
+
"model-value": f(z).localUrl,
|
|
1763
1763
|
invalid: s.length > 0,
|
|
1764
1764
|
loading: f(X),
|
|
1765
1765
|
placeholder: "https://camera.home.lan",
|
|
1766
|
-
onValueChange: r[20] ||= (e) => f(
|
|
1766
|
+
onValueChange: r[20] ||= (e) => f(z).localUrl = e
|
|
1767
1767
|
}), null, 16, [
|
|
1768
1768
|
"model-value",
|
|
1769
1769
|
"invalid",
|