@camera.ui/server 2.2.5-beta.1 → 2.2.5-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/assets/404-BDvtK1qR.js +1 -0
- package/dist/interface/assets/About-B4A35rRx.js +1 -0
- package/dist/interface/assets/Assistant-BKxssfw-.js +1 -0
- package/dist/interface/assets/Automation-CP59cgP7.js +3 -0
- package/dist/interface/assets/AutomationImport-CEJdhE_d.js +2 -0
- package/dist/interface/assets/AutomationStore-BZGR_5Xl.js +2 -0
- package/dist/interface/assets/AutomationStoreDetail-BenRMMtV.js +2 -0
- package/dist/interface/assets/Automations-BpXorYAS.js +2 -0
- package/dist/interface/assets/Camera-UBUfaR5a.js +2 -0
- package/dist/interface/assets/CameraConsole-D24yXOQn.js +7 -0
- package/dist/interface/assets/Cameras-B21Y8MdQ.js +651 -0
- package/dist/interface/assets/Camview-BySyPtU5.js +1 -0
- package/dist/interface/assets/CertificateUpload-26LAL4MY.js +1 -0
- package/dist/interface/assets/Config-BGyGmukb.js +2 -0
- package/dist/interface/assets/ConfigActionAssistant-Cl_kr3hp.js +1 -0
- package/dist/interface/assets/ConfigActionCameraControl-CL4vXcNe.js +1 -0
- package/dist/interface/assets/ConfigActionDelay-DtPgmqWh.js +1 -0
- package/dist/interface/assets/ConfigActionHttp-DnkZTP5l.js +1 -0
- package/dist/interface/assets/ConfigActionImageInput-3svn6YP9.js +1 -0
- package/dist/interface/assets/ConfigActionMqtt-BTsFTLgm.js +1 -0
- package/dist/interface/assets/ConfigActionNotification-Cr4xJrZp.js +1 -0
- package/dist/interface/assets/ConfigActionNotificationControl-Cxkb_g8p.js +1 -0
- package/dist/interface/assets/ConfigActionOutput-WTr7FGf_.js +1 -0
- package/dist/interface/assets/ConfigActionPlugin-BpcJepbD.js +1 -0
- package/dist/interface/assets/ConfigActionSensor-BgD_F-hD.js +1 -0
- package/dist/interface/assets/ConfigActionSnapshot-DjR-Z08N.js +1 -0
- package/dist/interface/assets/ConfigActionVariable-gPuPbjpm.js +1 -0
- package/dist/interface/assets/ConfigConditionIfElse-CUHKJmPx.js +1 -0
- package/dist/interface/assets/ConfigConditionSensorState-D-gPRqMu.js +1 -0
- package/dist/interface/assets/ConfigConditionSwitch-BRf1T5tJ.js +1 -0
- package/dist/interface/assets/ConfigConditionTime-BC0n6sWO.js +1 -0
- package/dist/interface/assets/ConfigSensorValueInput-BUHapx4M.js +1 -0
- package/dist/interface/assets/ConfigTriggerDetection-Byd6SLGg.js +1 -0
- package/dist/interface/assets/ConfigTriggerGeofence-CkzTFEZn.js +1 -0
- package/dist/interface/assets/ConfigTriggerManual-B2dWcFrl.js +1 -0
- package/dist/interface/assets/ConfigTriggerMqtt-B_aUDBu4.js +1 -0
- package/dist/interface/assets/ConfigTriggerSchedule-DAZo1PLj.js +1 -0
- package/dist/interface/assets/ConfigTriggerSensor-BCqAiPu4.js +1 -0
- package/dist/interface/assets/ConfigTriggerSystem-DuBydCiq.js +1 -0
- package/dist/interface/assets/ConfigTriggerWebhook-DDsnpwJr.js +1 -0
- package/dist/interface/assets/Console-HXmKYaK_.js +1 -0
- package/dist/interface/assets/CuiAssistantConversation-2qrRCsgw.js +5 -0
- package/dist/interface/assets/CuiAutomationRunsDialog-C_sMg7E1.js +1 -0
- package/dist/interface/assets/CuiBottomSheet-CTr-KHC8.js +1 -0
- package/dist/interface/assets/CuiBottomSheet-D_0LrjA_.js +1 -0
- package/dist/interface/assets/CuiCameraPipCard-BZCayhy_.js +1 -0
- package/dist/interface/assets/CuiCameraRecordings-BbaEL2ST.js +1 -0
- package/dist/interface/assets/CuiCameraShares-BIUB1xMa.js +1 -0
- package/dist/interface/assets/CuiCameraTable-C5tQHs63.js +1 -0
- package/dist/interface/assets/CuiCameraTable-D-UhqHk4.js +2 -0
- package/dist/interface/assets/CuiChartTable-CSK4Mzn3.js +1 -0
- package/dist/interface/assets/CuiConsole-DAbJXJBq.js +5 -0
- package/dist/interface/assets/CuiDataTable-DgcJsG-K.js +1 -0
- package/dist/interface/assets/CuiLightControl-v6k9hVGl.js +1 -0
- package/dist/interface/assets/CuiList-HdsA9vV1.js +1 -0
- package/dist/interface/assets/CuiMarkdownContent-BUYtK_wD.js +1 -0
- package/dist/interface/assets/CuiMarkdownContent-DSArmS0V.js +1 -0
- package/dist/interface/assets/CuiPluginCard-5MRYJcF2.js +2 -0
- package/dist/interface/assets/CuiPluginCategoryChip-C7R1jP7r.js +1 -0
- package/dist/interface/assets/CuiPluginOAuthButton-BJJw0IaC.js +2 -0
- package/dist/interface/assets/CuiPluginTrustBadge-Bmm1qYdC.js +1 -0
- package/dist/interface/assets/CuiQRCode-DTSEFMBt.js +1 -0
- package/dist/interface/assets/CuiSchema-BDXeXora.js +1 -0
- package/dist/interface/assets/CuiTopNavbarItem-BVknLbRO.js +1 -0
- package/dist/interface/assets/Faces-BEpYvbB0.js +1 -0
- package/dist/interface/assets/FirstSteps-U93RDOcP.js +1 -0
- package/dist/interface/assets/Floorplan-D8XoCNOB.js +1 -0
- package/dist/interface/assets/Instances-CFwZotvU.js +1 -0
- package/dist/interface/assets/Logs-BjcfuMQV.js +6 -0
- package/dist/interface/assets/Menu-BjjnSgdP.js +1 -0
- package/dist/interface/assets/Metrics-BUP_-7o7.css +1 -0
- package/dist/interface/assets/Metrics-Ca_d5CbP.js +12 -0
- package/dist/interface/assets/OAuthDeviceFlow-9v-Czy_u.js +1 -0
- package/dist/interface/assets/Plugin-BjLw46Sw.js +1 -0
- package/dist/interface/assets/PluginConsole-C7sO42RG.js +7 -0
- package/dist/interface/assets/PluginDetail-BuLW4lkN.js +2 -0
- package/dist/interface/assets/PluginSchema-D0eL9H-b.js +1 -0
- package/dist/interface/assets/PluginSearch--LLMEeyx.js +2 -0
- package/dist/interface/assets/PluginSearch-0akjE0ef.js +1 -0
- package/dist/interface/assets/PluginUpdateProgress--MM9D8hs.js +1 -0
- package/dist/interface/assets/Plugins-26O511gf.js +1 -0
- package/dist/interface/assets/RecentEventsFilter-CvIJS8Se.js +1 -0
- package/dist/interface/assets/Recordings-DQOGeSFm.js +1 -0
- package/dist/interface/assets/SensorEdit-DEW5D80x.js +1 -0
- package/dist/interface/assets/SensorHistory-Efw0bZ-X.js +1 -0
- package/dist/interface/assets/Sensors-C8yOyAwo.js +2 -0
- package/dist/interface/assets/Settings-B-RgMeVm.js +1 -0
- package/dist/interface/assets/SettingsAccount-B6aXFx3F.js +1 -0
- package/dist/interface/assets/SettingsAccount-_0ccrXYU.js +1 -0
- package/dist/interface/assets/SettingsAppearance-CkDwzx6f.js +1 -0
- package/dist/interface/assets/SettingsAppearance-DBFE3uVH.js +1 -0
- package/dist/interface/assets/SettingsAssistant-DN5OUJqt.js +1 -0
- package/dist/interface/assets/SettingsBackup-BqKBKis5.js +1 -0
- package/dist/interface/assets/SettingsList-BU191rmt.js +1 -0
- package/dist/interface/assets/SettingsMqtt-hsKZkU-o.js +1 -0
- package/dist/interface/assets/SettingsNotifications-DIeiUEAk.js +1 -0
- package/dist/interface/assets/SettingsPermissions-sI64FPZG.js +1 -0
- package/dist/interface/assets/SettingsRecordings-CghrKErw.js +1 -0
- package/dist/interface/assets/SettingsRemote-Doa0aBMC.js +2 -0
- package/dist/interface/assets/SettingsSystem-DP1p1Xns.js +2 -0
- package/dist/interface/assets/SettingsUsers-Dpej-he1.js +1 -0
- package/dist/interface/assets/Terminal-DPRPXCSt.js +4 -0
- package/dist/interface/assets/Training-DYlefOX1.js +1 -0
- package/dist/interface/assets/Updates-QTvCp1aS.js +2 -0
- package/dist/interface/assets/VariableInput-DhusSZPw.js +1 -0
- package/dist/interface/assets/VariableSuggestions-Bkzz4Mv3.js +1 -0
- package/dist/interface/assets/VersionsHandler-DjNSpSYy.js +7 -0
- package/dist/interface/assets/VirtualSensorCreate-soGT6h2c.js +1 -0
- package/dist/interface/assets/Workers-CUVvTuts.js +2 -0
- package/dist/interface/assets/account-Bu30He0P.js +1 -0
- package/dist/interface/assets/alert-circle-D2fAQwTX.js +1 -0
- package/dist/interface/assets/alert-outline-D7zaSJH_.js +1 -0
- package/dist/interface/assets/api-B0wYDGQj.css +2 -0
- package/dist/interface/assets/api-BNrZVfeD.js +4 -0
- package/dist/interface/assets/api-CK2tonlH.js +1 -0
- package/dist/interface/assets/arrow-left-BGLyEqqa.js +1 -0
- package/dist/interface/assets/assistant-BEe1ExZL.js +1 -0
- package/dist/interface/assets/assistantModels-D0soYqq7.js +1 -0
- package/dist/interface/assets/auth-QEpUGkWd.js +1 -0
- package/dist/interface/assets/automations-BBIBV4Uu.js +1 -0
- package/dist/interface/assets/back-filled-BPBVnQjx.js +1 -0
- package/dist/interface/assets/bell-ring-CyCFPUL_.js +1 -0
- package/dist/interface/assets/brain-CIJB1ree.js +1 -0
- package/dist/interface/assets/cameraSources-Cm18cW9L.js +1 -0
- package/dist/interface/assets/cctv-D6kxZ-lp.js +1 -0
- package/dist/interface/assets/check-circle-DHAAn6A6.js +1 -0
- package/dist/interface/assets/check-circle-outline-BbqeKfIK.js +1 -0
- package/dist/interface/assets/chevron-down-ZYTrU871.js +1 -0
- package/dist/interface/assets/chevron-up-LQXNz9CE.js +1 -0
- package/dist/interface/assets/clock-outline-CKTiLKoR.js +1 -0
- package/dist/interface/assets/close-BbEPZQqa.js +1 -0
- package/dist/interface/assets/close-circle-BSUSUs4K.js +1 -0
- package/dist/interface/assets/cloud-check-BTGbrAQ_.js +1 -0
- package/dist/interface/assets/cloudHandoff-Dnndt2el.js +1 -0
- package/dist/interface/assets/config-vwkU8aqP.js +1 -0
- package/dist/interface/assets/content-copy-V0DW9ZbH.js +1 -0
- package/dist/interface/assets/copy-DsmMEtSH.js +1 -0
- package/dist/interface/assets/cube-scan-DGhUFV1x.js +1 -0
- package/dist/interface/assets/delete-CY8fsIW6.js +1 -0
- package/dist/interface/assets/dist-DNyx_J8o.js +1 -0
- package/dist/interface/assets/dots-vertical-pP1vP0Qa.js +1 -0
- package/dist/interface/assets/download-CyjJ7yJW.js +1 -0
- package/dist/interface/assets/esm-4Hzzm93H.js +1 -0
- package/dist/interface/assets/esm-BrFPi5_4.js +1 -0
- package/dist/interface/assets/esm-C7pcdfXf.js +1 -0
- package/dist/interface/assets/esm-C8bsO829.js +1 -0
- package/dist/interface/assets/esm-CXzdnAMk.js +1 -0
- package/dist/interface/assets/esm-CZNGZkPu.js +1 -0
- package/dist/interface/assets/esm-D0iI7OVb.js +1 -0
- package/dist/interface/assets/esm-DKolm6KU.js +1 -0
- package/dist/interface/assets/esm-DTywI9gs.js +1 -0
- package/dist/interface/assets/esm-DifXcK9i.js +1 -0
- package/dist/interface/assets/esm-Dq5o-Xb4.js +1 -0
- package/dist/interface/assets/esm-IbQuUZ5l.js +1 -0
- package/dist/interface/assets/esm-Xre_AP5i.js +1 -0
- package/dist/interface/assets/esm-zYnXHhpH.js +1 -0
- package/dist/interface/assets/eventIcons-cdzqQc0W.js +1 -0
- package/dist/interface/assets/eye-off-JCu1iUer.js +1 -0
- package/dist/interface/assets/eye-off-outline-GErp76H2.js +1 -0
- package/dist/interface/assets/flowSchema-rzBroL0H.js +1 -0
- package/dist/interface/assets/help-circle-outline-G43EJuch.js +1 -0
- package/dist/interface/assets/history-CNJREqJG.js +1 -0
- package/dist/interface/assets/home-B-_OQpZ6.js +1 -0
- package/dist/interface/assets/information-outline-Blt4EtWJ.js +1 -0
- package/dist/interface/assets/intercomService-Du8V_HxF.js +1 -0
- package/dist/interface/assets/lan-C3jliANx.js +1 -0
- package/dist/interface/assets/main-CRlC4FBY.js +3 -0
- package/dist/interface/assets/microphone-B6xc9JQ2.js +1 -0
- package/dist/interface/assets/minus-BI5qXFwJ.js +1 -0
- package/dist/interface/assets/mqtt-BY6-Hrbv.js +1 -0
- package/dist/interface/assets/native-CAujTO6L.js +1 -0
- package/dist/interface/assets/native-sQ88qazf.js +1 -0
- package/dist/interface/assets/nodeDefinitions-Dop49tx8.js +1 -0
- package/dist/interface/assets/notifications-CN6eTJb_.js +1 -0
- package/dist/interface/assets/pause-DKzvPG2b.js +1 -0
- package/dist/interface/assets/pencil-DKbi9SsG.js +1 -0
- package/dist/interface/assets/pencil-outline-CD3Xv98d.js +1 -0
- package/dist/interface/assets/plugin-D7K50k_y.js +1 -0
- package/dist/interface/assets/plugins-DKtX7zQp.js +1 -0
- package/dist/interface/assets/plus--kDl8ben.js +1 -0
- package/dist/interface/assets/plus-CHPYoMO_.js +1 -0
- package/dist/interface/assets/power-C9wmNlFS.js +1 -0
- package/dist/interface/assets/radar-B3ra28GD.js +1 -0
- package/dist/interface/assets/refresh-DfqyhMOh.js +1 -0
- package/dist/interface/assets/restore-FMacmqd_.js +1 -0
- package/dist/interface/assets/ring-resize-DyqCo2UN.js +1 -0
- package/dist/interface/assets/rooms-BHP4q6yf.js +1 -0
- package/dist/interface/assets/round-alt-arrow-left-bold-56eF9Bol.js +1 -0
- package/dist/interface/assets/search-BXbDWhLk.js +1 -0
- package/dist/interface/assets/sensorIcons-ztqlMLDc.js +1 -0
- package/dist/interface/assets/sensorSlots-D-uxjuv3.js +1 -0
- package/dist/interface/assets/sensors-DV2Z0IJt.js +1 -0
- package/dist/interface/assets/server-CfZnIVzn.js +1 -0
- package/dist/interface/assets/settings-Cw63SIJl.js +1 -0
- package/dist/interface/assets/source-branch-oyzrlfCD.js +1 -0
- package/dist/interface/assets/theme-Bi7qdjBK.js +1 -0
- package/dist/interface/assets/trash-2-BQc04l9M.js +1 -0
- package/dist/interface/assets/trash-can-outline-Bk5eENNM.js +1 -0
- package/dist/interface/assets/trash-fill-CXk8BmtF.js +1 -0
- package/dist/interface/assets/trash2-2rUvghml.js +1 -0
- package/dist/interface/assets/types-CNLAvgyw.js +1 -0
- package/dist/interface/assets/types-DuwD8xp5.js +1 -0
- package/dist/interface/assets/types-DwbeYXvn.js +1 -0
- package/dist/interface/assets/undo-Dcf7vcsv.js +1 -0
- package/dist/interface/assets/ungrouped-DHLAmt__.js +1 -0
- package/dist/interface/assets/updates-BqCH6Vr8.js +1 -0
- package/dist/interface/assets/upload-B-ZYPekV.js +1 -0
- package/dist/interface/assets/upload-nnbfDypK.js +1 -0
- package/dist/interface/assets/useAppVersion-B-rmq3Bb.js +1 -0
- package/dist/interface/assets/useAssistantActions-Kf-5ijVf.js +1 -0
- package/dist/interface/assets/useBackupRestore-Dj-ZXODq.js +1 -0
- package/dist/interface/assets/useCameraOptions-Dt2J8sP_.js +1 -0
- package/dist/interface/assets/useKeyboardInset-DtD3I2WC.js +1 -0
- package/dist/interface/assets/useLogsSocket-CEhUQdiY.js +1 -0
- package/dist/interface/assets/useNavLayout-CtpYjS5W.js +1 -0
- package/dist/interface/assets/usePermissions-CJzuagwD.js +1 -0
- package/dist/interface/assets/usePluginUpdates-BwoWN5yb.js +1 -0
- package/dist/interface/assets/usePushRegistration-ANx4BS6_.js +2 -0
- package/dist/interface/assets/useServerRestart-7edyD8M0.js +1 -0
- package/dist/interface/assets/useStreamStatus-DCSWHdbW.js +1 -0
- package/dist/interface/assets/useTabSwipe-DfS3R3uP.js +1 -0
- package/dist/interface/assets/useUpdateChannel-Cr9mSIRC.js +1 -0
- package/dist/interface/assets/useUpdatesSocket-B5Rm9syb.js +1 -0
- package/dist/interface/assets/useUserOptions-CJjImz8V.js +1 -0
- package/dist/interface/assets/variable-CcE0ZwTr.js +1 -0
- package/dist/interface/assets/vendor-DGke_6M4.js +23 -0
- package/dist/interface/assets/vendor-cameraui-BbGOMenD.js +2326 -0
- package/dist/interface/assets/vendor-capacitor-COL6Kz75.js +2 -0
- package/dist/interface/assets/vendor-chart-80wrH3md.js +3 -0
- package/dist/interface/assets/vendor-core-tgH2YubJ.js +1 -0
- package/dist/interface/assets/vendor-dnd-CEJS9JKU.js +2 -0
- package/dist/interface/assets/vendor-draggabilly-BY7O1F_Z.js +1 -0
- package/dist/interface/assets/vendor-markdown-DD4teg2u.js +14 -0
- package/dist/interface/assets/vendor-primevue-DNJJiEZl.js +3942 -0
- package/dist/interface/assets/vendor-vueflow-Bmwd2les.js +26 -0
- package/dist/interface/assets/web-3M-ddn4G.js +1 -0
- package/dist/interface/assets/web-BY80VGyU.js +1 -0
- package/dist/interface/assets/web-B_tUYyM0.js +1 -0
- package/dist/interface/assets/web-BjKL51lK-Bb5NYhpJ.js +1 -0
- package/dist/interface/assets/web-Bv-4PJGI.js +1 -0
- package/dist/interface/assets/web-C3Pk8qeB.js +1 -0
- package/dist/interface/assets/web-CLcvGPH6.js +1 -0
- package/dist/interface/assets/web-DO8gTOVJ.js +1 -0
- package/dist/interface/assets/web-DR5q_DmI.js +1 -0
- package/dist/interface/assets/web-DRHbG4Te.js +1 -0
- package/dist/interface/assets/web-DaQ8d8yk.js +1 -0
- package/dist/interface/assets/web-EVRW5whF.js +1 -0
- package/dist/interface/assets/web-S6Dk3UWN.js +1 -0
- package/dist/interface/assets/web-pWIp0wf0.js +1 -0
- package/dist/interface/assets/webhook-oVbP79Yk.js +1 -0
- package/dist/interface/assets/workbox-window.prod.es5-Dz5rcO1z.js +1 -0
- package/dist/interface/assets/zoom-in-GKNy8xA7.js +1 -0
- package/dist/interface/ha/404-Dl6JtQWv.js +60 -0
- package/dist/interface/ha/About-wjv4kCO3.js +55 -0
- package/dist/interface/ha/Assistant-Dpb4IsDC.js +9209 -0
- package/dist/interface/ha/Automation-CqTPjCUh.js +2025 -0
- package/dist/interface/ha/AutomationImport-CvdeneoU.js +206 -0
- package/dist/interface/ha/AutomationStore-bVPE68io.js +336 -0
- package/dist/interface/ha/AutomationStoreDetail-BYaNUjoH.js +122 -0
- package/dist/interface/ha/Automations-BfsYh2A_.js +424 -0
- package/dist/interface/ha/Camera-C70onr_O.js +654 -0
- package/dist/interface/ha/CameraConsole-Dg3lV-wq.js +52 -0
- package/dist/interface/ha/Cameras-DpM6gt3G.js +1970 -0
- package/dist/interface/ha/Camview-CO_bHntH.js +1331 -0
- package/dist/interface/ha/CertificateUpload-PS47Kgbg.js +117 -0
- package/dist/interface/ha/Config-D-cpocuH.js +356 -0
- package/dist/interface/ha/ConfigActionAssistant-DVVVfVvT.js +182 -0
- package/dist/interface/ha/ConfigActionCameraControl-BPpzE9-F.js +152 -0
- package/dist/interface/ha/ConfigActionDelay-zU6H75hY.js +61 -0
- package/dist/interface/ha/ConfigActionHttp-BsNy03j4.js +134 -0
- package/dist/interface/ha/ConfigActionImageInput-JUvNYn0w.js +171 -0
- package/dist/interface/ha/ConfigActionMqtt-PZqAKfTo.js +81 -0
- package/dist/interface/ha/ConfigActionNotification-DIL7abEm.js +199 -0
- package/dist/interface/ha/ConfigActionNotificationControl-BQ2w5yeg.js +111 -0
- package/dist/interface/ha/ConfigActionOutput-DVilKhPV.js +98 -0
- package/dist/interface/ha/ConfigActionPlugin-BUfTEJQ_.js +172 -0
- package/dist/interface/ha/ConfigActionSensor-Dzp16VyX.js +139 -0
- package/dist/interface/ha/ConfigActionSnapshot-CRjD5AMC.js +48 -0
- package/dist/interface/ha/ConfigActionVariable-CR8g7gEh.js +88 -0
- package/dist/interface/ha/ConfigConditionIfElse-CHoSgzXF.js +124 -0
- package/dist/interface/ha/ConfigConditionSensorState-Dn8_OhQe.js +192 -0
- package/dist/interface/ha/ConfigConditionSwitch-Ds-nqWeU.js +128 -0
- package/dist/interface/ha/ConfigConditionTime-DWNfEluj.js +95 -0
- package/dist/interface/ha/ConfigSensorValueInput-DwXM9wP1.js +170 -0
- package/dist/interface/ha/ConfigTriggerDetection-D37OkR_u.js +241 -0
- package/dist/interface/ha/ConfigTriggerGeofence-EbXy_y3Q.js +4888 -0
- package/dist/interface/ha/ConfigTriggerManual-B0DDQtoz.js +14 -0
- package/dist/interface/ha/ConfigTriggerMqtt-BX6uNEZy.js +134 -0
- package/dist/interface/ha/ConfigTriggerSchedule-_ThdB8Bb.js +72 -0
- package/dist/interface/ha/ConfigTriggerSensor-BFGEtBVF.js +73 -0
- package/dist/interface/ha/ConfigTriggerSystem-fRnAgUGR.js +192 -0
- package/dist/interface/ha/ConfigTriggerWebhook-DegifRdj.js +94 -0
- package/dist/interface/ha/Console-Bo6S5psN.js +348 -0
- package/dist/interface/ha/CuiAutomationRunsDialog-DXpNJqDE.js +130 -0
- package/dist/interface/ha/CuiBottomSheet-DLkC2OmT.js +270 -0
- package/dist/interface/ha/CuiCameraRecordings-9tdkxXiT.js +552 -0
- package/dist/interface/ha/CuiCameraShares-BbqY_2b7.js +121 -0
- package/dist/interface/ha/CuiCameraTable-BmH1yAgl.js +169 -0
- package/dist/interface/ha/CuiChartTable-BjBBI7Fo.js +6786 -0
- package/dist/interface/ha/CuiConsole-By3m4UbE.js +244 -0
- package/dist/interface/ha/CuiDataTable-C_ndu5My.js +8732 -0
- package/dist/interface/ha/CuiList-CU2NJ1K6.js +57 -0
- package/dist/interface/ha/CuiMarkdownContent-CrkZwv5j.js +4724 -0
- package/dist/interface/ha/CuiPluginCard-BLQ1galy.js +769 -0
- package/dist/interface/ha/CuiPluginOAuthButton-BDghklSy.js +79 -0
- package/dist/interface/ha/CuiPluginTrustBadge-DolANNao.js +123 -0
- package/dist/interface/ha/CuiQRCode-CcjPngXI.js +86 -0
- package/dist/interface/ha/CuiSchema-D9JFf0dp.js +963 -0
- package/dist/interface/ha/CuiTopNavbarItem-DcUEq-4e.js +141 -0
- package/dist/interface/ha/Faces-DjXHzr77.js +1282 -0
- package/dist/interface/ha/FirstSteps-CQAP9Siw.js +251 -0
- package/dist/interface/ha/Floorplan-DyaPzlQO.js +3657 -0
- package/dist/interface/ha/Instances-DWjaU5gj.js +680 -0
- package/dist/interface/ha/Logs-Dlx-X1NS.js +418 -0
- package/dist/interface/ha/Menu-iqEe01qO.js +156 -0
- package/dist/interface/ha/Metrics-Br2Dyvzh.js +1444 -0
- package/dist/interface/ha/OAuthDeviceFlow-CIGk92FD.js +112 -0
- package/dist/interface/ha/Plugin-DklIr7j2.js +1405 -0
- package/dist/interface/ha/PluginConsole-DCfxPtGU.js +56 -0
- package/dist/interface/ha/PluginDetail-BFfRnkdG.js +230 -0
- package/dist/interface/ha/PluginSearch-BTKBnjxb.js +462 -0
- package/dist/interface/ha/PluginUpdateProgress-Dej5AcCt.js +34 -0
- package/dist/interface/ha/Plugins-C2fONspm.js +692 -0
- package/dist/interface/ha/RecentEventsFilter-ylgjiDo8.js +79 -0
- package/dist/interface/ha/Recordings-w39I43cc.js +1498 -0
- package/dist/interface/ha/SensorEdit-BkKi1l-A.js +1462 -0
- package/dist/interface/ha/SensorHistory-BGJjMlc3.js +54 -0
- package/dist/interface/ha/Sensors-D_Wi9XPa.js +1386 -0
- package/dist/interface/ha/Settings-Bn7WLWf0.js +218 -0
- package/dist/interface/ha/SettingsAccount-CRTex-1j.js +971 -0
- package/dist/interface/ha/SettingsAppearance-B1qmJnYk.js +220 -0
- package/dist/interface/ha/SettingsAssistant-DDd1X0BC.js +1857 -0
- package/dist/interface/ha/SettingsBackup-DZbhSB13.js +556 -0
- package/dist/interface/ha/SettingsList-BQdyPe0H.js +40 -0
- package/dist/interface/ha/SettingsMqtt-CSZcY6ht.js +526 -0
- package/dist/interface/ha/SettingsNotifications-CfEhl0-y.js +529 -0
- package/dist/interface/ha/SettingsPermissions-Jh0FuIF7.js +84 -0
- package/dist/interface/ha/SettingsRecordings-BnAGDvcH.js +152 -0
- package/dist/interface/ha/SettingsRemote-w86TQVUA.js +1810 -0
- package/dist/interface/ha/SettingsSystem-CENjHL3k.js +376 -0
- package/dist/interface/ha/SettingsUsers-CqSHRklV.js +379 -0
- package/dist/interface/ha/Terminal-WsuxG3k-.js +617 -0
- package/dist/interface/ha/Training-hu_XOYBk.js +1505 -0
- package/dist/interface/ha/Updates-Dl_lLLR2.js +343 -0
- package/dist/interface/ha/VariableInput-C8Q81GUt.js +52 -0
- package/dist/interface/ha/VariableSuggestions-DXV2b7S4.js +201 -0
- package/dist/interface/ha/VersionsHandler-BOvjesvp.js +216 -0
- package/dist/interface/ha/VirtualSensorCreate-sgwATaky.js +101 -0
- package/dist/interface/ha/Workers-CkDuQ9NG.js +765 -0
- package/dist/interface/ha/accordion-Xem2SzgR.js +577 -0
- package/dist/interface/ha/account-DJh6O-cw.js +19 -0
- package/dist/interface/ha/alert-circle-C7oDe-WY.js +19 -0
- package/dist/interface/ha/alert-outline-FcLLjoOK.js +89 -0
- package/dist/interface/ha/api-BmYisoxj.js +62452 -0
- package/dist/interface/ha/api-oqpIZTkx.js +29 -0
- package/dist/interface/ha/arrow-left-OsxzW9Af.js +19 -0
- package/dist/interface/ha/assistant-0jE4C19U.js +345 -0
- package/dist/interface/ha/auth-B4Msg7R-.js +271 -0
- package/dist/interface/ha/autocomplete-B94Amei3.js +1373 -0
- package/dist/interface/ha/automationBlueprint-C-12Yjl7.js +250 -0
- package/dist/interface/ha/back-filled-CaxrZv0Q.js +20 -0
- package/dist/interface/ha/bell-ring-CBt11ejv.js +19 -0
- package/dist/interface/ha/brain-BiKXGva0.js +19 -0
- package/dist/interface/ha/button-BouAFgf5.js +406 -0
- package/dist/interface/ha/cameraui-cards.js +1 -1
- package/dist/interface/ha/cards-BrOcoiQJ.js +13352 -0
- package/dist/interface/ha/cctv-BD2g3nbO.js +19 -0
- package/dist/interface/ha/check-circle-B5OGJJIu.js +19 -0
- package/dist/interface/ha/check-circle-outline-DS7eEinv.js +19 -0
- package/dist/interface/ha/checkbox-CAKzZcqk.js +279 -0
- package/dist/interface/ha/chevron-down-BNj8w2js.js +19 -0
- package/dist/interface/ha/chevron-up-DDKj43BW.js +19 -0
- package/dist/interface/ha/chip-BTHURsTF.js +149 -0
- package/dist/interface/ha/clock-outline-DNStdM39.js +19 -0
- package/dist/interface/ha/close-CxFbonhd.js +19 -0
- package/dist/interface/ha/close-circle-DfYSNAKm.js +19 -0
- package/dist/interface/ha/cloud-check-aaxn1VZr.js +33 -0
- package/dist/interface/ha/config-IG56wp6m.js +116 -0
- package/dist/interface/ha/content-copy-CHPYjxRC.js +19 -0
- package/dist/interface/ha/copy-ApwNNqcL.js +22 -0
- package/dist/interface/ha/datepicker-B4Azs5zr.js +2961 -0
- package/dist/interface/ha/delete-DWdURc9X.js +19 -0
- package/dist/interface/ha/dist-C6MBHJhs.js +3251 -0
- package/dist/interface/ha/divider-DeFEXTGs.js +110 -0
- package/dist/interface/ha/dots-vertical-B0dv1-jL.js +19 -0
- package/dist/interface/ha/download-B64w9GvF.js +19 -0
- package/dist/interface/ha/eventIcons-BFNUgeGr.js +676 -0
- package/dist/interface/ha/eye-off-UG_p9nl8.js +33 -0
- package/dist/interface/ha/eye-off-outline-ACbzsGuK.js +19 -0
- package/dist/interface/ha/help-circle-outline-BniRuJRv.js +19 -0
- package/dist/interface/ha/history-XMyO_cLc.js +19 -0
- package/dist/interface/ha/home-36M6iydk.js +19 -0
- package/dist/interface/ha/information-outline-DSSRyysT.js +19 -0
- package/dist/interface/ha/inputicon-1w06U-Jl.js +324 -0
- package/dist/interface/ha/inputnumber-DZRwKgXr.js +1033 -0
- package/dist/interface/ha/inputtext-C_ygnPrC.js +257 -0
- package/dist/interface/ha/intercomService-B7HkLs6z.js +1414 -0
- package/dist/interface/ha/message-D6dIy_hz.js +244 -0
- package/dist/interface/ha/microphone-C4oQPpzp.js +19 -0
- package/dist/interface/ha/minus-Bp1AYyQv.js +46 -0
- package/dist/interface/ha/minus-D3V6azhV.js +19 -0
- package/dist/interface/ha/mqtt-pl13wSmG.js +56 -0
- package/dist/interface/ha/multiselect-Dp4XDBRR.js +1492 -0
- package/dist/interface/ha/notifications-B6wxSmou.js +159 -0
- package/dist/interface/ha/pause-BbFQ0FqK.js +19 -0
- package/dist/interface/ha/pencil-outline-SN9ingm5.js +19 -0
- package/dist/interface/ha/pinia-C6gt7A_Q.js +7641 -0
- package/dist/interface/ha/plugins-BwwaWxye.js +592 -0
- package/dist/interface/ha/plus-CgxY7W0L.js +19 -0
- package/dist/interface/ha/plus-brDoEzN2.js +46 -0
- package/dist/interface/ha/progressbar-CaUaM8Bt.js +95 -0
- package/dist/interface/ha/protocol-BB4jdtUC-DW3jl2tV.js +708 -0
- package/dist/interface/ha/radar-BG-Tcwg_.js +19 -0
- package/dist/interface/ha/refresh-CpjKkasY.js +19 -0
- package/dist/interface/ha/restore-BxzmXRET.js +19 -0
- package/dist/interface/ha/ring-resize-Dr2PxWIg.js +16 -0
- package/dist/interface/ha/ripple-ZDATPc2w.js +2928 -0
- package/dist/interface/ha/rooms-NIzjFYAd.js +45 -0
- package/dist/interface/ha/round-alt-arrow-left-bold-DDy2dLUM.js +37 -0
- package/dist/interface/ha/runtime-core.esm-bundler-_TfE0DWz.js +3306 -0
- package/dist/interface/ha/search-BViwEHdF.js +19 -0
- package/dist/interface/ha/select-UR3ZRDew.js +1382 -0
- package/dist/interface/ha/server-YOLwDVAW.js +239 -0
- package/dist/interface/ha/settings-lWJfHaif.js +22 -0
- package/dist/interface/ha/source-branch-C2kcmBcO.js +19 -0
- package/dist/interface/ha/speeddial-LCbl5g8p.js +682 -0
- package/dist/interface/ha/spinner-DIILjDT9.js +46 -0
- package/dist/interface/ha/tag-mchuCAPR.js +95 -0
- package/dist/interface/ha/textarea-ByXnzJzx.js +130 -0
- package/dist/interface/ha/tooltip-Z7VN-E1u.js +277 -0
- package/dist/interface/ha/trash-2-pgydLlch.js +23 -0
- package/dist/interface/ha/trash-can-outline-CBwv40Ck.js +19 -0
- package/dist/interface/ha/trash-fill-TFkvFuRj.js +21 -0
- package/dist/interface/ha/types-B8B9MqK0.js +1062 -0
- package/dist/interface/ha/types-XqA3YJPD.js +123 -0
- package/dist/interface/ha/ungrouped-DttNEB62.js +1320 -0
- package/dist/interface/ha/updates-DVhiQhMM.js +341 -0
- package/dist/interface/ha/upload-B-9Mumdm.js +19 -0
- package/dist/interface/ha/upload-BF0iIQFa.js +23 -0
- package/dist/interface/ha/useAppVersion-CG4D44Aa.js +22 -0
- package/dist/interface/ha/useAssistantActions-S1FrNe9b.js +29 -0
- package/dist/interface/ha/useLogsSocket-PKsRDttg.js +59 -0
- package/dist/interface/ha/useNavLayout-DoEcPx9Z.js +125 -0
- package/dist/interface/ha/usePermissions-DaE_wFch.js +72 -0
- package/dist/interface/ha/useServerRestart-CMl589qX.js +23 -0
- package/dist/interface/ha/useTabSwipe-Cmqdn0J5.js +45 -0
- package/dist/interface/ha/useUpdateChannel-BBW2EX7N.js +22 -0
- package/dist/interface/ha/useUpdatesSocket-B6ICpKKC.js +34 -0
- package/dist/interface/ha/useUserOptions-CzclRfar.js +15 -0
- package/dist/interface/ha/virtualscroller-C5j7FXj4.js +996 -0
- package/dist/interface/ha/vue-flow-background-8ZUqhPBF.js +6835 -0
- package/dist/interface/ha/vue-i18n-D5EAy78K.js +2422 -0
- package/dist/interface/ha/zoom-in-BCxZo2jC.js +41 -0
- package/dist/interface/index.html +68 -68
- package/dist/interface/sw.js +1 -1
- package/dist/server/package.json +16 -16
- package/dist/server/requirements.txt +2 -2
- package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/streaming.py +4 -0
- package/dist/server/src/api/controllers/cameras.controller.d.ts +1 -1
- package/dist/server/src/api/controllers/cameras.controller.js +5 -1
- package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
- package/dist/server/src/api/controllers/shares.controller.js +2 -2
- package/dist/server/src/api/controllers/shares.controller.js.map +1 -1
- package/dist/server/src/api/services/cameras.service.d.ts +1 -0
- package/dist/server/src/api/services/cameras.service.js +21 -20
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/services/shares.service.d.ts +4 -2
- package/dist/server/src/api/services/shares.service.js +9 -11
- package/dist/server/src/api/services/shares.service.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/main.d.ts +7 -2
- package/dist/server/src/api/websocket/nsp/main.js +38 -18
- package/dist/server/src/api/websocket/nsp/main.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/metrics.d.ts +4 -0
- package/dist/server/src/api/websocket/nsp/metrics.js +33 -0
- package/dist/server/src/api/websocket/nsp/metrics.js.map +1 -1
- package/dist/server/src/api/websocket/types.d.ts +9 -0
- package/dist/server/src/assistant/tools/system.js +6 -9
- package/dist/server/src/assistant/tools/system.js.map +1 -1
- package/dist/server/src/camera/controller.d.ts +7 -3
- package/dist/server/src/camera/controller.js +88 -68
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/camera/utils.d.ts +5 -4
- package/dist/server/src/camera/utils.js +69 -307
- package/dist/server/src/camera/utils.js.map +1 -1
- package/dist/server/src/go2rtc/api/routes/streams.d.ts +1 -2
- package/dist/server/src/go2rtc/api/routes/streams.js +0 -7
- package/dist/server/src/go2rtc/api/routes/streams.js.map +1 -1
- package/dist/server/src/go2rtc/index.js +2 -0
- package/dist/server/src/go2rtc/index.js.map +1 -1
- package/dist/server/src/go2rtc/state.d.ts +66 -0
- package/dist/server/src/go2rtc/state.js +194 -0
- package/dist/server/src/go2rtc/state.js.map +1 -0
- package/dist/server/src/go2rtc/stream-rates.d.ts +12 -0
- package/dist/server/src/go2rtc/stream-rates.js +44 -0
- package/dist/server/src/go2rtc/stream-rates.js.map +1 -0
- package/dist/server/src/go2rtc/types.d.ts +23 -0
- package/dist/server/src/go2rtc/types.js.map +1 -1
- package/dist/server/src/main.d.ts +1 -0
- package/dist/server/src/main.js +3 -0
- package/dist/server/src/main.js.map +1 -1
- package/package.json +16 -16
- package/dist/interface/assets/404-6ZpTZ3KD.js +0 -1
- package/dist/interface/assets/About-DNvcZ3EY.js +0 -1
- package/dist/interface/assets/Assistant-kFFjOesz.js +0 -1
- package/dist/interface/assets/Automation-DPH-VMGf.js +0 -3
- package/dist/interface/assets/AutomationImport-Db74ZBgg.js +0 -2
- package/dist/interface/assets/AutomationStore-CFnapdvO.js +0 -2
- package/dist/interface/assets/AutomationStoreDetail-BCmfVMtC.js +0 -2
- package/dist/interface/assets/Automations-D41at64b.js +0 -2
- package/dist/interface/assets/Camera-BhFx-a1S.js +0 -2
- package/dist/interface/assets/CameraConsole-C89mOigo.js +0 -7
- package/dist/interface/assets/Cameras-TiX75P_R.js +0 -651
- package/dist/interface/assets/Camview-Bs3Ze0VB.js +0 -1
- package/dist/interface/assets/CertificateUpload-DBfJBo-w.js +0 -1
- package/dist/interface/assets/Config-CiCqmjhC.js +0 -2
- package/dist/interface/assets/ConfigActionAssistant-DCW9F-o_.js +0 -1
- package/dist/interface/assets/ConfigActionCameraControl-V170tTXG.js +0 -1
- package/dist/interface/assets/ConfigActionDelay-D1CZOls9.js +0 -1
- package/dist/interface/assets/ConfigActionHttp-ZOsjh7jZ.js +0 -1
- package/dist/interface/assets/ConfigActionImageInput-Dq5NtDno.js +0 -1
- package/dist/interface/assets/ConfigActionMqtt-Cyk0f9mh.js +0 -1
- package/dist/interface/assets/ConfigActionNotification-Ca6IygV-.js +0 -1
- package/dist/interface/assets/ConfigActionNotificationControl-CCiWBmJq.js +0 -1
- package/dist/interface/assets/ConfigActionOutput-B4zPAsNS.js +0 -1
- package/dist/interface/assets/ConfigActionPlugin-C25suoOA.js +0 -1
- package/dist/interface/assets/ConfigActionSensor-CgIBk5qS.js +0 -1
- package/dist/interface/assets/ConfigActionSnapshot-Dj4_bcR-.js +0 -1
- package/dist/interface/assets/ConfigActionVariable-CDlIj4Ji.js +0 -1
- package/dist/interface/assets/ConfigConditionIfElse-B9Q2pZxM.js +0 -1
- package/dist/interface/assets/ConfigConditionSensorState-DrOBPrDB.js +0 -1
- package/dist/interface/assets/ConfigConditionSwitch-BdfA75Z4.js +0 -1
- package/dist/interface/assets/ConfigConditionTime-CCpFkanY.js +0 -1
- package/dist/interface/assets/ConfigSensorValueInput-B7Qc06SA.js +0 -1
- package/dist/interface/assets/ConfigTriggerDetection-QOLhT23F.js +0 -1
- package/dist/interface/assets/ConfigTriggerGeofence-HUhmtzd_.js +0 -1
- package/dist/interface/assets/ConfigTriggerManual-Bpyy9Jzz.js +0 -1
- package/dist/interface/assets/ConfigTriggerMqtt-wxB4LtkP.js +0 -1
- package/dist/interface/assets/ConfigTriggerSchedule-D7X5Oa5t.js +0 -1
- package/dist/interface/assets/ConfigTriggerSensor-DM7qewdx.js +0 -1
- package/dist/interface/assets/ConfigTriggerSystem-CK573JKn.js +0 -1
- package/dist/interface/assets/ConfigTriggerWebhook-yoouSRHG.js +0 -1
- package/dist/interface/assets/Console-BCL2lVJv.js +0 -1
- package/dist/interface/assets/CuiAssistantConversation-BmjsGo2l.js +0 -5
- package/dist/interface/assets/CuiAutomationRunsDialog-BFZjtF9o.js +0 -1
- package/dist/interface/assets/CuiBottomSheet-CVHz2Vrq.js +0 -1
- package/dist/interface/assets/CuiBottomSheet-DLtu4FrC.js +0 -1
- package/dist/interface/assets/CuiCameraPipCard-BGZQsVHc.js +0 -1
- package/dist/interface/assets/CuiCameraRecordings-5pcLjdf8.js +0 -1
- package/dist/interface/assets/CuiCameraShares-CNNvqXns.js +0 -1
- package/dist/interface/assets/CuiCameraTable-BDN5NGr2.js +0 -1
- package/dist/interface/assets/CuiCameraTable-DF_IOFyD.js +0 -2
- package/dist/interface/assets/CuiChartTable-rOLdUaOa.js +0 -1
- package/dist/interface/assets/CuiConsole-B75tQO-y.js +0 -5
- package/dist/interface/assets/CuiDataTable-C8ZywwaZ.js +0 -1
- package/dist/interface/assets/CuiLightControl-D6PaG8aL.js +0 -1
- package/dist/interface/assets/CuiList-B8wJe291.js +0 -1
- package/dist/interface/assets/CuiMarkdownContent-D-S1LZy3.js +0 -1
- package/dist/interface/assets/CuiMarkdownContent-yHrnDzQd.js +0 -1
- package/dist/interface/assets/CuiPluginCard-aGMkvpeM.js +0 -2
- package/dist/interface/assets/CuiPluginCategoryChip-BCgADU71.js +0 -1
- package/dist/interface/assets/CuiPluginOAuthButton-mrm1vDAP.js +0 -2
- package/dist/interface/assets/CuiPluginTrustBadge-J3818in1.js +0 -1
- package/dist/interface/assets/CuiQRCode-Dv4w0udN.js +0 -1
- package/dist/interface/assets/CuiSchema-Cn5geGt7.js +0 -1
- package/dist/interface/assets/CuiTopNavbarItem-cP_SiDnw.js +0 -1
- package/dist/interface/assets/Faces-b611-5Ep.js +0 -1
- package/dist/interface/assets/FirstSteps-DcVdjoXr.js +0 -1
- package/dist/interface/assets/Floorplan-CZu7D3L2.js +0 -1
- package/dist/interface/assets/Instances-BGM2M_vr.js +0 -1
- package/dist/interface/assets/Logs-BXDALPw6.js +0 -6
- package/dist/interface/assets/Menu-DV63hDK5.js +0 -1
- package/dist/interface/assets/Metrics-CrojTUIw.js +0 -9
- package/dist/interface/assets/Metrics-Ebv4qK2a.css +0 -1
- package/dist/interface/assets/OAuthDeviceFlow-E2q5BNUN.js +0 -1
- package/dist/interface/assets/Plugin-BFovKMPD.js +0 -1
- package/dist/interface/assets/PluginConsole-BLG5Srww.js +0 -7
- package/dist/interface/assets/PluginDetail-Dghf_z9y.js +0 -2
- package/dist/interface/assets/PluginSchema-C3u0PCYu.js +0 -1
- package/dist/interface/assets/PluginSearch-DQb6r45_.js +0 -1
- package/dist/interface/assets/PluginSearch-XaJOsyFA.js +0 -2
- package/dist/interface/assets/PluginUpdateProgress-tMIWjHFs.js +0 -1
- package/dist/interface/assets/Plugins-DgKXf65s.js +0 -1
- package/dist/interface/assets/RecentEventsFilter-DlzWA8QR.js +0 -1
- package/dist/interface/assets/Recordings-DC47F4WC.js +0 -1
- package/dist/interface/assets/SensorEdit-BDeJ0tjj.js +0 -1
- package/dist/interface/assets/SensorHistory-C8oPVJEX.js +0 -1
- package/dist/interface/assets/Sensors-C29BBaNa.js +0 -2
- package/dist/interface/assets/Settings-bn3Pokuq.js +0 -1
- package/dist/interface/assets/SettingsAccount-B-SSNfmo.js +0 -1
- package/dist/interface/assets/SettingsAccount-BXClgcHw.js +0 -1
- package/dist/interface/assets/SettingsAppearance-1KCm8sJO.js +0 -1
- package/dist/interface/assets/SettingsAppearance-C5rHbPxY.js +0 -1
- package/dist/interface/assets/SettingsAssistant-ndgpk0jF.js +0 -1
- package/dist/interface/assets/SettingsBackup-Cw0OoGGY.js +0 -1
- package/dist/interface/assets/SettingsList--FB27rY6.js +0 -1
- package/dist/interface/assets/SettingsMqtt-DrHwxyfj.js +0 -1
- package/dist/interface/assets/SettingsNotifications-CHFxYyBM.js +0 -1
- package/dist/interface/assets/SettingsPermissions-CtR3k4N9.js +0 -1
- package/dist/interface/assets/SettingsRecordings-YTMBWiO2.js +0 -1
- package/dist/interface/assets/SettingsRemote-DTZo7Tnk.js +0 -2
- package/dist/interface/assets/SettingsSystem-C9L3_BPg.js +0 -2
- package/dist/interface/assets/SettingsUsers-BK6d7cMj.js +0 -1
- package/dist/interface/assets/Terminal-DWa4f8GL.js +0 -4
- package/dist/interface/assets/Training-BsgWYOlp.js +0 -1
- package/dist/interface/assets/Updates-CSvohiVI.js +0 -2
- package/dist/interface/assets/VariableInput-CiWT5dul.js +0 -1
- package/dist/interface/assets/VariableSuggestions-pbXYBWuw.js +0 -1
- package/dist/interface/assets/VersionsHandler-BE-YNUTe.js +0 -7
- package/dist/interface/assets/VirtualSensorCreate-Ba4XwvcD.js +0 -1
- package/dist/interface/assets/Workers-BtHqRqzx.js +0 -2
- package/dist/interface/assets/account-BxoX10XU.js +0 -1
- package/dist/interface/assets/alert-circle-pr3uC6jZ.js +0 -1
- package/dist/interface/assets/alert-outline-DHaYL1DY.js +0 -1
- package/dist/interface/assets/api--1J-SAjn.js +0 -1
- package/dist/interface/assets/api-C7-TgfI0.js +0 -4
- package/dist/interface/assets/api-DcaDMCnj.css +0 -2
- package/dist/interface/assets/arrow-left-5ht64ZGB.js +0 -1
- package/dist/interface/assets/assistant-Cl_fhAuJ.js +0 -1
- package/dist/interface/assets/assistantModels-DPcZCyld.js +0 -1
- package/dist/interface/assets/auth-CbzQl7TC.js +0 -1
- package/dist/interface/assets/automations-tJ_M8mwQ.js +0 -1
- package/dist/interface/assets/back-filled-BncmhmK7.js +0 -1
- package/dist/interface/assets/bell-ring-BrHmFuCb.js +0 -1
- package/dist/interface/assets/brain-DbFpT7Cq.js +0 -1
- package/dist/interface/assets/cameraSources-BoPq2cHU.js +0 -1
- package/dist/interface/assets/cctv-DO-BmfXS.js +0 -1
- package/dist/interface/assets/check-circle-DefdZO6b.js +0 -1
- package/dist/interface/assets/check-circle-outline-DLeND8yu.js +0 -1
- package/dist/interface/assets/chevron-down-COQqnpYB.js +0 -1
- package/dist/interface/assets/chevron-up-D1Xd7VoH.js +0 -1
- package/dist/interface/assets/clock-outline-DLIhBBQh.js +0 -1
- package/dist/interface/assets/close-C_pY8d5W.js +0 -1
- package/dist/interface/assets/close-circle-CUM5zI7N.js +0 -1
- package/dist/interface/assets/cloud-check-CqURJGod.js +0 -1
- package/dist/interface/assets/cloudHandoff-U-ME7kxo.js +0 -1
- package/dist/interface/assets/config-ConCokYZ.js +0 -1
- package/dist/interface/assets/content-copy-M0zk9eVL.js +0 -1
- package/dist/interface/assets/copy-DbP_BYcc.js +0 -1
- package/dist/interface/assets/cube-scan-DUOB_hmY.js +0 -1
- package/dist/interface/assets/delete-rtnOkwr8.js +0 -1
- package/dist/interface/assets/dist-Ce8wBKXN.js +0 -1
- package/dist/interface/assets/dots-vertical-BBZiQrJI.js +0 -1
- package/dist/interface/assets/download-CV7ETeuV.js +0 -1
- package/dist/interface/assets/esm-B0uV7sCS.js +0 -1
- package/dist/interface/assets/esm-B2yI2eHV.js +0 -1
- package/dist/interface/assets/esm-BGznyI26.js +0 -1
- package/dist/interface/assets/esm-BU06bvS2.js +0 -1
- package/dist/interface/assets/esm-CDZvvPo-.js +0 -1
- package/dist/interface/assets/esm-CQhKa6pe.js +0 -1
- package/dist/interface/assets/esm-C_cunepi.js +0 -1
- package/dist/interface/assets/esm-D7Wl3e71.js +0 -1
- package/dist/interface/assets/esm-DF51BosK.js +0 -1
- package/dist/interface/assets/esm-DGnwYAQM.js +0 -1
- package/dist/interface/assets/esm-DOPi7vcu.js +0 -1
- package/dist/interface/assets/esm-DhUjXDgk.js +0 -1
- package/dist/interface/assets/esm-Dy2zOjxI.js +0 -1
- package/dist/interface/assets/esm-kUcKqIWx.js +0 -1
- package/dist/interface/assets/eventIcons-CCFi3Fbj.js +0 -1
- package/dist/interface/assets/eye-off-CvhN3zxZ.js +0 -1
- package/dist/interface/assets/eye-off-outline-CCqCZfJ6.js +0 -1
- package/dist/interface/assets/flowSchema-CmXSZKQe.js +0 -1
- package/dist/interface/assets/help-circle-outline-CQl2D4oN.js +0 -1
- package/dist/interface/assets/history-BXFIMe6V.js +0 -1
- package/dist/interface/assets/home-D7fG7atW.js +0 -1
- package/dist/interface/assets/information-outline-1WzSLz5m.js +0 -1
- package/dist/interface/assets/intercomService-DyUZK0Im.js +0 -1
- package/dist/interface/assets/lan-CbNzy3jQ.js +0 -1
- package/dist/interface/assets/main-D4ZrTpOr.js +0 -3
- package/dist/interface/assets/microphone-CRLenDoX.js +0 -1
- package/dist/interface/assets/minus-COYpQ3vD.js +0 -1
- package/dist/interface/assets/mqtt-C_RLsZgN.js +0 -1
- package/dist/interface/assets/native-Chu05rXa.js +0 -1
- package/dist/interface/assets/native-DtAgV_35.js +0 -1
- package/dist/interface/assets/nodeDefinitions-DgM5EMJ0.js +0 -1
- package/dist/interface/assets/notifications-B8VdKX2U.js +0 -1
- package/dist/interface/assets/pause-DvYzloru.js +0 -1
- package/dist/interface/assets/pencil-Cd5KnMGq.js +0 -1
- package/dist/interface/assets/pencil-outline-BiVfpCP6.js +0 -1
- package/dist/interface/assets/plugin-CWPz0s-n.js +0 -1
- package/dist/interface/assets/plugins-CqWe1lUn.js +0 -1
- package/dist/interface/assets/plus-CjwCt143.js +0 -1
- package/dist/interface/assets/plus-IEiNd6x0.js +0 -1
- package/dist/interface/assets/power-C4NWLKUx.js +0 -1
- package/dist/interface/assets/radar-DBqhxkLO.js +0 -1
- package/dist/interface/assets/refresh-DBLQ62l4.js +0 -1
- package/dist/interface/assets/restore-mXNfiEUq.js +0 -1
- package/dist/interface/assets/ring-resize-DrTdJJZT.js +0 -1
- package/dist/interface/assets/rooms-CIxV7WRD.js +0 -1
- package/dist/interface/assets/round-alt-arrow-left-bold-BlJgH1Gs.js +0 -1
- package/dist/interface/assets/search-CGxnUtuo.js +0 -1
- package/dist/interface/assets/sensorIcons-CtsJEtFd.js +0 -1
- package/dist/interface/assets/sensorSlots-B0rJeEuw.js +0 -1
- package/dist/interface/assets/sensors-CyseZmxe.js +0 -1
- package/dist/interface/assets/server-BvOtzDbz.js +0 -1
- package/dist/interface/assets/settings-wlG-pPuL.js +0 -1
- package/dist/interface/assets/source-branch-AyOkkO8S.js +0 -1
- package/dist/interface/assets/theme-CqKA1ClW.js +0 -1
- package/dist/interface/assets/trash-2-BKLI42HM.js +0 -1
- package/dist/interface/assets/trash-can-outline-BFiV5RfR.js +0 -1
- package/dist/interface/assets/trash-fill-hfLSPgsP.js +0 -1
- package/dist/interface/assets/trash2-lr9UJJWi.js +0 -1
- package/dist/interface/assets/types-48CQutaE.js +0 -1
- package/dist/interface/assets/types-BRmIeoRR.js +0 -1
- package/dist/interface/assets/types-BlFbLEIJ.js +0 -1
- package/dist/interface/assets/undo-nleJllpv.js +0 -1
- package/dist/interface/assets/ungrouped-D4Eyspkn.js +0 -1
- package/dist/interface/assets/updates-iwZh9X-d.js +0 -1
- package/dist/interface/assets/upload-1FIs_qFI.js +0 -1
- package/dist/interface/assets/upload-BOBHxpZk.js +0 -1
- package/dist/interface/assets/useAppVersion-m7hrV2QZ.js +0 -1
- package/dist/interface/assets/useAssistantActions-BY-FVxFl.js +0 -1
- package/dist/interface/assets/useBackupRestore-BJSrIE1j.js +0 -1
- package/dist/interface/assets/useCameraOptions-U3cPq_8f.js +0 -1
- package/dist/interface/assets/useKeyboardInset-Ce6esuI4.js +0 -1
- package/dist/interface/assets/useLogsSocket-BprgpXs0.js +0 -1
- package/dist/interface/assets/useNavLayout-DKsBYcN-.js +0 -1
- package/dist/interface/assets/usePermissions-MJCC2mYf.js +0 -1
- package/dist/interface/assets/usePluginUpdates-DaoikUxc.js +0 -1
- package/dist/interface/assets/usePushRegistration-MBn4GqtF.js +0 -2
- package/dist/interface/assets/useServerRestart-_gMUanhL.js +0 -1
- package/dist/interface/assets/useStreamStatus-C1aDump3.js +0 -1
- package/dist/interface/assets/useTabSwipe-SnHqt6pf.js +0 -1
- package/dist/interface/assets/useUpdateChannel-BpYMuseR.js +0 -1
- package/dist/interface/assets/useUpdatesSocket-8rAwSOk0.js +0 -1
- package/dist/interface/assets/useUserOptions-BWz8j6Bt.js +0 -1
- package/dist/interface/assets/variable-BH_88zve.js +0 -1
- package/dist/interface/assets/vendor-CFZm55ei.js +0 -23
- package/dist/interface/assets/vendor-cameraui-DTALowLr.js +0 -2326
- package/dist/interface/assets/vendor-capacitor-NUBkdqQG.js +0 -2
- package/dist/interface/assets/vendor-chart-BQ9z8Beo.js +0 -3
- package/dist/interface/assets/vendor-core-DF66V0xE.js +0 -1
- package/dist/interface/assets/vendor-dnd-55LKiquc.js +0 -2
- package/dist/interface/assets/vendor-draggabilly-C2H7F3yh.js +0 -1
- package/dist/interface/assets/vendor-markdown-CvrBrdq-.js +0 -14
- package/dist/interface/assets/vendor-primevue-CpTHHdUJ.js +0 -3942
- package/dist/interface/assets/vendor-vueflow-DGnDS4SG.js +0 -26
- package/dist/interface/assets/web-1T-T_0WZ.js +0 -1
- package/dist/interface/assets/web-62WbTjlc.js +0 -1
- package/dist/interface/assets/web-BjKL51lK-6pj2Scsz.js +0 -1
- package/dist/interface/assets/web-BtY56waW.js +0 -1
- package/dist/interface/assets/web-Bv7Xkik0.js +0 -1
- package/dist/interface/assets/web-BvBEXTJW.js +0 -1
- package/dist/interface/assets/web-CFeS7fH5.js +0 -1
- package/dist/interface/assets/web-CUtMdd2B.js +0 -1
- package/dist/interface/assets/web-D6yoMUkZ.js +0 -1
- package/dist/interface/assets/web-DIOYyMNl.js +0 -1
- package/dist/interface/assets/web-D_hRP2qx.js +0 -1
- package/dist/interface/assets/web-DsY8tWI-.js +0 -1
- package/dist/interface/assets/web-DvetlpoV.js +0 -1
- package/dist/interface/assets/web-kt-Rh6Kp.js +0 -1
- package/dist/interface/assets/webhook-JRvzS9ld.js +0 -1
- package/dist/interface/assets/workbox-window.prod.es5-Bd3XD_Q4.js +0 -1
- package/dist/interface/assets/zoom-in-CWYu7bwA.js +0 -1
- package/dist/interface/ha/404-m6-uXJZq.js +0 -60
- package/dist/interface/ha/About-CNVuMwKe.js +0 -55
- package/dist/interface/ha/Assistant-C8ffhO3m.js +0 -9107
- package/dist/interface/ha/Automation-C6tJrgcC.js +0 -2025
- package/dist/interface/ha/AutomationImport-DH1bdVRV.js +0 -206
- package/dist/interface/ha/AutomationStore-Ckn6ExG6.js +0 -336
- package/dist/interface/ha/AutomationStoreDetail-BDXaoPzo.js +0 -122
- package/dist/interface/ha/Automations-B5uu-r94.js +0 -424
- package/dist/interface/ha/Camera-B4CwxT3A.js +0 -654
- package/dist/interface/ha/CameraConsole-BzaY7lMs.js +0 -52
- package/dist/interface/ha/Cameras-B1vU95xU.js +0 -1970
- package/dist/interface/ha/Camview-BcgBR-RV.js +0 -1331
- package/dist/interface/ha/CertificateUpload-BqyveJeF.js +0 -117
- package/dist/interface/ha/Config-C81MLCdk.js +0 -356
- package/dist/interface/ha/ConfigActionAssistant-DQfehzH6.js +0 -182
- package/dist/interface/ha/ConfigActionCameraControl-C3MnsSHv.js +0 -152
- package/dist/interface/ha/ConfigActionDelay-CQDVG521.js +0 -61
- package/dist/interface/ha/ConfigActionHttp-VqM0i3cV.js +0 -134
- package/dist/interface/ha/ConfigActionImageInput-D7Maj3R-.js +0 -171
- package/dist/interface/ha/ConfigActionMqtt-Cm51kwWp.js +0 -81
- package/dist/interface/ha/ConfigActionNotification-L5oaXgIQ.js +0 -199
- package/dist/interface/ha/ConfigActionNotificationControl-DUa2iWvF.js +0 -111
- package/dist/interface/ha/ConfigActionOutput-6e9FLeyi.js +0 -98
- package/dist/interface/ha/ConfigActionPlugin-DfWMHSOu.js +0 -172
- package/dist/interface/ha/ConfigActionSensor-KMyKW8a4.js +0 -139
- package/dist/interface/ha/ConfigActionSnapshot-BXUyBDrZ.js +0 -48
- package/dist/interface/ha/ConfigActionVariable-5gjlEinD.js +0 -88
- package/dist/interface/ha/ConfigConditionIfElse-KVINr4wM.js +0 -124
- package/dist/interface/ha/ConfigConditionSensorState-DfA7Z-rZ.js +0 -192
- package/dist/interface/ha/ConfigConditionSwitch-MMBCtsCG.js +0 -128
- package/dist/interface/ha/ConfigConditionTime-BFHFgE8n.js +0 -95
- package/dist/interface/ha/ConfigSensorValueInput-BGPONs-v.js +0 -170
- package/dist/interface/ha/ConfigTriggerDetection-Bl5RLc9-.js +0 -241
- package/dist/interface/ha/ConfigTriggerGeofence-C2P-lZvJ.js +0 -4888
- package/dist/interface/ha/ConfigTriggerManual-BHrZRxUA.js +0 -14
- package/dist/interface/ha/ConfigTriggerMqtt-DxE9E_We.js +0 -134
- package/dist/interface/ha/ConfigTriggerSchedule-DBaslXZn.js +0 -72
- package/dist/interface/ha/ConfigTriggerSensor-BW6R5G1E.js +0 -73
- package/dist/interface/ha/ConfigTriggerSystem-WTcomTVB.js +0 -192
- package/dist/interface/ha/ConfigTriggerWebhook-BuweCREC.js +0 -94
- package/dist/interface/ha/Console--3yf5q4a.js +0 -348
- package/dist/interface/ha/CuiAutomationRunsDialog-Bjx5DXXc.js +0 -130
- package/dist/interface/ha/CuiBottomSheet-CUWIERuK.js +0 -270
- package/dist/interface/ha/CuiCameraRecordings-DDBEVW_L.js +0 -552
- package/dist/interface/ha/CuiCameraShares-BaPKNvSs.js +0 -121
- package/dist/interface/ha/CuiCameraTable-CA7TQUBj.js +0 -153
- package/dist/interface/ha/CuiChartTable-Cjck-ymw.js +0 -6786
- package/dist/interface/ha/CuiConsole-4y2SrBqu.js +0 -244
- package/dist/interface/ha/CuiDataTable-3tEK7pxb.js +0 -8732
- package/dist/interface/ha/CuiList-1RbiYIWw.js +0 -57
- package/dist/interface/ha/CuiMarkdownContent-CU4eGw6l.js +0 -4724
- package/dist/interface/ha/CuiPluginCard-BfRbo1oT.js +0 -769
- package/dist/interface/ha/CuiPluginOAuthButton-DcZ5KJTX.js +0 -79
- package/dist/interface/ha/CuiPluginTrustBadge-DG9TJtBN.js +0 -123
- package/dist/interface/ha/CuiQRCode-D_pWqA6W.js +0 -86
- package/dist/interface/ha/CuiSchema-BYnQRNtd.js +0 -963
- package/dist/interface/ha/CuiTopNavbarItem-BLPX9F5P.js +0 -141
- package/dist/interface/ha/Faces-Do8dklvm.js +0 -1282
- package/dist/interface/ha/FirstSteps-1jyVgIMo.js +0 -251
- package/dist/interface/ha/Floorplan-DqpGLQc-.js +0 -3657
- package/dist/interface/ha/Instances-ChgYCEv4.js +0 -680
- package/dist/interface/ha/Logs-Dhi1-h8b.js +0 -418
- package/dist/interface/ha/Menu-C6ZrgRfI.js +0 -156
- package/dist/interface/ha/Metrics-BNTz7Ktd.js +0 -1335
- package/dist/interface/ha/OAuthDeviceFlow-DjWARnbi.js +0 -112
- package/dist/interface/ha/Plugin-juDjFBUz.js +0 -1405
- package/dist/interface/ha/PluginConsole-DqwmWMS6.js +0 -56
- package/dist/interface/ha/PluginDetail-Dg0s42Rn.js +0 -230
- package/dist/interface/ha/PluginSearch-CER_e1EL.js +0 -462
- package/dist/interface/ha/PluginUpdateProgress-D3viAJ-T.js +0 -34
- package/dist/interface/ha/Plugins-D6Q_xWx9.js +0 -692
- package/dist/interface/ha/RecentEventsFilter-DXlTE7iI.js +0 -79
- package/dist/interface/ha/Recordings-BEb8EGDn.js +0 -1498
- package/dist/interface/ha/SensorEdit-BjGyc2MJ.js +0 -1462
- package/dist/interface/ha/SensorHistory-Dm4WiNdC.js +0 -54
- package/dist/interface/ha/Sensors-5vAka-K6.js +0 -1386
- package/dist/interface/ha/Settings-Cb4v7LRJ.js +0 -218
- package/dist/interface/ha/SettingsAccount-DeZOlBDQ.js +0 -971
- package/dist/interface/ha/SettingsAppearance-CDyMzncv.js +0 -220
- package/dist/interface/ha/SettingsAssistant-DqGnG1RI.js +0 -1857
- package/dist/interface/ha/SettingsBackup-BnqZ-qlE.js +0 -556
- package/dist/interface/ha/SettingsList-CAIX3jD9.js +0 -40
- package/dist/interface/ha/SettingsMqtt-Dxqjg4OT.js +0 -526
- package/dist/interface/ha/SettingsNotifications-PAst5uDP.js +0 -529
- package/dist/interface/ha/SettingsPermissions-DFbjoUf-.js +0 -84
- package/dist/interface/ha/SettingsRecordings-GwPkWVQl.js +0 -152
- package/dist/interface/ha/SettingsRemote-CzYyIfWg.js +0 -1810
- package/dist/interface/ha/SettingsSystem-BC8IIFe2.js +0 -376
- package/dist/interface/ha/SettingsUsers-DS6HTws4.js +0 -379
- package/dist/interface/ha/Terminal-DHXMgeMz.js +0 -617
- package/dist/interface/ha/Training-CBSlZKBT.js +0 -1505
- package/dist/interface/ha/Updates-DTod9Jwm.js +0 -343
- package/dist/interface/ha/VariableInput-CuhqW4K7.js +0 -52
- package/dist/interface/ha/VariableSuggestions-D15u2aH6.js +0 -201
- package/dist/interface/ha/VersionsHandler-Bafq9Ej7.js +0 -216
- package/dist/interface/ha/VirtualSensorCreate-DCc5pfdG.js +0 -101
- package/dist/interface/ha/Workers-BFJWJvkK.js +0 -765
- package/dist/interface/ha/accordion-X9Wa7KVq.js +0 -577
- package/dist/interface/ha/account-DLg459mU.js +0 -19
- package/dist/interface/ha/alert-circle-CSp7J0pZ.js +0 -19
- package/dist/interface/ha/alert-outline-BssBb-kV.js +0 -89
- package/dist/interface/ha/api-CMboY32E.js +0 -62432
- package/dist/interface/ha/api-CibPJ53n.js +0 -29
- package/dist/interface/ha/arrow-left-B4_-vTM1.js +0 -19
- package/dist/interface/ha/assistant-B5j5Rwlf.js +0 -345
- package/dist/interface/ha/auth-C9gqBg0w.js +0 -271
- package/dist/interface/ha/autocomplete-gFZBpGxE.js +0 -1373
- package/dist/interface/ha/automationBlueprint-DS2u4IQM.js +0 -250
- package/dist/interface/ha/back-filled-B-jI6Dqb.js +0 -20
- package/dist/interface/ha/bell-ring-CjnpDomC.js +0 -19
- package/dist/interface/ha/brain-DBagansp.js +0 -19
- package/dist/interface/ha/button-DJDZxmKj.js +0 -406
- package/dist/interface/ha/cards-PAF_pPbZ.js +0 -13352
- package/dist/interface/ha/cctv-DBlnZEJ3.js +0 -19
- package/dist/interface/ha/check-circle-outline-DHmzynUf.js +0 -19
- package/dist/interface/ha/check-circle-w7z_NLrm.js +0 -19
- package/dist/interface/ha/checkbox-D012nd17.js +0 -279
- package/dist/interface/ha/chevron-down-CN3LNAsG.js +0 -19
- package/dist/interface/ha/chevron-up-D5-4qnos.js +0 -19
- package/dist/interface/ha/chip-BIYZHiP1.js +0 -149
- package/dist/interface/ha/clock-outline-CLOrwuhP.js +0 -19
- package/dist/interface/ha/close-C_ajB9j7.js +0 -19
- package/dist/interface/ha/close-circle-Qqtz5NiQ.js +0 -19
- package/dist/interface/ha/cloud-check-gKe6M70h.js +0 -33
- package/dist/interface/ha/config-DoZvm13z.js +0 -116
- package/dist/interface/ha/content-copy-ChfuNPUb.js +0 -19
- package/dist/interface/ha/copy-DfdE7y98.js +0 -22
- package/dist/interface/ha/datepicker-44Ub2Hx0.js +0 -2961
- package/dist/interface/ha/delete-LxFfoBRM.js +0 -19
- package/dist/interface/ha/dist-DLZYY_4u.js +0 -3251
- package/dist/interface/ha/divider-Cf59Ua0f.js +0 -110
- package/dist/interface/ha/dots-vertical-BEPlUtxU.js +0 -19
- package/dist/interface/ha/download-BnXoyA8p.js +0 -19
- package/dist/interface/ha/eventIcons-DrjNuTS2.js +0 -676
- package/dist/interface/ha/eye-off-BIuZGpjA.js +0 -33
- package/dist/interface/ha/eye-off-outline-cbzzWTdq.js +0 -19
- package/dist/interface/ha/help-circle-outline-Du1jH6xY.js +0 -19
- package/dist/interface/ha/history-Bm6QaZ6b.js +0 -19
- package/dist/interface/ha/home-CUD0JuUy.js +0 -19
- package/dist/interface/ha/information-outline-B1TiBdcz.js +0 -19
- package/dist/interface/ha/inputicon-BPVltPdr.js +0 -324
- package/dist/interface/ha/inputnumber-MSv4Pb-P.js +0 -1033
- package/dist/interface/ha/inputtext-vdcrNX6K.js +0 -257
- package/dist/interface/ha/intercomService-WdbgAuZn.js +0 -1414
- package/dist/interface/ha/message-BExXUXHN.js +0 -244
- package/dist/interface/ha/microphone-TB58caA2.js +0 -19
- package/dist/interface/ha/minus-BsY_Bojv.js +0 -46
- package/dist/interface/ha/minus-C6Qh7zWS.js +0 -19
- package/dist/interface/ha/mqtt-Bq2AL0mf.js +0 -56
- package/dist/interface/ha/multiselect-B0fAnW75.js +0 -1492
- package/dist/interface/ha/notifications-Cb1PNQoG.js +0 -159
- package/dist/interface/ha/pause-Ch6v65wA.js +0 -19
- package/dist/interface/ha/pencil-outline-3AYc7WXi.js +0 -19
- package/dist/interface/ha/pinia-D2fpp6nV.js +0 -7641
- package/dist/interface/ha/plugins-BAng0szW.js +0 -592
- package/dist/interface/ha/plus-CEoLXIS3.js +0 -46
- package/dist/interface/ha/plus-QEeSdL0x.js +0 -19
- package/dist/interface/ha/progressbar-C2663Zd7.js +0 -95
- package/dist/interface/ha/protocol-BB4jdtUC-CbXTLEB7.js +0 -708
- package/dist/interface/ha/radar-BCSebLvk.js +0 -19
- package/dist/interface/ha/refresh-Cf7GQyew.js +0 -19
- package/dist/interface/ha/restore-DMczh46P.js +0 -19
- package/dist/interface/ha/ring-resize-11TaovpK.js +0 -16
- package/dist/interface/ha/ripple-B_itunQV.js +0 -2928
- package/dist/interface/ha/rooms-BulA3xbr.js +0 -45
- package/dist/interface/ha/round-alt-arrow-left-bold-z7BNLjup.js +0 -37
- package/dist/interface/ha/runtime-core.esm-bundler-DCktklpY.js +0 -3295
- package/dist/interface/ha/search-DMJuYUDF.js +0 -19
- package/dist/interface/ha/select-CaVzuLaS.js +0 -1382
- package/dist/interface/ha/server-Ndqx0RmV.js +0 -239
- package/dist/interface/ha/settings-DkoB1zyf.js +0 -22
- package/dist/interface/ha/source-branch-CimaS9J1.js +0 -19
- package/dist/interface/ha/speeddial-CpW9sIFY.js +0 -682
- package/dist/interface/ha/spinner-BSEdDTno.js +0 -46
- package/dist/interface/ha/tag-Bko2QYOK.js +0 -95
- package/dist/interface/ha/textarea-DrKQ6YMZ.js +0 -130
- package/dist/interface/ha/tooltip-X5MY9FoG.js +0 -277
- package/dist/interface/ha/trash-2-Droax8m8.js +0 -23
- package/dist/interface/ha/trash-can-outline-XdMf3dMc.js +0 -19
- package/dist/interface/ha/trash-fill-B__41VdN.js +0 -21
- package/dist/interface/ha/types-B9Rna2FN.js +0 -123
- package/dist/interface/ha/types-CSqHjs73.js +0 -1062
- package/dist/interface/ha/ungrouped-CEyEfdNm.js +0 -1320
- package/dist/interface/ha/updates-BK41HPRa.js +0 -341
- package/dist/interface/ha/upload-CDAlIs3e.js +0 -23
- package/dist/interface/ha/upload-DMKlzavA.js +0 -19
- package/dist/interface/ha/useAppVersion-PLf1za07.js +0 -22
- package/dist/interface/ha/useAssistantActions-Uf0kmQ_Z.js +0 -29
- package/dist/interface/ha/useLogsSocket-CRUB4tiT.js +0 -59
- package/dist/interface/ha/useNavLayout-hpvRlYIg.js +0 -125
- package/dist/interface/ha/usePermissions-CEX3lAii.js +0 -72
- package/dist/interface/ha/useServerRestart-BN_2Gvwy.js +0 -23
- package/dist/interface/ha/useTabSwipe-BhBi1bXW.js +0 -45
- package/dist/interface/ha/useUpdateChannel-DoPFCimM.js +0 -22
- package/dist/interface/ha/useUpdatesSocket-CQ2qyv6W.js +0 -34
- package/dist/interface/ha/useUserOptions-Ck6NrMAe.js +0 -15
- package/dist/interface/ha/virtualscroller-DuRtMnNf.js +0 -996
- package/dist/interface/ha/vue-flow-background-ETLnaEUH.js +0 -6835
- package/dist/interface/ha/vue-i18n-CxWAK5Gn.js +0 -2422
- package/dist/interface/ha/zoom-in-ZVdIPder.js +0 -41
|
@@ -0,0 +1,1320 @@
|
|
|
1
|
+
import { Et as e, et as t, f as n, gt as r, i, m as a, rt as o } from "./ripple-ZDATPc2w.js";
|
|
2
|
+
import { n as s } from "./virtualscroller-C5j7FXj4.js";
|
|
3
|
+
import { D as c, G as l, H as u, Jt as d, K as f, M as p, N as m, Wt as h, Y as g, _t as _, d as v, f as y, gt as b, kt as x, l as S, lt as C, ot as w, p as T, q as E, qt as D, r as O, rt as k, u as A, ut as j, x as M, xt as N, y as P, z as ee } from "./runtime-core.esm-bundler-_TfE0DWz.js";
|
|
4
|
+
import { t as te } from "./tooltip-Z7VN-E1u.js";
|
|
5
|
+
import { $ as F, Bn as ne, Br as re, En as ie, Fn as ae, Hn as oe, In as se, Mn as ce, Nn as le, Pn as ue, ar as de, bi as fe, br as pe, ca as me, ct as he, dr as ge, er as _e, et as ve, ht as ye, it as be, lt as xe, mr as Se, nt as Ce, o as we, or as Te, rt as Ee, tt as De, ur as Oe, vr as ke, yr as I, zn as L } from "./api-BmYisoxj.js";
|
|
6
|
+
import { _ as Ae, o as je } from "./intercomService-B7HkLs6z.js";
|
|
7
|
+
import { n as Me } from "./vue-i18n-D5EAy78K.js";
|
|
8
|
+
import { i as Ne } from "./alert-outline-FcLLjoOK.js";
|
|
9
|
+
import { t as Pe } from "./eventIcons-BFNUgeGr.js";
|
|
10
|
+
import { t as Fe } from "./spinner-DIILjDT9.js";
|
|
11
|
+
import { t as Ie } from "./button-BouAFgf5.js";
|
|
12
|
+
import { M as Le } from "./dist-C6MBHJhs.js";
|
|
13
|
+
import { t as Re } from "./inputtext-C_ygnPrC.js";
|
|
14
|
+
import { t as ze } from "./select-UR3ZRDew.js";
|
|
15
|
+
import { t as Be } from "./ring-resize-Dr2PxWIg.js";
|
|
16
|
+
//#region ~icons/tabler/user-edit
|
|
17
|
+
var R = {
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
width: "1.2em",
|
|
20
|
+
height: "1.2em"
|
|
21
|
+
};
|
|
22
|
+
function Ve(e, t) {
|
|
23
|
+
return u(), T("svg", R, [...t[0] ||= [A("path", {
|
|
24
|
+
fill: "none",
|
|
25
|
+
stroke: "currentColor",
|
|
26
|
+
"stroke-linecap": "round",
|
|
27
|
+
"stroke-linejoin": "round",
|
|
28
|
+
"stroke-width": "2",
|
|
29
|
+
d: "M8 7a4 4 0 1 0 8 0a4 4 0 0 0-8 0M6 21v-2a4 4 0 0 1 4-4h3.5m4.92.61a2.1 2.1 0 0 1 2.97 2.97L18 22h-3v-3z"
|
|
30
|
+
}, null, -1)]]);
|
|
31
|
+
}
|
|
32
|
+
var He = _({
|
|
33
|
+
name: "tabler-user-edit",
|
|
34
|
+
render: Ve
|
|
35
|
+
}), z = { class: "flex flex-col gap-4 w-full" }, B = {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "flex justify-center"
|
|
38
|
+
}, V = ["src", "alt"], H = { class: "flex flex-col gap-2 w-full" }, U = { class: "cui-label" }, W = { class: "flex flex-col gap-2 w-full" }, G = {
|
|
39
|
+
for: "reassignTarget",
|
|
40
|
+
class: "cui-label"
|
|
41
|
+
}, Ue = /* @__PURE__ */ M({
|
|
42
|
+
__name: "FaceReassign",
|
|
43
|
+
props: {
|
|
44
|
+
cropUrl: {},
|
|
45
|
+
oldName: {}
|
|
46
|
+
},
|
|
47
|
+
setup(e, { expose: t }) {
|
|
48
|
+
let n = e, { t: r } = Me(), { plugin: i } = Le("@camera.ui/camera-ui-nvr"), a = N(null), o = N([]), s = N(!0), c = S(() => n.oldName === "unknown" ? r("views.recordings.reassign_unknown_person") : n.oldName), l = S(() => {
|
|
49
|
+
let e = o.value.filter((e) => e !== n.oldName).map((e) => ({
|
|
50
|
+
label: e,
|
|
51
|
+
value: e
|
|
52
|
+
}));
|
|
53
|
+
return n.oldName !== "unknown" && e.push({
|
|
54
|
+
label: r("views.recordings.reassign_unknown"),
|
|
55
|
+
value: ""
|
|
56
|
+
}), e;
|
|
57
|
+
});
|
|
58
|
+
return ee(async () => {
|
|
59
|
+
try {
|
|
60
|
+
let e = await i.value?.listKnownFaces?.();
|
|
61
|
+
o.value = (e ?? []).map((e) => e.name);
|
|
62
|
+
} catch {} finally {
|
|
63
|
+
s.value = !1;
|
|
64
|
+
}
|
|
65
|
+
}), t({ onConfirm: async () => a.value }), (e, t) => {
|
|
66
|
+
let r = Re, i = ze;
|
|
67
|
+
return u(), T("div", z, [
|
|
68
|
+
n.cropUrl ? (u(), T("div", B, [A("img", {
|
|
69
|
+
src: n.cropUrl,
|
|
70
|
+
alt: x(c),
|
|
71
|
+
class: "w-36 h-36 rounded-xl object-cover bg-neutral-900"
|
|
72
|
+
}, null, 8, V)])) : y("", !0),
|
|
73
|
+
A("div", H, [A("label", U, d(e.$t("views.recordings.reassign_current")), 1), P(r, {
|
|
74
|
+
"model-value": x(c),
|
|
75
|
+
class: "w-full",
|
|
76
|
+
fluid: "",
|
|
77
|
+
disabled: ""
|
|
78
|
+
}, null, 8, ["model-value"])]),
|
|
79
|
+
A("div", W, [A("label", G, d(e.$t("views.recordings.reassign_new")), 1), P(i, {
|
|
80
|
+
id: "reassignTarget",
|
|
81
|
+
modelValue: x(a),
|
|
82
|
+
"onUpdate:modelValue": t[0] ||= (e) => b(a) ? a.value = e : null,
|
|
83
|
+
options: x(l),
|
|
84
|
+
"option-label": "label",
|
|
85
|
+
"option-value": "value",
|
|
86
|
+
class: "w-full",
|
|
87
|
+
fluid: "",
|
|
88
|
+
loading: x(s),
|
|
89
|
+
disabled: x(s),
|
|
90
|
+
placeholder: e.$t("views.faces.enter_or_pick_name")
|
|
91
|
+
}, null, 8, [
|
|
92
|
+
"modelValue",
|
|
93
|
+
"options",
|
|
94
|
+
"loading",
|
|
95
|
+
"disabled",
|
|
96
|
+
"placeholder"
|
|
97
|
+
])])
|
|
98
|
+
]);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
}), We = ["src"], Ge = {
|
|
102
|
+
key: 2,
|
|
103
|
+
class: "w-full h-full flex items-center justify-center bg-neutral-800/80"
|
|
104
|
+
}, Ke = { class: "absolute top-0 left-0 right-0 p-2 bg-gradient-to-b from-black/80 to-transparent z-[3]" }, qe = { class: "flex items-center gap-1.5" }, Je = { class: "text-xs font-semibold text-white truncate min-w-0 flex-1" }, Ye = {
|
|
105
|
+
key: 0,
|
|
106
|
+
class: "text-[10px] font-semibold text-white/80 bg-black/60 px-1.5 py-0.5 rounded-md shrink-0"
|
|
107
|
+
}, Xe = { class: "text-[10px] text-white/70" }, Ze = { class: "block text-[11px] text-white font-medium truncate bg-black/50 rounded-md px-2 py-0.5" }, Qe = { class: "flex items-center gap-1 min-w-0" }, $e = ["title"], et = {
|
|
108
|
+
key: 0,
|
|
109
|
+
class: "flex items-center gap-0.5 shrink-0 opacity-85 group-hover:opacity-100 transition-opacity duration-200"
|
|
110
|
+
}, tt = ["onClick"], nt = ["src", "alt"], rt = {
|
|
111
|
+
key: 0,
|
|
112
|
+
class: "text-[10px] text-white/60 font-medium"
|
|
113
|
+
}, it = {
|
|
114
|
+
key: 6,
|
|
115
|
+
class: "absolute inset-0 z-[4] flex items-center justify-center pointer-events-none"
|
|
116
|
+
}, at = {
|
|
117
|
+
key: 7,
|
|
118
|
+
class: "absolute bottom-10 left-1/2 -translate-x-1/2 z-[4] pointer-events-none"
|
|
119
|
+
}, ot = {
|
|
120
|
+
class: "text-[10px] font-semibold text-white bg-black/60 px-1.5 py-0.5 rounded-md whitespace-nowrap",
|
|
121
|
+
style: { "font-variant-numeric": "tabular-nums" }
|
|
122
|
+
}, st = 24, ct = 30, lt = 22, ut = 28, dt = 8, ft = /*#__PURE__*/ I(/* @__PURE__ */ M({
|
|
123
|
+
__name: "RecordingCard",
|
|
124
|
+
props: {
|
|
125
|
+
event: {},
|
|
126
|
+
cameraName: {},
|
|
127
|
+
camera: {},
|
|
128
|
+
loadThumbnails: { type: Function },
|
|
129
|
+
semanticScore: {},
|
|
130
|
+
segIndex: {},
|
|
131
|
+
hideSegmentBadge: { type: Boolean },
|
|
132
|
+
selectionMode: { type: Boolean },
|
|
133
|
+
selected: { type: Boolean },
|
|
134
|
+
siblingActive: { type: Boolean }
|
|
135
|
+
},
|
|
136
|
+
emits: [
|
|
137
|
+
"scrollToEvent",
|
|
138
|
+
"select",
|
|
139
|
+
"openTrace"
|
|
140
|
+
],
|
|
141
|
+
setup(e, { emit: t }) {
|
|
142
|
+
let r = e, i = t, o = je(), s = fe(), { t: f } = Me(), p = re(), m = oe("@camera.ui/camera-ui-nvr"), { plugin: _ } = Le("@camera.ui/camera-ui-nvr"), b = ye(), { icons: E } = Pe(), D = m.getCachedThumbnails(r.event.id), M = D ? L(D, r.event, "card", r.segIndex).url ? "loaded" : "empty" : "loading", I = c(ae, void 0), Fe = k("rootRef"), Re = k("previewCanvasRef"), ze = k("footerRef"), Be = k("cardMenuRef"), R = N(!1), Ve = Ce(Fe, () => Bt(), () => $()), z = N(!1), B = N(D ?? null), V = N(M), H = N(!1), U = N(0), W = N(null), G = N(!1), { width: ft } = Ae(ze), pt = S(() => Oe(void 0, "admin")), K = S(() => W.value ?? r.event.favorite ?? !1), q = S(() => {
|
|
143
|
+
if (r.semanticScore == null) return;
|
|
144
|
+
let e = Math.max(0, Math.min(1, r.semanticScore));
|
|
145
|
+
return {
|
|
146
|
+
pct: e,
|
|
147
|
+
label: `${(e * 100).toFixed(0)}%`,
|
|
148
|
+
color: e >= .5 ? "bg-green-500/80" : e >= .25 ? "bg-yellow-500/80" : "bg-red-400/80"
|
|
149
|
+
};
|
|
150
|
+
}), J = S(() => B.value ? L(B.value, r.event, "card", r.segIndex) : null), Y = S(() => {
|
|
151
|
+
let e = r.segIndex ?? J.value?.segIndex;
|
|
152
|
+
return e === void 0 ? void 0 : r.event.segments?.[e];
|
|
153
|
+
}), mt = S(() => J.value?.url), ht = S(() => J.value?.label), gt = S(() => J.value?.type ?? r.event.types[0] ?? "motion"), _t = S(() => {
|
|
154
|
+
if (r.hideSegmentBadge) return;
|
|
155
|
+
let e = r.event.segments?.length ?? 0;
|
|
156
|
+
return r.segIndex !== void 0 && e > 1 ? `${r.segIndex + 1}/${e}` : void 0;
|
|
157
|
+
}), X = S(() => {
|
|
158
|
+
let e = B.value, t = J.value?.url;
|
|
159
|
+
if (!e || !t) return [];
|
|
160
|
+
let n = [{
|
|
161
|
+
url: t,
|
|
162
|
+
label: J.value?.label,
|
|
163
|
+
type: gt.value,
|
|
164
|
+
crop: !1
|
|
165
|
+
}];
|
|
166
|
+
for (let t of ne(e, r.segIndex)) {
|
|
167
|
+
if (n.some((e) => e.url === t.url)) continue;
|
|
168
|
+
let e = t.key.split(":")[0];
|
|
169
|
+
n.push({
|
|
170
|
+
url: t.url,
|
|
171
|
+
label: t.label,
|
|
172
|
+
type: t.type,
|
|
173
|
+
crop: !0,
|
|
174
|
+
faceSeg: /^\d+$/.test(e) ? Number(e) : -1
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
if (r.segIndex === void 0) for (let t of Object.keys(e.cards ?? e.strips ?? {}).sort((e, t) => Number(e) - Number(t))) {
|
|
178
|
+
let i = _e(e.cards?.[t] ?? e.strips?.[t]);
|
|
179
|
+
if (!i || n.some((e) => e.url === i)) continue;
|
|
180
|
+
let a = be(r.event, t);
|
|
181
|
+
n.push({
|
|
182
|
+
url: i,
|
|
183
|
+
label: a,
|
|
184
|
+
type: a,
|
|
185
|
+
crop: !1
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
return n.length > 1 ? n : [];
|
|
189
|
+
}), vt = S(() => X.value.length > 1), yt = S(() => X.value.length ? Math.min(U.value, X.value.length - 1) : 0), Z = S(() => vt.value ? X.value[yt.value] : void 0), bt = S(() => !!Z.value?.crop), xt = S(() => Z.value?.url ?? mt.value), St = S(() => Z.value?.label ?? ht.value), Q = S(() => {
|
|
190
|
+
let e = Y.value;
|
|
191
|
+
return (e ? ce(r.event, e) : [...new Set(r.event.types)]).filter((e) => e !== "motion" && e !== "audio");
|
|
192
|
+
}), Ct = S(() => r.cameraName ?? r.event.cameraId), wt = S(() => X.value.map((e) => ({
|
|
193
|
+
url: e.url,
|
|
194
|
+
type: e.type
|
|
195
|
+
}))), Tt = S(() => Q.value.slice(0, Et.value.icons)), Et = S(() => {
|
|
196
|
+
let e = ft.value;
|
|
197
|
+
if (!e) return {
|
|
198
|
+
icons: 2,
|
|
199
|
+
tiles: 2
|
|
200
|
+
};
|
|
201
|
+
let t = e - dt;
|
|
202
|
+
r.selectionMode && (t -= ut);
|
|
203
|
+
let n = wt.value.length > 0 ? 52 : 0, i = It(Q.value.length, Math.max(0, t - n), st), a = Q.value.length > 0 ? Math.max(1, i) : 0, o = a * st + (a < Q.value.length ? lt : 0);
|
|
204
|
+
return {
|
|
205
|
+
icons: a,
|
|
206
|
+
tiles: It(wt.value.length, Math.max(0, t - o), ct)
|
|
207
|
+
};
|
|
208
|
+
}), Dt = S(() => Q.value.slice(Et.value.icons)), Ot = S(() => wt.value.slice(0, Et.value.tiles)), kt = S(() => wt.value.length - Et.value.tiles), At = S(() => {
|
|
209
|
+
let e = new Date(Y.value?.firstSeen ?? r.event.thumbnailAt ?? r.event.startTime), t = /* @__PURE__ */ new Date(), n = e.toDateString() === t.toDateString(), i = e.toLocaleTimeString([], {
|
|
210
|
+
hour: "2-digit",
|
|
211
|
+
minute: "2-digit"
|
|
212
|
+
});
|
|
213
|
+
return n ? i : `${e.toLocaleDateString([], {
|
|
214
|
+
month: "short",
|
|
215
|
+
day: "numeric"
|
|
216
|
+
})} ${i}`;
|
|
217
|
+
}), jt = S(() => !!(_.value && r.event.endTime && r.event.hasRecording !== !1)), Mt = S(() => I ? R.value ? f("views.recordings.no_preview") : z.value ? I.status.value === "unavailable" ? f("views.recordings.no_preview") : I.status.value === "playing" && I.previewTimeMs.value ? zt(I.previewTimeMs.value) : "" : "" : ""), Nt = S(() => {
|
|
218
|
+
let e = Z.value;
|
|
219
|
+
if (e && e.type === "face") return e.label ? e.label : "unknown";
|
|
220
|
+
}), Pt = S(() => {
|
|
221
|
+
let e = [];
|
|
222
|
+
return pt.value && Nt.value !== void 0 && e.push({
|
|
223
|
+
key: "reassign",
|
|
224
|
+
label: f("views.recordings.reassign_face"),
|
|
225
|
+
icon: He,
|
|
226
|
+
loading: G.value,
|
|
227
|
+
onClick: () => Kt()
|
|
228
|
+
}), r.camera && e.push({
|
|
229
|
+
key: "trace",
|
|
230
|
+
label: f("views.recordings.open_trace"),
|
|
231
|
+
icon: he,
|
|
232
|
+
onClick: () => i("openTrace", Y.value?.firstSeen)
|
|
233
|
+
}), e.push({
|
|
234
|
+
key: "ask",
|
|
235
|
+
label: f("views.recordings.ask_assistant"),
|
|
236
|
+
icon: Ne,
|
|
237
|
+
onClick: () => Ft()
|
|
238
|
+
}), jt.value && e.push({
|
|
239
|
+
key: "download",
|
|
240
|
+
label: f("views.recordings.download"),
|
|
241
|
+
icon: xe,
|
|
242
|
+
loading: H.value,
|
|
243
|
+
onClick: () => Yt()
|
|
244
|
+
}), e;
|
|
245
|
+
});
|
|
246
|
+
function Ft() {
|
|
247
|
+
let e = f("views.recordings.ask_assistant_prompt", {
|
|
248
|
+
camera: r.cameraName ?? r.camera?.name ?? r.event.cameraId,
|
|
249
|
+
time: new Date(r.event.startTime).toLocaleString(),
|
|
250
|
+
id: r.event.id
|
|
251
|
+
});
|
|
252
|
+
p.push({
|
|
253
|
+
path: "/assistant",
|
|
254
|
+
query: { prompt: e }
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
function It(e, t, n) {
|
|
258
|
+
return e === 0 || t < n ? 0 : e * n <= t ? e : Math.max(0, Math.floor((t - lt) / n));
|
|
259
|
+
}
|
|
260
|
+
function Lt(e) {
|
|
261
|
+
let t = X.value.length;
|
|
262
|
+
t && ($(), U.value = (yt.value + e + t) % t);
|
|
263
|
+
}
|
|
264
|
+
function Rt(e, t) {
|
|
265
|
+
vt.value && (t.stopPropagation(), $(), U.value = e);
|
|
266
|
+
}
|
|
267
|
+
function $() {
|
|
268
|
+
R.value = !1, I && z.value && (z.value = !1, I.onHoverEnd());
|
|
269
|
+
}
|
|
270
|
+
function zt(e) {
|
|
271
|
+
let t = new Date(e);
|
|
272
|
+
return `${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}:${String(t.getSeconds()).padStart(2, "0")}`;
|
|
273
|
+
}
|
|
274
|
+
function Bt() {
|
|
275
|
+
if (!I || yt.value > 0) return;
|
|
276
|
+
let e = Re.value;
|
|
277
|
+
if (!e) return;
|
|
278
|
+
let t = ue(r.event);
|
|
279
|
+
if (r.event.hasRecording === !1 || !t) {
|
|
280
|
+
R.value = !0;
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
z.value = !0, I.onHoverStart(e, r.event.cameraId, r.event.id, r.event.startTime, t, r.camera?.zones?.privacy, se(r.event));
|
|
284
|
+
}
|
|
285
|
+
function Vt() {
|
|
286
|
+
Ve.blocksMouseEnter() || Bt();
|
|
287
|
+
}
|
|
288
|
+
function Ht() {
|
|
289
|
+
R.value = !1, I && (z.value = !1, I.onHoverEnd());
|
|
290
|
+
}
|
|
291
|
+
async function Ut(e = 2) {
|
|
292
|
+
let t = await r.loadThumbnails(r.event.id, r.event.startTime);
|
|
293
|
+
if (t) {
|
|
294
|
+
B.value = t;
|
|
295
|
+
let e = L(t, r.event, "card");
|
|
296
|
+
V.value = e.url ? "loaded" : "empty";
|
|
297
|
+
} else if (e > 0) return await new Promise((e) => setTimeout(e, 500)), Ut(e - 1);
|
|
298
|
+
else V.value = r.event.state === "active" ? "loading" : "empty";
|
|
299
|
+
}
|
|
300
|
+
function Wt() {
|
|
301
|
+
if (!Ve.consumesClick()) {
|
|
302
|
+
if (r.selectionMode) {
|
|
303
|
+
i("select");
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
i("scrollToEvent", Y.value?.firstSeen ?? Ee(r.event));
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
function Gt(e) {
|
|
310
|
+
$(), Be.value?.toggleMenu(e);
|
|
311
|
+
}
|
|
312
|
+
function Kt() {
|
|
313
|
+
let e = Nt.value;
|
|
314
|
+
e !== void 0 && b.openComponentDialog(Ue, {
|
|
315
|
+
data: {
|
|
316
|
+
title: f("views.recordings.reassign_face"),
|
|
317
|
+
confirmText: f("components.form.button.save"),
|
|
318
|
+
contentProps: {
|
|
319
|
+
cropUrl: Z.value?.url,
|
|
320
|
+
oldName: e
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
onConfirm: (e) => qt(e)
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
async function qt(e) {
|
|
327
|
+
let t = Nt.value;
|
|
328
|
+
if (t === void 0 || G.value) return;
|
|
329
|
+
let n = Z.value?.faceSeg ?? -1, i = _.value;
|
|
330
|
+
if (i?.reassignEventFace) {
|
|
331
|
+
G.value = !0;
|
|
332
|
+
try {
|
|
333
|
+
await i.reassignEventFace(r.event.id, n, t, e) > 0 && le(r.event.id), s.add({
|
|
334
|
+
severity: "success",
|
|
335
|
+
detail: f("views.recordings.reassign_done"),
|
|
336
|
+
life: 3e3
|
|
337
|
+
});
|
|
338
|
+
} catch (e) {
|
|
339
|
+
s.add({
|
|
340
|
+
severity: "error",
|
|
341
|
+
detail: we(e),
|
|
342
|
+
life: 5e3
|
|
343
|
+
});
|
|
344
|
+
} finally {
|
|
345
|
+
G.value = !1;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
async function Jt() {
|
|
350
|
+
let e = !K.value;
|
|
351
|
+
W.value = e;
|
|
352
|
+
try {
|
|
353
|
+
await m.setEventFavorite(r.event.id, e);
|
|
354
|
+
} catch (e) {
|
|
355
|
+
W.value = null, s.add({
|
|
356
|
+
severity: "error",
|
|
357
|
+
detail: we(e),
|
|
358
|
+
life: 5e3
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
async function Yt() {
|
|
363
|
+
if (H.value) return;
|
|
364
|
+
let e = _.value;
|
|
365
|
+
if (e?.nvrExport && r.event.endTime) {
|
|
366
|
+
H.value = !0;
|
|
367
|
+
try {
|
|
368
|
+
let t = await e.nvrExport(r.event.cameraId, r.event.startTime * 1e3, r.event.endTime * 1e3);
|
|
369
|
+
await Se({
|
|
370
|
+
url: t.url,
|
|
371
|
+
filename: t.filename
|
|
372
|
+
});
|
|
373
|
+
} catch (e) {
|
|
374
|
+
o.error("Download failed:", e), s.add({
|
|
375
|
+
severity: "error",
|
|
376
|
+
summary: f("views.recordings.download_failed"),
|
|
377
|
+
detail: we(e),
|
|
378
|
+
life: 5e3
|
|
379
|
+
});
|
|
380
|
+
} finally {
|
|
381
|
+
H.value = !1;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
return w(() => m.storeVersion.value, () => {
|
|
386
|
+
let e = m.getCachedThumbnails(r.event.id);
|
|
387
|
+
if (!e) {
|
|
388
|
+
B.value && Ut();
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
B.value = e, L(e, r.event, "card").url && (V.value = "loaded");
|
|
392
|
+
}), ee(() => {
|
|
393
|
+
M === "loading" && Ut();
|
|
394
|
+
}), (t, r) => {
|
|
395
|
+
let i = me, o = ke, s = F, c = ve, f = Ie, p = De, m = de, _ = Te, b = ge, S = pe, w = te;
|
|
396
|
+
return u(), T("div", {
|
|
397
|
+
ref_key: "rootRef",
|
|
398
|
+
ref: Fe,
|
|
399
|
+
class: "recording-card relative group cursor-pointer",
|
|
400
|
+
onClick: Wt,
|
|
401
|
+
onMouseenter: Vt,
|
|
402
|
+
onMouseleave: Ht
|
|
403
|
+
}, [A("div", {
|
|
404
|
+
class: h(["bg-neutral-900 w-full rounded-xl overflow-hidden relative transition-shadow duration-200", { "ring-2 ring-inset ring-primary/70": e.siblingActive }]),
|
|
405
|
+
style: { "aspect-ratio": "1/1" }
|
|
406
|
+
}, [
|
|
407
|
+
x(V) === "loading" ? (u(), v(i, {
|
|
408
|
+
key: 0,
|
|
409
|
+
width: "100%",
|
|
410
|
+
height: "100%",
|
|
411
|
+
class: "rounded-xl"
|
|
412
|
+
})) : x(xt) ? (u(), T(O, { key: 1 }, [x(bt) ? (u(), T("img", {
|
|
413
|
+
key: 0,
|
|
414
|
+
src: x(xt),
|
|
415
|
+
"aria-hidden": "true",
|
|
416
|
+
class: "absolute inset-0 w-full h-full object-cover blur-xl scale-110 opacity-50 pointer-events-none"
|
|
417
|
+
}, null, 8, We)) : y("", !0), P(o, {
|
|
418
|
+
src: x(xt),
|
|
419
|
+
alt: x(Ct),
|
|
420
|
+
class: "pointer-events-none w-full h-full transition-transform duration-300 group-hover:scale-105",
|
|
421
|
+
"image-style": { objectFit: x(bt) ? "contain" : "cover" },
|
|
422
|
+
"image-container-class": "w-full h-full"
|
|
423
|
+
}, null, 8, [
|
|
424
|
+
"src",
|
|
425
|
+
"alt",
|
|
426
|
+
"image-style"
|
|
427
|
+
])], 64)) : (u(), T("div", Ge, [(u(), v(g(x(E)[x(gt)] ?? x(E).motion), { class: "w-10 h-10 text-white/20" }))])),
|
|
428
|
+
x(I) ? j((u(), T("canvas", {
|
|
429
|
+
key: 3,
|
|
430
|
+
ref_key: "previewCanvasRef",
|
|
431
|
+
ref: Re,
|
|
432
|
+
class: "absolute inset-0 w-full h-full object-cover pointer-events-none z-[1]"
|
|
433
|
+
}, null, 512)), [[n, x(z)]]) : y("", !0),
|
|
434
|
+
r[2] ||= A("div", { class: "absolute inset-0 bg-transparent group-hover:bg-black/30 pointer-events-none transition-colors duration-200 z-[2]" }, null, -1),
|
|
435
|
+
A("div", Ke, [A("div", qe, [
|
|
436
|
+
A("p", Je, d(x(Ct)), 1),
|
|
437
|
+
x(_t) ? (u(), T("span", Ye, d(x(_t)), 1)) : y("", !0),
|
|
438
|
+
x(q) ? (u(), T("span", {
|
|
439
|
+
key: 1,
|
|
440
|
+
class: h(["text-[10px] font-bold text-white px-1.5 py-0.5 rounded-md shrink-0", x(q).color])
|
|
441
|
+
}, d(x(q).label), 3)) : y("", !0),
|
|
442
|
+
x(pt) && !e.selectionMode ? j((u(), v(f, {
|
|
443
|
+
key: 2,
|
|
444
|
+
rounded: "",
|
|
445
|
+
text: "",
|
|
446
|
+
severity: "secondary",
|
|
447
|
+
class: "!w-5 !h-5 !p-0 shrink-0 bg-black/60 hover:!bg-black/80",
|
|
448
|
+
onClick: a(Jt, ["stop"]),
|
|
449
|
+
onMouseenter: $
|
|
450
|
+
}, {
|
|
451
|
+
icon: C(() => [x(K) ? (u(), v(s, {
|
|
452
|
+
key: 0,
|
|
453
|
+
class: "w-3 h-3 text-yellow-400"
|
|
454
|
+
})) : (u(), v(c, {
|
|
455
|
+
key: 1,
|
|
456
|
+
class: "w-3 h-3 text-white"
|
|
457
|
+
}))]),
|
|
458
|
+
_: 1
|
|
459
|
+
})), [[
|
|
460
|
+
w,
|
|
461
|
+
{ value: x(K) ? t.$t("views.recordings.unfavorite") : t.$t("views.recordings.favorite") },
|
|
462
|
+
void 0,
|
|
463
|
+
{ left: !0 }
|
|
464
|
+
]]) : y("", !0),
|
|
465
|
+
x(Pt).length > 0 && !e.selectionMode ? j((u(), v(f, {
|
|
466
|
+
key: 3,
|
|
467
|
+
rounded: "",
|
|
468
|
+
text: "",
|
|
469
|
+
severity: "secondary",
|
|
470
|
+
loading: x(H) || x(G),
|
|
471
|
+
class: "!w-5 !h-5 !p-0 shrink-0 bg-black/60 hover:!bg-black/80",
|
|
472
|
+
onClick: a(Gt, ["stop"]),
|
|
473
|
+
onMouseenter: $
|
|
474
|
+
}, {
|
|
475
|
+
icon: C(() => [P(p, { class: "w-3 h-3 text-white" })]),
|
|
476
|
+
_: 1
|
|
477
|
+
}, 8, ["loading"])), [[
|
|
478
|
+
w,
|
|
479
|
+
{ value: t.$t("views.recordings.more_actions") },
|
|
480
|
+
void 0,
|
|
481
|
+
{ left: !0 }
|
|
482
|
+
]]) : y("", !0)
|
|
483
|
+
]), A("p", Xe, d(x(At)), 1)]),
|
|
484
|
+
x(X).length > 1 ? (u(), T(O, { key: 4 }, [P(f, {
|
|
485
|
+
rounded: "",
|
|
486
|
+
text: "",
|
|
487
|
+
severity: "secondary",
|
|
488
|
+
class: "carousel-nav !absolute left-1 top-1/2 -translate-y-1/2 z-[3] !w-7 !h-7 !p-0 bg-black/40 hover:!bg-black/60 transition-opacity duration-200",
|
|
489
|
+
"aria-label": t.$t("views.recordings.prev_image"),
|
|
490
|
+
onClick: r[0] ||= a((e) => Lt(-1), ["stop"]),
|
|
491
|
+
onMouseenter: $
|
|
492
|
+
}, {
|
|
493
|
+
icon: C(() => [P(m, { class: "w-5 h-5 text-white" })]),
|
|
494
|
+
_: 1
|
|
495
|
+
}, 8, ["aria-label"]), P(f, {
|
|
496
|
+
rounded: "",
|
|
497
|
+
text: "",
|
|
498
|
+
severity: "secondary",
|
|
499
|
+
class: "carousel-nav !absolute right-1 top-1/2 -translate-y-1/2 z-[3] !w-7 !h-7 !p-0 bg-black/40 hover:!bg-black/60 transition-opacity duration-200",
|
|
500
|
+
"aria-label": t.$t("views.recordings.next_image"),
|
|
501
|
+
onClick: r[1] ||= a((e) => Lt(1), ["stop"]),
|
|
502
|
+
onMouseenter: $
|
|
503
|
+
}, {
|
|
504
|
+
icon: C(() => [P(_, { class: "w-5 h-5 text-white" })]),
|
|
505
|
+
_: 1
|
|
506
|
+
}, 8, ["aria-label"])], 64)) : y("", !0),
|
|
507
|
+
x(St) ? (u(), T("div", {
|
|
508
|
+
key: 5,
|
|
509
|
+
class: h(["absolute left-1/2 -translate-x-1/2 z-[3] max-w-[85%] pointer-events-none transition-all duration-200", x(Mt) ? "bottom-16" : "bottom-10"])
|
|
510
|
+
}, [A("span", Ze, d(x(St)), 1)], 2)) : y("", !0),
|
|
511
|
+
A("div", {
|
|
512
|
+
ref_key: "footerRef",
|
|
513
|
+
ref: ze,
|
|
514
|
+
class: "absolute bottom-2 left-2 right-2 flex items-center justify-between gap-2 z-[3]"
|
|
515
|
+
}, [A("div", Qe, [
|
|
516
|
+
e.selectionMode ? (u(), T("div", {
|
|
517
|
+
key: 0,
|
|
518
|
+
class: h(["w-6 h-6 rounded-full border-2 flex items-center justify-center transition-colors shrink-0", e.selected ? "bg-primary border-primary" : "bg-black/40 border-white/80"])
|
|
519
|
+
}, [e.selected ? (u(), v(b, {
|
|
520
|
+
key: 0,
|
|
521
|
+
class: "w-4 h-4 text-white"
|
|
522
|
+
})) : y("", !0)], 2)) : y("", !0),
|
|
523
|
+
(u(!0), T(O, null, l(x(Tt), (e) => (u(), T("div", {
|
|
524
|
+
key: e,
|
|
525
|
+
class: "flex items-center justify-center w-5 h-5 rounded-md bg-black/60 shrink-0"
|
|
526
|
+
}, [(u(), v(g(x(E)[e] ?? x(E).motion), { class: "w-3 h-3 text-white/80" }))]))), 128)),
|
|
527
|
+
x(Dt).length > 0 ? (u(), T("span", {
|
|
528
|
+
key: 1,
|
|
529
|
+
title: x(Dt).join(", "),
|
|
530
|
+
class: "text-[10px] text-white/60 font-medium shrink-0"
|
|
531
|
+
}, " +" + d(x(Dt).length), 9, $e)) : y("", !0)
|
|
532
|
+
]), x(Ot).length > 0 || x(kt) > 0 ? (u(), T("div", et, [(u(!0), T(O, null, l(x(Ot), (e, t) => (u(), T("div", {
|
|
533
|
+
key: t,
|
|
534
|
+
class: h(["w-7 h-7 rounded overflow-hidden border bg-neutral-800 cursor-pointer", t === x(yt) ? "border-primary/80" : "border-white/20"]),
|
|
535
|
+
onClick: (e) => Rt(t, e)
|
|
536
|
+
}, [A("img", {
|
|
537
|
+
src: e.url,
|
|
538
|
+
alt: e.type,
|
|
539
|
+
decoding: "async",
|
|
540
|
+
loading: "lazy",
|
|
541
|
+
class: "w-full h-full object-cover"
|
|
542
|
+
}, null, 8, nt)], 10, tt))), 128)), x(kt) > 0 ? (u(), T("span", rt, "+" + d(x(kt)), 1)) : y("", !0)])) : y("", !0)], 512),
|
|
543
|
+
x(I) && x(z) && x(I).isLoading.value ? (u(), T("div", it, [P(S, {
|
|
544
|
+
class: "w-[28px] h-[28px] m-0",
|
|
545
|
+
"stroke-width": "6"
|
|
546
|
+
})])) : y("", !0),
|
|
547
|
+
x(Mt) ? (u(), T("div", at, [A("span", ot, d(x(Mt)), 1)])) : y("", !0)
|
|
548
|
+
], 2), P(ie, {
|
|
549
|
+
ref_key: "cardMenuRef",
|
|
550
|
+
ref: Be,
|
|
551
|
+
items: x(Pt),
|
|
552
|
+
popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
|
|
553
|
+
}, null, 8, ["items"])], 544);
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
}), [["__scopeId", "data-v-7ce0bd00"]]), pt = {
|
|
557
|
+
name: "VirtualScroller",
|
|
558
|
+
components: { SpinnerIcon: Fe },
|
|
559
|
+
extends: {
|
|
560
|
+
name: "BaseVirtualScroller",
|
|
561
|
+
extends: i,
|
|
562
|
+
provide() {
|
|
563
|
+
return {
|
|
564
|
+
$pcVirtualScroller: this,
|
|
565
|
+
$parentInstance: this
|
|
566
|
+
};
|
|
567
|
+
},
|
|
568
|
+
props: {
|
|
569
|
+
id: {
|
|
570
|
+
type: String,
|
|
571
|
+
default: null
|
|
572
|
+
},
|
|
573
|
+
style: null,
|
|
574
|
+
class: null,
|
|
575
|
+
items: {
|
|
576
|
+
type: Array,
|
|
577
|
+
default: null
|
|
578
|
+
},
|
|
579
|
+
itemSize: {
|
|
580
|
+
type: [Number, Array],
|
|
581
|
+
default: 0
|
|
582
|
+
},
|
|
583
|
+
scrollHeight: null,
|
|
584
|
+
scrollWidth: null,
|
|
585
|
+
orientation: {
|
|
586
|
+
type: String,
|
|
587
|
+
default: "vertical"
|
|
588
|
+
},
|
|
589
|
+
rtl: {
|
|
590
|
+
type: Boolean,
|
|
591
|
+
default: !1
|
|
592
|
+
},
|
|
593
|
+
numToleratedItems: {
|
|
594
|
+
type: Number,
|
|
595
|
+
default: null
|
|
596
|
+
},
|
|
597
|
+
delay: {
|
|
598
|
+
type: Number,
|
|
599
|
+
default: 0
|
|
600
|
+
},
|
|
601
|
+
resizeDelay: {
|
|
602
|
+
type: Number,
|
|
603
|
+
default: 10
|
|
604
|
+
},
|
|
605
|
+
lazy: {
|
|
606
|
+
type: Boolean,
|
|
607
|
+
default: !1
|
|
608
|
+
},
|
|
609
|
+
disabled: {
|
|
610
|
+
type: Boolean,
|
|
611
|
+
default: !1
|
|
612
|
+
},
|
|
613
|
+
loaderDisabled: {
|
|
614
|
+
type: Boolean,
|
|
615
|
+
default: !1
|
|
616
|
+
},
|
|
617
|
+
columns: {
|
|
618
|
+
type: Array,
|
|
619
|
+
default: null
|
|
620
|
+
},
|
|
621
|
+
loading: {
|
|
622
|
+
type: Boolean,
|
|
623
|
+
default: !1
|
|
624
|
+
},
|
|
625
|
+
showSpacer: {
|
|
626
|
+
type: Boolean,
|
|
627
|
+
default: !0
|
|
628
|
+
},
|
|
629
|
+
showLoader: {
|
|
630
|
+
type: Boolean,
|
|
631
|
+
default: !1
|
|
632
|
+
},
|
|
633
|
+
tabindex: {
|
|
634
|
+
type: Number,
|
|
635
|
+
default: 0
|
|
636
|
+
},
|
|
637
|
+
inline: {
|
|
638
|
+
type: Boolean,
|
|
639
|
+
default: !1
|
|
640
|
+
},
|
|
641
|
+
step: {
|
|
642
|
+
type: Number,
|
|
643
|
+
default: 0
|
|
644
|
+
},
|
|
645
|
+
appendOnly: {
|
|
646
|
+
type: Boolean,
|
|
647
|
+
default: !1
|
|
648
|
+
},
|
|
649
|
+
autoSize: {
|
|
650
|
+
type: Boolean,
|
|
651
|
+
default: !1
|
|
652
|
+
},
|
|
653
|
+
itemKey: {
|
|
654
|
+
type: [String, Function],
|
|
655
|
+
default: null
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
style: s,
|
|
659
|
+
beforeMount() {
|
|
660
|
+
s.loadCSS({ nonce: this.$primevueConfig?.csp?.nonce });
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
inheritAttrs: !1,
|
|
664
|
+
emits: [
|
|
665
|
+
"update:numToleratedItems",
|
|
666
|
+
"scroll",
|
|
667
|
+
"scroll-index-change",
|
|
668
|
+
"lazy-load"
|
|
669
|
+
],
|
|
670
|
+
data() {
|
|
671
|
+
let e = this.isBoth();
|
|
672
|
+
return {
|
|
673
|
+
first: e ? {
|
|
674
|
+
rows: 0,
|
|
675
|
+
cols: 0
|
|
676
|
+
} : 0,
|
|
677
|
+
last: e ? {
|
|
678
|
+
rows: 0,
|
|
679
|
+
cols: 0
|
|
680
|
+
} : 0,
|
|
681
|
+
page: e ? {
|
|
682
|
+
rows: 0,
|
|
683
|
+
cols: 0
|
|
684
|
+
} : 0,
|
|
685
|
+
numItemsInViewport: e ? {
|
|
686
|
+
rows: 0,
|
|
687
|
+
cols: 0
|
|
688
|
+
} : 0,
|
|
689
|
+
lastScrollPos: e ? {
|
|
690
|
+
top: 0,
|
|
691
|
+
left: 0
|
|
692
|
+
} : 0,
|
|
693
|
+
d_numToleratedItems: this.numToleratedItems,
|
|
694
|
+
d_loading: this.loading,
|
|
695
|
+
loaderArr: [],
|
|
696
|
+
spacerStyle: {},
|
|
697
|
+
contentStyle: {}
|
|
698
|
+
};
|
|
699
|
+
},
|
|
700
|
+
element: null,
|
|
701
|
+
content: null,
|
|
702
|
+
lastScrollPos: null,
|
|
703
|
+
scrollTimeout: null,
|
|
704
|
+
resizeTimeout: null,
|
|
705
|
+
defaultWidth: 0,
|
|
706
|
+
defaultHeight: 0,
|
|
707
|
+
defaultContentWidth: 0,
|
|
708
|
+
defaultContentHeight: 0,
|
|
709
|
+
isRangeChanged: !1,
|
|
710
|
+
lazyLoadState: {},
|
|
711
|
+
resizeListener: null,
|
|
712
|
+
initialized: !1,
|
|
713
|
+
computed: {
|
|
714
|
+
containerClass() {
|
|
715
|
+
return [
|
|
716
|
+
"p-virtualscroller",
|
|
717
|
+
this.class,
|
|
718
|
+
{
|
|
719
|
+
"p-virtualscroller-inline": this.inline,
|
|
720
|
+
"p-virtualscroller-both p-both-scroll": this.isBoth(),
|
|
721
|
+
"p-virtualscroller-horizontal p-horizontal-scroll": this.isHorizontal(),
|
|
722
|
+
"p-virtualscroller-rtl": this.rtl && this.isHorizontal()
|
|
723
|
+
}
|
|
724
|
+
];
|
|
725
|
+
},
|
|
726
|
+
contentClass() {
|
|
727
|
+
return ["p-virtualscroller-content", { "p-virtualscroller-loading": this.d_loading }];
|
|
728
|
+
},
|
|
729
|
+
loaderClass() {
|
|
730
|
+
return ["p-virtualscroller-loader", { "p-virtualscroller-loader-mask": !this.$slots.loader }];
|
|
731
|
+
},
|
|
732
|
+
loadedItems() {
|
|
733
|
+
return this.items && !this.d_loading ? this.isBoth() ? this.items.slice(this.appendOnly ? 0 : this.first.rows, this.last.rows).map((e) => this.columns ? e : e.slice(this.appendOnly ? 0 : this.first.cols, this.last.cols)) : this.isHorizontal() && this.columns ? this.items : this.items.slice(this.appendOnly ? 0 : this.first, this.last) : [];
|
|
734
|
+
},
|
|
735
|
+
loadedRows() {
|
|
736
|
+
return this.d_loading ? this.loaderDisabled ? this.loaderArr : [] : this.loadedItems;
|
|
737
|
+
},
|
|
738
|
+
loadedColumns() {
|
|
739
|
+
if (this.columns) {
|
|
740
|
+
let e = this.isBoth(), t = this.isHorizontal();
|
|
741
|
+
if (e || t) return this.d_loading && this.loaderDisabled ? e ? this.loaderArr[0] : this.loaderArr : this.columns.slice(e ? this.first.cols : this.first, e ? this.last.cols : this.last);
|
|
742
|
+
}
|
|
743
|
+
return this.columns;
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
watch: {
|
|
747
|
+
numToleratedItems(e) {
|
|
748
|
+
this.d_numToleratedItems = e;
|
|
749
|
+
},
|
|
750
|
+
loading(e, t) {
|
|
751
|
+
this.lazy && e !== t && e !== this.d_loading && (this.d_loading = e);
|
|
752
|
+
},
|
|
753
|
+
items(e, t) {
|
|
754
|
+
(!t || t.length !== (e || []).length) && this.scheduleInit();
|
|
755
|
+
},
|
|
756
|
+
itemSize() {
|
|
757
|
+
this.scheduleInit();
|
|
758
|
+
},
|
|
759
|
+
orientation() {
|
|
760
|
+
this.lastScrollPos = this.isBoth() ? {
|
|
761
|
+
top: 0,
|
|
762
|
+
left: 0
|
|
763
|
+
} : 0;
|
|
764
|
+
},
|
|
765
|
+
scrollHeight() {
|
|
766
|
+
this.scheduleInit();
|
|
767
|
+
},
|
|
768
|
+
scrollWidth() {
|
|
769
|
+
this.scheduleInit();
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
mounted() {
|
|
773
|
+
this.viewInit(), this.lastScrollPos = this.isBoth() ? {
|
|
774
|
+
top: 0,
|
|
775
|
+
left: 0
|
|
776
|
+
} : 0, this.lazyLoadState = this.lazyLoadState || {};
|
|
777
|
+
},
|
|
778
|
+
updated() {
|
|
779
|
+
!this.initialized && this.viewInit();
|
|
780
|
+
},
|
|
781
|
+
unmounted() {
|
|
782
|
+
this.unbindResizeListener(), this.initialized = !1;
|
|
783
|
+
},
|
|
784
|
+
methods: {
|
|
785
|
+
resolveItemKey(e, t) {
|
|
786
|
+
let n = this.itemKey;
|
|
787
|
+
return typeof n == "function" ? n(e, t) ?? t : typeof n == "string" && typeof e == "object" && e ? e[n] ?? t : t;
|
|
788
|
+
},
|
|
789
|
+
viewInit() {
|
|
790
|
+
r(this.element) && (this.setContentEl(this.content), this.init(), this.calculateAutoSize(), this.bindResizeListener(), this.defaultWidth = t(this.element), this.defaultHeight = o(this.element), this.defaultContentWidth = t(this.content), this.defaultContentHeight = o(this.content), this.initialized = !0);
|
|
791
|
+
},
|
|
792
|
+
init() {
|
|
793
|
+
this.disabled || (this.setSize(), this.calculateOptions(), this.setSpacerSize());
|
|
794
|
+
},
|
|
795
|
+
scheduleInit() {
|
|
796
|
+
this._initScheduled || (this._initScheduled = !0, Promise.resolve().then(() => {
|
|
797
|
+
this._initScheduled = !1, this.init(), this.calculateAutoSize();
|
|
798
|
+
}));
|
|
799
|
+
},
|
|
800
|
+
isVertical() {
|
|
801
|
+
return this.orientation === "vertical";
|
|
802
|
+
},
|
|
803
|
+
isHorizontal() {
|
|
804
|
+
return this.orientation === "horizontal";
|
|
805
|
+
},
|
|
806
|
+
isBoth() {
|
|
807
|
+
return this.orientation === "both";
|
|
808
|
+
},
|
|
809
|
+
scrollTo(e) {
|
|
810
|
+
this.element && this.element.scrollTo(e);
|
|
811
|
+
},
|
|
812
|
+
scrollToIndex(e, t = "auto") {
|
|
813
|
+
let n = this.isBoth(), r = this.isHorizontal(), i = this.rtl && r;
|
|
814
|
+
if (n ? e.every((e) => e > -1) : e > -1) {
|
|
815
|
+
let a = this.first, { scrollTop: o = 0, scrollLeft: s = 0 } = this.element, { numToleratedItems: c } = this.calculateNumItems(), l = this.getContentPosition(), u = this.itemSize, d = (e = 0, t) => e <= t ? 0 : e, f = (e, t, n) => e * t + n, p = (e = 0, n = 0) => {
|
|
816
|
+
i && (e = this.element.scrollWidth - this.element.clientWidth - e), this.scrollTo({
|
|
817
|
+
left: e,
|
|
818
|
+
top: n,
|
|
819
|
+
behavior: t
|
|
820
|
+
});
|
|
821
|
+
}, m = n ? {
|
|
822
|
+
rows: 0,
|
|
823
|
+
cols: 0
|
|
824
|
+
} : 0, h = !1, g = !1;
|
|
825
|
+
n ? (m = {
|
|
826
|
+
rows: d(e[0], c[0]),
|
|
827
|
+
cols: d(e[1], c[1])
|
|
828
|
+
}, p(f(m.cols, u[1], l.left), f(m.rows, u[0], l.top)), g = this.lastScrollPos.top !== o || this.lastScrollPos.left !== s, h = m.rows !== a.rows || m.cols !== a.cols) : (m = d(e, c), r ? p(f(m, u, l.left), o) : p(s, f(m, u, l.top)), g = this.lastScrollPos !== (r ? s : o), h = m !== a), this.isRangeChanged = h, g && (this.first = m);
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
scrollInView(e, t, n = "auto") {
|
|
832
|
+
if (t) {
|
|
833
|
+
let r = this.isBoth(), i = this.isHorizontal();
|
|
834
|
+
if (r ? e.every((e) => e > -1) : e > -1) {
|
|
835
|
+
let { first: a, viewport: o } = this.getRenderedRange(), s = (e = 0, t = 0) => this.scrollTo({
|
|
836
|
+
left: e,
|
|
837
|
+
top: t,
|
|
838
|
+
behavior: n
|
|
839
|
+
}), c = t === "to-start", l = t === "to-end";
|
|
840
|
+
if (c) {
|
|
841
|
+
if (r) o.first.rows - a.rows > e[0] ? s(o.first.cols * this.itemSize[1], (o.first.rows - 1) * this.itemSize[0]) : o.first.cols - a.cols > e[1] && s((o.first.cols - 1) * this.itemSize[1], o.first.rows * this.itemSize[0]);
|
|
842
|
+
else if (o.first - a > e) {
|
|
843
|
+
let e = (o.first - 1) * this.itemSize;
|
|
844
|
+
i ? s(e, 0) : s(0, e);
|
|
845
|
+
}
|
|
846
|
+
} else if (l) {
|
|
847
|
+
if (r) o.last.rows - a.rows <= e[0] + 1 ? s(o.first.cols * this.itemSize[1], (o.first.rows + 1) * this.itemSize[0]) : o.last.cols - a.cols <= e[1] + 1 && s((o.first.cols + 1) * this.itemSize[1], o.first.rows * this.itemSize[0]);
|
|
848
|
+
else if (o.last - a <= e + 1) {
|
|
849
|
+
let e = (o.first + 1) * this.itemSize;
|
|
850
|
+
i ? s(e, 0) : s(0, e);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
} else this.scrollToIndex(e, n);
|
|
855
|
+
},
|
|
856
|
+
getRenderedRange() {
|
|
857
|
+
let e = (e, t) => Math.floor(e / (t || e)), t = this.first, n = 0;
|
|
858
|
+
if (this.element) {
|
|
859
|
+
let r = this.isBoth(), i = this.isHorizontal(), { scrollTop: a, scrollLeft: o } = this.element;
|
|
860
|
+
r ? (t = {
|
|
861
|
+
rows: e(a, this.itemSize[0]),
|
|
862
|
+
cols: e(o, this.itemSize[1])
|
|
863
|
+
}, n = {
|
|
864
|
+
rows: t.rows + this.numItemsInViewport.rows,
|
|
865
|
+
cols: t.cols + this.numItemsInViewport.cols
|
|
866
|
+
}) : (t = e(i ? o : a, this.itemSize), n = t + this.numItemsInViewport);
|
|
867
|
+
}
|
|
868
|
+
return {
|
|
869
|
+
first: this.first,
|
|
870
|
+
last: this.last,
|
|
871
|
+
viewport: {
|
|
872
|
+
first: t,
|
|
873
|
+
last: n
|
|
874
|
+
}
|
|
875
|
+
};
|
|
876
|
+
},
|
|
877
|
+
calculateNumItems() {
|
|
878
|
+
let e = this.isBoth(), t = this.isHorizontal(), n = this.itemSize, r = this.getContentPosition(), i = this.element ? this.element.offsetWidth - r.left : 0, a = this.element ? this.element.offsetHeight - r.top : 0, o = (e, t) => Math.ceil(e / (t || e)), s = (e) => Math.ceil(e / 2), c = e ? {
|
|
879
|
+
rows: o(a, n[0]),
|
|
880
|
+
cols: o(i, n[1])
|
|
881
|
+
} : o(t ? i : a, n);
|
|
882
|
+
return {
|
|
883
|
+
numItemsInViewport: c,
|
|
884
|
+
numToleratedItems: this.d_numToleratedItems || (e ? [s(c.rows), s(c.cols)] : s(c))
|
|
885
|
+
};
|
|
886
|
+
},
|
|
887
|
+
calculateOptions() {
|
|
888
|
+
let e = this.isBoth(), t = this.first, { numItemsInViewport: n, numToleratedItems: r } = this.calculateNumItems(), i = (e, t, n, r = !1) => this.getLast(e + t + (e < n ? 2 : 3) * n, r), a = e ? {
|
|
889
|
+
rows: i(t.rows, n.rows, r[0]),
|
|
890
|
+
cols: i(t.cols, n.cols, r[1], !0)
|
|
891
|
+
} : i(t, n, r);
|
|
892
|
+
this.last = a, this.numItemsInViewport = n, this.d_numToleratedItems = r, this.$emit("update:numToleratedItems", this.d_numToleratedItems), this.showLoader && (this.loaderArr = e ? Array.from({ length: n.rows }).map(() => Array.from({ length: n.cols })) : Array.from({ length: n })), this.lazy && Promise.resolve().then(() => {
|
|
893
|
+
this.lazyLoadState = {
|
|
894
|
+
first: this.step ? e ? {
|
|
895
|
+
rows: 0,
|
|
896
|
+
cols: t.cols
|
|
897
|
+
} : 0 : t,
|
|
898
|
+
last: Math.min(this.step ? this.step : a, this.items?.length - 1 || 0)
|
|
899
|
+
}, this.$emit("lazy-load", this.lazyLoadState);
|
|
900
|
+
});
|
|
901
|
+
},
|
|
902
|
+
calculateAutoSize() {
|
|
903
|
+
this.autoSize && !this.d_loading && Promise.resolve().then(() => {
|
|
904
|
+
if (this.content) {
|
|
905
|
+
let e = this.isBoth(), n = this.isHorizontal(), r = this.isVertical();
|
|
906
|
+
this.content.style.minHeight = this.content.style.minWidth = "auto", this.content.style.position = "relative", this.element.style.contain = "none";
|
|
907
|
+
let [i, a] = [t(this.element), o(this.element)];
|
|
908
|
+
(e || n) && (this.element.style.width = i < this.defaultWidth ? i + "px" : this.scrollWidth || this.defaultWidth + "px"), (e || r) && (this.element.style.height = a < this.defaultHeight ? a + "px" : this.scrollHeight || this.defaultHeight + "px"), this.content.style.minHeight = this.content.style.minWidth = "", this.content.style.position = "", this.element.style.contain = "";
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
},
|
|
912
|
+
getLast(e = 0, t) {
|
|
913
|
+
return this.items ? Math.min(t ? (this.columns || this.items[0])?.length || 0 : this.items?.length || 0, e) : 0;
|
|
914
|
+
},
|
|
915
|
+
getContentPosition() {
|
|
916
|
+
if (this.content) {
|
|
917
|
+
let e = getComputedStyle(this.content), t = parseFloat(e.paddingLeft) + Math.max(parseFloat(e.left) || 0, 0), n = parseFloat(e.paddingRight) + Math.max(parseFloat(e.right) || 0, 0), r = parseFloat(e.paddingTop) + Math.max(parseFloat(e.top) || 0, 0), i = parseFloat(e.paddingBottom) + Math.max(parseFloat(e.bottom) || 0, 0);
|
|
918
|
+
return {
|
|
919
|
+
left: t,
|
|
920
|
+
right: n,
|
|
921
|
+
top: r,
|
|
922
|
+
bottom: i,
|
|
923
|
+
x: t + n,
|
|
924
|
+
y: r + i
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
return {
|
|
928
|
+
left: 0,
|
|
929
|
+
right: 0,
|
|
930
|
+
top: 0,
|
|
931
|
+
bottom: 0,
|
|
932
|
+
x: 0,
|
|
933
|
+
y: 0
|
|
934
|
+
};
|
|
935
|
+
},
|
|
936
|
+
setSize() {
|
|
937
|
+
if (this.element) {
|
|
938
|
+
let e = this.isBoth(), t = this.isHorizontal(), n = this.element.parentElement, r = this.scrollWidth || `${this.element.offsetWidth || n.offsetWidth}px`, i = this.scrollHeight || `${this.element.offsetHeight || n.offsetHeight}px`, a = (e, t) => this.element.style[e] = t;
|
|
939
|
+
e || t ? (a("height", i), a("width", r)) : a("height", i);
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
setSpacerSize() {
|
|
943
|
+
let e = this.items;
|
|
944
|
+
if (e) {
|
|
945
|
+
let t = this.isBoth(), n = this.isHorizontal(), r = this.getContentPosition(), i = (e, t, n, r = 0) => this.spacerStyle = {
|
|
946
|
+
...this.spacerStyle,
|
|
947
|
+
[`${e}`]: (t || []).length * n + r + "px"
|
|
948
|
+
};
|
|
949
|
+
t ? (i("height", e, this.itemSize[0], r.y), i("width", this.columns || e[1], this.itemSize[1], r.x)) : n ? i("width", this.columns || e, this.itemSize, r.x) : i("height", e, this.itemSize, r.y);
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
setContentPosition(e) {
|
|
953
|
+
if (this.content && !this.appendOnly) {
|
|
954
|
+
let t = this.isBoth(), n = this.isHorizontal(), r = this.rtl && n, i = e ? e.first : this.first, a = (e, t) => e * t, o = (e = 0, t = 0) => {
|
|
955
|
+
let n = r ? -e : e;
|
|
956
|
+
this.contentStyle = {
|
|
957
|
+
...this.contentStyle,
|
|
958
|
+
transform: `translate3d(${n}px, ${t}px, 0)`
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
if (t) {
|
|
962
|
+
let e = i.rows, t = i.cols, n = this.itemSize;
|
|
963
|
+
o(a(t, n[1]), a(e, n[0]));
|
|
964
|
+
} else {
|
|
965
|
+
let e = i, t = this.itemSize, r = a(e, t);
|
|
966
|
+
n ? o(r, 0) : o(0, r);
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
onScrollPositionChange(e) {
|
|
971
|
+
let t = e.target, n = this.isBoth(), r = this.isHorizontal(), i = this.rtl && r, a = this.getContentPosition(), o = (e, t) => e ? e > t ? e - t : e : 0, s = (e, t) => Math.floor(e / (t || e)), c = o(t.scrollTop, a.top), l = o(t.scrollLeft, a.left);
|
|
972
|
+
i && l < 0 && (l = Math.abs(l));
|
|
973
|
+
let u = n ? {
|
|
974
|
+
rows: 0,
|
|
975
|
+
cols: 0
|
|
976
|
+
} : 0, d = this.last, f = !1, p = this.lastScrollPos;
|
|
977
|
+
if (n) {
|
|
978
|
+
let e = this.lastScrollPos.top <= c, n = this.lastScrollPos.left <= l;
|
|
979
|
+
if (!this.appendOnly || this.appendOnly && (e || n)) {
|
|
980
|
+
let r = {
|
|
981
|
+
rows: s(c, this.itemSize[0]),
|
|
982
|
+
cols: s(l, this.itemSize[1])
|
|
983
|
+
}, i = {
|
|
984
|
+
rows: this.calculateTriggerIndex(r.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], e),
|
|
985
|
+
cols: this.calculateTriggerIndex(r.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], n)
|
|
986
|
+
};
|
|
987
|
+
u = {
|
|
988
|
+
rows: this.calculateFirst(r.rows, i.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], e),
|
|
989
|
+
cols: this.calculateFirst(r.cols, i.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], n, !0)
|
|
990
|
+
}, d = {
|
|
991
|
+
rows: this.calculateLast(r.rows, u.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
|
|
992
|
+
cols: this.calculateLast(r.cols, u.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], !0)
|
|
993
|
+
}, f = u.rows !== this.first.rows || d.rows !== this.last.rows || u.cols !== this.first.cols || d.cols !== this.last.cols || this.isRangeChanged, p = {
|
|
994
|
+
top: c,
|
|
995
|
+
left: t.scrollLeft
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
} else {
|
|
999
|
+
let e = r ? l : c, t = this.lastScrollPos <= e;
|
|
1000
|
+
if (!this.appendOnly || this.appendOnly && t) {
|
|
1001
|
+
let n = s(e, this.itemSize), r = this.calculateTriggerIndex(n, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, t);
|
|
1002
|
+
u = this.calculateFirst(n, r, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, t), d = this.calculateLast(n, u, this.last, this.numItemsInViewport, this.d_numToleratedItems), f = u !== this.first || d !== this.last || this.isRangeChanged, p = e;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
return {
|
|
1006
|
+
first: u,
|
|
1007
|
+
last: d,
|
|
1008
|
+
isRangeChanged: f,
|
|
1009
|
+
scrollPos: p
|
|
1010
|
+
};
|
|
1011
|
+
},
|
|
1012
|
+
calculateTriggerIndex(e, t, n, r, i, a) {
|
|
1013
|
+
return e <= i ? i : a ? n - r - i : t + i - 1;
|
|
1014
|
+
},
|
|
1015
|
+
calculateFirst(e, t, n, r, i, a, o, s = !1) {
|
|
1016
|
+
if (e <= a) return 0;
|
|
1017
|
+
let c = Math.max(0, o ? e < t ? n : e - a : e > t ? n : e - 2 * a), l = this.getLast(c, s);
|
|
1018
|
+
return c > l ? l - i : c;
|
|
1019
|
+
},
|
|
1020
|
+
calculateLast(e, t, n, r, i, a = !1) {
|
|
1021
|
+
let o = t + r + 2 * i;
|
|
1022
|
+
return e >= i && (o += i + 1), this.getLast(o, a);
|
|
1023
|
+
},
|
|
1024
|
+
onScrollChange(e) {
|
|
1025
|
+
let { first: t, last: n, isRangeChanged: r, scrollPos: i } = this.onScrollPositionChange(e);
|
|
1026
|
+
if (r) {
|
|
1027
|
+
let e = {
|
|
1028
|
+
first: t,
|
|
1029
|
+
last: n
|
|
1030
|
+
};
|
|
1031
|
+
if (this.setContentPosition(e), this.first = t, this.last = n, this.lastScrollPos = i, this.$emit("scroll-index-change", e), this.lazy && this.isPageChanged(t)) {
|
|
1032
|
+
let e = {
|
|
1033
|
+
first: this.step ? Math.min(this.getPageByFirst(t) * this.step, (this.items?.length || 0) - this.step) : t,
|
|
1034
|
+
last: Math.min(this.step ? (this.getPageByFirst(t) + 1) * this.step : n, this.items?.length - 1 || 0)
|
|
1035
|
+
};
|
|
1036
|
+
(this.lazyLoadState.first !== e.first || this.lazyLoadState.last !== e.last) && this.$emit("lazy-load", e), this.lazyLoadState = e;
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
onScroll(e) {
|
|
1041
|
+
if (this.$emit("scroll", e), this.delay) {
|
|
1042
|
+
if (this.scrollTimeout && clearTimeout(this.scrollTimeout), this.isPageChanged()) {
|
|
1043
|
+
if (!this.d_loading && this.showLoader) {
|
|
1044
|
+
let { isRangeChanged: t } = this.onScrollPositionChange(e);
|
|
1045
|
+
(t || this.step && this.isPageChanged()) && (this.d_loading = !0);
|
|
1046
|
+
}
|
|
1047
|
+
this.scrollTimeout = setTimeout(() => {
|
|
1048
|
+
this.onScrollChange(e), this.d_loading && this.showLoader && (!this.lazy || this.loading === void 0) && (this.d_loading = !1, this.page = this.getPageByFirst());
|
|
1049
|
+
}, this.delay);
|
|
1050
|
+
}
|
|
1051
|
+
} else this.onScrollChange(e);
|
|
1052
|
+
},
|
|
1053
|
+
onResize() {
|
|
1054
|
+
this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(() => {
|
|
1055
|
+
if (r(this.element)) {
|
|
1056
|
+
let e = this.isBoth(), n = this.isVertical(), r = this.isHorizontal(), [i, a] = [t(this.element), o(this.element)], [s, c] = [i !== this.defaultWidth, a !== this.defaultHeight];
|
|
1057
|
+
(e ? s || c : r ? s : n && c) && (this.d_numToleratedItems = this.numToleratedItems, this.defaultWidth = i, this.defaultHeight = a, this.defaultContentWidth = t(this.content), this.defaultContentHeight = o(this.content), this.init());
|
|
1058
|
+
}
|
|
1059
|
+
}, this.resizeDelay);
|
|
1060
|
+
},
|
|
1061
|
+
bindResizeListener() {
|
|
1062
|
+
this.resizeListener || (this.resizeListener = this.onResize.bind(this), window.addEventListener("resize", this.resizeListener), window.addEventListener("orientationchange", this.resizeListener));
|
|
1063
|
+
},
|
|
1064
|
+
unbindResizeListener() {
|
|
1065
|
+
this.resizeListener &&= (window.removeEventListener("resize", this.resizeListener), window.removeEventListener("orientationchange", this.resizeListener), null);
|
|
1066
|
+
},
|
|
1067
|
+
getOptions(e) {
|
|
1068
|
+
let t = (this.items || []).length, n = this.isBoth() ? this.first.rows + e : this.first + e;
|
|
1069
|
+
return {
|
|
1070
|
+
index: n,
|
|
1071
|
+
count: t,
|
|
1072
|
+
first: n === 0,
|
|
1073
|
+
last: n === t - 1,
|
|
1074
|
+
even: n % 2 == 0,
|
|
1075
|
+
odd: n % 2 != 0
|
|
1076
|
+
};
|
|
1077
|
+
},
|
|
1078
|
+
getLoaderOptions(e, t) {
|
|
1079
|
+
let n = this.loaderArr.length;
|
|
1080
|
+
return {
|
|
1081
|
+
index: e,
|
|
1082
|
+
count: n,
|
|
1083
|
+
first: e === 0,
|
|
1084
|
+
last: e === n - 1,
|
|
1085
|
+
even: e % 2 == 0,
|
|
1086
|
+
odd: e % 2 != 0,
|
|
1087
|
+
...t
|
|
1088
|
+
};
|
|
1089
|
+
},
|
|
1090
|
+
getPageByFirst(e) {
|
|
1091
|
+
return Math.floor(((e ?? this.first) + this.d_numToleratedItems * 4) / (this.step || 1));
|
|
1092
|
+
},
|
|
1093
|
+
isPageChanged(e) {
|
|
1094
|
+
return this.step && !this.lazy ? this.page !== this.getPageByFirst(e ?? this.first) : !0;
|
|
1095
|
+
},
|
|
1096
|
+
setContentEl(t) {
|
|
1097
|
+
this.content = t || this.content || e(this.element, "[data-pc-section=\"content\"]");
|
|
1098
|
+
},
|
|
1099
|
+
elementRef(e) {
|
|
1100
|
+
this.element = e;
|
|
1101
|
+
},
|
|
1102
|
+
contentRef(e) {
|
|
1103
|
+
this.content = e;
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
}, K = ["tabindex"];
|
|
1107
|
+
function q(e, t, n, r, i, a) {
|
|
1108
|
+
let o = E("SpinnerIcon");
|
|
1109
|
+
return e.disabled ? (u(), T(O, { key: 1 }, [f(e.$slots, "default"), f(e.$slots, "content", {
|
|
1110
|
+
items: e.items,
|
|
1111
|
+
rows: e.items,
|
|
1112
|
+
columns: a.loadedColumns
|
|
1113
|
+
})], 64)) : (u(), T("div", p({
|
|
1114
|
+
key: 0,
|
|
1115
|
+
ref: a.elementRef,
|
|
1116
|
+
class: a.containerClass,
|
|
1117
|
+
tabindex: e.tabindex,
|
|
1118
|
+
style: e.style
|
|
1119
|
+
}, e.ptmi("root"), { onScroll: t[0] ||= (...e) => a.onScroll && a.onScroll(...e) }), [
|
|
1120
|
+
f(e.$slots, "content", {
|
|
1121
|
+
styleClass: a.contentClass,
|
|
1122
|
+
items: a.loadedItems,
|
|
1123
|
+
getItemOptions: a.getOptions,
|
|
1124
|
+
loading: i.d_loading,
|
|
1125
|
+
getLoaderOptions: a.getLoaderOptions,
|
|
1126
|
+
itemSize: e.itemSize,
|
|
1127
|
+
rows: a.loadedRows,
|
|
1128
|
+
columns: a.loadedColumns,
|
|
1129
|
+
contentRef: a.contentRef,
|
|
1130
|
+
spacerStyle: i.spacerStyle,
|
|
1131
|
+
contentStyle: i.contentStyle,
|
|
1132
|
+
vertical: a.isVertical(),
|
|
1133
|
+
horizontal: a.isHorizontal(),
|
|
1134
|
+
both: a.isBoth()
|
|
1135
|
+
}, () => [A("div", p({
|
|
1136
|
+
ref: a.contentRef,
|
|
1137
|
+
class: a.contentClass,
|
|
1138
|
+
style: i.contentStyle
|
|
1139
|
+
}, e.ptm("content")), [(u(!0), T(O, null, l(a.loadedItems, (t, n) => f(e.$slots, "item", {
|
|
1140
|
+
item: t,
|
|
1141
|
+
options: a.getOptions(n)
|
|
1142
|
+
}, void 0, void 0, a.resolveItemKey(t, n))), 128))], 16)]),
|
|
1143
|
+
e.showSpacer ? (u(), T("div", p({
|
|
1144
|
+
key: 0,
|
|
1145
|
+
class: "p-virtualscroller-spacer",
|
|
1146
|
+
style: i.spacerStyle
|
|
1147
|
+
}, e.ptm("spacer")), null, 16)) : y("", !0),
|
|
1148
|
+
!e.loaderDisabled && e.showLoader && i.d_loading ? (u(), T("div", p({
|
|
1149
|
+
key: 1,
|
|
1150
|
+
class: a.loaderClass
|
|
1151
|
+
}, e.ptm("loader")), [e.$slots && e.$slots.loader ? (u(!0), T(O, { key: 0 }, l(i.loaderArr, (t, n) => f(e.$slots, "loader", { options: a.getLoaderOptions(n, a.isBoth() && { numCols: e.d_numItemsInViewport.cols }) }, void 0, void 0, n)), 128)) : y("", !0), f(e.$slots, "loadingicon", {}, () => [P(o, p({
|
|
1152
|
+
spin: "",
|
|
1153
|
+
class: "p-virtualscroller-loading-icon"
|
|
1154
|
+
}, e.ptm("loadingIcon")), null, 16)])], 16)) : y("", !0)
|
|
1155
|
+
], 16, K));
|
|
1156
|
+
}
|
|
1157
|
+
var J = /*#__PURE__*/ I(pt, [["render", q]]), Y = {
|
|
1158
|
+
key: 1,
|
|
1159
|
+
class: "pointer-events-none absolute bottom-2 left-1/2 -translate-x-1/2 z-10 rounded-full bg-black/60 p-1.5"
|
|
1160
|
+
}, mt = /*#__PURE__*/ I(/* @__PURE__ */ M({
|
|
1161
|
+
__name: "CuiRecordingsGrid",
|
|
1162
|
+
props: {
|
|
1163
|
+
items: {},
|
|
1164
|
+
minItemWidth: {},
|
|
1165
|
+
aspectRatio: { default: 1 },
|
|
1166
|
+
gap: { default: 8 },
|
|
1167
|
+
hasMore: {
|
|
1168
|
+
type: Boolean,
|
|
1169
|
+
default: !1
|
|
1170
|
+
},
|
|
1171
|
+
loadMore: {
|
|
1172
|
+
type: Function,
|
|
1173
|
+
default: void 0
|
|
1174
|
+
},
|
|
1175
|
+
itemKey: {
|
|
1176
|
+
type: Function,
|
|
1177
|
+
default: void 0
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
setup(e, { expose: t }) {
|
|
1181
|
+
let n = e, r = k("containerRef"), { width: i, height: a } = Ae(r), o = S(() => a.value > 0 ? `${a.value}px` : void 0), s = S(() => {
|
|
1182
|
+
let e = i.value;
|
|
1183
|
+
if (!e) return 0;
|
|
1184
|
+
let t = n.gap;
|
|
1185
|
+
return Math.max(1, Math.floor((e + t) / (n.minItemWidth + t)));
|
|
1186
|
+
}), c = S(() => {
|
|
1187
|
+
let e = i.value, t = s.value;
|
|
1188
|
+
return !e || !t ? 0 : Math.floor((e - (t - 1) * n.gap) / t);
|
|
1189
|
+
}), d = S(() => c.value ? Math.floor(c.value / n.aspectRatio) : 0), p = S(() => d.value ? d.value + n.gap : 0), h = S(() => {
|
|
1190
|
+
let e = s.value;
|
|
1191
|
+
if (!e) return [];
|
|
1192
|
+
let t = [];
|
|
1193
|
+
for (let r = 0; r < n.items.length; r += e) t.push(n.items.slice(r, r + e));
|
|
1194
|
+
return t;
|
|
1195
|
+
});
|
|
1196
|
+
function g(e) {
|
|
1197
|
+
if (n.itemKey) return n.itemKey(e);
|
|
1198
|
+
let t = e;
|
|
1199
|
+
return t.id ?? t.key ?? JSON.stringify(e);
|
|
1200
|
+
}
|
|
1201
|
+
function _(e) {
|
|
1202
|
+
let t = e;
|
|
1203
|
+
if (t && t.length !== 0) return g(t[0]);
|
|
1204
|
+
}
|
|
1205
|
+
let b = N(!1), E = null;
|
|
1206
|
+
async function j() {
|
|
1207
|
+
if (b.value || !n.hasMore || !n.loadMore || E !== null && n.items.length === E) return;
|
|
1208
|
+
b.value = !0;
|
|
1209
|
+
let e = n.items.length;
|
|
1210
|
+
try {
|
|
1211
|
+
await Promise.resolve(n.loadMore());
|
|
1212
|
+
} finally {
|
|
1213
|
+
b.value = !1, E = n.items.length === e ? e : null;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
let M = N(0);
|
|
1217
|
+
function ee(e) {
|
|
1218
|
+
let t = e.target;
|
|
1219
|
+
if (!t) return;
|
|
1220
|
+
M.value = t.scrollTop;
|
|
1221
|
+
let n = p.value * 3;
|
|
1222
|
+
t.scrollTop + t.clientHeight >= t.scrollHeight - n && j();
|
|
1223
|
+
}
|
|
1224
|
+
function te() {
|
|
1225
|
+
(r.value?.querySelector(".recordings-scroll"))?.scrollTo({
|
|
1226
|
+
top: 0,
|
|
1227
|
+
behavior: "smooth"
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
let F = !1;
|
|
1231
|
+
return w([
|
|
1232
|
+
() => n.items.length,
|
|
1233
|
+
a,
|
|
1234
|
+
p,
|
|
1235
|
+
() => n.hasMore
|
|
1236
|
+
], () => {
|
|
1237
|
+
F || (F = !0, m(() => {
|
|
1238
|
+
if (F = !1, !n.hasMore) return;
|
|
1239
|
+
let e = a.value, t = h.value.length * p.value;
|
|
1240
|
+
e > 0 && p.value > 0 && t < e + p.value && j();
|
|
1241
|
+
}));
|
|
1242
|
+
}, { flush: "post" }), t({
|
|
1243
|
+
scrollToTop: te,
|
|
1244
|
+
scrollY: M
|
|
1245
|
+
}), (t, n) => {
|
|
1246
|
+
let i = J, a = Be;
|
|
1247
|
+
return u(), T("div", {
|
|
1248
|
+
ref_key: "containerRef",
|
|
1249
|
+
ref: r,
|
|
1250
|
+
class: "recordings-grid-root relative"
|
|
1251
|
+
}, [x(h).length > 0 && x(c) > 0 ? (u(), v(i, {
|
|
1252
|
+
key: 0,
|
|
1253
|
+
items: x(h),
|
|
1254
|
+
"item-size": x(p),
|
|
1255
|
+
"scroll-height": x(o),
|
|
1256
|
+
orientation: "vertical",
|
|
1257
|
+
class: "recordings-scroll",
|
|
1258
|
+
"num-tolerated-items": 2,
|
|
1259
|
+
"item-key": _,
|
|
1260
|
+
onScroll: ee
|
|
1261
|
+
}, {
|
|
1262
|
+
item: C(({ item: n }) => [A("div", {
|
|
1263
|
+
class: "recordings-row",
|
|
1264
|
+
style: D({
|
|
1265
|
+
height: `${x(p)}px`,
|
|
1266
|
+
gap: `${e.gap}px`
|
|
1267
|
+
})
|
|
1268
|
+
}, [(u(!0), T(O, null, l(n, (e) => (u(), T("div", {
|
|
1269
|
+
key: g(e),
|
|
1270
|
+
style: D({
|
|
1271
|
+
width: `${x(c)}px`,
|
|
1272
|
+
height: `${x(d)}px`
|
|
1273
|
+
})
|
|
1274
|
+
}, [f(t.$slots, "item", { item: e }, void 0, !0)], 4))), 128))], 4)]),
|
|
1275
|
+
_: 3
|
|
1276
|
+
}, 8, [
|
|
1277
|
+
"items",
|
|
1278
|
+
"item-size",
|
|
1279
|
+
"scroll-height"
|
|
1280
|
+
])) : y("", !0), x(b) ? (u(), T("div", Y, [P(a, {
|
|
1281
|
+
width: "18px",
|
|
1282
|
+
height: "18px",
|
|
1283
|
+
class: "text-white"
|
|
1284
|
+
})])) : y("", !0)], 512);
|
|
1285
|
+
};
|
|
1286
|
+
}
|
|
1287
|
+
}), [["__scopeId", "data-v-57a2aa74"]]);
|
|
1288
|
+
//#endregion
|
|
1289
|
+
//#region src/components/CuiRecordings/ungrouped.ts
|
|
1290
|
+
function ht(e) {
|
|
1291
|
+
if (e.episode) return e.episode.endTime;
|
|
1292
|
+
if (e.segIndex !== void 0) {
|
|
1293
|
+
let t = e.event.segments?.[e.segIndex];
|
|
1294
|
+
if (t) return t.firstSeen;
|
|
1295
|
+
}
|
|
1296
|
+
return e.event.thumbnailAt ?? e.event.startTime;
|
|
1297
|
+
}
|
|
1298
|
+
function gt(e) {
|
|
1299
|
+
let t = [];
|
|
1300
|
+
for (let n of e) {
|
|
1301
|
+
let e = n.segments ?? [];
|
|
1302
|
+
if (e.length <= 1) {
|
|
1303
|
+
t.push({
|
|
1304
|
+
event: n,
|
|
1305
|
+
key: n.id
|
|
1306
|
+
});
|
|
1307
|
+
continue;
|
|
1308
|
+
}
|
|
1309
|
+
e.forEach((e, r) => {
|
|
1310
|
+
e && t.push({
|
|
1311
|
+
event: n,
|
|
1312
|
+
key: `${n.id}:seg:${r}`,
|
|
1313
|
+
segIndex: r
|
|
1314
|
+
});
|
|
1315
|
+
});
|
|
1316
|
+
}
|
|
1317
|
+
return t.sort((e, t) => ht(t) - ht(e)), t;
|
|
1318
|
+
}
|
|
1319
|
+
//#endregion
|
|
1320
|
+
export { ft as i, ht as n, mt as r, gt as t };
|