@camstack/addon-post-analysis 0.1.13 → 0.1.15
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-DnAXaymw.mjs → index-CGAj-pkn.mjs} +559 -327
- package/dist/index-CGAj-pkn.mjs.map +1 -0
- package/dist/{index-DjIIGJS2.js → index-Dbx13pc7.js} +559 -327
- 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-BDtqUbh1.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-DErNFTYO.mjs} +6 -6
- package/dist/pipeline-analytics/{client-DdXDZxzK.mjs → client-DHmQcIWy.mjs} +2990 -3217
- package/dist/pipeline-analytics/{hostInit-CtfhvKwy.mjs → hostInit-DmzGJewr.mjs} +12 -12
- package/dist/pipeline-analytics/{index-BgDjUxfg.mjs → index-BA65ZJOW.mjs} +1 -1
- package/dist/pipeline-analytics/{index-COebxMhm.mjs → index-BCEx31Mh.mjs} +4032 -3582
- 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-CRJ4yA9t.mjs → recording-coordinator-BjWd7HjD.mjs} +2 -2
- package/dist/{recording-coordinator-CRJ4yA9t.mjs.map → recording-coordinator-BjWd7HjD.mjs.map} +1 -1
- package/dist/{recording-coordinator-UGTDbTdE.js → recording-coordinator-b-7Ast8s.js} +2 -2
- package/dist/{recording-coordinator-UGTDbTdE.js.map → recording-coordinator-b-7Ast8s.js.map} +1 -1
- package/package.json +5 -1
- package/dist/index-DjIIGJS2.js.map +0 -1
- package/dist/index-DnAXaymw.mjs.map +0 -1
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-p-Z3JTk9.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-BfmtcT51.mjs +0 -15
- package/dist/pipeline-analytics/index-CzwXKSYE.mjs +0 -20852
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseAddon, E as EventCategory, p as pipelineAnalyticsCapability, z as zoneAnalyticsCapability, h as audioMetricsCapability, i as addonWidgetsSourceCapability, j as hydrateSchema, D as DeviceType } from "../index-
|
|
1
|
+
import { B as BaseAddon, E as EventCategory, p as pipelineAnalyticsCapability, z as zoneAnalyticsCapability, h as audioMetricsCapability, i as addonWidgetsSourceCapability, j as hydrateSchema, D as DeviceType } from "../index-CGAj-pkn.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
function pointInPolygon(point, polygon) {
|
|
4
4
|
if (polygon.length < 3) return false;
|
|
@@ -1854,11 +1854,17 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
1854
1854
|
const widgetsProvider = {
|
|
1855
1855
|
listWidgets: async () => [
|
|
1856
1856
|
{
|
|
1857
|
-
|
|
1857
|
+
tab: "device-tab",
|
|
1858
1858
|
label: "Audio Level History",
|
|
1859
|
+
kind: "remote",
|
|
1860
|
+
remote: {
|
|
1861
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1862
|
+
exposedModule: "./widgets",
|
|
1863
|
+
componentKey: "audio-history-chart"
|
|
1864
|
+
},
|
|
1865
|
+
stableId: "audio-history-chart",
|
|
1859
1866
|
description: "Sparkline of audio dBFS over a configurable window with class hits.",
|
|
1860
1867
|
icon: "activity",
|
|
1861
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1862
1868
|
bundle: "remoteEntry.js",
|
|
1863
1869
|
hosts: ["device-tab", "dashboard"],
|
|
1864
1870
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1868,11 +1874,17 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
1868
1874
|
defaultRows: 2
|
|
1869
1875
|
},
|
|
1870
1876
|
{
|
|
1871
|
-
|
|
1877
|
+
tab: "device-tab",
|
|
1872
1878
|
label: "Audio Metrics",
|
|
1879
|
+
kind: "remote",
|
|
1880
|
+
remote: {
|
|
1881
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1882
|
+
exposedModule: "./widgets",
|
|
1883
|
+
componentKey: "audio-metrics-panel"
|
|
1884
|
+
},
|
|
1885
|
+
stableId: "audio-metrics-panel",
|
|
1873
1886
|
description: "Live dBFS + dominant class + per-class summary card.",
|
|
1874
1887
|
icon: "mic",
|
|
1875
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1876
1888
|
bundle: "remoteEntry.js",
|
|
1877
1889
|
hosts: ["device-tab", "dashboard"],
|
|
1878
1890
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1882,11 +1894,17 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
1882
1894
|
defaultRows: 2
|
|
1883
1895
|
},
|
|
1884
1896
|
{
|
|
1885
|
-
|
|
1897
|
+
tab: "device-tab",
|
|
1886
1898
|
label: "Occupancy History",
|
|
1899
|
+
kind: "remote",
|
|
1900
|
+
remote: {
|
|
1901
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1902
|
+
exposedModule: "./widgets",
|
|
1903
|
+
componentKey: "occupancy-history-chart"
|
|
1904
|
+
},
|
|
1905
|
+
stableId: "occupancy-history-chart",
|
|
1887
1906
|
description: "Frame-wide tracked-object count over time.",
|
|
1888
1907
|
icon: "users",
|
|
1889
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1890
1908
|
bundle: "remoteEntry.js",
|
|
1891
1909
|
hosts: ["device-tab", "dashboard"],
|
|
1892
1910
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1896,11 +1914,17 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
1896
1914
|
defaultRows: 2
|
|
1897
1915
|
},
|
|
1898
1916
|
{
|
|
1899
|
-
|
|
1917
|
+
tab: "device-tab",
|
|
1900
1918
|
label: "Motion History",
|
|
1919
|
+
kind: "remote",
|
|
1920
|
+
remote: {
|
|
1921
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1922
|
+
exposedModule: "./widgets",
|
|
1923
|
+
componentKey: "motion-history-chart"
|
|
1924
|
+
},
|
|
1925
|
+
stableId: "motion-history-chart",
|
|
1901
1926
|
description: "Histogram of motion events over a configurable window.",
|
|
1902
1927
|
icon: "activity",
|
|
1903
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1904
1928
|
bundle: "remoteEntry.js",
|
|
1905
1929
|
hosts: ["device-tab", "dashboard"],
|
|
1906
1930
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1910,11 +1934,17 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
1910
1934
|
defaultRows: 2
|
|
1911
1935
|
},
|
|
1912
1936
|
{
|
|
1913
|
-
|
|
1937
|
+
tab: "device-tab",
|
|
1914
1938
|
label: "Detection History",
|
|
1939
|
+
kind: "remote",
|
|
1940
|
+
remote: {
|
|
1941
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1942
|
+
exposedModule: "./widgets",
|
|
1943
|
+
componentKey: "detection-history-chart"
|
|
1944
|
+
},
|
|
1945
|
+
stableId: "detection-history-chart",
|
|
1915
1946
|
description: "Stacked-by-class histogram of object detections.",
|
|
1916
1947
|
icon: "eye",
|
|
1917
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1918
1948
|
bundle: "remoteEntry.js",
|
|
1919
1949
|
hosts: ["device-tab", "dashboard"],
|
|
1920
1950
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1924,11 +1954,17 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
1924
1954
|
defaultRows: 2
|
|
1925
1955
|
},
|
|
1926
1956
|
{
|
|
1927
|
-
|
|
1957
|
+
tab: "device-tab",
|
|
1928
1958
|
label: "Live Occupancy",
|
|
1959
|
+
kind: "remote",
|
|
1960
|
+
remote: {
|
|
1961
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1962
|
+
exposedModule: "./widgets",
|
|
1963
|
+
componentKey: "live-occupancy-panel"
|
|
1964
|
+
},
|
|
1965
|
+
stableId: "live-occupancy-panel",
|
|
1929
1966
|
description: "Per-zone breakdown + frame-wide aggregate (no polling).",
|
|
1930
1967
|
icon: "layers",
|
|
1931
|
-
remoteName: "addon_pipeline_analytics_widgets",
|
|
1932
1968
|
bundle: "remoteEntry.js",
|
|
1933
1969
|
hosts: ["device-tab", "dashboard"],
|
|
1934
1970
|
requires: { deviceContext: true, integrationContext: false },
|
|
@@ -1936,15 +1972,33 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
1936
1972
|
allowedSizes: ["sm", "md", "lg"],
|
|
1937
1973
|
defaultColumns: 6,
|
|
1938
1974
|
defaultRows: 2
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
tab: "device-tab",
|
|
1978
|
+
label: "Live Stats",
|
|
1979
|
+
kind: "remote",
|
|
1980
|
+
remote: {
|
|
1981
|
+
remoteName: "addon_pipeline_analytics_widgets",
|
|
1982
|
+
exposedModule: "./widgets",
|
|
1983
|
+
componentKey: "live-stats"
|
|
1984
|
+
},
|
|
1985
|
+
stableId: "live-stats",
|
|
1986
|
+
description: "Aggregated live-telemetry tab — occupancy, audio metrics, and the audio/occupancy/motion/detection history charts in one layout.",
|
|
1987
|
+
icon: "activity",
|
|
1988
|
+
bundle: "remoteEntry.js",
|
|
1989
|
+
hosts: ["device-tab"],
|
|
1990
|
+
requires: { deviceContext: true, integrationContext: false },
|
|
1991
|
+
defaultSize: "xl",
|
|
1992
|
+
allowedSizes: ["lg", "xl"],
|
|
1993
|
+
defaultColumns: 12,
|
|
1994
|
+
defaultRows: 6
|
|
1939
1995
|
}
|
|
1940
1996
|
]
|
|
1941
1997
|
};
|
|
1942
1998
|
return [
|
|
1943
1999
|
{
|
|
1944
2000
|
capability: pipelineAnalyticsCapability,
|
|
1945
|
-
provider: this
|
|
1946
|
-
kind: "wrapper",
|
|
1947
|
-
defaultActive: true
|
|
2001
|
+
provider: this
|
|
1948
2002
|
},
|
|
1949
2003
|
{
|
|
1950
2004
|
capability: zoneAnalyticsCapability,
|
|
@@ -2520,14 +2574,11 @@ class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
2520
2574
|
order: 0,
|
|
2521
2575
|
fields: [
|
|
2522
2576
|
{
|
|
2523
|
-
type: "
|
|
2577
|
+
type: "widget",
|
|
2524
2578
|
key: "liveStats",
|
|
2525
2579
|
label: "Live Stats",
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
// hydrated value is unused — kept for the form runtime
|
|
2529
|
-
// which requires a value field on every entry.
|
|
2530
|
-
value: void 0
|
|
2580
|
+
widgetId: "pipeline-analytics/live-stats",
|
|
2581
|
+
span: 1
|
|
2531
2582
|
}
|
|
2532
2583
|
]
|
|
2533
2584
|
};
|