@camstack/addon-admin-ui 0.1.18 → 0.1.20
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/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CziSE-Do.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-B6FR8LFe.js} +1 -1
- package/dist/assets/{auth-records-BEfan3dC.js → auth-records-CPPaweTc.js} +1 -1
- package/dist/assets/{capability-router-map-B3jHfbHt.js → capability-router-map-C5mraen4.js} +1 -1
- package/dist/assets/{devices-BfsgGvwu.js → devices-DFInwkXm.js} +1 -1
- package/dist/assets/{hostInit-7yPTCcmg.js → hostInit-DbBKxe6e.js} +1 -1
- package/dist/assets/{index-cfq-Npln.js → index--W-JI8sX.js} +1 -1
- package/dist/assets/{index-BlKJSHE9.js → index-B-lITj7j.js} +1 -1
- package/dist/assets/{index-X-IEwb-L.js → index-C51BkkTp.js} +1 -1
- package/dist/assets/index-CF1_KgJ7.js +1 -0
- package/dist/assets/{index-DfH297U6.js → index-ClI6TD3o.js} +1 -1
- package/dist/assets/{index-K1-f6oQr.js → index-DNbNNspN.js} +1 -1
- package/dist/assets/{index-ptcmLXsE.js → index-Db6T8eZ8.js} +1 -1
- package/dist/assets/{index-Dvmk3HcY.js → index-JED8w8XY.js} +1 -1
- package/dist/assets/{index-iCcWZGKs.js → index-KY18rHfs.js} +1 -1
- package/dist/assets/{index-Bzz7AnXl.js → index-zO3IT1za.js} +22 -22
- package/dist/assets/{remoteEntry-Da_G1gka.js → remoteEntry-D87cXU8x.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-kSAHDLPS.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CF-pgYYj.js} +2 -2
- package/dist/index.html +5 -5
- package/dist/mf-entry-bootstrap-0.js +2 -2
- package/dist/sw.js +1 -1
- package/package.json +1 -1
- package/dist/assets/index-C-M4yvxf.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as b,a as h,E,b as T,d as S,e as M,H as _,R as L,f as I,g as y,T as D,h as P,i as A,j as v,k as R,l as N,c as k,m as O,n as w,o as x,p as V,q as F,r as B,s as Y,t as j,u as q,v as G,w as H,x as $,y as z,z as U,A as W,B as Z,C as J,F as K,G as X,I as Q,J as ee,K as te,L as ae,M as se,N as re,O as le}from"./devices-
|
|
1
|
+
import{D as b,a as h,E,b as T,d as S,e as M,H as _,R as L,f as I,g as y,T as D,h as P,i as A,j as v,k as R,l as N,c as k,m as O,n as w,o as x,p as V,q as F,r as B,s as Y,t as j,u as q,v as G,w as H,x as $,y as z,z as U,A as W,B as Z,C as J,F as K,G as X,I as Q,J as ee,K as te,L as ae,M as se,N as re,O as le}from"./devices-DFInwkXm.js";const c=[{id:"liveStream",label:"Live Stream",sources:{frigate:!0,scrypted:!0,rtsp:!0},adapterMethod:"getLiveStream"},{id:"multiResolution",label:"Multi-Resolution",sources:{frigate:!0,scrypted:!0,rtsp:!1},adapterMethod:"getResolutions"},{id:"motion",label:"Motion Detection",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"getMotion"},{id:"objectDetection",label:"Object Detection",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"getObjectDetections"},{id:"audioVolume",label:"Audio Level",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"getAudioVolume"},{id:"audioVolumes",label:"Audio Volumes (dBFS)",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"getAudioVolumes"},{id:"ptz",label:"PTZ Control",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"getPTZ"},{id:"intercom",label:"Intercom (Mic)",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"getIntercomSupport"},{id:"deviceStatus",label:"Device Status",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"getStatus"},{id:"timeline",label:"Detection Timeline",sources:{frigate:!0,scrypted:!0,rtsp:!1},adapterMethod:"getCameraDayData"},{id:"clusteredTimeline",label:"Clustered Timeline",sources:{frigate:!0,scrypted:!0,rtsp:!1},requiresBackend:!0,adapterMethod:"getClusteredDayData"},{id:"detectionClasses",label:"Detection Classes",sources:{frigate:!0,scrypted:!0,rtsp:!1},adapterMethod:"getDetectionClasses"},{id:"videoClips",label:"Video Clips",sources:{frigate:!0,scrypted:!0,rtsp:!1},adapterMethod:"getVideoClips"},{id:"nvrPlayback",label:"NVR Playback",sources:{frigate:!0,scrypted:!0,rtsp:!1},adapterMethod:"getNvrPlaybackSupported"},{id:"nvrScrub",label:"NVR Scrub/Seek",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"seekRecordingStream"},{id:"recordingThumbnail",label:"Recording Thumbnails",sources:{frigate:!0,scrypted:!0,rtsp:!1},adapterMethod:"getRecordingStreamThumbnail"},{id:"nvrSeekToLive",label:"Seek to Live",sources:{frigate:!1,scrypted:!0,rtsp:!1},adapterMethod:"seekNvrToLive"}];function ie(s,e,n){const i=c.find(o=>o.id===s);return!(!i||!i.sources[e]||i.platforms&&i.platforms[n]===!1)}function oe(s){return c.filter(e=>e.sources[s])}function de(){return c.filter(s=>s.requiresBackend)}function ue(s,e,n){if(s.length===0)return null;const i=e.viewportWidth*e.viewportHeight*(e.pixelRatio??1),o=e.bandwidthMbps??100,f=e.packetLoss??0,m=e.rttMs??50;let r="high";e.maxResolution==="low"||e.isCellular||o<1||f>.05?r="low":e.maxResolution==="medium"||o<5||i<5e5||m>200?r="medium":(e.maxResolution==="high"||i>2e6)&&(r="high");const g={main:"high",sub:"medium",ext:"low"},C=n??"native",p=s.map(t=>{let a=0;const d=g[t.profile]??"medium";if(d===r?a+=100:(r==="high"&&d==="medium"||r==="medium"&&d==="high"||r==="medium"&&d==="low"||r==="low"&&d==="medium")&&(a+=50),t.transport===C?a+=30:t.transport==="native"?a+=20:t.transport==="rtsp"?a+=15:t.transport==="rtmp"&&(a+=10),t.metadata?.width&&t.metadata?.height){const u=t.metadata.width*t.metadata.height/Math.max(i,1);u>=.8&&u<=2?a+=25:u>=.5&&u<=3&&(a+=15),u>4&&o<10&&(a-=20)}return t.metadata?.codec&&(o<5&&t.metadata.codec.includes("265")&&(a+=10),o>=10&&t.metadata.codec.includes("264")&&(a+=5)),{...t,score:a,targetTier:r}});p.sort((t,a)=>a.score-t.score);const l=p[0];return{streamName:l.streamName,profile:l.profile,transport:l.transport,label:l.label,metadata:l.metadata,reason:`${l.targetTier} quality → ${l.profile}/${l.transport} (score: ${l.score})`}}function ce(s,e){return e?10:s.isCellular||(s.packetLoss??0)>.02?15:30}const fe=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_ENABLED_CLASSES:b,DetectionClass:h,ELIGIBLE_HA_DOMAINS:E,ELIGIBLE_HA_DOMAINS_SET:T,ELIGIBLE_SCRYPTED_DEVICE_TYPES:S,ELIGIBLE_SCRYPTED_DEVICE_TYPES_SET:M,FEATURE_MATRIX:c,HA_DOMAIN_TYPE_MAP:_,RAW_TO_CANONICAL:L,SCRYPTED_TYPE_TO_CANONICAL:I,System:y,TIMELINE_PRESET_ALL:D,TIMELINE_PRESET_CRITICAL:P,TIMELINE_PRESET_IMPORTANT:A,animalClasses:v,audioClasses:R,audioLabelClasses:N,createSystem:k,defaultDetectionClasses:O,detectionClassesDefaultMap:w,doorbellClasses:x,faceClasses:V,getBackendRequiredFeatures:de,getCanonicalDeviceType:F,getClassesForTimelinePreset:B,getNextEvalInterval:ce,getParentClass:Y,getParentDetectionClass:j,getSourceFeatures:oe,isAnimalClassname:q,isAudioClassname:G,isDoorbellClassname:H,isFaceClassname:$,isFeatureAvailable:ie,isLabelDetection:z,isMotionClassname:U,isPackageClassname:W,isPersonClassname:Z,isPlateClassname:J,isSensorLabelClassname:K,isVehicleClassname:X,licensePlateClasses:Q,motionClasses:ee,packageClasses:te,personClasses:ae,raceFastestEndpoint:se,selectOptimalStream:ue,sensorLabelClasses:re,vehicleClasses:le},Symbol.toStringTag,{value:"Module"}));export{fe as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as r}from"./index-
|
|
1
|
+
import{s as r}from"./index-ClI6TD3o.js";import{b as e}from"./__mfe_internal__admin_ui_host__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-C_6K4VBY.js";const o=e(r);export{o as r};
|