@camstack/addon-admin-ui 1.2.668 → 1.2.670
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/CHANGELOG.md +17 -0
- package/dist/assets/{Addons-CS9fMA11.js → Addons-Bu4ZoxIO.js} +1 -1
- package/dist/assets/{AdminPage-BF1i9kPY.js → AdminPage-DZFpAKya.js} +1 -1
- package/dist/assets/{AdminSectionedPage-mnsiIZH6.js → AdminSectionedPage-B6ps8rNV.js} +1 -1
- package/dist/assets/{AiProfiles-DbzB0Pbu.js → AiProfiles-CdoQZsZR.js} +1 -1
- package/dist/assets/{BootstrapSettingsForm-hTtEdByj.js → BootstrapSettingsForm-UCWvtzeE.js} +1 -1
- package/dist/assets/{Build-yBSDX1Kk.js → Build-Gofhoe3j.js} +9 -9
- package/dist/assets/{Calendars-DbAHVmrk.js → Calendars-CiJnuAQh.js} +1 -1
- package/dist/assets/{CameraGrids-BHlKY46e.js → CameraGrids-DxfsuaX0.js} +1 -1
- package/dist/assets/{Cluster-DJcrrzAb.js → Cluster-Bo-4vXsH.js} +1 -1
- package/dist/assets/{CompositionBlockEditor-CkFtUEOb.js → CompositionBlockEditor-CMjymUtx.js} +1 -1
- package/dist/assets/{CompositionEditorPage-B62gAhSg.js → CompositionEditorPage-DKFrfRrp.js} +1 -1
- package/dist/assets/{Data-C4pHhw3O.js → Data-D7ZahmN6.js} +1 -1
- package/dist/assets/{DeviceDetail-Bn3LfnpZ.js → DeviceDetail-Bh2Z2j1s.js} +1 -1
- package/dist/assets/{Devices-CtCY7Y3p.js → Devices-byiaWoVy.js} +1 -1
- package/dist/assets/{EmbedDevicePage-DumJpLzH.js → EmbedDevicePage-CNeUtgiP.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-Dd_mnALC.js → EmbedPlayerPage-C61k6Ex_.js} +1 -1
- package/dist/assets/{History-CLxi8mtk.js → History-Bs14Rm_V.js} +1 -1
- package/dist/assets/{Identity-Dm39iAHu.js → Identity-Bw51Vnol.js} +1 -1
- package/dist/assets/{InstancesTable-CKPmsmCY.js → InstancesTable-BYcvOIqM.js} +1 -1
- package/dist/assets/{IntegrationDetail-C5MLERb6.js → IntegrationDetail-Ca70oA9L.js} +1 -1
- package/dist/assets/{Integrations-Cu8s6iT9.js → Integrations-BqsIC-y8.js} +1 -1
- package/dist/assets/{Integrations-C5WzonVP.js → Integrations-CUBI08OU.js} +1 -1
- package/dist/assets/{Library-Chq7sqXg.js → Library-CjCs6KtF.js} +1 -1
- package/dist/assets/{Locations-74WG8ksW.js → Locations-9Nu9CaoW.js} +1 -1
- package/dist/assets/{Logs-D7Y_z82A.js → Logs-Q8kMe303.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-BqbVP9jy.js → MaskShapeCanvas-BIQjyybG.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DeP_-aoj.js → MotionZonesSettings-DpLx__H7.js} +1 -1
- package/dist/assets/{MyAccess-cXXeW1W2.js → MyAccess-COSpNM7B.js} +1 -1
- package/dist/assets/{Network-DucbBwut.js → Network-DJpcRcIb.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-By-49erZ.js → NodeAddonsSettingsPanel-kjx2GHro.js} +1 -1
- package/dist/assets/{Notifications-DOy2WcT3.js → Notifications-wd30LkHE.js} +1 -1
- package/dist/assets/{Pipeline-COhHnsdP.js → Pipeline-Czx8lt08.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-CZgjmB7K.js → PrivacyMaskSettings-BE-h6w7X.js} +1 -1
- package/dist/assets/{Recordings-BUByJnY-.js → Recordings-wz9ii-_u.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-BmU4cvFJ.js → SceneMonitorEditor-CTjHnPpY.js} +1 -1
- package/dist/assets/{SessionsList-DU6cvGFu.js → SessionsList-BP2c6K1Q.js} +1 -1
- package/dist/assets/{Showroom-BEt9DNbA.js → Showroom-DQPrHXfR.js} +1 -1
- package/dist/assets/{StorageLocationsTable-Cve3-FxY.js → StorageLocationsTable-CsmMr8wO.js} +1 -1
- package/dist/assets/{System-Bzi48ZBO.js → System-CnnnTIRP.js} +1 -1
- package/dist/assets/{Terminal-DozTqUqB.js → Terminal-BQvfsb_T.js} +1 -1
- package/dist/assets/{TrainingProviders-BUkMf2wx.js → TrainingProviders-Dy9Z8KUl.js} +1 -1
- package/dist/assets/{Viewer-S0tPSymT.js → Viewer-C32w1mRT.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-P-4tHo8K.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CQD2cxmc.js} +1 -1
- package/dist/assets/{action-draft-D3UKrkg1.js → action-draft-DYPXor4T.js} +1 -1
- package/dist/assets/{ai-page.helpers-Cs7gtuUF.js → ai-page.helpers--SV9pSXS.js} +1 -1
- package/dist/assets/{assignment-candidates-CG_Tiehn.js → assignment-candidates-B6UTjIxv.js} +1 -1
- package/dist/assets/{authed-media-4OzXkRZ7.js → authed-media-DnctiLpD.js} +1 -1
- package/dist/assets/{board-model-Cv7JHlPG.js → board-model-DJiRVoCF.js} +1 -1
- package/dist/assets/client-wrRG10y-.js +1119 -0
- package/dist/assets/{command-vocab-BYX4pA4b.js → command-vocab-CgGuOUW5.js} +1 -1
- package/dist/assets/{device-detail-BAZsiPq1.js → device-detail-DNlf02Nb.js} +1 -1
- package/dist/assets/{device-integration-icon-DYGZQjZH.js → device-integration-icon-bh1Yik4P.js} +1 -1
- package/dist/assets/device-picker-model-CD_LvGfG.js +1 -0
- package/dist/assets/dist-CLrVSBms.js +1119 -0
- package/dist/assets/{dist-Rh3LAX-C.js → dist-DSa_qu9n.js} +1 -1
- package/dist/assets/{format-D_mC3UFE.js → format-BJ-r5P2c.js} +1 -1
- package/dist/assets/{hostInit-Cd5DWcEl.js → hostInit-4Natw9gd.js} +1 -1
- package/dist/assets/i18n-CFTpf5AU.js +1 -0
- package/dist/assets/{icons-UZl_ZY4u.js → icons-BbfFVZ5r.js} +1 -1
- package/dist/assets/{index-DB-f81V7.js → index-BacJRiQn.js} +3 -3
- package/dist/assets/{linked-devices-model-B_gAE4Ak.js → linked-devices-model-1w0cHe7b.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-94e05b9e.js → mf-entry-bootstrap-0-782deff9.js} +2 -2
- package/dist/assets/mount-CD_LvGfG.js +1 -0
- package/dist/assets/{notification-rule-status-DSkmsdJn.js → notification-rule-status-BUkTPXSv.js} +1 -1
- package/dist/assets/{player-overlays-PZJgLYRd.js → player-overlays-DK7RQw-O.js} +1 -1
- package/dist/assets/remoteEntry-BN-AjEjY.js +1 -0
- package/dist/assets/{src-C0iKIX_j.js → src-D_J1QIkp.js} +18 -18
- package/dist/assets/{sso-popup-BzLYKIa5.js → sso-popup-CWTydSPD.js} +1 -1
- package/dist/assets/{step-inspector-model-BOgBjq7X.js → step-inspector-model-CS8dmyEs.js} +1 -1
- package/dist/assets/{use-scenes-feed-rY3lnB9G.js → use-scenes-feed-DKSAMtkB.js} +1 -1
- package/dist/assets/{use-stationary-objects-XWJeux9x.js → use-stationary-objects-Bzwbh4br.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-C1zpl_wj.js → useAdminDeviceRemoval-DVXNvRT6.js} +1 -1
- package/dist/assets/useEventInvalidation-CD_LvGfG.js +1 -0
- package/dist/assets/{useNodeUrlSelection-Ckf20QDa.js → useNodeUrlSelection-CRetTLtS.js} +1 -1
- package/dist/assets/{useTemplateSave-Ctfz_dym.js → useTemplateSave-3fmevCGo.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DtnmSeNe.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D2oRXG2E.js} +2 -2
- package/dist/index.html +8 -8
- package/dist/server/addon.js +272 -7
- package/package.json +2 -2
- package/dist/assets/client-DoiIBqwj.js +0 -1119
- package/dist/assets/device-picker-model-qk2Z3_xT.js +0 -1
- package/dist/assets/dist-Ch3pRNws.js +0 -1119
- package/dist/assets/i18n-DSVGwH5e.js +0 -1
- package/dist/assets/mount-qk2Z3_xT.js +0 -1
- package/dist/assets/remoteEntry-pgLtfwKj.js +0 -1
- package/dist/assets/useEventInvalidation-qk2Z3_xT.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{As as e,Hi as t}from"./client-
|
|
1
|
+
import{As as e,Hi as t}from"./client-wrRG10y-.js";import{t as n}from"./i18n-CFTpf5AU.js";import{t as r}from"./assignment-candidates-B6UTjIxv.js";function i(n,r){let i=t[n];return i.hostDeviceTypes.some(e=>e===r)?`host`:i.descriptor.sourceCaps===`any`&&r!==e.Container?`guest`:null}function a(e){return e.slot===`linked-devices`}function o(e){if(e.status===`error`)return{kind:`unknown`,reason:e.error?.message??n.t(`helpers.customize.requestFailed`)};if(e.status===`pending`||e.data===void 0)return{kind:`pending`};for(let t of e.data)if(t.state===`ok`&&t.slot===`linked-devices`&&a(t.value))return{kind:`present`,slot:t,value:t.value};let t=e.data.find(e=>e.state===`unreachable`);return t!==void 0&&t.state===`unreachable`?{kind:`unknown`,reason:t.reason}:{kind:`absent`}}function s(e,t){let n=t.trackedDeviceIds??[],r=e=>t=>({deviceId:t.deviceId,name:t.name,health:t.health,implied:e,tracked:n.includes(t.deviceId)});return[...e.sources.map(r(!1)),...(e.impliedSources??[]).map(r(!0))]}function c(e,t){let n=new Set([...e.sources,...e.impliedSources??[]].map(e=>e.deviceId));return(t.trackedDeviceIds??[]).filter(e=>!n.has(e))}function l(e,t){return{...e,deviceIds:[...e.deviceIds,...t.filter(t=>!e.deviceIds.includes(t))]}}function u(e,t){return{...e,deviceIds:e.deviceIds.filter(e=>e!==t),...e.trackedDeviceIds===void 0?{}:{trackedDeviceIds:e.trackedDeviceIds.filter(e=>e!==t)}}}function d(e,t,n){let r=e.trackedDeviceIds??[],i=n?[...r.filter(e=>e!==t),t]:r.filter(e=>e!==t);return{...e,trackedDeviceIds:i}}function f(e,t,n){return e.flatMap(e=>{let i=t.get(e.deviceId);return n.has(e.deviceId)||i===void 0?[]:[{deviceId:e.deviceId,ref:{addonId:i.addonId,stableId:i.stableId},name:e.parentName===null?e.name:`${e.parentName} · ${e.name}`,detail:r(i.integration,e.location),meta:e.type,caps:[],value:null}]})}function p(e,t,n){return n?l(e,[t]):u(e,t)}function m(e,t,n){if(t.deviceIds.includes(n))return{linked:!0,implied:!1};let r=(e.impliedSources??[]).some(e=>e.deviceId===n);return{linked:r,implied:r}}export{c as a,l as c,m as i,d as l,s as n,i as o,o as r,p as s,f as t,u};
|
|
@@ -12,8 +12,8 @@ const __mfImport = (src) =>
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
(async () => {
|
|
15
|
-
const __mfHostInit = await __mfImport("./hostInit-
|
|
15
|
+
const __mfHostInit = await __mfImport("./hostInit-4Natw9gd.js");
|
|
16
16
|
await __mfHostInit.__tla;
|
|
17
17
|
const { initHost } = __mfHostInit;
|
|
18
18
|
await initHost();
|
|
19
|
-
})().then(() => __mfImport("./index-
|
|
19
|
+
})().then(() => __mfImport("./index-BacJRiQn.js"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./src-D_J1QIkp.js";
|
package/dist/assets/{notification-rule-status-DSkmsdJn.js → notification-rule-status-BUkTPXSv.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./i18n-
|
|
1
|
+
import{t as e}from"./i18n-CFTpf5AU.js";var t=`pipeline-analytics`,n=`nc.getRuleStatus`,r=`nc.testRule`;function i(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function a(e,t){let n=e[t];return typeof n==`number`&&Number.isFinite(n)?n:void 0}function o(e,t){let n=e[t];return typeof n==`string`&&n.length>0?n:void 0}function s(e){if(!i(e))return;let t=o(e,`id`),n=o(e,`downloadPath`),r=a(e,`capturedAt`);if(!(t===void 0||n===void 0||r===void 0))return{id:t,mediaType:o(e,`mediaType`)??`video`,sizeBytes:a(e,`sizeBytes`)??0,capturedAt:r,downloadPath:n}}function c(e){if(!i(e))return;let t=a(e,`startMs`),n=a(e,`endMs`);if(!(t===void 0||n===void 0))return{startMs:t,endMs:n}}function l(e){if(!i(e))return null;let t=a(e,`deviceId`);if(t===void 0)return null;let n=a(e,`lastGeneratedAt`),r=s(e.lastArtifact),o=e.rendering,c=i(o)?{startedAt:a(o,`startedAt`)??0,windowStartMs:a(o,`windowStartMs`)??0,windowEndMs:a(o,`windowEndMs`)??0}:void 0;return{deviceId:t,...n===void 0?{}:{lastGeneratedAt:n},...r===void 0?{}:{lastArtifact:r},...c===void 0?{}:{rendering:c}}}function u(e){if(!i(e))return null;let t=a(e,`deviceId`),n=o(e,`windowKey`),r=a(e,`openedAt`),s=a(e,`closesAt`),c=a(e,`members`),l=a(e,`pending`);return t===void 0||n===void 0||r===void 0||s===void 0||c===void 0||l===void 0?null:{deviceId:t,windowKey:n,openedAt:r,closesAt:s,members:c,pending:l}}function d(e){if(!i(e))return null;let t=o(e,`kind`);if(t===`none`)return{kind:`none`,reason:o(e,`reason`)??``};if(t===`occupancy`){let t=a(e,`deviceId`),n=a(e,`threshold`),r=a(e,`sustainSeconds`);if(t===void 0||n===void 0||r===void 0)return null;let i=o(e,`unavailable`),s=i===`no-snapshot`||i===`zone-absent`?i:void 0,c=a(e,`count`),l=a(e,`observedAt`),u=a(e,`since`),d=o(e,`scope`),f=o(e,`className`),p=o(e,`warning`);return{kind:`occupancy`,deviceId:t,threshold:n,sustainSeconds:r,...d===void 0?{}:{scope:d},...f===void 0?{}:{className:f},...c===void 0?{}:{count:c},...typeof e.occupied==`boolean`?{occupied:e.occupied}:{},...l===void 0?{}:{observedAt:l},...u===void 0?{}:{since:u},...s===void 0?{}:{unavailable:s},...p===void 0?{}:{warning:p}}}if(t===`grouped`){let t=a(e,`groupingSec`);if(t===void 0)return null;if(e.openWindows===null){let n=o(e,`reason`);return{kind:`grouped`,groupingSec:t,openWindows:null,...n===void 0?{}:{reason:n}}}if(!Array.isArray(e.openWindows))return null;let n=[];for(let t of e.openWindows){let e=u(t);if(e===null)return null;n.push(e)}return{kind:`grouped`,groupingSec:t,openWindows:n}}if(t===`timelapse`){let t=Array.isArray(e.devices)?e.devices:[],n=[];for(let e of t){let t=l(e);t!==null&&n.push(t)}let r=c(e.lastWindow),o=e.nextWindow,s=i(o)?{startMs:a(o,`startMs`)??0,endMs:a(o,`endMs`)??null}:void 0;return{kind:`timelapse`,devices:n,...r===void 0?{}:{lastWindow:r},...s===void 0?{}:{nextWindow:s},settleMs:a(e,`settleMs`)??0}}return null}function f(t){let n=Math.max(0,Math.floor(t/6e4));if(n<1)return e.t(`helpers.notificationRuleStatus.lessThanMinute`);if(n<60)return e.t(`helpers.notificationRuleStatus.durMin`,{count:n});let r=Math.floor(n/60),i=n%60;if(r<24)return i===0?e.t(`helpers.notificationRuleStatus.durH`,{count:r}):e.t(`helpers.notificationRuleStatus.durHMin`,{hours:r,minutes:i});let a=Math.floor(r/24),o=r%24;return o===0?e.t(`helpers.notificationRuleStatus.durD`,{count:a}):e.t(`helpers.notificationRuleStatus.durDH`,{days:a,hours:o})}function p(t){if(t<1024)return`${String(t)} B`;let n=t/1024;if(n<1024)return e.t(`helpers.notificationRuleStatus.sizeKb`,{value:n.toFixed(0)});let r=n/1024;return r<1024?e.t(`helpers.notificationRuleStatus.sizeMb`,{value:r.toFixed(1)}):e.t(`helpers.notificationRuleStatus.sizeGb`,{value:(r/1024).toFixed(2)})}function m(e,t){let n=e.scope??`the whole frame`,r=e.className??`objects`;if(e.unavailable!==void 0){let t=e.unavailable===`no-snapshot`?`no live count for this camera yet — the condition fails closed until one arrives`:`“${n}” is not in this camera’s current snapshot — the condition fails closed (deleted zone?)`;return e.warning===void 0?t:`${e.warning} · ${t}`}let i=[`Now: ${String(e.count??0)}/${String(e.threshold)} ${r} in ${n}`,e.occupied===!0?`condition TRUE`:`condition false`];e.since!==void 0&&i.push(`for ${f(Math.max(0,t-e.since))}`),i.push(`holds ${String(e.sustainSeconds)} s before firing`);let a=i.join(` · `);return e.warning===void 0?a:`${e.warning} · ${a}`}function h(t,n,r){if(t.rendering!==void 0)return e.t(`helpers.notificationRuleStatus.tlRendering`,{camera:n,duration:f(Math.max(0,r-t.rendering.startedAt)),from:new Date(t.rendering.windowStartMs).toLocaleString(),to:new Date(t.rendering.windowEndMs).toLocaleString()});if(t.lastGeneratedAt===void 0)return e.t(`helpers.notificationRuleStatus.tlNever`,{camera:n});let i=new Date(t.lastGeneratedAt).toLocaleString(),a=t.lastArtifact;return a===void 0?e.t(`helpers.notificationRuleStatus.tlGone`,{camera:n,when:i}):e.t(`helpers.notificationRuleStatus.tlLast`,{camera:n,when:i,size:p(a.sizeBytes)})}function g(e){return{windows:e.length,waiting:e.reduce((e,t)=>e+t.pending,0)}}export{f as a,h as c,g as i,n,m as o,r,d as s,t};
|