@camera.ui/server 2.2.6 → 2.2.7
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-BLVuKvLk.js → 404-C8EoOtBl.js} +1 -1
- package/dist/interface/assets/{About-C-AJ0jfI.js → About-Q7ZmOGgl.js} +1 -1
- package/dist/interface/assets/Assistant-DFLgklVe.js +1 -0
- package/dist/interface/assets/{Automation-C95DzuZb.js → Automation-D__qvx8c.js} +3 -3
- package/dist/interface/assets/{AutomationImport-C8VYjDzf.js → AutomationImport-CLQSdqg9.js} +2 -2
- package/dist/interface/assets/{AutomationStore-CE4PKRGd.js → AutomationStore-Dt6yTQDb.js} +2 -2
- package/dist/interface/assets/{AutomationStoreDetail-DavWfjLv.js → AutomationStoreDetail-DqBrBhUI.js} +2 -2
- package/dist/interface/assets/Automations-BH_7lYR7.js +2 -0
- package/dist/interface/assets/Camera-aquPHFwb.js +2 -0
- package/dist/interface/assets/{CameraConsole-C4AmtcrM.js → CameraConsole-rhle_cfW.js} +1 -1
- package/dist/interface/assets/{Cameras-DR577Bno.js → Cameras-Bzy3P0xN.js} +2 -2
- package/dist/interface/assets/Camview-CjcQbtTl.js +1 -0
- package/dist/interface/assets/{CertificateUpload-BYFKZCP9.js → CertificateUpload-CWVu_52v.js} +1 -1
- package/dist/interface/assets/Config-Dc1zKIPq.js +2 -0
- package/dist/interface/assets/{ConfigActionAssistant-YtCVI8LZ.js → ConfigActionAssistant-AfQfSqHZ.js} +1 -1
- package/dist/interface/assets/{ConfigActionCameraControl-Dg_1zOYt.js → ConfigActionCameraControl-BKQdHxqe.js} +1 -1
- package/dist/interface/assets/{ConfigActionDelay-_EqbfWgo.js → ConfigActionDelay-B52HeJGb.js} +1 -1
- package/dist/interface/assets/{ConfigActionHttp-BzwLv2tn.js → ConfigActionHttp-BP5gvpQc.js} +1 -1
- package/dist/interface/assets/{ConfigActionImageInput-CLdY2sV4.js → ConfigActionImageInput-DE2mSost.js} +1 -1
- package/dist/interface/assets/{ConfigActionMqtt-lGqYshl3.js → ConfigActionMqtt-CYgnZjAE.js} +1 -1
- package/dist/interface/assets/{ConfigActionNotification-D5Dj3EoU.js → ConfigActionNotification-C3q53I4n.js} +1 -1
- package/dist/interface/assets/{ConfigActionNotificationControl-Dy5fKamr.js → ConfigActionNotificationControl-eDJ8r5ao.js} +1 -1
- package/dist/interface/assets/{ConfigActionOutput-DzsQ31L0.js → ConfigActionOutput-DgYSYvy-.js} +1 -1
- package/dist/interface/assets/{ConfigActionPlugin-BFrBcXvL.js → ConfigActionPlugin-utolgAXk.js} +1 -1
- package/dist/interface/assets/{ConfigActionSensor-CX8ePlan.js → ConfigActionSensor-CmEKQPqs.js} +1 -1
- package/dist/interface/assets/{ConfigActionSnapshot-BATLRmh6.js → ConfigActionSnapshot-D7XucxVV.js} +1 -1
- package/dist/interface/assets/{ConfigActionVariable-Dgn5jvaR.js → ConfigActionVariable-C-Mjm3gr.js} +1 -1
- package/dist/interface/assets/{ConfigConditionIfElse-D5IIBjyk.js → ConfigConditionIfElse-B24Rqb8y.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSensorState-C0JxBWdG.js → ConfigConditionSensorState-42-yFDmK.js} +1 -1
- package/dist/interface/assets/{ConfigConditionSwitch-Brlgd0XP.js → ConfigConditionSwitch-DezH_nwm.js} +1 -1
- package/dist/interface/assets/{ConfigConditionTime-CM4bSMyU.js → ConfigConditionTime-Cg2Lwznd.js} +1 -1
- package/dist/interface/assets/{ConfigSensorValueInput-CtuH8dCa.js → ConfigSensorValueInput-YHBDCTZm.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerDetection-DsL7lLQl.js → ConfigTriggerDetection-DxEpodjG.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerGeofence-CAGIk1_W.js → ConfigTriggerGeofence-Bye8syxc.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerManual-DgkR-GWy.js → ConfigTriggerManual-s_lEDTV9.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerMqtt-B_iFalAQ.js → ConfigTriggerMqtt-DqdZj7TU.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSchedule-E_QWfNKy.js → ConfigTriggerSchedule-Q559hn6g.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSensor-hYNbLXUu.js → ConfigTriggerSensor-DIKkdbTF.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerSystem-DR1EFpE9.js → ConfigTriggerSystem-CwNZ4xEg.js} +1 -1
- package/dist/interface/assets/{ConfigTriggerWebhook-C-B5GGFH.js → ConfigTriggerWebhook-9ZC6X4mK.js} +1 -1
- package/dist/interface/assets/Console-BqIDZ5vq.js +1 -0
- package/dist/interface/assets/{CuiAssistantConversation-BmshW6Vc.css → CuiAssistantConversation-BmBhwrNh.css} +1 -1
- package/dist/interface/assets/CuiAssistantConversation-CM7KdaX2.js +5 -0
- package/dist/interface/assets/CuiAutomationRunsDialog-CVjCLiVW.js +1 -0
- package/dist/interface/assets/CuiBottomSheet-CFohFiO2.js +1 -0
- package/dist/interface/assets/{CuiBottomSheet-C2sM2E3M.js → CuiBottomSheet-D75L0Zny.js} +1 -1
- package/dist/interface/assets/{CuiCameraPipCard-wdK7xir-.js → CuiCameraPipCard-eiJjYZ5W.js} +1 -1
- package/dist/interface/assets/CuiCameraRecordings-DdEWkJrO.js +1 -0
- package/dist/interface/assets/{CuiCameraShares-B6jdUBVm.js → CuiCameraShares-8mtgFsQ_.js} +1 -1
- package/dist/interface/assets/{CuiCameraTable-CpBo25Qc.js → CuiCameraTable-CmCT-XQF.js} +2 -2
- package/dist/interface/assets/CuiCameraTable-DHrKoD9s.js +1 -0
- package/dist/interface/assets/CuiChartTable-DCr_AsSw.css +1 -0
- package/dist/interface/assets/CuiChartTable-v8sGY6PD.js +1 -0
- package/dist/interface/assets/{CuiConsole-BGptpT6r.js → CuiConsole-DYV-FUE0.js} +2 -2
- package/dist/interface/assets/{CuiDataTable-CQmp5mAy.js → CuiDataTable-C0gsYYpg.js} +1 -1
- package/dist/interface/assets/{CuiLightControl-wbZi3fA1.js → CuiLightControl-CFIwBj3C.js} +1 -1
- package/dist/interface/assets/{CuiList-Dsu5m0TA.js → CuiList-9TVV8SB6.js} +1 -1
- package/dist/interface/assets/{CuiPluginCard-BjIc7It9.js → CuiPluginCard-DEfqwUhQ.js} +2 -2
- package/dist/interface/assets/{CuiPluginCategoryChip-BtJ_6_gN.js → CuiPluginCategoryChip-DhnIBJHa.js} +1 -1
- package/dist/interface/assets/{CuiPluginOAuthButton-Duf35I8K.js → CuiPluginOAuthButton-DAuzNRAA.js} +2 -2
- package/dist/interface/assets/{CuiPluginTrustBadge-jxXeRTH2.js → CuiPluginTrustBadge-Bz710WwC.js} +1 -1
- package/dist/interface/assets/{CuiQRCode-BNchrpoB.js → CuiQRCode-B8-4GHSY.js} +1 -1
- package/dist/interface/assets/{CuiSchema-DGTMkVSe.js → CuiSchema-C_CHuKuf.js} +1 -1
- package/dist/interface/assets/{CuiTopNavbarItem-CHtLvn53.js → CuiTopNavbarItem-CNEnOPSh.js} +1 -1
- package/dist/interface/assets/Faces-DRHMrrxh.js +1 -0
- package/dist/interface/assets/{FirstSteps-HzaBMDbH.js → FirstSteps-Ci2Iqbe2.js} +1 -1
- package/dist/interface/assets/Floorplan-CqWIbDbh.js +1 -0
- package/dist/interface/assets/{Instances-Dl-6rL5O.js → Instances-gzKFKB1l.js} +1 -1
- package/dist/interface/assets/{Logs-DsJkuQFq.js → Logs-DL1yw_Pe.js} +2 -2
- package/dist/interface/assets/{Menu-D_woMkjL.js → Menu-C0GQ63aj.js} +1 -1
- package/dist/interface/assets/Metrics-BYnnb7M0.js +12 -0
- package/dist/interface/assets/Metrics-DsHBab6t.css +1 -0
- package/dist/interface/assets/{OAuthDeviceFlow-CXfILAE1.js → OAuthDeviceFlow-Zd6r9IHU.js} +1 -1
- package/dist/interface/assets/Plugin-DJIrYUnZ.js +1 -0
- package/dist/interface/assets/{PluginConsole-C96m5zKy.js → PluginConsole-ag0jPZQ_.js} +1 -1
- package/dist/interface/assets/{PluginDetail-CnfaI1vh.js → PluginDetail-DmElwUuV.js} +2 -2
- package/dist/interface/assets/{PluginSchema-u1bqXU29.js → PluginSchema-CxUujnVs.js} +1 -1
- package/dist/interface/assets/PluginSearch-B-2zH2Xy.js +1 -0
- package/dist/interface/assets/PluginSearch-BqzngVRL.js +2 -0
- package/dist/interface/assets/{PluginUpdateProgress-BT4lN9HT.js → PluginUpdateProgress-CFut0RAe.js} +1 -1
- package/dist/interface/assets/Plugins-ZFcB_j6v.js +1 -0
- package/dist/interface/assets/{RecentEventsFilter-Kp_lTOuG.js → RecentEventsFilter-CqeHhECT.js} +1 -1
- package/dist/interface/assets/Recordings-BJrtW9eG.js +1 -0
- package/dist/interface/assets/SensorEdit-Bi0gg-CL.js +1 -0
- package/dist/interface/assets/{SensorHistory-Cet35_RO.js → SensorHistory-q0UR3qMG.js} +1 -1
- package/dist/interface/assets/Sensors-C_InhcHA.js +2 -0
- package/dist/interface/assets/{Settings-C-LCDIbK.js → Settings-Cv38rGWn.js} +1 -1
- package/dist/interface/assets/SettingsAccount-B05739dn.js +1 -0
- package/dist/interface/assets/SettingsAccount-gm28wtbl.js +1 -0
- package/dist/interface/assets/{SettingsAppearance-BS4EQNjH.js → SettingsAppearance-DdyYUgmV.js} +1 -1
- package/dist/interface/assets/SettingsAppearance-DwUknDPV.js +1 -0
- package/dist/interface/assets/SettingsAssistant-ChHfkUKk.js +1 -0
- package/dist/interface/assets/{SettingsBackup-DBlV1gej.js → SettingsBackup-DKwlPQhD.js} +1 -1
- package/dist/interface/assets/{SettingsList-D8eSwbBY.js → SettingsList-D6hqnvUo.js} +1 -1
- package/dist/interface/assets/SettingsMqtt-C01fgLY0.js +1 -0
- package/dist/interface/assets/SettingsNotifications-D47cIquQ.js +1 -0
- package/dist/interface/assets/{SettingsPermissions-CJiz0Z7B.js → SettingsPermissions-BeTCTrAf.js} +1 -1
- package/dist/interface/assets/{SettingsRecordings-CLz9Zp47.js → SettingsRecordings-mwL6Dalr.js} +1 -1
- package/dist/interface/assets/SettingsRemote-MhaShPIf.js +2 -0
- package/dist/interface/assets/{SettingsSystem-txTFGomQ.js → SettingsSystem-BXnzXgqm.js} +2 -2
- package/dist/interface/assets/{SettingsUsers-CUp6vQPc.js → SettingsUsers-D2mVlJin.js} +1 -1
- package/dist/interface/assets/Terminal-C1UoXDRK.js +4 -0
- package/dist/interface/assets/Training-A5ynOv_l.js +1 -0
- package/dist/interface/assets/{Training-Bkn52mPJ.css → Training-C-ToeAl4.css} +1 -1
- package/dist/interface/assets/Updates-kS_Tm8HD.js +2 -0
- package/dist/interface/assets/{VariableInput-183LygmK.js → VariableInput-D9PfI8Ut.js} +1 -1
- package/dist/interface/assets/{VariableSuggestions-DwLtlzVz.js → VariableSuggestions-DArWzQuE.js} +1 -1
- package/dist/interface/assets/{VersionsHandler-DkbkcypK.js → VersionsHandler-BZVMpB2v.js} +1 -1
- package/dist/interface/assets/{VirtualSensorCreate-Bn4tgdxA.js → VirtualSensorCreate-Cz-QFo4R.js} +1 -1
- package/dist/interface/assets/Workers-2sc4VMi9.js +2 -0
- package/dist/interface/assets/api-CGfJbsTz.css +2 -0
- package/dist/interface/assets/{api-h4HRB3ef.js → api-CzwdnGAH.js} +1 -1
- package/dist/interface/assets/api-DOpXVpef.js +4 -0
- package/dist/interface/assets/{assistant-4hYyIu6D.js → assistant-hGCAgv-f.js} +1 -1
- package/dist/interface/assets/{auth-DFesRtwI.js → auth-By-S-WEr.js} +1 -1
- package/dist/interface/assets/{automations-D2bnX8uw.js → automations-vwIwb2PQ.js} +1 -1
- package/dist/interface/assets/{cameraSources-DmVZWs4-.js → cameraSources-BMhXvtFt.js} +1 -1
- package/dist/interface/assets/cloudHandoff-BnzjCpJ2.js +1 -0
- package/dist/interface/assets/{config-DDaCrMSU.js → config-BQxEwrK6.js} +1 -1
- package/dist/interface/assets/{flowSchema-YJtAu9gB.js → flowSchema-BPq6iHks.js} +1 -1
- package/dist/interface/assets/{intercomService-CjoJaOZ7.js → intercomService-CXcjcPa9.js} +1 -1
- package/dist/interface/assets/main-By4L33Im.js +3 -0
- package/dist/interface/assets/mqtt-DE1KQ8Td.js +1 -0
- package/dist/interface/assets/{notifications-5yeK345h.js → notifications-BCyiD-TP.js} +1 -1
- package/dist/interface/assets/{plugins-BTOdE_zv.js → plugins-BJPCV1YL.js} +1 -1
- package/dist/interface/assets/rooms-Dr4yiakO.js +1 -0
- package/dist/interface/assets/{sensorIcons-5Ynqwo3e.js → sensorIcons-DofElQ3w.js} +1 -1
- package/dist/interface/assets/{sensorSlots-BF70tpV7.js → sensorSlots-D2KJGvPw.js} +1 -1
- package/dist/interface/assets/{sensors-CeFEEz8r.js → sensors-3llrL7s3.js} +1 -1
- package/dist/interface/assets/server-Dw5DD473.js +1 -0
- package/dist/interface/assets/{theme-DF_XA58O.js → theme-C85LJhOY.js} +1 -1
- package/dist/interface/assets/{types-CklFkUXk.js → types-CPhy0Ovw.js} +1 -1
- package/dist/interface/assets/{types-ArGM5-5O.js → types-DYKmSGl4.js} +1 -1
- package/dist/interface/assets/{types-BcAxmlqC.js → types-i1kTodPP.js} +1 -1
- package/dist/interface/assets/ungrouped-BlheTJCh.css +1 -0
- package/dist/interface/assets/ungrouped-C2CWO39a.js +1 -0
- package/dist/interface/assets/{updates-D3x_kPMM.js → updates-C2LhMkNR.js} +1 -1
- package/dist/interface/assets/{useAppVersion-Dcvu95bZ.js → useAppVersion-DkazK9Vu.js} +1 -1
- package/dist/interface/assets/{useAssistantActions-Cc_O6M9_.js → useAssistantActions-BZP6NL18.js} +1 -1
- package/dist/interface/assets/useBackupRestore-DMQW_CVC.js +1 -0
- package/dist/interface/assets/{useCameraOptions-8I4MTDgj.js → useCameraOptions-DnI0xLrX.js} +1 -1
- package/dist/interface/assets/useKeyboardInset-Cr7SxKGN.js +1 -0
- package/dist/interface/assets/{useLogsSocket-bpOiLgWT.js → useLogsSocket-C3Y8S0Ar.js} +1 -1
- package/dist/interface/assets/{useNavLayout-Cjf6Da2u.js → useNavLayout-C9pcDuVP.js} +1 -1
- package/dist/interface/assets/{usePermissions-BXTw4tII.js → usePermissions-CCTxwXF0.js} +1 -1
- package/dist/interface/assets/{usePluginUpdates-bOMj-IvL.js → usePluginUpdates-DBhLWAua.js} +1 -1
- package/dist/interface/assets/{usePushRegistration-HOvLuUVP.js → usePushRegistration-CPRVdLAx.js} +1 -1
- package/dist/interface/assets/{useServerRestart-CQN4cdHJ.js → useServerRestart-bScBLJ9r.js} +1 -1
- package/dist/interface/assets/{useStreamStatus-Da7c2Wme.js → useStreamStatus-Bfh-WmLH.js} +1 -1
- package/dist/interface/assets/{useTabSwipe-fFuyJJBQ.js → useTabSwipe-C_QOrvSW.js} +1 -1
- package/dist/interface/assets/{useUpdateChannel-Ca1RX32u.js → useUpdateChannel-g0h_4c55.js} +1 -1
- package/dist/interface/assets/{useUpdatesSocket-DHZNpLQX.js → useUpdatesSocket-CxrLRETs.js} +1 -1
- package/dist/interface/assets/{useUserOptions-BQdOB-Dp.js → useUserOptions-DN0t3gBr.js} +1 -1
- package/dist/interface/assets/vendor-cameraui-B28aGJJD.js +2326 -0
- package/dist/interface/assets/{vendor-core-B-Q4es-f.js → vendor-core-DIa0tPNH.js} +1 -1
- package/dist/interface/assets/{vendor-primevue-Cmp3VjIC.js → vendor-primevue-CZKUAkMA.js} +77 -77
- package/dist/interface/ha/{404-C0mWQGWl.js → 404-tl2VQ3qy.js} +1 -1
- package/dist/interface/ha/{About-ByE7XErJ.js → About-Cn7KOblU.js} +3 -3
- package/dist/interface/ha/{Assistant-Z3FTR868.js → Assistant-DG2GGda0.js} +1225 -1203
- package/dist/interface/ha/{Automation-COQqTFNw.js → Automation-D0_WpXx4.js} +27 -27
- package/dist/interface/ha/{AutomationImport-ueWqMBX9.js → AutomationImport-DdC3dEaC.js} +6 -6
- package/dist/interface/ha/{AutomationStore-DBO4aZqy.js → AutomationStore-BrLn4oBx.js} +4 -4
- package/dist/interface/ha/{AutomationStoreDetail-DMnYu7hf.js → AutomationStoreDetail-DoppNsNc.js} +6 -6
- package/dist/interface/ha/{Automations-CMdbidc0.js → Automations-BaUJ9pVq.js} +3 -3
- package/dist/interface/ha/{Camera-C28q_3pu.js → Camera-Cj5ImvZG.js} +12 -12
- package/dist/interface/ha/{CameraConsole-oMNZfKE6.js → CameraConsole-7MhlS2VK.js} +3 -3
- package/dist/interface/ha/{Cameras-CsqrLx97.js → Cameras-vHYz8uSO.js} +6 -6
- package/dist/interface/ha/{Camview-Br0LUakz.js → Camview-BEglAx26.js} +452 -452
- package/dist/interface/ha/{Config-Y5eUNSW7.js → Config-CHiK--zP.js} +6 -6
- package/dist/interface/ha/{ConfigActionAssistant-hl-6ZACj.js → ConfigActionAssistant-DynduZYV.js} +4 -4
- package/dist/interface/ha/{ConfigActionCameraControl-DnXlVFWD.js → ConfigActionCameraControl-BEYePssz.js} +3 -3
- package/dist/interface/ha/{ConfigActionHttp-BkpkMmRd.js → ConfigActionHttp-h0vRWqZ5.js} +2 -2
- package/dist/interface/ha/{ConfigActionImageInput-Dp78_QS_.js → ConfigActionImageInput-B9GMZYAR.js} +1 -1
- package/dist/interface/ha/{ConfigActionMqtt-DA_UWb5j.js → ConfigActionMqtt-BEQpHBgf.js} +4 -4
- package/dist/interface/ha/{ConfigActionNotification-CQ4Ses3a.js → ConfigActionNotification-BYsz8_aS.js} +3 -3
- package/dist/interface/ha/{ConfigActionNotificationControl-Cb5PNGz-.js → ConfigActionNotificationControl-BxmIWVE8.js} +2 -2
- package/dist/interface/ha/{ConfigActionOutput-DLuNHwRb.js → ConfigActionOutput-DTOQSa1S.js} +1 -1
- package/dist/interface/ha/{ConfigActionPlugin-ChKFCNaj.js → ConfigActionPlugin-NOsUs3QI.js} +5 -5
- package/dist/interface/ha/{ConfigActionSensor-DOutFalW.js → ConfigActionSensor-YWnsH_LV.js} +4 -4
- package/dist/interface/ha/{ConfigActionSnapshot-GWgY6YIN.js → ConfigActionSnapshot-DHJnTvin.js} +2 -2
- package/dist/interface/ha/{ConfigActionVariable-bu-9VYTG.js → ConfigActionVariable-C7UFnvW0.js} +1 -1
- package/dist/interface/ha/{ConfigConditionIfElse-iNp8tlZV.js → ConfigConditionIfElse-CAHbuhH3.js} +3 -3
- package/dist/interface/ha/{ConfigConditionSensorState-Dn7kcHpJ.js → ConfigConditionSensorState-CE6okUeb.js} +4 -4
- package/dist/interface/ha/{ConfigConditionSwitch-DaUlDgo0.js → ConfigConditionSwitch-D5FULaTy.js} +4 -4
- package/dist/interface/ha/{ConfigSensorValueInput-D6m6suqJ.js → ConfigSensorValueInput-mo6Gs_aZ.js} +3 -3
- package/dist/interface/ha/{ConfigTriggerDetection-C5B_DC_L.js → ConfigTriggerDetection-Bt-OhHtM.js} +11 -11
- package/dist/interface/ha/{ConfigTriggerGeofence-B4WVNcK5.js → ConfigTriggerGeofence-Cw3jV5qD.js} +2 -2
- package/dist/interface/ha/{ConfigTriggerMqtt-wnMfk_Un.js → ConfigTriggerMqtt-BXeV82UG.js} +1 -1
- package/dist/interface/ha/{ConfigTriggerSensor-xFpI5KPu.js → ConfigTriggerSensor-Baqq--nJ.js} +1 -1
- package/dist/interface/ha/{ConfigTriggerSystem-YI9WYYVM.js → ConfigTriggerSystem-braUVGzW.js} +2 -2
- package/dist/interface/ha/{ConfigTriggerWebhook-58c2KgUe.js → ConfigTriggerWebhook-Dm45r-1C.js} +1 -1
- package/dist/interface/ha/{Console-Coiqh32K.js → Console-q3TCsxYo.js} +2 -2
- package/dist/interface/ha/{CuiAutomationRunsDialog-CJ2MGfEY.js → CuiAutomationRunsDialog-DO6h5Tc4.js} +2 -2
- package/dist/interface/ha/{CuiBottomSheet-BlG9Pl9j.js → CuiBottomSheet-B7ldz0xi.js} +1 -1
- package/dist/interface/ha/{CuiCameraRecordings-DLXEB4Q7.js → CuiCameraRecordings-Dq1Vh3qA.js} +6 -6
- package/dist/interface/ha/{CuiCameraShares-BCIeaM6u.js → CuiCameraShares-DBqcpevG.js} +2 -2
- package/dist/interface/ha/{CuiCameraTable-PYYC7sOu.js → CuiCameraTable-kL8rK-Uv.js} +2 -2
- package/dist/interface/ha/{CuiChartTable-FQ2iR5Hd.js → CuiChartTable-BrFyiSt_.js} +81 -66
- package/dist/interface/ha/{CuiConsole-C77k5q_-.js → CuiConsole-DpeXZmJd.js} +1 -1
- package/dist/interface/ha/{CuiDataTable-CIKQLseG.js → CuiDataTable-BtqzIz0o.js} +1 -1
- package/dist/interface/ha/{CuiPluginCard-DZNXKP_P.js → CuiPluginCard-lBLypaN4.js} +6 -6
- package/dist/interface/ha/{CuiPluginOAuthButton-DVf52_Zc.js → CuiPluginOAuthButton-CuGauZJA.js} +3 -3
- package/dist/interface/ha/{CuiPluginTrustBadge-CPljYiM8.js → CuiPluginTrustBadge-BofBmRYc.js} +1 -1
- package/dist/interface/ha/{CuiQRCode-oe8PLnLj.js → CuiQRCode-CdK9bwKb.js} +2 -2
- package/dist/interface/ha/{CuiSchema-CQy94ZTs.js → CuiSchema-DqkCLv9Y.js} +2 -2
- package/dist/interface/ha/{CuiTopNavbarItem-D6OHZLQY.js → CuiTopNavbarItem-C2VZB7WV.js} +1 -1
- package/dist/interface/ha/{Faces-DxAPvemO.js → Faces-Crfi-75Z.js} +239 -239
- package/dist/interface/ha/{FirstSteps-ZINTSaeL.js → FirstSteps-CKVG86pf.js} +4 -4
- package/dist/interface/ha/{Floorplan-DkbL8ppT.js → Floorplan-CH9_-6hk.js} +5 -5
- package/dist/interface/ha/{Instances-totWtqd7.js → Instances-5gZdPPDA.js} +1 -1
- package/dist/interface/ha/{Logs-CzabIFja.js → Logs-BkzEM70F.js} +6 -6
- package/dist/interface/ha/{Menu-DcVBOQfw.js → Menu-BuT3_Ggx.js} +2 -2
- package/dist/interface/ha/{Metrics-B_SN5hbp.js → Metrics-BGrzu0bu.js} +288 -286
- package/dist/interface/ha/{OAuthDeviceFlow-B28TPsTQ.js → OAuthDeviceFlow-BEJtegqy.js} +3 -3
- package/dist/interface/ha/{Plugin-B2PbbB8d.js → Plugin-Bnp2jiC2.js} +6 -6
- package/dist/interface/ha/{PluginConsole-_KeG4FvO.js → PluginConsole-CmsuPVMz.js} +4 -4
- package/dist/interface/ha/{PluginDetail-GK_Fx14e.js → PluginDetail-BCNx7vHr.js} +6 -6
- package/dist/interface/ha/{PluginSearch-qSy4aqAW.js → PluginSearch-DOdhuxgM.js} +4 -4
- package/dist/interface/ha/{PluginUpdateProgress-C4Q2j6VO.js → PluginUpdateProgress-CwkKc8Tr.js} +3 -3
- package/dist/interface/ha/{Plugins-D0tvZHie.js → Plugins-BrFowCdC.js} +7 -7
- package/dist/interface/ha/{Recordings-CpxJYaAa.js → Recordings-BZhf39pJ.js} +168 -166
- package/dist/interface/ha/{SensorEdit-8KtqLXEu.js → SensorEdit-Ds6WbN4A.js} +3 -3
- package/dist/interface/ha/{SensorHistory-CPTTsdjM.js → SensorHistory-CoTIYTJx.js} +2 -2
- package/dist/interface/ha/{Sensors-DJt_Hnn2.js → Sensors-DZ2MKdlh.js} +4 -4
- package/dist/interface/ha/{Settings-B-OdG5pG.js → Settings-D3JKr430.js} +2 -2
- package/dist/interface/ha/{SettingsAccount-Ba2-2Lbi.js → SettingsAccount-cvtlSKZw.js} +4 -4
- package/dist/interface/ha/{SettingsAppearance-D56HjSuQ.js → SettingsAppearance-CaKuOHRu.js} +3 -3
- package/dist/interface/ha/{SettingsAssistant-DglU0auc.js → SettingsAssistant-vWVjAUqQ.js} +4 -4
- package/dist/interface/ha/{SettingsBackup-DZx4McDz.js → SettingsBackup-CvzL_bVf.js} +2 -2
- package/dist/interface/ha/{SettingsList-D9nIGkbE.js → SettingsList-C0Ec8x-H.js} +1 -1
- package/dist/interface/ha/{SettingsMqtt-BOszh--k.js → SettingsMqtt-COnq-QM5.js} +2 -2
- package/dist/interface/ha/{SettingsNotifications-DBVpZfp0.js → SettingsNotifications-BZ68bQzO.js} +3 -3
- package/dist/interface/ha/{SettingsRecordings-D3oJnizu.js → SettingsRecordings-BPtNNpDa.js} +4 -4
- package/dist/interface/ha/{SettingsRemote-BOotvcOT.js → SettingsRemote-BXG8IYjf.js} +4 -4
- package/dist/interface/ha/{SettingsSystem-Bg11qoQX.js → SettingsSystem-_jHBUhws.js} +7 -7
- package/dist/interface/ha/{SettingsUsers-KpLs9Jnh.js → SettingsUsers-CzGj_RJN.js} +3 -3
- package/dist/interface/ha/{Terminal-D6opTHYI.js → Terminal-BP3b8IBP.js} +4 -4
- package/dist/interface/ha/Training-C2-6DgY0.js +1699 -0
- package/dist/interface/ha/{Updates-C_OvXJjd.js → Updates-BMZsEhmy.js} +4 -4
- package/dist/interface/ha/{VariableInput-CfaDp67S.js → VariableInput-DmI7skCD.js} +1 -1
- package/dist/interface/ha/{VersionsHandler-D1FVeYUZ.js → VersionsHandler-DJd4NqtD.js} +8 -8
- package/dist/interface/ha/{VirtualSensorCreate-DJIgMVrt.js → VirtualSensorCreate-DmtGYvAn.js} +1 -1
- package/dist/interface/ha/{Workers-cJMI4mYX.js → Workers-2HTPHgKV.js} +6 -6
- package/dist/interface/ha/{api-D2VzV4is.js → api-BelbnLQO.js} +7110 -7058
- package/dist/interface/ha/{api-CDawdL4p.js → api-sy4rqV2N.js} +1 -1
- package/dist/interface/ha/{assistant-BmDAfChm.js → assistant-C6KYXJfi.js} +1 -1
- package/dist/interface/ha/{auth-CvLz9C4w.js → auth-Da66mVEd.js} +1 -1
- package/dist/interface/ha/{automationBlueprint-BhNaeOZ1.js → automationBlueprint-hlqqM17r.js} +2 -2
- package/dist/interface/ha/cameraui-cards.js +1 -1
- package/dist/interface/ha/{cards-MQrnU0T8.js → cards-BFRRfuM7.js} +67 -67
- package/dist/interface/ha/{config-t_oAKFkJ.js → config-Cd7JNMpD.js} +1 -1
- package/dist/interface/ha/{dist-oFWkn6pD.js → dist-BybVYMVs.js} +19 -19
- package/dist/interface/ha/{mqtt-C20h1uze.js → mqtt-UZfptWJl.js} +1 -1
- package/dist/interface/ha/{notifications-Cy9DKiEn.js → notifications-DTHM8fS-.js} +1 -1
- package/dist/interface/ha/{plugins-jozYyBhV.js → plugins-Bwp_GfaX.js} +1 -1
- package/dist/interface/ha/{rooms-DyfT3cXp.js → rooms-BvaD0r0q.js} +1 -1
- package/dist/interface/ha/{server-hCCjQjZE.js → server-OWdtITVa.js} +2 -2
- package/dist/interface/ha/{types-RG0SckNR.js → types-BFJjyMZe.js} +1 -1
- package/dist/interface/ha/{ungrouped-BbyfoCQp.js → ungrouped-x00DHNHO.js} +219 -196
- package/dist/interface/ha/{updates-hUgVDgoD.js → updates-C03Qf3Il.js} +5 -5
- package/dist/interface/ha/{useAppVersion-wNhZDuvR.js → useAppVersion-CrMd9CC9.js} +1 -1
- package/dist/interface/ha/{useKeyboardInset-Cmbvb_W3.js → useKeyboardInset-DwUQCWHC.js} +1 -1
- package/dist/interface/ha/{useLogsSocket-y9Aex3tJ.js → useLogsSocket-C6k217mW.js} +1 -1
- package/dist/interface/ha/{useNavLayout-Ehb0t34k.js → useNavLayout-DhuQE024.js} +1 -1
- package/dist/interface/ha/{useServerRestart-CRSVcz3z.js → useServerRestart-CYaen2r6.js} +1 -1
- package/dist/interface/ha/{useTabSwipe-B_bseZkI.js → useTabSwipe-DAmCFlgg.js} +1 -1
- package/dist/interface/ha/{useUpdateChannel-C_GU6lj6.js → useUpdateChannel-Dr1EoU2X.js} +2 -2
- package/dist/interface/ha/{useUpdatesSocket-CYgHb7UX.js → useUpdatesSocket-C8Gmhemh.js} +1 -1
- package/dist/interface/ha/{useUserOptions-pVYr-s3O.js → useUserOptions-BB5wk3Bq.js} +1 -1
- package/dist/interface/index.html +32 -32
- package/dist/interface/sw.js +1 -1
- package/dist/server/package.json +3 -3
- package/dist/server/requirements.txt +1 -1
- package/dist/server/src/api/controllers/api.controller.js +1 -1
- package/dist/server/src/api/controllers/api.controller.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/notifications.d.ts +1 -0
- package/dist/server/src/api/websocket/nsp/notifications.js +7 -0
- package/dist/server/src/api/websocket/nsp/notifications.js.map +1 -1
- package/dist/server/src/assistant/automation-catalog.js +12 -2
- package/dist/server/src/assistant/automation-catalog.js.map +1 -1
- package/dist/server/src/manager/notificationManager.d.ts +1 -0
- package/dist/server/src/manager/notificationManager.js +11 -0
- package/dist/server/src/manager/notificationManager.js.map +1 -1
- package/dist/server/src/services/config/index.d.ts +1 -0
- package/dist/server/src/services/config/index.js +12 -1
- package/dist/server/src/services/config/index.js.map +1 -1
- package/dist/server/src/utils/ipc.js +23 -17
- package/dist/server/src/utils/ipc.js.map +1 -1
- package/npm-shrinkwrap.json +10 -10
- package/package.json +3 -3
- package/dist/interface/assets/Assistant-BJKGIvVo.js +0 -1
- package/dist/interface/assets/Automations-BOP_17Ri.js +0 -2
- package/dist/interface/assets/Camera-C5S7eI9a.js +0 -2
- package/dist/interface/assets/Camview-CHxKB41T.js +0 -1
- package/dist/interface/assets/Config-BrDDGWpr.js +0 -2
- package/dist/interface/assets/Console-cIr6lYux.js +0 -1
- package/dist/interface/assets/CuiAssistantConversation-Bigl43Ph.js +0 -5
- package/dist/interface/assets/CuiAutomationRunsDialog-Ci7SWAml.js +0 -1
- package/dist/interface/assets/CuiBottomSheet-ViBOgklN.js +0 -1
- package/dist/interface/assets/CuiCameraRecordings-BB7bF67B.js +0 -1
- package/dist/interface/assets/CuiCameraTable-CHnQFkce.js +0 -1
- package/dist/interface/assets/CuiChartTable-DXY7rY3O.css +0 -1
- package/dist/interface/assets/CuiChartTable-dIcxGtfl.js +0 -1
- package/dist/interface/assets/Faces-p18jNfXl.js +0 -1
- package/dist/interface/assets/Floorplan-DYyEx7WO.js +0 -1
- package/dist/interface/assets/Metrics-ChVnC6f6.css +0 -1
- package/dist/interface/assets/Metrics-l3UwykCM.js +0 -12
- package/dist/interface/assets/Plugin-Ldj3HygQ.js +0 -1
- package/dist/interface/assets/PluginSearch-BiXG3Xk2.js +0 -2
- package/dist/interface/assets/PluginSearch-BuE7we1T.js +0 -1
- package/dist/interface/assets/Plugins-Csx6AXaW.js +0 -1
- package/dist/interface/assets/Recordings-D0KTY5cI.js +0 -1
- package/dist/interface/assets/SensorEdit-zs-f_o1N.js +0 -1
- package/dist/interface/assets/Sensors-BLAoalEt.js +0 -2
- package/dist/interface/assets/SettingsAccount-BsN7jGmo.js +0 -1
- package/dist/interface/assets/SettingsAccount-DuVyCSE-.js +0 -1
- package/dist/interface/assets/SettingsAppearance-DQcGbYbV.js +0 -1
- package/dist/interface/assets/SettingsAssistant-DViJklFd.js +0 -1
- package/dist/interface/assets/SettingsMqtt-JoszJJgV.js +0 -1
- package/dist/interface/assets/SettingsNotifications-3veSrxa_.js +0 -1
- package/dist/interface/assets/SettingsRemote-DUyl8k7I.js +0 -2
- package/dist/interface/assets/Terminal-hln2UuSR.js +0 -4
- package/dist/interface/assets/Training-D6lhvUf-.js +0 -1
- package/dist/interface/assets/Updates-BwSWt9w7.js +0 -2
- package/dist/interface/assets/Workers-B6b15izn.js +0 -2
- package/dist/interface/assets/api-C9mnOxie.js +0 -4
- package/dist/interface/assets/api-Cj9a6qPu.css +0 -2
- package/dist/interface/assets/cloudHandoff-Ba98bzeq.js +0 -1
- package/dist/interface/assets/main-C796FmqQ.js +0 -3
- package/dist/interface/assets/mqtt-DGBPptzB.js +0 -1
- package/dist/interface/assets/rooms-BCdm6IAx.js +0 -1
- package/dist/interface/assets/server-bhW2Mw4D.js +0 -1
- package/dist/interface/assets/ungrouped-BnQIcSQd.css +0 -1
- package/dist/interface/assets/ungrouped-CkIlDUwl.js +0 -1
- package/dist/interface/assets/useBackupRestore-xp5KhKVn.js +0 -1
- package/dist/interface/assets/useKeyboardInset-C0Lp0UcX.js +0 -1
- package/dist/interface/assets/vendor-cameraui-CK4yHsJi.js +0 -2326
- package/dist/interface/ha/Training-OB2KOQ7L.js +0 -1694
|
@@ -1,266 +1,266 @@
|
|
|
1
1
|
import { c as e } from "./ripple-ZDATPc2w.js";
|
|
2
|
-
import { B as t, D as n, Dt as r, G as i, H as a, Jt as o, M as s, Wt as c, Y as l, _t as u, d, f, kt as p, l as m, lt as h, ot as g, p as _, qt as v, r as
|
|
3
|
-
import { t as
|
|
4
|
-
import { An as
|
|
5
|
-
import { o as
|
|
6
|
-
import { r as
|
|
7
|
-
import { n as
|
|
8
|
-
import { f as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { c as
|
|
15
|
-
import { t as
|
|
16
|
-
import { n as
|
|
2
|
+
import { B as t, D as n, Dt as r, G as i, H as a, Jt as o, M as s, Wt as c, Y as l, _t as u, d, f, kt as p, l as m, lt as h, ot as g, p as _, qt as v, r as ee, rt as y, u as b, ut as x, wt as S, x as C, xt as w, y as T, yt as E, z as te } from "./runtime-core.esm-bundler-_TfE0DWz.js";
|
|
3
|
+
import { t as ne } from "./tooltip-BDrlgLof.js";
|
|
4
|
+
import { An as re, Ar as ie, Cn as ae, Dn as oe, En as se, Er as D, F as O, Hn as ce, I as le, Jt as ue, Ot as de, P as k, Si as A, Sn as j, T as M, Tn as fe, Ut as pe, Wr as N, Yn as me, _r as he, a as ge, g as _e, gt as ve, jn as P, jr as F, mt as ye, qr as I, vn as be, wr as xe, yi as Se } from "./api-BelbnLQO.js";
|
|
5
|
+
import { o as Ce } from "./intercomService-B7HkLs6z.js";
|
|
6
|
+
import { r as we } from "./pinia-BokSpDzj.js";
|
|
7
|
+
import { n as Te } from "./vue-i18n-D5EAy78K.js";
|
|
8
|
+
import { f as Ee } from "./eventIcons-BFNUgeGr.js";
|
|
9
|
+
import { t as De } from "./button-BouAFgf5.js";
|
|
10
|
+
import { t as L } from "./inputtext-C_ygnPrC.js";
|
|
11
|
+
import { t as Oe } from "./divider-DeFEXTGs.js";
|
|
12
|
+
import { t as ke } from "./speeddial-B5p0fuqL.js";
|
|
13
|
+
import { t as Ae } from "./delete-DWdURc9X.js";
|
|
14
|
+
import { c as je, d as Me, u as Ne } from "./cards-BFRRfuM7.js";
|
|
15
|
+
import { t as Pe } from "./microphone-C4oQPpzp.js";
|
|
16
|
+
import { n as Fe, t as Ie } from "./CuiTopNavbarItem-C2VZB7WV.js";
|
|
17
17
|
//#region ~icons/mdi/pencil
|
|
18
|
-
var
|
|
18
|
+
var Le = {
|
|
19
19
|
viewBox: "0 0 24 24",
|
|
20
20
|
width: "1.2em",
|
|
21
21
|
height: "1.2em"
|
|
22
22
|
};
|
|
23
|
-
function
|
|
24
|
-
return a(), _("svg",
|
|
23
|
+
function Re(e, t) {
|
|
24
|
+
return a(), _("svg", Le, [...t[0] ||= [b("path", {
|
|
25
25
|
fill: "currentColor",
|
|
26
26
|
d: "M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z"
|
|
27
27
|
}, null, -1)]]);
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var ze = u({
|
|
30
30
|
name: "mdi-pencil",
|
|
31
|
-
render:
|
|
32
|
-
}),
|
|
31
|
+
render: Re
|
|
32
|
+
}), Be = {
|
|
33
33
|
viewBox: "0 0 24 24",
|
|
34
34
|
width: "1.2em",
|
|
35
35
|
height: "1.2em"
|
|
36
36
|
};
|
|
37
|
-
function
|
|
38
|
-
return a(), _("svg",
|
|
37
|
+
function Ve(e, t) {
|
|
38
|
+
return a(), _("svg", Be, [...t[0] ||= [b("path", {
|
|
39
39
|
fill: "currentColor",
|
|
40
40
|
d: "m9.5 13.09l1.41 1.41l-4.5 4.5H10v2H3v-7h2v3.59zm1.41-3.59L9.5 10.91L5 6.41V10H3V3h7v2H6.41zm3.59 3.59l4.5 4.5V14h2v7h-7v-2h3.59l-4.5-4.5zM13.09 9.5l4.5-4.5H14V3h7v7h-2V6.41l-4.5 4.5z"
|
|
41
41
|
}, null, -1)]]);
|
|
42
42
|
}
|
|
43
|
-
var
|
|
43
|
+
var He = u({
|
|
44
44
|
name: "mdi-arrow-expand-all",
|
|
45
|
-
render:
|
|
46
|
-
}),
|
|
45
|
+
render: Ve
|
|
46
|
+
}), Ue = {
|
|
47
47
|
viewBox: "0 0 24 24",
|
|
48
48
|
width: "1.2em",
|
|
49
49
|
height: "1.2em"
|
|
50
50
|
};
|
|
51
|
-
function
|
|
52
|
-
return a(), _("svg",
|
|
51
|
+
function We(e, t) {
|
|
52
|
+
return a(), _("svg", Ue, [...t[0] ||= [b("path", {
|
|
53
53
|
fill: "currentColor",
|
|
54
54
|
d: "M7.5 5.6L5 7l1.4-2.5L5 2l2.5 1.4L10 2L8.6 4.5L10 7zm12 9.8L22 14l-1.4 2.5L22 19l-2.5-1.4L17 19l1.4-2.5L17 14zM22 2l-1.4 2.5L22 7l-2.5-1.4L17 7l1.4-2.5L17 2l2.5 1.4zm-8.66 10.78l2.44-2.44l-2.12-2.12l-2.44 2.44zm1.03-5.49l2.34 2.34c.39.37.39 1.02 0 1.41L5.04 22.71c-.39.39-1.04.39-1.41 0l-2.34-2.34c-.39-.37-.39-1.02 0-1.41L12.96 7.29c.39-.39 1.04-.39 1.41 0"
|
|
55
55
|
}, null, -1)]]);
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var Ge = u({
|
|
58
58
|
name: "mdi-auto-fix",
|
|
59
|
-
render:
|
|
60
|
-
}),
|
|
59
|
+
render: We
|
|
60
|
+
}), Ke = {
|
|
61
61
|
viewBox: "0 0 24 24",
|
|
62
62
|
width: "1.2em",
|
|
63
63
|
height: "1.2em"
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
return a(), _("svg",
|
|
65
|
+
function qe(e, t) {
|
|
66
|
+
return a(), _("svg", Ke, [...t[0] ||= [b("path", {
|
|
67
67
|
fill: "currentColor",
|
|
68
68
|
"fill-rule": "evenodd",
|
|
69
69
|
d: "M9 3a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm10 0a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 10a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2zM9 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z",
|
|
70
70
|
"clip-rule": "evenodd"
|
|
71
71
|
}, null, -1)]]);
|
|
72
72
|
}
|
|
73
|
-
var
|
|
73
|
+
var Je = u({
|
|
74
74
|
name: "mingcute-grid2-fill",
|
|
75
|
-
render:
|
|
76
|
-
}),
|
|
75
|
+
render: qe
|
|
76
|
+
}), Ye = {
|
|
77
77
|
viewBox: "0 0 24 24",
|
|
78
78
|
width: "1.2em",
|
|
79
79
|
height: "1.2em"
|
|
80
80
|
};
|
|
81
|
-
function
|
|
82
|
-
return a(), _("svg",
|
|
81
|
+
function Xe(e, t) {
|
|
82
|
+
return a(), _("svg", Ye, [...t[0] ||= [b("path", {
|
|
83
83
|
fill: "currentColor",
|
|
84
84
|
d: "M17.41 2H6.59A4.58 4.58 0 0 0 2 6.59v10.82A4.58 4.58 0 0 0 6.59 22h10.82A4.58 4.58 0 0 0 22 17.41V6.59A4.58 4.58 0 0 0 17.41 2m-2.653 12.447a1.924 1.924 0 0 1-1.924 1.923h-5.86a1.924 1.924 0 0 1-1.923-1.923v-4.87a1.923 1.923 0 0 1 1.927-1.924h5.856a1.925 1.925 0 0 1 1.924 1.924Zm4.2.74a.771.771 0 0 1-1.266.59l-2.211-1.854a.85.85 0 0 1-.3-.653v-2.52a.85.85 0 0 1 .31-.657l2.206-1.82a.769.769 0 0 1 1.26.594Z"
|
|
85
85
|
}, null, -1)]]);
|
|
86
86
|
}
|
|
87
|
-
var
|
|
87
|
+
var Ze = u({
|
|
88
88
|
name: "cbi-iosfacetime",
|
|
89
|
-
render:
|
|
90
|
-
}),
|
|
89
|
+
render: Xe
|
|
90
|
+
}), Qe = {
|
|
91
91
|
viewBox: "0 0 24 24",
|
|
92
92
|
width: "1.2em",
|
|
93
93
|
height: "1.2em"
|
|
94
94
|
};
|
|
95
|
-
function
|
|
96
|
-
return a(), _("svg",
|
|
95
|
+
function $e(e, t) {
|
|
96
|
+
return a(), _("svg", Qe, [...t[0] ||= [b("path", {
|
|
97
97
|
fill: "currentColor",
|
|
98
98
|
d: "m8.471 7.237l3.056 12.992c.233.993 1.63 1.04 1.929.065l2.945-9.58l.384 1.527a1 1 0 0 0 .97.756H21a1 1 0 1 0 0-2h-2.466l-1.069-4.241c-.247-.981-1.628-1.017-1.925-.05l-2.912 9.472L9.475 2.771c-.24-1.02-1.688-1.03-1.943-.014l-2.065 8.24H3a1 1 0 0 0 0 2h3.247a1 1 0 0 0 .97-.757z"
|
|
99
99
|
}, null, -1)]]);
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var et = u({
|
|
102
102
|
name: "fluent-pulse-24-filled",
|
|
103
|
-
render:
|
|
104
|
-
}),
|
|
103
|
+
render: $e
|
|
104
|
+
}), R = {
|
|
105
105
|
viewBox: "0 0 16 16",
|
|
106
106
|
width: "1.2em",
|
|
107
107
|
height: "1.2em"
|
|
108
108
|
};
|
|
109
|
-
function
|
|
110
|
-
return a(), _("svg",
|
|
109
|
+
function z(e, t) {
|
|
110
|
+
return a(), _("svg", R, [...t[0] ||= [b("path", {
|
|
111
111
|
fill: "currentColor",
|
|
112
112
|
d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124m5.393.984a.75.75 0 1 0-1.06 1.06a5.5 5.5 0 0 1 0 7.78a.75.75 0 1 0 1.06 1.06a7 7 0 0 0 0-9.9"
|
|
113
|
-
}, null, -1),
|
|
113
|
+
}, null, -1), b("path", {
|
|
114
114
|
fill: "currentColor",
|
|
115
115
|
d: "M10.828 5.172a.75.75 0 1 0-1.06 1.06a2.5 2.5 0 0 1 0 3.536a.75.75 0 1 0 1.06 1.06a4 4 0 0 0 0-5.656"
|
|
116
116
|
}, null, -1)]]);
|
|
117
117
|
}
|
|
118
|
-
var
|
|
118
|
+
var tt = u({
|
|
119
119
|
name: "heroicons-speaker-wave-16-solid",
|
|
120
|
-
render:
|
|
121
|
-
}),
|
|
120
|
+
render: z
|
|
121
|
+
}), B = {
|
|
122
122
|
viewBox: "0 0 16 16",
|
|
123
123
|
width: "1.2em",
|
|
124
124
|
height: "1.2em"
|
|
125
125
|
};
|
|
126
|
-
function
|
|
127
|
-
return a(), _("svg",
|
|
126
|
+
function V(e, t) {
|
|
127
|
+
return a(), _("svg", B, [...t[0] ||= [b("path", {
|
|
128
128
|
fill: "currentColor",
|
|
129
129
|
d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124M11.28 5.72a.75.75 0 1 0-1.06 1.06L11.44 8l-1.22 1.22a.75.75 0 1 0 1.06 1.06l1.22-1.22l1.22 1.22a.75.75 0 1 0 1.06-1.06L13.56 8l1.22-1.22a.75.75 0 0 0-1.06-1.06L12.5 6.94z"
|
|
130
130
|
}, null, -1)]]);
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var nt = u({
|
|
133
133
|
name: "heroicons-speaker-x-mark-16-solid",
|
|
134
|
-
render:
|
|
135
|
-
}),
|
|
134
|
+
render: V
|
|
135
|
+
}), H = {
|
|
136
136
|
viewBox: "0 0 48 48",
|
|
137
137
|
width: "1.2em",
|
|
138
138
|
height: "1.2em"
|
|
139
139
|
};
|
|
140
|
-
function
|
|
141
|
-
return a(), _("svg",
|
|
140
|
+
function U(e, t) {
|
|
141
|
+
return a(), _("svg", H, [...t[0] ||= [b("g", {
|
|
142
142
|
fill: "none",
|
|
143
143
|
stroke: "currentColor",
|
|
144
144
|
"stroke-linejoin": "round",
|
|
145
145
|
"stroke-width": "4"
|
|
146
|
-
}, [
|
|
146
|
+
}, [b("path", {
|
|
147
147
|
fill: "currentColor",
|
|
148
148
|
d: "M16.866 7.47A18 18 0 0 0 16 13c0 9.941 8.059 18 18 18a17.9 17.9 0 0 0 7.134-1.47C38.801 36.767 32.012 42 24 42c-9.941 0-18-8.059-18-18c0-7.407 4.473-13.768 10.866-16.53Z"
|
|
149
|
-
}),
|
|
149
|
+
}), b("path", {
|
|
150
150
|
"stroke-linecap": "round",
|
|
151
151
|
d: "M31.66 10H41l-10 8h10"
|
|
152
152
|
})], -1)]]);
|
|
153
153
|
}
|
|
154
|
-
var
|
|
154
|
+
var rt = u({
|
|
155
155
|
name: "icon-park-solid-sleep",
|
|
156
|
-
render:
|
|
157
|
-
}),
|
|
156
|
+
render: U
|
|
157
|
+
}), W = {
|
|
158
158
|
viewBox: "0 0 24 24",
|
|
159
159
|
width: "1.2em",
|
|
160
160
|
height: "1.2em"
|
|
161
161
|
};
|
|
162
|
-
function
|
|
163
|
-
return a(), _("svg",
|
|
162
|
+
function it(e, t) {
|
|
163
|
+
return a(), _("svg", W, [...t[0] ||= [b("path", {
|
|
164
164
|
fill: "currentColor",
|
|
165
165
|
d: "M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M4.438 6.563Q4 6.125 4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7t-1.062-.437M12 12"
|
|
166
166
|
}, null, -1)]]);
|
|
167
167
|
}
|
|
168
|
-
var
|
|
168
|
+
var at = u({
|
|
169
169
|
name: "material-symbols-motion-photos-auto-outline-rounded",
|
|
170
|
-
render:
|
|
171
|
-
}),
|
|
170
|
+
render: it
|
|
171
|
+
}), G = {
|
|
172
172
|
viewBox: "0 0 24 24",
|
|
173
173
|
width: "1.2em",
|
|
174
174
|
height: "1.2em"
|
|
175
175
|
};
|
|
176
|
-
function
|
|
177
|
-
return a(), _("svg",
|
|
176
|
+
function K(e, t) {
|
|
177
|
+
return a(), _("svg", G, [...t[0] ||= [b("path", {
|
|
178
178
|
fill: "currentColor",
|
|
179
179
|
d: "M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3zm-7 3H3V6h16v7h2V6c0-1.11-.89-2-2-2H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h11z"
|
|
180
180
|
}, null, -1)]]);
|
|
181
181
|
}
|
|
182
|
-
var
|
|
182
|
+
var ot = u({
|
|
183
183
|
name: "mdi-card-plus-outline",
|
|
184
|
-
render:
|
|
185
|
-
}),
|
|
184
|
+
render: K
|
|
185
|
+
}), q = {
|
|
186
186
|
viewBox: "0 0 24 24",
|
|
187
187
|
width: "1.2em",
|
|
188
188
|
height: "1.2em"
|
|
189
189
|
};
|
|
190
|
-
function
|
|
191
|
-
return a(), _("svg",
|
|
190
|
+
function J(e, t) {
|
|
191
|
+
return a(), _("svg", q, [...t[0] ||= [b("path", {
|
|
192
192
|
fill: "currentColor",
|
|
193
193
|
d: "M12 2a7 7 0 0 1 7 7a7 7 0 0 1-7 7a7 7 0 0 1-7-7a7 7 0 0 1 7-7m0 2a5 5 0 0 0-5 5a5 5 0 0 0 5 5a5 5 0 0 0 5-5a5 5 0 0 0-5-5m0 2a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3M6 22a2 2 0 0 1-2-2c0-.38.1-.73.29-1.03l1.82-3.16A9 9 0 0 0 12 18c2.25 0 4.31-.83 5.89-2.19l1.82 3.16c.19.3.29.65.29 1.03a2 2 0 0 1-2 2z"
|
|
194
194
|
}, null, -1)]]);
|
|
195
195
|
}
|
|
196
|
-
var
|
|
196
|
+
var st = u({
|
|
197
197
|
name: "mdi-webcam",
|
|
198
|
-
render:
|
|
199
|
-
}),
|
|
198
|
+
render: J
|
|
199
|
+
}), Y = {
|
|
200
200
|
viewBox: "0 0 24 24",
|
|
201
201
|
width: "1.2em",
|
|
202
202
|
height: "1.2em"
|
|
203
203
|
};
|
|
204
|
-
function
|
|
205
|
-
return a(), _("svg",
|
|
204
|
+
function ct(e, t) {
|
|
205
|
+
return a(), _("svg", Y, [...t[0] ||= [b("path", {
|
|
206
206
|
fill: "currentColor",
|
|
207
207
|
d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v8a.75.75 0 0 0 1.5 0v-3.25h3.5V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.5 0v3.25h-3.5z"
|
|
208
208
|
}, null, -1)]]);
|
|
209
209
|
}
|
|
210
|
-
var
|
|
210
|
+
var lt = u({
|
|
211
211
|
name: "mynaui-letter-h-square-solid",
|
|
212
|
-
render:
|
|
213
|
-
}),
|
|
212
|
+
render: ct
|
|
213
|
+
}), ut = {
|
|
214
214
|
viewBox: "0 0 24 24",
|
|
215
215
|
width: "1.2em",
|
|
216
216
|
height: "1.2em"
|
|
217
217
|
};
|
|
218
|
-
function
|
|
219
|
-
return a(), _("svg",
|
|
218
|
+
function dt(e, t) {
|
|
219
|
+
return a(), _("svg", ut, [...t[0] ||= [b("path", {
|
|
220
220
|
fill: "currentColor",
|
|
221
221
|
d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v7.5c0 .414.336.75.75.75H15a.75.75 0 0 0 0-1.5h-4.75z"
|
|
222
222
|
}, null, -1)]]);
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var ft = u({
|
|
225
225
|
name: "mynaui-letter-l-square-solid",
|
|
226
|
-
render:
|
|
227
|
-
}),
|
|
226
|
+
render: dt
|
|
227
|
+
}), X = {
|
|
228
228
|
viewBox: "0 0 24 24",
|
|
229
229
|
width: "1.2em",
|
|
230
230
|
height: "1.2em"
|
|
231
231
|
};
|
|
232
|
-
function
|
|
233
|
-
return a(), _("svg",
|
|
232
|
+
function pt(e, t) {
|
|
233
|
+
return a(), _("svg", X, [...t[0] ||= [b("path", {
|
|
234
234
|
fill: "currentColor",
|
|
235
235
|
d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057m.233 5.3A.75.75 0 0 0 8.25 8v8a.75.75 0 0 0 1.5 0v-5.75l1.65 2.2a.75.75 0 0 0 1.2 0l1.65-2.2V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.35-.45l-2.4 3.2z"
|
|
236
236
|
}, null, -1)]]);
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var mt = u({
|
|
239
239
|
name: "mynaui-letter-m-square-solid",
|
|
240
|
-
render:
|
|
241
|
-
}),
|
|
240
|
+
render: pt
|
|
241
|
+
}), ht = {
|
|
242
242
|
viewBox: "0 0 24 24",
|
|
243
243
|
width: "1.2em",
|
|
244
244
|
height: "1.2em"
|
|
245
245
|
};
|
|
246
|
-
function
|
|
247
|
-
return a(), _("svg",
|
|
246
|
+
function gt(e, t) {
|
|
247
|
+
return a(), _("svg", ht, [...t[0] ||= [b("path", {
|
|
248
248
|
fill: "currentColor",
|
|
249
249
|
d: "M12 .36A5.4 5.4 0 0 0 6.62 5.3a5.4 5.4 0 0 0-1.22-.14a5.4 5.4 0 0 0-2.143 10.357a5.4 5.4 0 0 0-.737 2.723a5.4 5.4 0 0 0 9.54 3.466a5.4 5.4 0 0 0 8.833-6.137a5.4 5.4 0 0 0-3.505-10.152A5.4 5.4 0 0 0 12 .36M6.283 7.228h10.592c.746 0 1.352.605 1.352 1.349v7.646a1.35 1.35 0 0 1-1.352 1.348h-3.608l-7.24 3.55l1.1-3.55h-.844a1.35 1.35 0 0 1-1.352-1.348V8.577c0-.744.606-1.349 1.352-1.349"
|
|
250
250
|
}, null, -1)]]);
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var _t = u({
|
|
253
253
|
name: "simple-icons-webrtc",
|
|
254
|
-
render:
|
|
255
|
-
}),
|
|
254
|
+
render: gt
|
|
255
|
+
}), vt = { class: "flex flex-col gap-3" }, yt = { class: "text-wrap" }, bt = { class: "w-full h-full flex items-center justify-center relative" }, xt = /* @__PURE__ */ C({
|
|
256
256
|
__name: "AudioVisualizer",
|
|
257
257
|
emits: ["listening"],
|
|
258
258
|
setup(e, { expose: r, emit: i }) {
|
|
259
|
-
let s = i, c =
|
|
260
|
-
async function
|
|
261
|
-
if (g.value)
|
|
259
|
+
let s = i, c = Ce(), l = A(), u = n("dialogRefProps"), d = y("canvasRef"), f = S(), p = S(), g = w(!1), v = m(() => !!u.loading?.value);
|
|
260
|
+
async function ee() {
|
|
261
|
+
if (g.value) C();
|
|
262
262
|
else try {
|
|
263
|
-
f.value &&
|
|
263
|
+
f.value && C();
|
|
264
264
|
let e;
|
|
265
265
|
try {
|
|
266
266
|
e = await navigator.mediaDevices.getUserMedia({ audio: !0 });
|
|
@@ -289,38 +289,38 @@ var gt = u({
|
|
|
289
289
|
for (let e = 0; e < 90; e++) {
|
|
290
290
|
n = a[e] * .4;
|
|
291
291
|
let t = Math.PI * 2 / 90, i = c + Math.cos(t * e) * 30, o = l + Math.sin(t * e) * 30, s = c + Math.cos(t * e) * (30 + n), u = l + Math.sin(t * e) * (30 + n);
|
|
292
|
-
|
|
292
|
+
x(r, i, o, s, u, 3);
|
|
293
293
|
}
|
|
294
294
|
g.value || r.clearRect(0, 0, d.value.width, d.value.height);
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
i();
|
|
298
298
|
} catch (e) {
|
|
299
|
-
|
|
299
|
+
C(), c.error(e);
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function x(e, t, n, r, i, a) {
|
|
303
303
|
let o = e.createLinearGradient(t, n, r, i);
|
|
304
304
|
o.addColorStop(0, "#5b040f"), o.addColorStop(.5, "#b50b21"), o.addColorStop(.9, "#df2a4c"), o.addColorStop(1, "#df6380"), e.lineWidth = a, e.strokeStyle = o, e.beginPath(), e.moveTo(t, n), e.lineTo(r, i), e.stroke(), e.closePath();
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function C() {
|
|
307
307
|
f.value?.close(), f.value = void 0, p.value?.forEach((e) => e.stop()), p.value = void 0, g.value = !1, s("listening", !1);
|
|
308
308
|
}
|
|
309
309
|
return t(() => {
|
|
310
|
-
|
|
310
|
+
C();
|
|
311
311
|
}), r({ isLoading: v }), (e, t) => {
|
|
312
|
-
let n =
|
|
313
|
-
return a(), _("div",
|
|
312
|
+
let n = Pe, r = De;
|
|
313
|
+
return a(), _("div", vt, [b("span", yt, o(e.$t("components.dialog.message.intercom_info")), 1), b("div", bt, [T(r, {
|
|
314
314
|
rounded: "",
|
|
315
315
|
class: "w-[60px] h-[60px] absolute z-1",
|
|
316
|
-
onClick:
|
|
316
|
+
onClick: ee
|
|
317
317
|
}, {
|
|
318
|
-
icon: h(() => [
|
|
318
|
+
icon: h(() => [T(n, {
|
|
319
319
|
width: "100%",
|
|
320
320
|
height: "100%"
|
|
321
321
|
})]),
|
|
322
322
|
_: 1
|
|
323
|
-
}),
|
|
323
|
+
}), b("canvas", {
|
|
324
324
|
ref_key: "canvasRef",
|
|
325
325
|
ref: d,
|
|
326
326
|
height: "300",
|
|
@@ -328,7 +328,7 @@ var gt = u({
|
|
|
328
328
|
}, null, 512)])]);
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
}),
|
|
331
|
+
}), St = ["fill"], Z = /* @__PURE__ */ C({
|
|
332
332
|
__name: "CuiCameraGridIcon1",
|
|
333
333
|
props: { color: { default: "currentColor" } },
|
|
334
334
|
setup(e) {
|
|
@@ -339,9 +339,9 @@ var gt = u({
|
|
|
339
339
|
role: "img",
|
|
340
340
|
"area-hidden": "true",
|
|
341
341
|
fill: p(t)
|
|
342
|
-
}, [...n[0] ||= [
|
|
342
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z" }, null, -1)]], 8, St));
|
|
343
343
|
}
|
|
344
|
-
}),
|
|
344
|
+
}), Ct = ["fill"], wt = /* @__PURE__ */ C({
|
|
345
345
|
__name: "CuiCameraGridIcon10",
|
|
346
346
|
props: { color: { default: "currentColor" } },
|
|
347
347
|
setup(e) {
|
|
@@ -352,9 +352,9 @@ var gt = u({
|
|
|
352
352
|
role: "img",
|
|
353
353
|
"area-hidden": "true",
|
|
354
354
|
fill: p(t)
|
|
355
|
-
}, [...n[0] ||= [
|
|
355
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm726 275h226v130H735V276Zm-242 0h234v130H493V276Zm0 265V414h234v127H493ZM9 541V276h476v265H9Zm726 0V414h226v127H735ZM961 9v121H735V9h226ZM735 138h226v130H735V138ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Z" }, null, -1)]], 8, Ct));
|
|
356
356
|
}
|
|
357
|
-
}),
|
|
357
|
+
}), Tt = ["fill"], Q = /* @__PURE__ */ C({
|
|
358
358
|
__name: "CuiCameraGridIcon12",
|
|
359
359
|
props: { color: { default: "currentColor" } },
|
|
360
360
|
setup(e) {
|
|
@@ -365,9 +365,9 @@ var gt = u({
|
|
|
365
365
|
role: "img",
|
|
366
366
|
"area-hidden": "true",
|
|
367
367
|
fill: p(t)
|
|
368
|
-
}, [...n[0] ||= [
|
|
368
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, Tt));
|
|
369
369
|
}
|
|
370
|
-
}),
|
|
370
|
+
}), $ = ["fill"], Et = /* @__PURE__ */ C({
|
|
371
371
|
__name: "CuiCameraGridIcon13",
|
|
372
372
|
props: { color: { default: "currentColor" } },
|
|
373
373
|
setup(e) {
|
|
@@ -378,9 +378,9 @@ var gt = u({
|
|
|
378
378
|
role: "img",
|
|
379
379
|
"area-hidden": "true",
|
|
380
380
|
fill: p(t)
|
|
381
|
-
}, [...n[0] ||= [
|
|
381
|
+
}, [...n[0] ||= [b("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z" }, null, -1)]], 8, $));
|
|
382
382
|
}
|
|
383
|
-
}), Dt = ["fill"], Ot = /* @__PURE__ */
|
|
383
|
+
}), Dt = ["fill"], Ot = /* @__PURE__ */ C({
|
|
384
384
|
__name: "CuiCameraGridIcon15",
|
|
385
385
|
props: { color: { default: "currentColor" } },
|
|
386
386
|
setup(e) {
|
|
@@ -391,9 +391,9 @@ var gt = u({
|
|
|
391
391
|
role: "img",
|
|
392
392
|
"area-hidden": "true",
|
|
393
393
|
fill: p(t)
|
|
394
|
-
}, [...n[0] ||= [
|
|
394
|
+
}, [...n[0] ||= [b("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-144V276H485v129.5H250.5Zm-8-129.5v129.5H9V276h233.5Zm570 90H961v82H812.5v-82Zm-160 0h152v82h-152v-82ZM961 276v82H812.5v-82H961Zm-308.5 0h152v82h-152v-82Zm0 180h152v85h-152v-85ZM961 541H812.5v-85H961v85Zm-316.5-93H493v-82h151.5v82Zm0-172v82H493v-82h151.5Zm0 180v85H493v-85h151.5ZM485 413.5V541H250.5V413.5H485Zm-242.5 0V541H9V413.5h233.5ZM961 9v259H493V9h468ZM9 9h476v259H9V9Z" }, null, -1)]], 8, Dt));
|
|
395
395
|
}
|
|
396
|
-
}), kt = ["fill"], At = /* @__PURE__ */
|
|
396
|
+
}), kt = ["fill"], At = /* @__PURE__ */ C({
|
|
397
397
|
__name: "CuiCameraGridIcon16",
|
|
398
398
|
props: { color: { default: "currentColor" } },
|
|
399
399
|
setup(e) {
|
|
@@ -404,9 +404,9 @@ var gt = u({
|
|
|
404
404
|
role: "img",
|
|
405
405
|
"area-hidden": "true",
|
|
406
406
|
fill: p(t)
|
|
407
|
-
}, [...n[0] ||= [
|
|
407
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v121.5H732.5V9H961ZM724.5 9v121.5H493V9h231.5ZM493 268V138.5h231.5V268H493Zm0 137.5V276h231.5v129.5H493Zm468 0H732.5V276H961v129.5ZM493 541V413.5h231.5V541H493Zm468 0H732.5V413.5H961V541Zm0-273H732.5V138.5H961V268ZM485 9v121.5H250.5V9H485ZM250.5 138.5H485V268H250.5V138.5ZM242.5 9v121.5H9V9h233.5ZM9 138.5h233.5V268H9V138.5ZM250.5 276H485v129.5H250.5V276Zm0 137.5H485V541H250.5V413.5Zm-8-137.5v129.5H9V276h233.5ZM9 541V413.5h233.5V541H9Z" }, null, -1)]], 8, kt));
|
|
408
408
|
}
|
|
409
|
-
}), jt = ["fill"], Mt = /* @__PURE__ */
|
|
409
|
+
}), jt = ["fill"], Mt = /* @__PURE__ */ C({
|
|
410
410
|
__name: "CuiCameraGridIcon20",
|
|
411
411
|
props: { color: { default: "currentColor" } },
|
|
412
412
|
setup(e) {
|
|
@@ -417,9 +417,9 @@ var gt = u({
|
|
|
417
417
|
role: "img",
|
|
418
418
|
"area-hidden": "true",
|
|
419
419
|
fill: p(t)
|
|
420
|
-
}, [...n[0] ||= [
|
|
420
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 94v82H812.5V95H961Zm-156.5 82h-152V95h152v82ZM961 9v78H812.5V9H961ZM652.5 9h152v78h-152V9Zm0 176h152v83h-152v-83ZM961 268H812.5v-83H961v83Zm-308.5 8h152v82h-152v-82Zm160 0H961v82H812.5v-82Zm-168-181v82H493V95h151.5Zm0-86v78H493V9h151.5ZM493 268v-83h151.5v83H493Zm0 90v-82h151.5v82H493ZM9 9h476v259H9V9Zm952 357v82H812.5v-82H961Zm-156.5 0v82h-152v-82h152Zm-152 90h152v85h-152v-85ZM961 541H812.5v-85H961v85ZM644.5 366v82H493v-82h151.5ZM493 541v-85h151.5v85H493ZM9 276h476v265H9V276Z" }, null, -1)]], 8, jt));
|
|
421
421
|
}
|
|
422
|
-
}), Nt = ["fill"], Pt = /* @__PURE__ */
|
|
422
|
+
}), Nt = ["fill"], Pt = /* @__PURE__ */ C({
|
|
423
423
|
__name: "CuiCameraGridIcon26",
|
|
424
424
|
props: { color: { default: "currentColor" } },
|
|
425
425
|
setup(e) {
|
|
@@ -430,12 +430,12 @@ var gt = u({
|
|
|
430
430
|
role: "img",
|
|
431
431
|
"area-hidden": "true",
|
|
432
432
|
fill: p(t)
|
|
433
|
-
}, [...n[0] ||= [
|
|
433
|
+
}, [...n[0] ||= [b("path", {
|
|
434
434
|
"fill-rule": "evenodd",
|
|
435
435
|
d: "M1.5 9A7.5 7.5 0 0 1 9 1.5h952a7.5 7.5 0 0 1 7.5 7.5v532a7.5 7.5 0 0 1-7.5 7.5H9a7.5 7.5 0 0 1-7.5-7.5V9Zm960 168V94h-153v83h153Zm-160 0h-153V94h153v83Zm7-90h153V9a.5.5 0 0 0-.5-.5H808.5V87Zm-7-78.5V87h-153V8.5h153Zm0 175.5v84.5h-153V184h153Zm7 84.5V184h153v84.5h-153Zm-167-91.5V94h-149v83h149Zm0-90V8.5h-149V87h149Zm-149 97h149v84.5h-149V184Zm0 91.5H719V402H492.5V275.5Zm0 133.5v132.5H719V409H492.5Zm233.5 0v132.5h235a.5.5 0 0 0 .5-.5V409H726Zm235.5-7V275.5H726V402h235.5Zm-476-270V8.5H252V132h233.5ZM245 139H8.5v129.5H245V139Zm0-7V8.5H9a.5.5 0 0 0-.5.5v123H245Zm240.5 136.5V139H252v129.5h233.5Zm-477 7h157v81H8.5v-81Zm164 81v-81h153v81h-153Zm153 7h-153v83h153v-83Zm7 83v-83h153v83h-153Zm-7 7h-153v88h153v-88Zm7 88v-88h153v88h-153Zm0-185v-81h153v81h-153Zm-324 7h157v83H8.5v-83Zm0 90h157v88H9a.5.5 0 0 1-.5-.5v-87.5Z"
|
|
436
436
|
}, null, -1)]], 8, Nt));
|
|
437
437
|
}
|
|
438
|
-
}), Ft = ["fill"], It = /* @__PURE__ */
|
|
438
|
+
}), Ft = ["fill"], It = /* @__PURE__ */ C({
|
|
439
439
|
__name: "CuiCameraGridIcon4",
|
|
440
440
|
props: { color: { default: "currentColor" } },
|
|
441
441
|
setup(e) {
|
|
@@ -446,9 +446,9 @@ var gt = u({
|
|
|
446
446
|
role: "img",
|
|
447
447
|
"area-hidden": "true",
|
|
448
448
|
fill: p(t)
|
|
449
|
-
}, [...n[0] ||= [
|
|
449
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v259H493V9h468ZM493 541V276h468v265H493ZM485 9v259H9V9h476ZM9 541V276h476v265H9Z" }, null, -1)]], 8, Ft));
|
|
450
450
|
}
|
|
451
|
-
}), Lt = ["fill"], Rt = /* @__PURE__ */
|
|
451
|
+
}), Lt = ["fill"], Rt = /* @__PURE__ */ C({
|
|
452
452
|
__name: "CuiCameraGridIcon6",
|
|
453
453
|
props: { color: { default: "currentColor" } },
|
|
454
454
|
setup(e) {
|
|
@@ -459,9 +459,9 @@ var gt = u({
|
|
|
459
459
|
role: "img",
|
|
460
460
|
"area-hidden": "true",
|
|
461
461
|
fill: p(t)
|
|
462
|
-
}, [...n[0] ||= [
|
|
462
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm641.5 187.5H961v171H650.5v-171ZM961 9v171.5H650.5V9H961ZM642.5 9v350.5H9V9h633.5ZM9 541V367.5h315.5V541H9Zm323.5-173.5h310V541h-310V367.5Zm318 0H961V541H650.5V367.5Z" }, null, -1)]], 8, Lt));
|
|
463
463
|
}
|
|
464
|
-
}), zt = ["fill"], Bt = /* @__PURE__ */
|
|
464
|
+
}), zt = ["fill"], Bt = /* @__PURE__ */ C({
|
|
465
465
|
__name: "CuiCameraGridIcon7",
|
|
466
466
|
props: { color: { default: "currentColor" } },
|
|
467
467
|
setup(e) {
|
|
@@ -472,9 +472,9 @@ var gt = u({
|
|
|
472
472
|
role: "img",
|
|
473
473
|
"area-hidden": "true",
|
|
474
474
|
fill: p(t)
|
|
475
|
-
}, [...n[0] ||= [
|
|
475
|
+
}, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm725.5 275H961v130H734.5V276Zm0 265V414H961v127H734.5Zm-8-265v130H493V276h233.5ZM493 541V414h233.5v127H493ZM9 276h476v265H9V276ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, zt));
|
|
476
476
|
}
|
|
477
|
-
}), Vt = ["fill"], Ht = /* @__PURE__ */
|
|
477
|
+
}), Vt = ["fill"], Ht = /* @__PURE__ */ C({
|
|
478
478
|
__name: "CuiCameraGridIcon9",
|
|
479
479
|
props: { color: { default: "currentColor" } },
|
|
480
480
|
setup(e) {
|
|
@@ -485,7 +485,7 @@ var gt = u({
|
|
|
485
485
|
role: "img",
|
|
486
486
|
"area-hidden": "true",
|
|
487
487
|
fill: p(t)
|
|
488
|
-
}, [...n[0] ||= [
|
|
488
|
+
}, [...n[0] ||= [b("path", { d: "M969.5 359v-.5h-.5V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V366.5h.5V359ZM961 187v171.5H651V187h310ZM651 541V366.5h310V541H651Zm-8-354v171.5H330V187h313ZM330 541V366.5h313V541H330Zm-8-354v171.5H9V187h313ZM9 541V366.5h313V541H9ZM961 9v170H651V9h310ZM643 9v170H330V9h313ZM322 9v170H9V9h313Z" }, null, -1)]], 8, Vt));
|
|
489
489
|
}
|
|
490
490
|
}), Ut = {
|
|
491
491
|
for: "name",
|
|
@@ -502,7 +502,7 @@ var gt = u({
|
|
|
502
502
|
}, Yt = {
|
|
503
503
|
key: 0,
|
|
504
504
|
class: "text-red-500 text-center mb-5"
|
|
505
|
-
}, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/
|
|
505
|
+
}, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/ D(/* @__PURE__ */ C({
|
|
506
506
|
__name: "CamviewForm",
|
|
507
507
|
props: {
|
|
508
508
|
form: {},
|
|
@@ -511,7 +511,7 @@ var gt = u({
|
|
|
511
511
|
views: {}
|
|
512
512
|
},
|
|
513
513
|
setup(t, { expose: u }) {
|
|
514
|
-
let v = new
|
|
514
|
+
let v = new Se(), x = t, S = Ce(), C = A(), { t: E } = Te(), ne = n("dialogRefProps"), ie = _e(), { user: ae } = we(ie), { mutateAsync: oe, isPending: se } = v.createViewQuery(), { mutateAsync: D, isPending: ce } = v.patchViewQuery(), { form: ue, type: j, cameras: fe, views: pe } = r(x), N = y("formRef"), me = w([
|
|
515
515
|
1,
|
|
516
516
|
4,
|
|
517
517
|
6,
|
|
@@ -524,121 +524,121 @@ var gt = u({
|
|
|
524
524
|
16,
|
|
525
525
|
20,
|
|
526
526
|
26
|
|
527
|
-
]),
|
|
528
|
-
!
|
|
529
|
-
let
|
|
530
|
-
function
|
|
531
|
-
let t =
|
|
532
|
-
t === -1 ?
|
|
527
|
+
]), he = w(!0), ve = w(!0), F = w([]), ye = w(!!ue.value), I = w(ue.value ? ge(ue.value) : {});
|
|
528
|
+
!ye.value && j.value === "view" && (I.value.viewSize = me.value[0]);
|
|
529
|
+
let be = m(() => !!(ne.loading?.value || se.value || ce.value));
|
|
530
|
+
function xe(e) {
|
|
531
|
+
let t = F.value.findIndex((t) => t.name === e.name);
|
|
532
|
+
t === -1 ? F.value.push(e) : F.value.splice(t, 1);
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function Ee(e) {
|
|
535
535
|
switch (e) {
|
|
536
|
-
case 1: return
|
|
536
|
+
case 1: return Z;
|
|
537
537
|
case 4: return It;
|
|
538
538
|
case 6: return Rt;
|
|
539
539
|
case 7: return Bt;
|
|
540
540
|
case 9: return Ht;
|
|
541
|
-
case 10: return
|
|
542
|
-
case 12: return
|
|
541
|
+
case 10: return wt;
|
|
542
|
+
case 12: return Q;
|
|
543
543
|
case 13: return Et;
|
|
544
544
|
case 15: return Ot;
|
|
545
545
|
case 16: return At;
|
|
546
546
|
case 20: return Mt;
|
|
547
547
|
case 26: return Pt;
|
|
548
|
-
default: return
|
|
548
|
+
default: return Z;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
async function
|
|
552
|
-
if (!
|
|
553
|
-
let e =
|
|
554
|
-
if (e && !
|
|
551
|
+
async function De() {
|
|
552
|
+
if (!N.value || !ae.value) return;
|
|
553
|
+
let e = pe.value.find((e) => e.name === I.value.name);
|
|
554
|
+
if (e && !ye.value) return S.error("View already exists", e), C.add({
|
|
555
555
|
severity: "error",
|
|
556
|
-
detail:
|
|
556
|
+
detail: E("components.toast.validation_failed"),
|
|
557
557
|
life: 3e3
|
|
558
558
|
}), null;
|
|
559
|
-
if (
|
|
560
|
-
if (
|
|
559
|
+
if (j.value === "dnd") {
|
|
560
|
+
if (ve.value) return S.error("No cameras selected"), C.add({
|
|
561
561
|
severity: "error",
|
|
562
|
-
detail:
|
|
562
|
+
detail: E("components.toast.validation_failed"),
|
|
563
563
|
life: 3e3
|
|
564
564
|
}), null;
|
|
565
|
-
let e =
|
|
565
|
+
let e = F.value.map((e, t) => ({
|
|
566
566
|
cameraId: e._id,
|
|
567
567
|
index: t
|
|
568
568
|
}));
|
|
569
|
-
|
|
570
|
-
let t = await
|
|
571
|
-
return t?.valid ?
|
|
572
|
-
username:
|
|
573
|
-
viewid:
|
|
574
|
-
viewData:
|
|
575
|
-
}) : await
|
|
576
|
-
username:
|
|
577
|
-
viewData:
|
|
578
|
-
}) : (
|
|
569
|
+
I.value.cameras = e, I.value.type = "dnd", I.value.viewSize = 1, N.value.setFieldValue("type", "dnd"), N.value.setFieldValue("viewSize", 1), N.value.setFieldValue("cameras", e);
|
|
570
|
+
let t = await N.value.validate();
|
|
571
|
+
return t?.valid ? ye.value ? await D({
|
|
572
|
+
username: ae.value.username,
|
|
573
|
+
viewid: I.value._id,
|
|
574
|
+
viewData: I.value
|
|
575
|
+
}) : await oe({
|
|
576
|
+
username: ae.value.username,
|
|
577
|
+
viewData: I.value
|
|
578
|
+
}) : (S.error("Validation failed", t), C.add({
|
|
579
579
|
severity: "error",
|
|
580
|
-
detail:
|
|
580
|
+
detail: E("components.toast.validation_failed"),
|
|
581
581
|
life: 3e3
|
|
582
582
|
}), null);
|
|
583
583
|
}
|
|
584
584
|
{
|
|
585
|
-
if (
|
|
585
|
+
if (he.value) return S.error("No view selected"), C.add({
|
|
586
586
|
severity: "error",
|
|
587
|
-
detail:
|
|
587
|
+
detail: E("components.toast.validation_failed"),
|
|
588
588
|
life: 3e3
|
|
589
589
|
}), null;
|
|
590
|
-
|
|
591
|
-
let e = await
|
|
592
|
-
return e?.valid ?
|
|
590
|
+
I.value.cameras = [], I.value.type = "view", N.value.setFieldValue("type", "view"), N.value.setFieldValue("cameras", []);
|
|
591
|
+
let e = await N.value.validate();
|
|
592
|
+
return e?.valid ? ge(I.value) : (S.error("Validation failed", e), C.add({
|
|
593
593
|
severity: "error",
|
|
594
|
-
detail:
|
|
594
|
+
detail: E("components.toast.validation_failed"),
|
|
595
595
|
life: 3e3
|
|
596
596
|
}), null);
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
return g(
|
|
600
|
-
for (let [t, n] of Object.entries(e))
|
|
601
|
-
e.viewSize && (
|
|
599
|
+
return g(I, (e) => {
|
|
600
|
+
for (let [t, n] of Object.entries(e)) N.value?.setFieldValue(t, n);
|
|
601
|
+
e.viewSize && (he.value = !1), e.cameras?.length && (ve.value = !1);
|
|
602
602
|
}, {
|
|
603
603
|
deep: !0,
|
|
604
604
|
immediate: !0
|
|
605
|
-
}), g(
|
|
606
|
-
|
|
607
|
-
}, { deep: !0 }),
|
|
608
|
-
|
|
605
|
+
}), g(F, (e) => {
|
|
606
|
+
ve.value = e.length === 0;
|
|
607
|
+
}, { deep: !0 }), te(() => {
|
|
608
|
+
F.value = fe.value?.filter((e) => I.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
|
|
609
609
|
}), u({
|
|
610
|
-
isLoading:
|
|
611
|
-
onConfirm:
|
|
610
|
+
isLoading: be,
|
|
611
|
+
onConfirm: De
|
|
612
612
|
}), (t, n) => {
|
|
613
|
-
let r =
|
|
614
|
-
return a(), d(p(
|
|
613
|
+
let r = L, u = de, m = Oe, g = re, v = P;
|
|
614
|
+
return a(), d(p(le), {
|
|
615
615
|
ref_key: "formRef",
|
|
616
|
-
ref:
|
|
616
|
+
ref: N,
|
|
617
617
|
class: "flex flex-col gap-6",
|
|
618
|
-
"validation-schema": p(
|
|
619
|
-
"initial-values": p(
|
|
618
|
+
"validation-schema": p(M),
|
|
619
|
+
"initial-values": p(I)
|
|
620
620
|
}, {
|
|
621
621
|
default: h(() => [
|
|
622
|
-
|
|
623
|
-
modelValue: p(
|
|
624
|
-
"onUpdate:modelValue": n[0] ||= (e) => p(
|
|
622
|
+
T(p(O), {
|
|
623
|
+
modelValue: p(I).name,
|
|
624
|
+
"onUpdate:modelValue": n[0] ||= (e) => p(I).name = e,
|
|
625
625
|
modelModifiers: { trim: !0 },
|
|
626
626
|
name: "name",
|
|
627
627
|
as: "div",
|
|
628
628
|
class: "flex flex-col field-gap"
|
|
629
629
|
}, {
|
|
630
630
|
default: h(({ field: n, errors: i }) => [
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
default: h(() => [
|
|
631
|
+
b("label", Ut, o(t.$t("components.form.label.name")), 1),
|
|
632
|
+
T(u, null, {
|
|
633
|
+
default: h(() => [T(r, s(n, {
|
|
634
634
|
invalid: i.length > 0,
|
|
635
|
-
loading: p(
|
|
635
|
+
loading: p(be),
|
|
636
636
|
type: "text"
|
|
637
637
|
}), null, 16, ["invalid", "loading"])]),
|
|
638
638
|
_: 2
|
|
639
639
|
}, 1024),
|
|
640
|
-
|
|
641
|
-
default: h(() => [
|
|
640
|
+
T(e, { name: "fade" }, {
|
|
641
|
+
default: h(() => [T(p(k), {
|
|
642
642
|
name: "name",
|
|
643
643
|
class: "cui-input-error"
|
|
644
644
|
})]),
|
|
@@ -647,35 +647,35 @@ var gt = u({
|
|
|
647
647
|
]),
|
|
648
648
|
_: 1
|
|
649
649
|
}, 8, ["modelValue"]),
|
|
650
|
-
|
|
651
|
-
p(
|
|
652
|
-
default: h(() => [p(
|
|
650
|
+
T(m, { class: "m-0 py-3" }),
|
|
651
|
+
p(j) === "dnd" ? (a(), _("div", Wt, [T(e, { name: "fade" }, {
|
|
652
|
+
default: h(() => [p(ve) ? (a(), _("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
|
|
653
653
|
_: 1
|
|
654
|
-
}),
|
|
654
|
+
}), b("div", Kt, [b("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), _(ee, null, i(p(fe), (e, t) => (a(), _("div", {
|
|
655
655
|
key: t,
|
|
656
656
|
class: "cui-list-item"
|
|
657
|
-
}, [
|
|
657
|
+
}, [T(v, {
|
|
658
658
|
class: "h-14",
|
|
659
|
-
active: p(
|
|
660
|
-
onClick: (t) =>
|
|
659
|
+
active: p(F).some((t) => t.name === e.name),
|
|
660
|
+
onClick: (t) => xe(e)
|
|
661
661
|
}, {
|
|
662
|
-
append: h(() => [
|
|
663
|
-
"model-value": p(
|
|
664
|
-
"onUpdate:modelValue": (t) =>
|
|
662
|
+
append: h(() => [T(g, {
|
|
663
|
+
"model-value": p(F).some((t) => t.name === e.name),
|
|
664
|
+
"onUpdate:modelValue": (t) => xe(e)
|
|
665
665
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
666
|
-
default: h(() => [
|
|
666
|
+
default: h(() => [b("span", null, o(e.name), 1)]),
|
|
667
667
|
_: 2
|
|
668
|
-
}, 1032, ["active", "onClick"])]))), 128))])])) : (a(), _("div", Jt, [
|
|
669
|
-
default: h(() => [p(
|
|
668
|
+
}, 1032, ["active", "onClick"])]))), 128))])])) : (a(), _("div", Jt, [T(e, { name: "fade" }, {
|
|
669
|
+
default: h(() => [p(he) ? (a(), _("span", Yt, o(t.$t("components.form.error.no_view_selected")), 1)) : f("", !0)]),
|
|
670
670
|
_: 1
|
|
671
|
-
}),
|
|
671
|
+
}), b("div", Xt, [b("label", Zt, o(t.$t("components.form.label.views")), 1), b("div", Qt, [(a(!0), _(ee, null, i(p(me), (e) => (a(), _("div", {
|
|
672
672
|
key: e,
|
|
673
673
|
class: "view-select-item w-full",
|
|
674
|
-
onClick: (t) => p(
|
|
675
|
-
}, [
|
|
674
|
+
onClick: (t) => p(I).viewSize = e
|
|
675
|
+
}, [b("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(I).viewSize === e }]) }, [(a(), d(l(Ee(e)), { style: {
|
|
676
676
|
width: "100%",
|
|
677
677
|
height: "100%"
|
|
678
|
-
} }))], 2),
|
|
678
|
+
} }))], 2), b("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(I).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, $t))), 128))])])]))
|
|
679
679
|
]),
|
|
680
680
|
_: 1
|
|
681
681
|
}, 8, ["validation-schema", "initial-values"]);
|
|
@@ -687,169 +687,169 @@ var gt = u({
|
|
|
687
687
|
}, rn = {
|
|
688
688
|
key: 1,
|
|
689
689
|
class: "flex flex-col w-full h-full"
|
|
690
|
-
}, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/
|
|
690
|
+
}, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/ D(/* @__PURE__ */ C({
|
|
691
691
|
__name: "Camview",
|
|
692
692
|
props: {
|
|
693
693
|
navbarWidth: { default: 0 },
|
|
694
694
|
navbarLeft: { default: 0 }
|
|
695
695
|
},
|
|
696
696
|
setup(t) {
|
|
697
|
-
let n = new
|
|
697
|
+
let n = new Se(), i = new ue(), u = t, ee = Te(), { t: S } = ee, C = ye(), te = ve(), { bottombarHeight: re } = F(), { smBreakpoint: D, lgBreakpoint: O, mdBreakpoint: le } = ie(), de = _e(), { user: k } = we(de), A = N(), { uiSettings: M } = we(A), { data: P, isLoading: Ce } = i.getCamerasQuery({
|
|
698
698
|
page: 1,
|
|
699
699
|
pageSize: -1
|
|
700
|
-
}), { data:
|
|
700
|
+
}), { data: L, isLoading: Pe } = n.getViewsQuery(k.value?.username ?? "", {
|
|
701
701
|
page: 1,
|
|
702
702
|
pageSize: -1
|
|
703
|
-
}), { mutate:
|
|
704
|
-
sourceRole:
|
|
705
|
-
activityMode:
|
|
706
|
-
streamingMode:
|
|
707
|
-
}),
|
|
708
|
-
locale:
|
|
709
|
-
dayNames:
|
|
710
|
-
dayNamesShort:
|
|
711
|
-
monthNames:
|
|
712
|
-
monthNamesShort:
|
|
713
|
-
})),
|
|
703
|
+
}), { mutate: Le, isPending: Re } = n.removeViewQuery(), { mutateAsync: Be, isPending: Ve } = n.createViewQuery(), { mutateAsync: Ue, isPending: We } = n.patchViewQuery(), { mutateAsync: Ke } = n.patchViewQuerySilent(), { navbarWidth: qe, navbarLeft: Ye } = r(u), Xe = y("menuRef"), Qe = y("newViewMenuRef"), $e = y("cardFitMenuRef"), R = y("viewDndRef"), z = w({}), B = w(!1), V = w(!1), H = w(!1), U = w(!1), W = w(!1), it = w(!1), G = w(!0), K = w("always-on"), q = w("low-resolution"), J = w("auto"), Y = w([]), ct = w(), ut = w(null), dt = E({
|
|
704
|
+
sourceRole: q.value,
|
|
705
|
+
activityMode: K.value,
|
|
706
|
+
streamingMode: J.value
|
|
707
|
+
}), X = m(() => Ce.value || Pe.value || Re.value || Ve.value || We.value), pt = m(() => Ce.value && !P.value || Pe.value && !L.value || Re.value || Ve.value || We.value), ht = m(() => qe.value + Ye.value), gt = m(() => ({
|
|
708
|
+
locale: ee.locale.value,
|
|
709
|
+
dayNames: C.config.locale?.dayNames,
|
|
710
|
+
dayNamesShort: C.config.locale?.dayNamesShort,
|
|
711
|
+
monthNames: C.config.locale?.monthNames,
|
|
712
|
+
monthNamesShort: C.config.locale?.monthNamesShort
|
|
713
|
+
})), vt = m(() => ct.value ?? Q.value?.cardFit ?? "aspect"), yt = m(() => [
|
|
714
714
|
"aspect",
|
|
715
715
|
"contain",
|
|
716
716
|
"fill",
|
|
717
717
|
"cover"
|
|
718
718
|
].map((e) => ({
|
|
719
|
-
label:
|
|
720
|
-
description:
|
|
721
|
-
active:
|
|
719
|
+
label: S(`views.camview.card_fit_${e}`),
|
|
720
|
+
description: S(`views.camview.card_fit_${e}_info`),
|
|
721
|
+
active: vt.value === e,
|
|
722
722
|
onClick: () => Wt(e)
|
|
723
|
-
}))),
|
|
723
|
+
}))), bt = m(() => ({
|
|
724
724
|
doubleClickZoom: !1,
|
|
725
725
|
flatCard: !0,
|
|
726
|
-
cardFit:
|
|
726
|
+
cardFit: vt.value,
|
|
727
727
|
cameraNameOverlay: !0,
|
|
728
728
|
control: !0,
|
|
729
729
|
toolbar: !1,
|
|
730
|
-
expandableCard: (
|
|
731
|
-
detectionIndicatorOverlay: !
|
|
732
|
-
detectionIconsOverlay: !
|
|
730
|
+
expandableCard: (Q.value?.cameras?.length ?? 0) > 1,
|
|
731
|
+
detectionIndicatorOverlay: !H.value && wt.value,
|
|
732
|
+
detectionIconsOverlay: !H.value && wt.value,
|
|
733
733
|
boundingBoxOverlay: !1,
|
|
734
734
|
cardClickAction: "expand",
|
|
735
735
|
viewTransition: !0,
|
|
736
736
|
cardProps: { pt: { root: { style: "background: #000" } } }
|
|
737
|
-
})),
|
|
738
|
-
width:
|
|
737
|
+
})), St = m(() => L.value?.result.length ? O.value ? {
|
|
738
|
+
width: W.value ? "calc(100% - 400px)" : "100%",
|
|
739
739
|
height: "100%",
|
|
740
740
|
overflowY: "scroll"
|
|
741
741
|
} : {
|
|
742
742
|
height: "100%",
|
|
743
|
-
paddingBottom:
|
|
743
|
+
paddingBottom: W.value ? re.value > 0 ? "200px" : "192px" : "0px",
|
|
744
744
|
overflowY: "scroll"
|
|
745
745
|
} : {
|
|
746
746
|
width: "100%",
|
|
747
747
|
height: "100%",
|
|
748
748
|
overflowY: "scroll"
|
|
749
|
-
}),
|
|
749
|
+
}), Z = m(() => B.value || V.value), Ct = m(() => !!R.value?.isFullscreen), wt = m(() => M.value.camview.detections !== !1), Tt = m(() => [
|
|
750
750
|
{
|
|
751
|
-
label:
|
|
752
|
-
icon:
|
|
751
|
+
label: Ct.value ? S("components.form.tooltip.fullscreen_off") : S("components.form.tooltip.fullscreen_on"),
|
|
752
|
+
icon: Ct.value ? ae : j,
|
|
753
753
|
command: Gt
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
|
-
label:
|
|
757
|
-
icon:
|
|
756
|
+
label: G.value ? S("components.form.tooltip.unmute") : S("components.form.tooltip.mute"),
|
|
757
|
+
icon: G.value ? nt : tt,
|
|
758
758
|
command: Kt
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
|
-
label:
|
|
762
|
-
icon:
|
|
761
|
+
label: S("components.form.tooltip.intercom"),
|
|
762
|
+
icon: be,
|
|
763
763
|
command: () => Nt("intercom")
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
|
-
label:
|
|
767
|
-
icon:
|
|
766
|
+
label: J.value === "auto" ? `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_auto")}` : J.value === "webrtc" ? `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_webrtc")}` : `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_mse")}`,
|
|
767
|
+
icon: J.value === "auto" ? at : J.value === "webrtc" ? _t : Ze,
|
|
768
768
|
command: () => Yt()
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
|
-
label:
|
|
772
|
-
icon:
|
|
771
|
+
label: K.value === "always-on" ? S("components.form.tooltip.activity_mode_always_on") : K.value === "standby" ? S("components.form.tooltip.activity_mode_standby") : S("components.form.tooltip.activity_mode_activity"),
|
|
772
|
+
icon: K.value === "always-on" ? st : K.value === "standby" ? rt : et,
|
|
773
773
|
command: () => qt()
|
|
774
774
|
},
|
|
775
775
|
{
|
|
776
|
-
label:
|
|
777
|
-
icon:
|
|
776
|
+
label: q.value === "low-resolution" ? `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_low")}` : q.value === "mid-resolution" ? `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_mid")}` : `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_high")}`,
|
|
777
|
+
icon: q.value === "low-resolution" ? ft : q.value === "mid-resolution" ? mt : lt,
|
|
778
778
|
command: () => Jt()
|
|
779
779
|
},
|
|
780
780
|
{
|
|
781
|
-
label: `${
|
|
782
|
-
icon:
|
|
783
|
-
command: () =>
|
|
781
|
+
label: `${S("components.form.tooltip.detections")}: ${wt.value ? S("components.form.tooltip.detections_on") : S("components.form.tooltip.detections_off")}`,
|
|
782
|
+
icon: wt.value ? Ee : pe,
|
|
783
|
+
command: () => M.value.camview.detections = !wt.value
|
|
784
784
|
}
|
|
785
|
-
]),
|
|
786
|
-
let e =
|
|
787
|
-
return e ? (
|
|
788
|
-
}),
|
|
789
|
-
let e =
|
|
790
|
-
return e &&
|
|
785
|
+
]), Q = m(() => {
|
|
786
|
+
let e = L.value?.result.find((e) => e._id === M.value.camview.viewid) || L.value?.result[0];
|
|
787
|
+
return e ? (z.value = e, M.value.camview.viewid = e._id) : z.value = {}, e;
|
|
788
|
+
}), $ = m(() => Q.value?.cameras?.map((e) => e.cameraId) ?? []), Et = m(() => {
|
|
789
|
+
let e = ut.value;
|
|
790
|
+
return e && $.value.includes(e) ? [e] : $.value;
|
|
791
791
|
}), Dt = m(() => {
|
|
792
792
|
let e = {};
|
|
793
|
-
for (let t of
|
|
793
|
+
for (let t of P.value?.result ?? []) e[t._id] = t.name;
|
|
794
794
|
return e;
|
|
795
|
-
}), { master: Ot } =
|
|
795
|
+
}), { master: Ot } = me($, {
|
|
796
796
|
sourceRole: "low",
|
|
797
797
|
activeIds: Et
|
|
798
|
-
}), kt = m(() => Ot.mode.value !== "idle" && Ot.currentTimestamp.value > 0 ? Math.floor(Ot.currentTimestamp.value / 1e3) : void 0), At = m(() =>
|
|
798
|
+
}), kt = m(() => Ot.mode.value !== "idle" && Ot.currentTimestamp.value > 0 ? Math.floor(Ot.currentTimestamp.value / 1e3) : void 0), At = m(() => Z.value && z.value.viewSize > 0 ? z.value.viewSize : Q.value ? Q.value.viewSize : 1), jt = m(() => {
|
|
799
799
|
let e = [];
|
|
800
|
-
for (let t of
|
|
800
|
+
for (let t of L.value?.result || []) e.push({
|
|
801
801
|
label: t.name,
|
|
802
|
-
active: t._id ===
|
|
802
|
+
active: t._id === Q.value?._id,
|
|
803
803
|
onClick: () => Pt(t)
|
|
804
804
|
});
|
|
805
805
|
return e;
|
|
806
806
|
}), Mt = m(() => [{
|
|
807
|
-
label:
|
|
808
|
-
icon:
|
|
807
|
+
label: S("views.camview.new_view"),
|
|
808
|
+
icon: ot,
|
|
809
809
|
onClick: () => Nt("newView")
|
|
810
810
|
}]);
|
|
811
811
|
function Nt(e) {
|
|
812
812
|
switch (e) {
|
|
813
813
|
case "newView":
|
|
814
814
|
case "editView": {
|
|
815
|
-
let t = e === "editView", n =
|
|
816
|
-
t ?
|
|
815
|
+
let t = e === "editView", n = S(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
|
|
816
|
+
t ? B.value = !0 : V.value = !0, te.openComponentDialog(en, {
|
|
817
817
|
data: {
|
|
818
818
|
title: n,
|
|
819
|
-
loading:
|
|
820
|
-
confirmText:
|
|
819
|
+
loading: X,
|
|
820
|
+
confirmText: S("components.form.button.next"),
|
|
821
821
|
contentProps: {
|
|
822
|
-
form: t ?
|
|
822
|
+
form: t ? z.value : void 0,
|
|
823
823
|
type: "view",
|
|
824
|
-
cameras:
|
|
825
|
-
views:
|
|
824
|
+
cameras: P.value?.result || [],
|
|
825
|
+
views: L.value?.result || []
|
|
826
826
|
}
|
|
827
827
|
},
|
|
828
828
|
onConfirm: (e) => {
|
|
829
|
-
e && (
|
|
829
|
+
e && (z.value = e);
|
|
830
830
|
},
|
|
831
831
|
onCancel: () => {
|
|
832
|
-
|
|
832
|
+
V.value = !1;
|
|
833
833
|
}
|
|
834
834
|
});
|
|
835
835
|
break;
|
|
836
836
|
}
|
|
837
837
|
case "intercom":
|
|
838
|
-
|
|
838
|
+
te.openComponentDialog(xt, {
|
|
839
839
|
data: {
|
|
840
|
-
title:
|
|
840
|
+
title: S("components.dialog.title.intercom"),
|
|
841
841
|
hideConfirmButton: !0,
|
|
842
|
-
loading:
|
|
842
|
+
loading: X,
|
|
843
843
|
contentProps: {}
|
|
844
844
|
},
|
|
845
845
|
events: { listening: Xt }
|
|
846
846
|
});
|
|
847
847
|
break;
|
|
848
|
-
case "removeView":
|
|
848
|
+
case "removeView": te.openTextDialog({
|
|
849
849
|
data: {
|
|
850
|
-
title:
|
|
851
|
-
confirmText:
|
|
852
|
-
contentText:
|
|
850
|
+
title: S("components.dialog.title.confirm"),
|
|
851
|
+
confirmText: S("components.form.button.remove"),
|
|
852
|
+
contentText: S("components.dialog.message.confirm_remove_layout"),
|
|
853
853
|
confirmButtonProps: { severity: "danger" }
|
|
854
854
|
},
|
|
855
855
|
onConfirm: Ft
|
|
@@ -857,47 +857,47 @@ var gt = u({
|
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
859
|
function Pt(e) {
|
|
860
|
-
|
|
860
|
+
M.value.camview.viewid = e._id;
|
|
861
861
|
}
|
|
862
862
|
function Ft() {
|
|
863
|
-
|
|
864
|
-
username:
|
|
865
|
-
viewid:
|
|
863
|
+
Q.value && k.value && Le({
|
|
864
|
+
username: k.value.username,
|
|
865
|
+
viewid: Q.value._id
|
|
866
866
|
}, { onSuccess: (e) => {
|
|
867
|
-
e.length ?
|
|
867
|
+
e.length ? M.value.camview.viewid = e[0]._id : M.value.camview.viewid = void 0;
|
|
868
868
|
} });
|
|
869
869
|
}
|
|
870
870
|
async function It() {
|
|
871
|
-
if (!
|
|
872
|
-
let e =
|
|
871
|
+
if (!k.value || Object.keys(z.value).length === 0) return;
|
|
872
|
+
let e = Y.value.filter((e) => e.lastDroppedCamera).map((e) => ({
|
|
873
873
|
cameraId: e.lastDroppedCamera._id,
|
|
874
874
|
index: e.index,
|
|
875
875
|
colSpan: e.colSpan,
|
|
876
876
|
rowSpan: e.rowSpan
|
|
877
877
|
})).sort((e, t) => e.index - t.index);
|
|
878
878
|
if (!e.length) return;
|
|
879
|
-
let t =
|
|
880
|
-
t.cameras = e, t._id ? Ut(await
|
|
881
|
-
username:
|
|
879
|
+
let t = ge(z.value);
|
|
880
|
+
t.cameras = e, t._id ? Ut(await Ue({
|
|
881
|
+
username: k.value.username,
|
|
882
882
|
viewid: t._id,
|
|
883
883
|
viewData: t
|
|
884
|
-
})) : Ut(await
|
|
885
|
-
username:
|
|
884
|
+
})) : Ut(await Be({
|
|
885
|
+
username: k.value.username,
|
|
886
886
|
viewData: t
|
|
887
887
|
}));
|
|
888
888
|
}
|
|
889
889
|
function Lt(e, t) {
|
|
890
|
-
|
|
890
|
+
Y.value[e].lastDroppedCamera = t;
|
|
891
891
|
}
|
|
892
892
|
function Rt(e) {
|
|
893
|
-
|
|
893
|
+
Y.value = Y.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
|
|
894
894
|
}
|
|
895
895
|
function zt(e) {
|
|
896
|
-
return `${
|
|
896
|
+
return `${D.value ? "mobile" : "desktop"}:${e}`;
|
|
897
897
|
}
|
|
898
898
|
function Bt(e) {
|
|
899
|
-
let t =
|
|
900
|
-
t && (
|
|
899
|
+
let t = Q.value?._id;
|
|
900
|
+
t && (M.value.camview.layouts || (M.value.camview.layouts = {}), M.value.camview.layouts[zt(t)] = e.map((e) => ({
|
|
901
901
|
index: e.index,
|
|
902
902
|
cameraId: e.cameraId,
|
|
903
903
|
x: e.x ?? 0,
|
|
@@ -907,115 +907,115 @@ var gt = u({
|
|
|
907
907
|
})));
|
|
908
908
|
}
|
|
909
909
|
function Vt(e, t) {
|
|
910
|
-
|
|
910
|
+
ut.value = t ? e._id : null;
|
|
911
911
|
}
|
|
912
912
|
function Ht(e) {
|
|
913
|
-
let t =
|
|
914
|
-
t && e.cameraId && e.cameraId !== t &&
|
|
913
|
+
let t = ut.value;
|
|
914
|
+
t && e.cameraId && e.cameraId !== t && $.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
|
|
915
915
|
}
|
|
916
916
|
function Ut(e) {
|
|
917
|
-
|
|
917
|
+
M.value.camview.viewid = e._id, V.value = !1, B.value = !1;
|
|
918
918
|
}
|
|
919
919
|
async function Wt(e) {
|
|
920
|
-
let t =
|
|
921
|
-
if (t && n &&
|
|
922
|
-
|
|
920
|
+
let t = Q.value, n = k.value?.username;
|
|
921
|
+
if (t && n && vt.value !== e) {
|
|
922
|
+
ct.value = e;
|
|
923
923
|
try {
|
|
924
|
-
await
|
|
924
|
+
await Ke({
|
|
925
925
|
username: n,
|
|
926
926
|
viewid: t._id,
|
|
927
927
|
viewData: { cardFit: e }
|
|
928
928
|
});
|
|
929
929
|
} catch {
|
|
930
|
-
|
|
930
|
+
ct.value = void 0;
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
function Gt() {
|
|
935
|
-
|
|
935
|
+
R.value?.toggleFullscreen();
|
|
936
936
|
}
|
|
937
937
|
function Kt() {
|
|
938
|
-
|
|
938
|
+
G.value = !G.value, R.value?.toggleAllPlayerMute(G.value);
|
|
939
939
|
}
|
|
940
940
|
function qt(e) {
|
|
941
|
-
let t =
|
|
942
|
-
t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"),
|
|
941
|
+
let t = K.value;
|
|
942
|
+
t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), R.value?.toggleAllPlayerActivityMode(t), K.value = t;
|
|
943
943
|
}
|
|
944
944
|
async function Jt(e) {
|
|
945
|
-
let t =
|
|
946
|
-
t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await
|
|
945
|
+
let t = q.value;
|
|
946
|
+
t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await R.value?.toggleAllPlayerSourceRole(t), q.value = t;
|
|
947
947
|
}
|
|
948
948
|
async function Yt(e) {
|
|
949
|
-
let t =
|
|
949
|
+
let t = J.value;
|
|
950
950
|
t === "auto" && (t = "webrtc");
|
|
951
951
|
let n = e || (t === "mse" ? "webrtc" : "mse");
|
|
952
|
-
await
|
|
952
|
+
await R.value?.toggleAllPlayerStreamingMode(n), J.value = n;
|
|
953
953
|
}
|
|
954
954
|
async function Xt(e) {
|
|
955
|
-
await
|
|
955
|
+
await R.value?.toggleAllPlayerMicrophone(e);
|
|
956
956
|
}
|
|
957
|
-
return g(
|
|
958
|
-
e && (
|
|
959
|
-
}), g(() =>
|
|
960
|
-
|
|
957
|
+
return g(U, (e) => {
|
|
958
|
+
e && (it.value = !0);
|
|
959
|
+
}), g(() => Q.value?._id, () => {
|
|
960
|
+
ct.value = void 0;
|
|
961
961
|
}), g([
|
|
962
962
|
At,
|
|
963
|
-
$,
|
|
964
|
-
F,
|
|
965
963
|
Q,
|
|
966
|
-
|
|
967
|
-
|
|
964
|
+
P,
|
|
965
|
+
Z,
|
|
966
|
+
M,
|
|
967
|
+
D
|
|
968
968
|
], () => {
|
|
969
969
|
let e = Array.from({ length: At.value }).map((e, t) => ({
|
|
970
970
|
accept: "camera",
|
|
971
971
|
index: t,
|
|
972
972
|
lastDroppedCamera: void 0
|
|
973
973
|
}));
|
|
974
|
-
if (!
|
|
975
|
-
let t =
|
|
976
|
-
for (let t of
|
|
974
|
+
if (!V.value) {
|
|
975
|
+
let t = Q.value?._id, n = t ? zt(t) : void 0, r = n ? M.value.camview.layouts?.[n] : void 0, i = new Set(P.value?.result.map((e) => e._id) ?? []), a = !1;
|
|
976
|
+
for (let t of Q.value?.cameras || []) {
|
|
977
977
|
if (!e[t.index]) continue;
|
|
978
|
-
let n =
|
|
978
|
+
let n = P.value?.result.find((e) => e._id === t.cameraId);
|
|
979
979
|
e[t.index].lastDroppedCamera = n;
|
|
980
980
|
let o = r?.find((e) => e.index === t.index);
|
|
981
981
|
o && (!o.cameraId || i.has(o.cameraId) ? (e[t.index].x = o.x, e[t.index].y = o.y, e[t.index].colSpan = o.w, e[t.index].rowSpan = o.h) : a = !0);
|
|
982
982
|
}
|
|
983
|
-
a && n &&
|
|
983
|
+
a && n && M.value.camview.layouts?.[n] && (M.value.camview.layouts[n] = M.value.camview.layouts[n].filter((e) => !e.cameraId || i.has(e.cameraId)));
|
|
984
984
|
}
|
|
985
|
-
|
|
985
|
+
Y.value = e;
|
|
986
986
|
}, {
|
|
987
987
|
deep: !0,
|
|
988
988
|
immediate: !0
|
|
989
989
|
}), (t, n) => {
|
|
990
|
-
let r =
|
|
990
|
+
let r = Ie, i = Me, u = he, m = Je, g = Ge, ee = He, y = fe, S = se, C = Oe, w = Ae, E = ze, te = Ne, ie = Fe, ae = xe, ue = I, de = De, k = ke, A = oe, j = ne;
|
|
991
991
|
return a(), _("div", tn, [
|
|
992
|
-
|
|
993
|
-
"left-offset": p(
|
|
992
|
+
T(ie, {
|
|
993
|
+
"left-offset": p(ht),
|
|
994
994
|
animate: ""
|
|
995
995
|
}, {
|
|
996
|
-
left: h(() => [!p(
|
|
996
|
+
left: h(() => [!p(V) && p(Q) ? (a(), d(r, {
|
|
997
997
|
key: 0,
|
|
998
998
|
type: "dropdown",
|
|
999
|
-
label: p(
|
|
1000
|
-
"menu-open": p(
|
|
1001
|
-
disabled: p(
|
|
1002
|
-
onClick: n[0] ||= (e) => p(
|
|
999
|
+
label: p(Q).name,
|
|
1000
|
+
"menu-open": p(Xe)?.isOpen,
|
|
1001
|
+
disabled: p(X) || p(B),
|
|
1002
|
+
onClick: n[0] ||= (e) => p(Xe)?.toggleMenu(e)
|
|
1003
1003
|
}, null, 8, [
|
|
1004
1004
|
"label",
|
|
1005
1005
|
"menu-open",
|
|
1006
1006
|
"disabled"
|
|
1007
|
-
])) : p(
|
|
1007
|
+
])) : p(V) && p(z).name ? (a(), d(r, {
|
|
1008
1008
|
key: 1,
|
|
1009
|
-
label: p(
|
|
1010
|
-
disabled: p(
|
|
1009
|
+
label: p(z).name,
|
|
1010
|
+
disabled: p(X)
|
|
1011
1011
|
}, null, 8, ["label", "disabled"])) : f("", !0)]),
|
|
1012
1012
|
right: h(() => [
|
|
1013
|
-
!p(
|
|
1013
|
+
!p(Z) && p(Q) ? x((a(), d(r, {
|
|
1014
1014
|
key: 0,
|
|
1015
|
-
active: p(
|
|
1016
|
-
onClick: n[1] ||= (e) =>
|
|
1015
|
+
active: p(H),
|
|
1016
|
+
onClick: n[1] ||= (e) => H.value = !p(H)
|
|
1017
1017
|
}, {
|
|
1018
|
-
icon: h(() => [p(
|
|
1018
|
+
icon: h(() => [p(H) ? (a(), d(u, {
|
|
1019
1019
|
key: 1,
|
|
1020
1020
|
width: "100%",
|
|
1021
1021
|
height: "100%"
|
|
@@ -1026,178 +1026,178 @@ var gt = u({
|
|
|
1026
1026
|
}))]),
|
|
1027
1027
|
_: 1
|
|
1028
1028
|
}, 8, ["active"])), [[
|
|
1029
|
-
|
|
1030
|
-
{ value: p(
|
|
1029
|
+
j,
|
|
1030
|
+
{ value: p(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
|
|
1031
1031
|
void 0,
|
|
1032
1032
|
{ bottom: !0 }
|
|
1033
1033
|
]]) : f("", !0),
|
|
1034
|
-
!p(
|
|
1034
|
+
!p(Z) && p(Q) && p(H) && !p(D) ? x((a(), d(r, {
|
|
1035
1035
|
key: 1,
|
|
1036
|
-
onClick: n[2] ||= (e) => p(
|
|
1036
|
+
onClick: n[2] ||= (e) => p(R)?.fitAspectRatios()
|
|
1037
1037
|
}, {
|
|
1038
|
-
icon: h(() => [
|
|
1038
|
+
icon: h(() => [T(m, {
|
|
1039
1039
|
width: "100%",
|
|
1040
1040
|
height: "100%"
|
|
1041
1041
|
})]),
|
|
1042
1042
|
_: 1
|
|
1043
1043
|
})), [[
|
|
1044
|
-
|
|
1044
|
+
j,
|
|
1045
1045
|
{ value: t.$t("views.camview.rearrange_fit_aspect") },
|
|
1046
1046
|
void 0,
|
|
1047
1047
|
{ bottom: !0 }
|
|
1048
1048
|
]]) : f("", !0),
|
|
1049
|
-
!p(
|
|
1049
|
+
!p(Z) && p(Q) && p(H) && !p(D) ? x((a(), d(r, {
|
|
1050
1050
|
key: 2,
|
|
1051
|
-
onClick: n[3] ||= (e) => p(
|
|
1051
|
+
onClick: n[3] ||= (e) => p(R)?.compactGrid()
|
|
1052
1052
|
}, {
|
|
1053
|
-
icon: h(() => [
|
|
1053
|
+
icon: h(() => [T(g, {
|
|
1054
1054
|
width: "100%",
|
|
1055
1055
|
height: "100%"
|
|
1056
1056
|
})]),
|
|
1057
1057
|
_: 1
|
|
1058
1058
|
})), [[
|
|
1059
|
-
|
|
1059
|
+
j,
|
|
1060
1060
|
{ value: t.$t("views.camview.rearrange_auto") },
|
|
1061
1061
|
void 0,
|
|
1062
1062
|
{ bottom: !0 }
|
|
1063
1063
|
]]) : f("", !0),
|
|
1064
|
-
!p(
|
|
1064
|
+
!p(Z) && p(Q) ? x((a(), d(r, {
|
|
1065
1065
|
key: 3,
|
|
1066
|
-
active: p(
|
|
1067
|
-
"menu-open": p(
|
|
1068
|
-
onClick: n[4] ||= (e) => p(
|
|
1066
|
+
active: p(vt) !== "aspect",
|
|
1067
|
+
"menu-open": p($e)?.isOpen,
|
|
1068
|
+
onClick: n[4] ||= (e) => p($e)?.toggleMenu(e)
|
|
1069
1069
|
}, {
|
|
1070
|
-
icon: h(() => [
|
|
1070
|
+
icon: h(() => [T(ee, {
|
|
1071
1071
|
width: "100%",
|
|
1072
1072
|
height: "100%"
|
|
1073
1073
|
})]),
|
|
1074
1074
|
_: 1
|
|
1075
1075
|
}, 8, ["active", "menu-open"])), [[
|
|
1076
|
-
|
|
1076
|
+
j,
|
|
1077
1077
|
{ value: t.$t("views.camview.card_fit") },
|
|
1078
1078
|
void 0,
|
|
1079
1079
|
{ bottom: !0 }
|
|
1080
1080
|
]]) : f("", !0),
|
|
1081
|
-
!p(
|
|
1081
|
+
!p(Z) && p(Q) ? x((a(), d(r, {
|
|
1082
1082
|
key: 4,
|
|
1083
|
-
active: p(
|
|
1084
|
-
onClick: n[5] ||= (e) =>
|
|
1083
|
+
active: p(U),
|
|
1084
|
+
onClick: n[5] ||= (e) => U.value = !p(U)
|
|
1085
1085
|
}, {
|
|
1086
|
-
icon: h(() => [p(
|
|
1086
|
+
icon: h(() => [p(U) ? (a(), d(S, {
|
|
1087
1087
|
key: 1,
|
|
1088
1088
|
width: "100%",
|
|
1089
1089
|
height: "100%"
|
|
1090
|
-
})) : (a(), d(
|
|
1090
|
+
})) : (a(), d(y, {
|
|
1091
1091
|
key: 0,
|
|
1092
1092
|
width: "100%",
|
|
1093
1093
|
height: "100%"
|
|
1094
1094
|
}))]),
|
|
1095
1095
|
_: 1
|
|
1096
1096
|
}, 8, ["active"])), [[
|
|
1097
|
-
|
|
1098
|
-
{ value: p(
|
|
1097
|
+
j,
|
|
1098
|
+
{ value: p(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
|
|
1099
1099
|
void 0,
|
|
1100
1100
|
{ bottom: !0 }
|
|
1101
1101
|
]]) : f("", !0),
|
|
1102
|
-
!p(
|
|
1102
|
+
!p(Z) && p(Q) ? (a(), d(C, {
|
|
1103
1103
|
key: 5,
|
|
1104
1104
|
layout: "vertical"
|
|
1105
1105
|
})) : f("", !0),
|
|
1106
|
-
!p(
|
|
1106
|
+
!p(Z) && p(Q) ? x((a(), d(r, {
|
|
1107
1107
|
key: 6,
|
|
1108
|
-
disabled: p(
|
|
1108
|
+
disabled: p(H),
|
|
1109
1109
|
onClick: n[6] ||= (e) => Nt("removeView")
|
|
1110
1110
|
}, {
|
|
1111
|
-
icon: h(() => [
|
|
1111
|
+
icon: h(() => [T(w, {
|
|
1112
1112
|
width: "100%",
|
|
1113
1113
|
height: "100%"
|
|
1114
1114
|
})]),
|
|
1115
1115
|
_: 1
|
|
1116
1116
|
}, 8, ["disabled"])), [[
|
|
1117
|
-
|
|
1117
|
+
j,
|
|
1118
1118
|
{ value: t.$t("components.form.tooltip.delete") },
|
|
1119
1119
|
void 0,
|
|
1120
1120
|
{ bottom: !0 }
|
|
1121
1121
|
]]) : f("", !0),
|
|
1122
|
-
!p(
|
|
1122
|
+
!p(B) && !p(V) && p(Q) ? x((a(), d(r, {
|
|
1123
1123
|
key: 7,
|
|
1124
|
-
disabled: p(
|
|
1125
|
-
onClick: n[7] ||= (e) =>
|
|
1124
|
+
disabled: p(H),
|
|
1125
|
+
onClick: n[7] ||= (e) => B.value = !0
|
|
1126
1126
|
}, {
|
|
1127
|
-
icon: h(() => [E
|
|
1127
|
+
icon: h(() => [T(E, {
|
|
1128
1128
|
width: "100%",
|
|
1129
1129
|
height: "100%"
|
|
1130
1130
|
})]),
|
|
1131
1131
|
_: 1
|
|
1132
1132
|
}, 8, ["disabled"])), [[
|
|
1133
|
-
|
|
1133
|
+
j,
|
|
1134
1134
|
{ value: t.$t("components.form.tooltip.edit") },
|
|
1135
1135
|
void 0,
|
|
1136
1136
|
{ bottom: !0 }
|
|
1137
1137
|
]]) : f("", !0),
|
|
1138
|
-
!p(
|
|
1138
|
+
!p(B) && !p(V) ? x((a(), d(r, {
|
|
1139
1139
|
key: 8,
|
|
1140
|
-
disabled: p(
|
|
1141
|
-
onClick: p(
|
|
1140
|
+
disabled: p(H),
|
|
1141
|
+
onClick: p(Qe)?.toggleMenu
|
|
1142
1142
|
}, {
|
|
1143
|
-
icon: h(() => [
|
|
1144
|
-
class: c(["transform transition-transform duration-300", { "rotate-45": p(
|
|
1143
|
+
icon: h(() => [T(te, {
|
|
1144
|
+
class: c(["transform transition-transform duration-300", { "rotate-45": p(Qe)?.isOpen }]),
|
|
1145
1145
|
width: "100%",
|
|
1146
1146
|
height: "100%"
|
|
1147
1147
|
}, null, 8, ["class"])]),
|
|
1148
1148
|
_: 1
|
|
1149
1149
|
}, 8, ["disabled", "onClick"])), [[
|
|
1150
|
-
|
|
1150
|
+
j,
|
|
1151
1151
|
{ value: t.$t("components.form.tooltip.new") },
|
|
1152
1152
|
void 0,
|
|
1153
1153
|
{ bottom: !0 }
|
|
1154
1154
|
]]) : f("", !0),
|
|
1155
|
-
p(
|
|
1155
|
+
p(B) || p(V) ? (a(), d(r, {
|
|
1156
1156
|
key: 9,
|
|
1157
1157
|
label: t.$t("components.form.button.cancel"),
|
|
1158
|
-
onClick: n[8] ||= (e) => p(
|
|
1158
|
+
onClick: n[8] ||= (e) => p(B) ? B.value = !1 : V.value = !1
|
|
1159
1159
|
}, null, 8, ["label"])) : f("", !0),
|
|
1160
|
-
p(
|
|
1160
|
+
p(B) || p(V) ? (a(), d(r, {
|
|
1161
1161
|
key: 10,
|
|
1162
1162
|
label: t.$t("components.form.button.save"),
|
|
1163
|
-
disabled: p(
|
|
1163
|
+
disabled: p(Y).every((e) => e.lastDroppedCamera === void 0),
|
|
1164
1164
|
primary: "",
|
|
1165
1165
|
onClick: It
|
|
1166
1166
|
}, null, 8, ["label", "disabled"])) : f("", !0)
|
|
1167
1167
|
]),
|
|
1168
1168
|
_: 1
|
|
1169
1169
|
}, 8, ["left-offset"]),
|
|
1170
|
-
|
|
1170
|
+
b("div", {
|
|
1171
1171
|
class: c(["w-full h-full flex relative", {
|
|
1172
|
-
"flex-row": p(
|
|
1173
|
-
"flex-col": !p(
|
|
1172
|
+
"flex-row": p(O),
|
|
1173
|
+
"flex-col": !p(O)
|
|
1174
1174
|
}]),
|
|
1175
1175
|
style: v({ paddingTop: `${p(55)}px` })
|
|
1176
|
-
}, [
|
|
1176
|
+
}, [b("div", {
|
|
1177
1177
|
class: c(["flex relative z-1 camview-content-transition", {
|
|
1178
|
-
"h-full items-center justify-center": p(
|
|
1179
|
-
"w-full items-start justify-start": !p(
|
|
1178
|
+
"h-full items-center justify-center": p(O) || !p(L)?.result.length,
|
|
1179
|
+
"w-full items-start justify-start": !p(O) && p(L)?.result.length
|
|
1180
1180
|
}]),
|
|
1181
|
-
style: v(p(
|
|
1182
|
-
}, [p(
|
|
1181
|
+
style: v(p(St))
|
|
1182
|
+
}, [p(pt) ? (a(), _("div", nn, [(a(), d(ae, {
|
|
1183
1183
|
key: 0,
|
|
1184
1184
|
class: "w-[30px] h-[30px] m-0",
|
|
1185
1185
|
"stroke-width": "5"
|
|
1186
|
-
}))])) : !p(
|
|
1186
|
+
}))])) : !p(Q) && !p(V) ? (a(), _("div", rn, [b("div", an, [T(ue, { class: "w-12 h-12 text-muted" }), b("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p(Q) || p(V) ? (a(), _("div", {
|
|
1187
1187
|
key: 2,
|
|
1188
|
-
class: c(["w-full h-full", { "p-2 pb-0": !p(
|
|
1189
|
-
}, [(a(), d(
|
|
1188
|
+
class: c(["w-full h-full", { "p-2 pb-0": !p(D) }])
|
|
1189
|
+
}, [(a(), d(je, {
|
|
1190
1190
|
ref_key: "viewDndRef",
|
|
1191
|
-
ref:
|
|
1192
|
-
key: p(
|
|
1193
|
-
cameras: p(
|
|
1194
|
-
"edit-mode": p(
|
|
1195
|
-
"rearrange-mode": p(
|
|
1196
|
-
"view-size": p(
|
|
1197
|
-
title: p(
|
|
1198
|
-
cards: p(
|
|
1199
|
-
"camera-card-props": p(
|
|
1200
|
-
"camera-card-models": p(
|
|
1191
|
+
ref: R,
|
|
1192
|
+
key: p(M).camview.viewid + (p(V) ? "-new" : p(B) ? "-edit" : "-view"),
|
|
1193
|
+
cameras: p(P)?.result || [],
|
|
1194
|
+
"edit-mode": p(V) || p(B),
|
|
1195
|
+
"rearrange-mode": p(H),
|
|
1196
|
+
"view-size": p(V) ? p(z).viewSize : p(At),
|
|
1197
|
+
title: p(z).name,
|
|
1198
|
+
cards: p(Y),
|
|
1199
|
+
"camera-card-props": p(bt),
|
|
1200
|
+
"camera-card-models": p(dt),
|
|
1201
1201
|
onDrop: Lt,
|
|
1202
1202
|
onRemove: Rt,
|
|
1203
1203
|
onChangeViewSize: n[9] ||= (e) => Nt("editView"),
|
|
@@ -1212,37 +1212,37 @@ var gt = u({
|
|
|
1212
1212
|
"cards",
|
|
1213
1213
|
"camera-card-props",
|
|
1214
1214
|
"camera-card-models"
|
|
1215
|
-
]))], 2)) : f("", !0)], 6),
|
|
1216
|
-
name: p(
|
|
1217
|
-
onBeforeEnter: n[10] ||= (e) =>
|
|
1218
|
-
onAfterEnter: n[11] ||= (e) =>
|
|
1219
|
-
onBeforeLeave: n[12] ||= (e) =>
|
|
1215
|
+
]))], 2)) : f("", !0)], 6), T(e, {
|
|
1216
|
+
name: p(O) ? "slide-left" : "slide-up",
|
|
1217
|
+
onBeforeEnter: n[10] ||= (e) => W.value = !0,
|
|
1218
|
+
onAfterEnter: n[11] ||= (e) => it.value = !1,
|
|
1219
|
+
onBeforeLeave: n[12] ||= (e) => W.value = !1
|
|
1220
1220
|
}, {
|
|
1221
|
-
default: h(() => [p(
|
|
1221
|
+
default: h(() => [p(U) ? (a(), d(p(ce), {
|
|
1222
1222
|
key: 0,
|
|
1223
1223
|
"camera-ids": p(Et),
|
|
1224
|
-
"event-camera-ids": p(
|
|
1224
|
+
"event-camera-ids": p($),
|
|
1225
1225
|
"camera-names": p(Dt),
|
|
1226
1226
|
"initial-timestamp": p(kt),
|
|
1227
1227
|
onEventSelect: Ht,
|
|
1228
|
-
loading: p(
|
|
1229
|
-
type: p(
|
|
1228
|
+
loading: p(it),
|
|
1229
|
+
type: p(O) ? "vertical" : "horizontal",
|
|
1230
1230
|
"dark-mode": "",
|
|
1231
|
-
"md-breakpoint": p(
|
|
1231
|
+
"md-breakpoint": p(le),
|
|
1232
1232
|
class: c(["shrink-0 transition-[left] duration-200", {
|
|
1233
|
-
"h-full w-[400px] pt-2 pr-2": p(
|
|
1234
|
-
"h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !p(
|
|
1235
|
-
"p-0! pt-2! border-color": p(
|
|
1233
|
+
"h-full w-[400px] pt-2 pr-2": p(O),
|
|
1234
|
+
"h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !p(O),
|
|
1235
|
+
"p-0! pt-2! border-color": p(D)
|
|
1236
1236
|
}]),
|
|
1237
1237
|
"card-class": {
|
|
1238
1238
|
"!shadow-xl": !0,
|
|
1239
|
-
"!rounded-none border-l-0! border-r-0!": p(
|
|
1239
|
+
"!rounded-none border-l-0! border-r-0!": p(D)
|
|
1240
1240
|
},
|
|
1241
|
-
style: v(p(
|
|
1242
|
-
left: `${p(
|
|
1243
|
-
bottom: `calc(${p(
|
|
1241
|
+
style: v(p(O) ? void 0 : {
|
|
1242
|
+
left: `${p(ht)}px`,
|
|
1243
|
+
bottom: `calc(${p(re)}px + var(--safe-area-inset-bottom))`
|
|
1244
1244
|
}),
|
|
1245
|
-
"locale-settings": p(
|
|
1245
|
+
"locale-settings": p(gt)
|
|
1246
1246
|
}, null, 8, [
|
|
1247
1247
|
"camera-ids",
|
|
1248
1248
|
"event-camera-ids",
|
|
@@ -1258,9 +1258,9 @@ var gt = u({
|
|
|
1258
1258
|
])) : f("", !0)]),
|
|
1259
1259
|
_: 1
|
|
1260
1260
|
}, 8, ["name"])], 6),
|
|
1261
|
-
!p(
|
|
1261
|
+
!p(Z) && p(Q) ? (a(), d(k, {
|
|
1262
1262
|
key: 0,
|
|
1263
|
-
model: p(
|
|
1263
|
+
model: p(Tt),
|
|
1264
1264
|
direction: "up",
|
|
1265
1265
|
"transition-delay": 80,
|
|
1266
1266
|
"tooltip-options": {
|
|
@@ -1270,22 +1270,22 @@ var gt = u({
|
|
|
1270
1270
|
class: "absolute right-2 z-11 dark-mode",
|
|
1271
1271
|
pt: { root: { style: "pointer-events: none" } },
|
|
1272
1272
|
style: v({
|
|
1273
|
-
bottom: p(
|
|
1274
|
-
right: p(
|
|
1273
|
+
bottom: p(O) ? "0" : `calc(${p(W) ? 192 : 0}px + ${p(re) > 0 ? "0.5rem" : "0px"})`,
|
|
1274
|
+
right: p(O) ? `calc(${p(W) ? 400 : 0}px + 0.5rem)` : "0.5rem",
|
|
1275
1275
|
transition: "bottom 0.25s ease-out, right 0.25s ease-out"
|
|
1276
1276
|
})
|
|
1277
1277
|
}, {
|
|
1278
|
-
button: h(({ visible: e, toggleCallback: t }) => [
|
|
1278
|
+
button: h(({ visible: e, toggleCallback: t }) => [T(de, {
|
|
1279
1279
|
severity: "secondary",
|
|
1280
1280
|
class: c(["dark-mode opacity-40 hover:opacity-100 active:opacity-100 focus:opacity-100 transition pointer-events-auto", { "opacity-100": e }]),
|
|
1281
1281
|
rounded: "",
|
|
1282
|
-
loading: p(
|
|
1282
|
+
loading: p(X),
|
|
1283
1283
|
onClick: t
|
|
1284
1284
|
}, {
|
|
1285
|
-
icon: h(() => [
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1285
|
+
icon: h(() => [b("div", sn, [
|
|
1286
|
+
b("div", { class: c(["bg-white absolute top-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] rotate-45 top-1/2 -translate-y-1/2 rounded-none": e }]) }, null, 2),
|
|
1287
|
+
b("div", { class: c(["bg-white absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-1.5 h-1.5 rounded-full transition-all duration-100", { "opacity-0 scale-0": e }]) }, null, 2),
|
|
1288
|
+
b("div", { class: c(["bg-white absolute bottom-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] -rotate-45 bottom-1/2 translate-y-1/2 rounded-none": e }]) }, null, 2)
|
|
1289
1289
|
])]),
|
|
1290
1290
|
_: 2
|
|
1291
1291
|
}, 1032, [
|
|
@@ -1293,8 +1293,8 @@ var gt = u({
|
|
|
1293
1293
|
"loading",
|
|
1294
1294
|
"onClick"
|
|
1295
1295
|
])]),
|
|
1296
|
-
item: h(({ item: e, toggleCallback: t }) => [
|
|
1297
|
-
loading: p(
|
|
1296
|
+
item: h(({ item: e, toggleCallback: t }) => [x((a(), d(de, s({
|
|
1297
|
+
loading: p(X),
|
|
1298
1298
|
severity: "secondary"
|
|
1299
1299
|
}, e.buttonProps, {
|
|
1300
1300
|
rounded: "",
|
|
@@ -1302,24 +1302,24 @@ var gt = u({
|
|
|
1302
1302
|
}), {
|
|
1303
1303
|
icon: h(() => [(a(), d(l(e.icon)))]),
|
|
1304
1304
|
_: 2
|
|
1305
|
-
}, 1040, ["loading", "onClick"])), [[
|
|
1305
|
+
}, 1040, ["loading", "onClick"])), [[j, { value: e.label }]])]),
|
|
1306
1306
|
_: 1
|
|
1307
1307
|
}, 8, ["model", "style"])) : f("", !0),
|
|
1308
|
-
|
|
1308
|
+
T(A, {
|
|
1309
1309
|
ref_key: "menuRef",
|
|
1310
|
-
ref:
|
|
1310
|
+
ref: Xe,
|
|
1311
1311
|
items: p(jt),
|
|
1312
1312
|
popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
|
|
1313
1313
|
}, null, 8, ["items"]),
|
|
1314
|
-
|
|
1314
|
+
T(A, {
|
|
1315
1315
|
ref_key: "cardFitMenuRef",
|
|
1316
|
-
ref:
|
|
1317
|
-
items: p(
|
|
1316
|
+
ref: $e,
|
|
1317
|
+
items: p(yt),
|
|
1318
1318
|
popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
|
|
1319
1319
|
}, null, 8, ["items"]),
|
|
1320
|
-
|
|
1320
|
+
T(A, {
|
|
1321
1321
|
ref_key: "newViewMenuRef",
|
|
1322
|
-
ref:
|
|
1322
|
+
ref: Qe,
|
|
1323
1323
|
items: p(Mt),
|
|
1324
1324
|
popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
|
|
1325
1325
|
}, null, 8, ["items"])
|