@camstack/addon-post-analysis 0.1.14 → 0.1.16
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/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/enrichment-engine/index.js +75 -7
- package/dist/enrichment-engine/index.js.map +1 -1
- package/dist/enrichment-engine/index.mjs +75 -7
- package/dist/enrichment-engine/index.mjs.map +1 -1
- package/dist/{index-tm6O4bWa.mjs → index-CGAj-pkn.mjs} +531 -97
- package/dist/index-CGAj-pkn.mjs.map +1 -0
- package/dist/{index-DNpNyDJi.js → index-Dbx13pc7.js} +531 -97
- package/dist/index-Dbx13pc7.js.map +1 -0
- package/dist/pipeline-analytics/@mf-types/compiled-types/pipeline-analytics/widgets/LiveStatsTab.d.ts +5 -0
- package/dist/pipeline-analytics/@mf-types/compiled-types/pipeline-analytics/widgets/index.d.ts +2 -0
- package/dist/pipeline-analytics/@mf-types.zip +0 -0
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-d8PmLbO2.mjs +19 -0
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-BcWYbuKp.mjs +18 -0
- package/dist/pipeline-analytics/{__mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.mjs-DuO9h7li.mjs → __mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.mjs-D-USVuHq.mjs} +4 -2
- package/dist/pipeline-analytics/{__mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-CmqNjq44.mjs → __mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-qQCPW8pT.mjs} +1 -1
- package/dist/pipeline-analytics/{__mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-CA8cCIEl.mjs → __mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-Bv9bYz9E.mjs} +1 -1
- package/dist/pipeline-analytics/_stub.js +497 -431
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-C7e1vVcD.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-D_pYr5G6.mjs} +6 -6
- package/dist/pipeline-analytics/{client-DdXDZxzK.mjs → client-DHmQcIWy.mjs} +2990 -3217
- package/dist/pipeline-analytics/{hostInit-TFbPssJX.mjs → hostInit-DXmzhNK7.mjs} +12 -12
- package/dist/pipeline-analytics/{index-DHiJ7A5x.mjs → index-BA65ZJOW.mjs} +1 -1
- package/dist/pipeline-analytics/{index-BP0-1QYT.mjs → index-BCEx31Mh.mjs} +3808 -3100
- package/dist/pipeline-analytics/{index-kIgjN-uq.mjs → index-CHnXxMRA.mjs} +1 -1
- package/dist/pipeline-analytics/index-CWkKuNLr.mjs +232 -0
- package/dist/pipeline-analytics/{index-B4OKsa9p.mjs → index-Crs1D0Uu.mjs} +1 -1
- package/dist/pipeline-analytics/{index-k0CA0h_r.mjs → index-DicaGC31.mjs} +1 -1
- package/dist/pipeline-analytics/index-gbflFMEY.mjs +36403 -0
- package/dist/pipeline-analytics/{index-DyYvUfc7.mjs → index-gpelkpEE.mjs} +1 -1
- package/dist/pipeline-analytics/index.js +73 -22
- package/dist/pipeline-analytics/index.js.map +1 -1
- package/dist/pipeline-analytics/index.mjs +73 -22
- package/dist/pipeline-analytics/index.mjs.map +1 -1
- package/dist/pipeline-analytics/{jsx-runtime-4ro1c69i.mjs → jsx-runtime-Wcfyyyt4.mjs} +1 -1
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/dist/recording/index.js +2 -2
- package/dist/recording/index.mjs +2 -2
- package/dist/{recording-coordinator-BVFZsuQg.mjs → recording-coordinator-BjWd7HjD.mjs} +2 -2
- package/dist/{recording-coordinator-BVFZsuQg.mjs.map → recording-coordinator-BjWd7HjD.mjs.map} +1 -1
- package/dist/{recording-coordinator-CL3NPb1p.js → recording-coordinator-b-7Ast8s.js} +2 -2
- package/dist/{recording-coordinator-CL3NPb1p.js.map → recording-coordinator-b-7Ast8s.js.map} +1 -1
- package/package.json +5 -1
- package/dist/index-DNpNyDJi.js.map +0 -1
- package/dist/index-tm6O4bWa.mjs.map +0 -1
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-CpCK52pE.mjs +0 -19
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-DEj77u_A.mjs +0 -15
- package/dist/pipeline-analytics/index-BDPtaPA2.mjs +0 -20855
|
@@ -2,7 +2,7 @@ import { a as $, b as Oe, c as Pe, d as Qe, e as xe, f as Se, g as je, h as Ce,
|
|
|
2
2
|
import { i as Re, h as le, d as re, f as ce } from "./getErrorShape-BPSzUA7W-TlK8ipWe.mjs";
|
|
3
3
|
import { _ as ne, a as ue, b as Me, c as $e } from "./__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-52bfkwC8.mjs";
|
|
4
4
|
import { e as Qt, f as xt, g as St, h as jt, i as Ct, j as qt, k as Dt, l as wt, m as It, n as Ut, o as Rt, p as Mt, q as $t, r as kt, s as Tt, t as Ft, u as Kt, v as At, w as Et, x as Lt, y as Wt, z as Nt, A as Ht } from "./__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-52bfkwC8.mjs";
|
|
5
|
-
import { c as V, e as G, d as X, j as Y, h as ke, f as B, g as Te, _ as Fe } from "./__mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.mjs-
|
|
5
|
+
import { c as V, e as G, d as X, j as Y, h as ke, f as B, g as Te, _ as Fe } from "./__mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.mjs-D-USVuHq.mjs";
|
|
6
6
|
import { _ as Ke } from "./__mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-BsyrX6NO.mjs";
|
|
7
7
|
var Ae = Object.create, de = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, fe = Object.getOwnPropertyNames, Le = Object.getPrototypeOf, We = Object.prototype.hasOwnProperty, F = (u, n) => function() {
|
|
8
8
|
return n || (0, u[fe(u)[0]])((n = { exports: {} }).exports, n), n.exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const index = require("../index-
|
|
2
|
+
const index = require("../index-Dbx13pc7.js");
|
|
3
3
|
const node_crypto = require("node:crypto");
|
|
4
4
|
function pointInPolygon(point, polygon) {
|
|
5
5
|
if (polygon.length < 3) return false;
|
|
@@ -1855,11 +1855,17 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
1855
1855
|
const widgetsProvider = {
|
|
1856
1856
|
listWidgets: async () => [
|
|
1857
1857
|
{
|
|
1858
|
-
|
|
1858
|
+
tab: "device-tab",
|
|
1859
1859
|
label: "Audio Level History",
|
|
1860
|
+
kind: "remote",
|
|
1861
|
+
remote: {
|
|
1862
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1863
|
+
exposedModule: "./widgets",
|
|
1864
|
+
componentKey: "audio-history-chart"
|
|
1865
|
+
},
|
|
1866
|
+
stableId: "audio-history-chart",
|
|
1860
1867
|
description: "Sparkline of audio dBFS over a configurable window with class hits.",
|
|
1861
1868
|
icon: "activity",
|
|
1862
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1863
1869
|
bundle: "remoteEntry.js",
|
|
1864
1870
|
hosts: ["device-tab", "dashboard"],
|
|
1865
1871
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1869,11 +1875,17 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
1869
1875
|
defaultRows: 2
|
|
1870
1876
|
},
|
|
1871
1877
|
{
|
|
1872
|
-
|
|
1878
|
+
tab: "device-tab",
|
|
1873
1879
|
label: "Audio Metrics",
|
|
1880
|
+
kind: "remote",
|
|
1881
|
+
remote: {
|
|
1882
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1883
|
+
exposedModule: "./widgets",
|
|
1884
|
+
componentKey: "audio-metrics-panel"
|
|
1885
|
+
},
|
|
1886
|
+
stableId: "audio-metrics-panel",
|
|
1874
1887
|
description: "Live dBFS + dominant class + per-class summary card.",
|
|
1875
1888
|
icon: "mic",
|
|
1876
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1877
1889
|
bundle: "remoteEntry.js",
|
|
1878
1890
|
hosts: ["device-tab", "dashboard"],
|
|
1879
1891
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1883,11 +1895,17 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
1883
1895
|
defaultRows: 2
|
|
1884
1896
|
},
|
|
1885
1897
|
{
|
|
1886
|
-
|
|
1898
|
+
tab: "device-tab",
|
|
1887
1899
|
label: "Occupancy History",
|
|
1900
|
+
kind: "remote",
|
|
1901
|
+
remote: {
|
|
1902
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1903
|
+
exposedModule: "./widgets",
|
|
1904
|
+
componentKey: "occupancy-history-chart"
|
|
1905
|
+
},
|
|
1906
|
+
stableId: "occupancy-history-chart",
|
|
1888
1907
|
description: "Frame-wide tracked-object count over time.",
|
|
1889
1908
|
icon: "users",
|
|
1890
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1891
1909
|
bundle: "remoteEntry.js",
|
|
1892
1910
|
hosts: ["device-tab", "dashboard"],
|
|
1893
1911
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1897,11 +1915,17 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
1897
1915
|
defaultRows: 2
|
|
1898
1916
|
},
|
|
1899
1917
|
{
|
|
1900
|
-
|
|
1918
|
+
tab: "device-tab",
|
|
1901
1919
|
label: "Motion History",
|
|
1920
|
+
kind: "remote",
|
|
1921
|
+
remote: {
|
|
1922
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1923
|
+
exposedModule: "./widgets",
|
|
1924
|
+
componentKey: "motion-history-chart"
|
|
1925
|
+
},
|
|
1926
|
+
stableId: "motion-history-chart",
|
|
1902
1927
|
description: "Histogram of motion events over a configurable window.",
|
|
1903
1928
|
icon: "activity",
|
|
1904
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1905
1929
|
bundle: "remoteEntry.js",
|
|
1906
1930
|
hosts: ["device-tab", "dashboard"],
|
|
1907
1931
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1911,11 +1935,17 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
1911
1935
|
defaultRows: 2
|
|
1912
1936
|
},
|
|
1913
1937
|
{
|
|
1914
|
-
|
|
1938
|
+
tab: "device-tab",
|
|
1915
1939
|
label: "Detection History",
|
|
1940
|
+
kind: "remote",
|
|
1941
|
+
remote: {
|
|
1942
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1943
|
+
exposedModule: "./widgets",
|
|
1944
|
+
componentKey: "detection-history-chart"
|
|
1945
|
+
},
|
|
1946
|
+
stableId: "detection-history-chart",
|
|
1916
1947
|
description: "Stacked-by-class histogram of object detections.",
|
|
1917
1948
|
icon: "eye",
|
|
1918
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1919
1949
|
bundle: "remoteEntry.js",
|
|
1920
1950
|
hosts: ["device-tab", "dashboard"],
|
|
1921
1951
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1925,11 +1955,17 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
1925
1955
|
defaultRows: 2
|
|
1926
1956
|
},
|
|
1927
1957
|
{
|
|
1928
|
-
|
|
1958
|
+
tab: "device-tab",
|
|
1929
1959
|
label: "Live Occupancy",
|
|
1960
|
+
kind: "remote",
|
|
1961
|
+
remote: {
|
|
1962
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1963
|
+
exposedModule: "./widgets",
|
|
1964
|
+
componentKey: "live-occupancy-panel"
|
|
1965
|
+
},
|
|
1966
|
+
stableId: "live-occupancy-panel",
|
|
1930
1967
|
description: "Per-zone breakdown + frame-wide aggregate (no polling).",
|
|
1931
1968
|
icon: "layers",
|
|
1932
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1933
1969
|
bundle: "remoteEntry.js",
|
|
1934
1970
|
hosts: ["device-tab", "dashboard"],
|
|
1935
1971
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1937,15 +1973,33 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
1937
1973
|
allowedSizes: ["sm", "md", "lg"],
|
|
1938
1974
|
defaultColumns: 6,
|
|
1939
1975
|
defaultRows: 2
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
tab: "device-tab",
|
|
1979
|
+
label: "Live Stats",
|
|
1980
|
+
kind: "remote",
|
|
1981
|
+
remote: {
|
|
1982
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1983
|
+
exposedModule: "./widgets",
|
|
1984
|
+
componentKey: "live-stats"
|
|
1985
|
+
},
|
|
1986
|
+
stableId: "live-stats",
|
|
1987
|
+
description: "Aggregated live-telemetry tab — occupancy, audio metrics, and the audio/occupancy/motion/detection history charts in one layout.",
|
|
1988
|
+
icon: "activity",
|
|
1989
|
+
bundle: "remoteEntry.js",
|
|
1990
|
+
hosts: ["device-tab"],
|
|
1991
|
+
requires: { deviceContext: true, integrationContext: false },
|
|
1992
|
+
defaultSize: "xl",
|
|
1993
|
+
allowedSizes: ["lg", "xl"],
|
|
1994
|
+
defaultColumns: 12,
|
|
1995
|
+
defaultRows: 6
|
|
1940
1996
|
}
|
|
1941
1997
|
]
|
|
1942
1998
|
};
|
|
1943
1999
|
return [
|
|
1944
2000
|
{
|
|
1945
2001
|
capability: index.pipelineAnalyticsCapability,
|
|
1946
|
-
provider: this
|
|
1947
|
-
kind: "wrapper",
|
|
1948
|
-
defaultActive: true
|
|
2002
|
+
provider: this
|
|
1949
2003
|
},
|
|
1950
2004
|
{
|
|
1951
2005
|
capability: index.zoneAnalyticsCapability,
|
|
@@ -2521,14 +2575,11 @@ class PipelineAnalyticsAddon extends index.BaseAddon {
|
|
|
2521
2575
|
order: 0,
|
|
2522
2576
|
fields: [
|
|
2523
2577
|
{
|
|
2524
|
-
type: "
|
|
2578
|
+
type: "widget",
|
|
2525
2579
|
key: "liveStats",
|
|
2526
2580
|
label: "Live Stats",
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
// hydrated value is unused — kept for the form runtime
|
|
2530
|
-
// which requires a value field on every entry.
|
|
2531
|
-
value: void 0
|
|
2581
|
+
widgetId: "pipeline-analytics/live-stats",
|
|
2582
|
+
span: 1
|
|
2532
2583
|
}
|
|
2533
2584
|
]
|
|
2534
2585
|
};
|