@camstack/addon-model-studio 1.0.27 → 1.0.28
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/{MotionZonesSettings-CXRHt2U6.mjs → MotionZonesSettings-JuOM4wpI.mjs} +1 -1
- package/dist/{PrivacyMaskSettings-BbIyoxdE.mjs → PrivacyMaskSettings-B4AFKvVk.mjs} +2 -2
- package/dist/_stub.js +1697 -1685
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CWRIhNRo.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-NMFv_zoJ.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BOsI55Qr.mjs +26 -0
- package/dist/addon-model-studio.css +1 -1
- package/dist/{hostInit-B-w6W7-Z.mjs → hostInit-CdGt-Tbt.mjs} +3 -3
- package/dist/model-studio.addon.js +367 -1
- package/dist/model-studio.addon.mjs +367 -1
- package/dist/{player-overlays-CoyUKf0k.mjs → player-overlays-BR3IAbV5.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{trash-2-CdN899o6.mjs → trash-2-CCPJ47Sy.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BnhvvVch.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DvnLvZMm.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Bk2_mr_k.mjs +0 -26
|
@@ -7668,6 +7668,160 @@ var CAP_NODE_PIN_CONTEXT_KEY = "__camstackNodePin";
|
|
|
7668
7668
|
function nodePin(nodeId) {
|
|
7669
7669
|
return { context: { [CAP_NODE_PIN_CONTEXT_KEY]: nodeId } };
|
|
7670
7670
|
}
|
|
7671
|
+
var COCO_TO_MACRO = {
|
|
7672
|
+
mapping: {
|
|
7673
|
+
person: "person",
|
|
7674
|
+
bicycle: "vehicle",
|
|
7675
|
+
car: "vehicle",
|
|
7676
|
+
motorcycle: "vehicle",
|
|
7677
|
+
airplane: "vehicle",
|
|
7678
|
+
bus: "vehicle",
|
|
7679
|
+
train: "vehicle",
|
|
7680
|
+
truck: "vehicle",
|
|
7681
|
+
boat: "vehicle",
|
|
7682
|
+
bird: "animal",
|
|
7683
|
+
cat: "animal",
|
|
7684
|
+
dog: "animal",
|
|
7685
|
+
horse: "animal",
|
|
7686
|
+
sheep: "animal",
|
|
7687
|
+
cow: "animal",
|
|
7688
|
+
elephant: "animal",
|
|
7689
|
+
bear: "animal",
|
|
7690
|
+
zebra: "animal",
|
|
7691
|
+
giraffe: "animal",
|
|
7692
|
+
suitcase: "package",
|
|
7693
|
+
backpack: "package",
|
|
7694
|
+
handbag: "package"
|
|
7695
|
+
},
|
|
7696
|
+
preserveOriginal: false
|
|
7697
|
+
};
|
|
7698
|
+
var AUDIO_MACRO_LABELS = [
|
|
7699
|
+
{
|
|
7700
|
+
id: "speech",
|
|
7701
|
+
name: "Speech",
|
|
7702
|
+
icon: "🗣️"
|
|
7703
|
+
},
|
|
7704
|
+
{
|
|
7705
|
+
id: "scream",
|
|
7706
|
+
name: "Scream / Shout",
|
|
7707
|
+
icon: "😱"
|
|
7708
|
+
},
|
|
7709
|
+
{
|
|
7710
|
+
id: "crying",
|
|
7711
|
+
name: "Crying / Baby",
|
|
7712
|
+
icon: "😢"
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
id: "laughter",
|
|
7716
|
+
name: "Laughter",
|
|
7717
|
+
icon: "😂"
|
|
7718
|
+
},
|
|
7719
|
+
{
|
|
7720
|
+
id: "music",
|
|
7721
|
+
name: "Music",
|
|
7722
|
+
icon: "🎵"
|
|
7723
|
+
},
|
|
7724
|
+
{
|
|
7725
|
+
id: "dog",
|
|
7726
|
+
name: "Dog",
|
|
7727
|
+
icon: "🐕"
|
|
7728
|
+
},
|
|
7729
|
+
{
|
|
7730
|
+
id: "cat",
|
|
7731
|
+
name: "Cat",
|
|
7732
|
+
icon: "🐈"
|
|
7733
|
+
},
|
|
7734
|
+
{
|
|
7735
|
+
id: "bird",
|
|
7736
|
+
name: "Bird",
|
|
7737
|
+
icon: "🐦"
|
|
7738
|
+
},
|
|
7739
|
+
{
|
|
7740
|
+
id: "animal",
|
|
7741
|
+
name: "Animal (other)",
|
|
7742
|
+
icon: "🐾"
|
|
7743
|
+
},
|
|
7744
|
+
{
|
|
7745
|
+
id: "alarm",
|
|
7746
|
+
name: "Alarm / Siren",
|
|
7747
|
+
icon: "🚨"
|
|
7748
|
+
},
|
|
7749
|
+
{
|
|
7750
|
+
id: "doorbell",
|
|
7751
|
+
name: "Doorbell / Knock",
|
|
7752
|
+
icon: "🔔"
|
|
7753
|
+
},
|
|
7754
|
+
{
|
|
7755
|
+
id: "glass_breaking",
|
|
7756
|
+
name: "Glass Breaking",
|
|
7757
|
+
icon: "💥"
|
|
7758
|
+
},
|
|
7759
|
+
{
|
|
7760
|
+
id: "gunshot",
|
|
7761
|
+
name: "Gunshot / Explosion",
|
|
7762
|
+
icon: "💣"
|
|
7763
|
+
},
|
|
7764
|
+
{
|
|
7765
|
+
id: "vehicle",
|
|
7766
|
+
name: "Vehicle",
|
|
7767
|
+
icon: "🚗"
|
|
7768
|
+
},
|
|
7769
|
+
{
|
|
7770
|
+
id: "siren",
|
|
7771
|
+
name: "Emergency Siren",
|
|
7772
|
+
icon: "🚑"
|
|
7773
|
+
},
|
|
7774
|
+
{
|
|
7775
|
+
id: "fire",
|
|
7776
|
+
name: "Fire / Smoke",
|
|
7777
|
+
icon: "🔥"
|
|
7778
|
+
},
|
|
7779
|
+
{
|
|
7780
|
+
id: "water",
|
|
7781
|
+
name: "Water",
|
|
7782
|
+
icon: "💧"
|
|
7783
|
+
},
|
|
7784
|
+
{
|
|
7785
|
+
id: "wind",
|
|
7786
|
+
name: "Wind / Weather",
|
|
7787
|
+
icon: "🌬️"
|
|
7788
|
+
},
|
|
7789
|
+
{
|
|
7790
|
+
id: "door",
|
|
7791
|
+
name: "Door",
|
|
7792
|
+
icon: "🚪"
|
|
7793
|
+
},
|
|
7794
|
+
{
|
|
7795
|
+
id: "footsteps",
|
|
7796
|
+
name: "Footsteps",
|
|
7797
|
+
icon: "👣"
|
|
7798
|
+
},
|
|
7799
|
+
{
|
|
7800
|
+
id: "crowd",
|
|
7801
|
+
name: "Crowd / Chatter",
|
|
7802
|
+
icon: "👥"
|
|
7803
|
+
},
|
|
7804
|
+
{
|
|
7805
|
+
id: "telephone",
|
|
7806
|
+
name: "Telephone",
|
|
7807
|
+
icon: "📞"
|
|
7808
|
+
},
|
|
7809
|
+
{
|
|
7810
|
+
id: "engine",
|
|
7811
|
+
name: "Engine / Motor",
|
|
7812
|
+
icon: "⚙️"
|
|
7813
|
+
},
|
|
7814
|
+
{
|
|
7815
|
+
id: "tools",
|
|
7816
|
+
name: "Tools / Construction",
|
|
7817
|
+
icon: "🔨"
|
|
7818
|
+
},
|
|
7819
|
+
{
|
|
7820
|
+
id: "silence",
|
|
7821
|
+
name: "Silence",
|
|
7822
|
+
icon: "🤫"
|
|
7823
|
+
}
|
|
7824
|
+
];
|
|
7671
7825
|
var YAMNET_TO_MACRO = {
|
|
7672
7826
|
mapping: {
|
|
7673
7827
|
Speech: "speech",
|
|
@@ -7934,6 +8088,125 @@ var _macroLookup = /* @__PURE__ */ new Map();
|
|
|
7934
8088
|
for (const [k, v] of Object.entries(YAMNET_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
7935
8089
|
for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
7936
8090
|
/**
|
|
8091
|
+
* Unified event-kind taxonomy — THE single source of truth for
|
|
8092
|
+
* `kind → { parentKind, category, level, color, iconId, labelKey, label,
|
|
8093
|
+
* icon }`.
|
|
8094
|
+
*
|
|
8095
|
+
* This dictionary folds together what used to be scattered across four
|
|
8096
|
+
* copies:
|
|
8097
|
+
* - `capabilities/sensor-event-kinds.ts` (sensor cap colors)
|
|
8098
|
+
* - `addon-post-analysis/.../services/event-kinds.ts`
|
|
8099
|
+
* (MOTION/PERSON/VEHICLE… _COLOR constants)
|
|
8100
|
+
* - `ui-library/composites/detection-colors.ts` (CLASS_COLORS)
|
|
8101
|
+
* - `addon-post-analysis/shared/frame/box-drawer.ts` (DEFAULT_COLOR)
|
|
8102
|
+
* - the COCO / audio class maps (macro ↔ sub relationships)
|
|
8103
|
+
*
|
|
8104
|
+
* The DATA (serializable — color/iconId/labelKey/parentKind) lives here in
|
|
8105
|
+
* `@camstack/types`. The UI-side mapping `iconId → lucide component` and
|
|
8106
|
+
* `labelKey → t()` lives in `@camstack/ui-library`. UIs never hardcode a
|
|
8107
|
+
* color or an icon: they read this dictionary (server descriptors carry the
|
|
8108
|
+
* fields inline; the client resolves color/icon/label from `iconId`/`kind`).
|
|
8109
|
+
*
|
|
8110
|
+
* Two levels only (v1 YAGNI): macro → sub. `person` is a leaf macro.
|
|
8111
|
+
*/
|
|
8112
|
+
var TAXONOMY_COLORS = {
|
|
8113
|
+
motion: "#f59e0b",
|
|
8114
|
+
audio: "#06b6d4",
|
|
8115
|
+
person: "#22c55e",
|
|
8116
|
+
vehicle: "#3b82f6",
|
|
8117
|
+
animal: "#f97316",
|
|
8118
|
+
package: "#a855f7",
|
|
8119
|
+
sensor: "#8b5cf6",
|
|
8120
|
+
control: "#10b981",
|
|
8121
|
+
genericDetection: "#64748b"
|
|
8122
|
+
};
|
|
8123
|
+
var DETECTION_SUB_COLORS = {
|
|
8124
|
+
car: "#f59e0b",
|
|
8125
|
+
truck: "#d97706",
|
|
8126
|
+
bus: "#b45309",
|
|
8127
|
+
motorcycle: "#eab308",
|
|
8128
|
+
bicycle: "#ca8a04",
|
|
8129
|
+
airplane: "#60a5fa",
|
|
8130
|
+
boat: "#2563eb",
|
|
8131
|
+
train: "#1d4ed8",
|
|
8132
|
+
bird: "#14b8a6",
|
|
8133
|
+
dog: "#84cc16",
|
|
8134
|
+
cat: "#f97316",
|
|
8135
|
+
horse: "#a16207",
|
|
8136
|
+
sheep: "#a3a3a3",
|
|
8137
|
+
cow: "#78716c",
|
|
8138
|
+
elephant: "#6b7280",
|
|
8139
|
+
bear: "#7c2d12",
|
|
8140
|
+
zebra: "#404040",
|
|
8141
|
+
giraffe: "#d4a373"
|
|
8142
|
+
};
|
|
8143
|
+
function titleCase(id) {
|
|
8144
|
+
return id.split(/[-_ ]/).filter((p) => p.length > 0).map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join(" ");
|
|
8145
|
+
}
|
|
8146
|
+
var entries = /* @__PURE__ */ new Map();
|
|
8147
|
+
function macro(kind, category, color, iconId, label) {
|
|
8148
|
+
entries.set(kind, {
|
|
8149
|
+
kind,
|
|
8150
|
+
parentKind: null,
|
|
8151
|
+
level: "macro",
|
|
8152
|
+
category,
|
|
8153
|
+
color,
|
|
8154
|
+
iconId,
|
|
8155
|
+
labelKey: `eventKind.${kind}`,
|
|
8156
|
+
label
|
|
8157
|
+
});
|
|
8158
|
+
}
|
|
8159
|
+
function sub(kind, parentKind, category, color, iconId, label) {
|
|
8160
|
+
entries.set(kind, {
|
|
8161
|
+
kind,
|
|
8162
|
+
parentKind,
|
|
8163
|
+
level: "sub",
|
|
8164
|
+
category,
|
|
8165
|
+
color,
|
|
8166
|
+
iconId,
|
|
8167
|
+
labelKey: `eventKind.${kind}`,
|
|
8168
|
+
label
|
|
8169
|
+
});
|
|
8170
|
+
}
|
|
8171
|
+
macro("motion", "motion", TAXONOMY_COLORS.motion, "motion", "Motion");
|
|
8172
|
+
macro("audio", "audio", TAXONOMY_COLORS.audio, "audio", "Audio");
|
|
8173
|
+
macro("person", "detection", TAXONOMY_COLORS.person, "person", "Person");
|
|
8174
|
+
macro("vehicle", "detection", TAXONOMY_COLORS.vehicle, "vehicle", "Vehicle");
|
|
8175
|
+
macro("animal", "detection", TAXONOMY_COLORS.animal, "animal", "Animal");
|
|
8176
|
+
macro("package", "package", TAXONOMY_COLORS.package, "package", "Package");
|
|
8177
|
+
macro("sensor", "sensor", TAXONOMY_COLORS.sensor, "sensor", "Sensor");
|
|
8178
|
+
macro("control", "control", TAXONOMY_COLORS.control, "control", "Control");
|
|
8179
|
+
for (const [cocoClass, macroClass] of Object.entries(COCO_TO_MACRO.mapping)) {
|
|
8180
|
+
if (macroClass !== "vehicle" && macroClass !== "animal") continue;
|
|
8181
|
+
if (entries.has(cocoClass)) continue;
|
|
8182
|
+
sub(cocoClass, macroClass, "detection", DETECTION_SUB_COLORS[cocoClass] ?? TAXONOMY_COLORS.genericDetection, cocoClass, titleCase(cocoClass));
|
|
8183
|
+
}
|
|
8184
|
+
sub("package-delivered", "package", "package", TAXONOMY_COLORS.package, "package", "Package delivered");
|
|
8185
|
+
sub("package-picked-up", "package", "package", TAXONOMY_COLORS.package, "package", "Package picked up");
|
|
8186
|
+
sub("contact", "sensor", "sensor", "#f59e0b", "door", "Contact");
|
|
8187
|
+
sub("motion-sensor", "sensor", "sensor", TAXONOMY_COLORS.sensor, "pir", "Motion sensor");
|
|
8188
|
+
sub("smoke", "sensor", "sensor", "#ef4444", "smoke", "Smoke");
|
|
8189
|
+
sub("flood", "sensor", "sensor", "#3b82f6", "water", "Water leak");
|
|
8190
|
+
sub("gas", "sensor", "sensor", "#ef4444", "gas", "Gas");
|
|
8191
|
+
sub("carbon-monoxide", "sensor", "sensor", "#dc2626", "smoke", "Carbon monoxide");
|
|
8192
|
+
sub("vibration", "sensor", "sensor", "#eab308", "vibration", "Vibration");
|
|
8193
|
+
sub("tamper", "sensor", "sensor", "#f97316", "tamper", "Tamper");
|
|
8194
|
+
sub("presence", "sensor", "sensor", "#22c55e", "presence", "Presence");
|
|
8195
|
+
sub("enum-sensor", "sensor", "sensor", TAXONOMY_COLORS.sensor, "generic", "Sensor state");
|
|
8196
|
+
sub("device-event", "sensor", "sensor", "#10b981", "button", "Device event");
|
|
8197
|
+
sub("lock", "control", "control", "#0ea5e9", "lock", "Lock");
|
|
8198
|
+
sub("switch", "control", "control", TAXONOMY_COLORS.control, "switch", "Switch");
|
|
8199
|
+
sub("siren", "control", "control", "#dc2626", "siren", "Siren");
|
|
8200
|
+
sub("button", "control", "control", "#10b981", "button", "Button");
|
|
8201
|
+
sub("doorbell", "control", "control", "#a855f7", "doorbell", "Doorbell");
|
|
8202
|
+
for (const l of AUDIO_MACRO_LABELS) {
|
|
8203
|
+
const kind = `audio-${l.id}`;
|
|
8204
|
+
if (entries.has(kind)) continue;
|
|
8205
|
+
sub(kind, "audio", "audio", TAXONOMY_COLORS.audio, kind, l.name);
|
|
8206
|
+
}
|
|
8207
|
+
/** The complete taxonomy dictionary, keyed by kind. */
|
|
8208
|
+
var EVENT_TAXONOMY = Object.freeze(Object.fromEntries(entries));
|
|
8209
|
+
/**
|
|
7937
8210
|
* Error types for the safe expression engine. Two distinct classes so callers
|
|
7938
8211
|
* can tell a compile-time (grammar) failure from a runtime (evaluation)
|
|
7939
8212
|
* failure — both are non-fatal to the host: read paths degrade to "skip link".
|
|
@@ -15922,17 +16195,30 @@ var EventKindCategorySchema = _enum([
|
|
|
15922
16195
|
"audio",
|
|
15923
16196
|
"detection",
|
|
15924
16197
|
"sensor",
|
|
16198
|
+
"control",
|
|
15925
16199
|
"custom",
|
|
15926
16200
|
"package"
|
|
15927
16201
|
]);
|
|
16202
|
+
/** Taxonomy level — macro (timeline lane) vs sub (events-page leaf). */
|
|
16203
|
+
var EventKindLevelSchema = _enum(["macro", "sub"]);
|
|
15928
16204
|
var EventKindDescriptorSchema = object({
|
|
15929
|
-
/** Stable kind id (e.g. 'motion', '
|
|
16205
|
+
/** Stable kind id (e.g. 'motion', 'vehicle', 'car', 'lock'). */
|
|
15930
16206
|
kind: string(),
|
|
16207
|
+
/** i18n key resolved on the UI side; `label` is the English fallback. */
|
|
16208
|
+
labelKey: string(),
|
|
16209
|
+
/** English fallback label (kept for clients that don't translate). */
|
|
15931
16210
|
label: string(),
|
|
15932
16211
|
/** Hex color for timeline/legend rendering. */
|
|
15933
16212
|
color: string(),
|
|
16213
|
+
/** Dictionary id → lucide component on the UI side. */
|
|
16214
|
+
iconId: string(),
|
|
16215
|
+
/** Legacy closed-vocab glyph — fallback for `iconId`. */
|
|
15934
16216
|
icon: EventKindIconSchema,
|
|
15935
16217
|
category: EventKindCategorySchema,
|
|
16218
|
+
/** Macro parent for this kind ('car' → 'vehicle'); null for a macro. */
|
|
16219
|
+
parentKind: string().nullable(),
|
|
16220
|
+
/** Derived from `parentKind`, explicit for the client tree. */
|
|
16221
|
+
level: EventKindLevelSchema,
|
|
15936
16222
|
/** Which cap + device contributes this kind. For built-ins the camera
|
|
15937
16223
|
* itself; for sensor kinds the LINKED source device. */
|
|
15938
16224
|
source: object({
|
|
@@ -16005,11 +16291,21 @@ var TrackAudioLabelSchema = object({
|
|
|
16005
16291
|
firstAt: number(),
|
|
16006
16292
|
lastAt: number()
|
|
16007
16293
|
});
|
|
16294
|
+
/**
|
|
16295
|
+
* How a track was produced. `pipeline` (default / absent) = the spatial
|
|
16296
|
+
* detection+tracking pipeline. `sensor` = a SYNTHETIC track projected from a
|
|
16297
|
+
* linked sensor/control state change (no positions; carries a snapshot). The
|
|
16298
|
+
* spatial subsystems (tracker association, occupancy count, re-id/embedding,
|
|
16299
|
+
* resurrection) MUST skip `sensor` tracks — they have no bbox trajectory.
|
|
16300
|
+
*/
|
|
16301
|
+
var TrackSourceSchema = _enum(["pipeline", "sensor"]);
|
|
16008
16302
|
var TrackSchema = object({
|
|
16009
16303
|
trackId: string(),
|
|
16010
16304
|
deviceId: number(),
|
|
16011
16305
|
className: string(),
|
|
16012
16306
|
label: string().optional(),
|
|
16307
|
+
/** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
|
|
16308
|
+
source: TrackSourceSchema.optional(),
|
|
16013
16309
|
firstSeen: number(),
|
|
16014
16310
|
lastSeen: number(),
|
|
16015
16311
|
/** Frame-rate position history (subject to maxPositionHistory cap). */
|
|
@@ -16386,6 +16682,76 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16386
16682
|
eventId: string(),
|
|
16387
16683
|
timestamp: number()
|
|
16388
16684
|
});
|
|
16685
|
+
/**
|
|
16686
|
+
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
16687
|
+
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
16688
|
+
* caps into per-camera event-kind descriptors.
|
|
16689
|
+
*
|
|
16690
|
+
* The descriptor DATA (color / iconId / labelKey / parentKind / category)
|
|
16691
|
+
* is NOT duplicated here — every entry is derived from the single
|
|
16692
|
+
* `EVENT_TAXONOMY` dictionary (`catalogs/event-taxonomy.ts`). This file owns
|
|
16693
|
+
* ONLY the cap-name → taxonomy-kind mapping. Adding a new eventful sensor /
|
|
16694
|
+
* control cap means adding one line here (and a taxonomy entry); the anti-
|
|
16695
|
+
* drift guard `scripts/check-event-kind-coverage.ts` fails the build if an
|
|
16696
|
+
* eventful cap is missing.
|
|
16697
|
+
*/
|
|
16698
|
+
/** Map a taxonomy `iconId` onto the legacy closed `EventKindIcon` enum. */
|
|
16699
|
+
var LEGACY_ICON = {
|
|
16700
|
+
motion: "motion",
|
|
16701
|
+
audio: "audio",
|
|
16702
|
+
person: "person",
|
|
16703
|
+
vehicle: "vehicle",
|
|
16704
|
+
animal: "animal",
|
|
16705
|
+
package: "package",
|
|
16706
|
+
door: "door",
|
|
16707
|
+
pir: "pir",
|
|
16708
|
+
smoke: "smoke",
|
|
16709
|
+
water: "water",
|
|
16710
|
+
button: "button",
|
|
16711
|
+
generic: "generic",
|
|
16712
|
+
gas: "smoke",
|
|
16713
|
+
vibration: "generic",
|
|
16714
|
+
tamper: "generic",
|
|
16715
|
+
presence: "person",
|
|
16716
|
+
lock: "generic",
|
|
16717
|
+
siren: "generic",
|
|
16718
|
+
switch: "generic",
|
|
16719
|
+
doorbell: "button"
|
|
16720
|
+
};
|
|
16721
|
+
function legacyIcon(iconId) {
|
|
16722
|
+
return LEGACY_ICON[iconId] ?? "generic";
|
|
16723
|
+
}
|
|
16724
|
+
/**
|
|
16725
|
+
* Cap name → taxonomy kind id. Covers EVERY eventful sensor / control cap.
|
|
16726
|
+
* The anti-drift guard cross-checks this against the eventful caps declared
|
|
16727
|
+
* in `packages/types/src/capabilities/*.cap.ts`.
|
|
16728
|
+
*/
|
|
16729
|
+
var CAP_TO_KIND = {
|
|
16730
|
+
contact: "contact",
|
|
16731
|
+
motion: "motion-sensor",
|
|
16732
|
+
smoke: "smoke",
|
|
16733
|
+
flood: "flood",
|
|
16734
|
+
gas: "gas",
|
|
16735
|
+
"carbon-monoxide": "carbon-monoxide",
|
|
16736
|
+
vibration: "vibration",
|
|
16737
|
+
tamper: "tamper",
|
|
16738
|
+
presence: "presence",
|
|
16739
|
+
"enum-sensor": "enum-sensor",
|
|
16740
|
+
"event-emitter": "device-event",
|
|
16741
|
+
"lock-control": "lock",
|
|
16742
|
+
switch: "switch",
|
|
16743
|
+
button: "button",
|
|
16744
|
+
doorbell: "doorbell"
|
|
16745
|
+
};
|
|
16746
|
+
function buildDescriptor(capName, kind) {
|
|
16747
|
+
const t = EVENT_TAXONOMY[kind];
|
|
16748
|
+
if (t === void 0) throw new Error(`EVENT_KIND_BY_CAP: cap '${capName}' maps to unknown taxonomy kind '${kind}'`);
|
|
16749
|
+
return {
|
|
16750
|
+
...t,
|
|
16751
|
+
icon: legacyIcon(t.iconId)
|
|
16752
|
+
};
|
|
16753
|
+
}
|
|
16754
|
+
Object.freeze(Object.fromEntries(Object.entries(CAP_TO_KIND).map(([capName, kind]) => [capName, buildDescriptor(capName, kind)])));
|
|
16389
16755
|
var CameraPipelineConfigSchema = object({
|
|
16390
16756
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
16391
16757
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as e, g as t, h as n, l as r, n as i, p as a, r as o, t as s, u as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
|
|
2
2
|
import { n as u, r as d, t as f } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { f as p } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BOsI55Qr.mjs";
|
|
4
4
|
//#region ../ui-library/src/lib/cap-error.ts
|
|
5
5
|
function m(e) {
|
|
6
6
|
if (typeof e != "object" || !e) return null;
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DvnLvZMm.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -2753,7 +2753,7 @@ async function rr(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
async function ir() {
|
|
2756
|
-
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-NMFv_zoJ.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|
package/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region \0virtual:mf:__mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
2
|
-
var e = "__mf_init__virtual:mf:__mfe_internal__addon_model_studio_page__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
-
if (!t) {
|
|
4
|
-
let n, r, i = new Promise((e, t) => {
|
|
5
|
-
n = e, r = t;
|
|
6
|
-
});
|
|
7
|
-
t = globalThis[e] = {
|
|
8
|
-
initPromise: i,
|
|
9
|
-
initResolve: n,
|
|
10
|
-
initReject: r
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
-
globalThis[r] ||= {
|
|
15
|
-
share: {},
|
|
16
|
-
remote: {}
|
|
17
|
-
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
-
var i = globalThis[r], a, o, s, c, l, u, d, f, p, m, h, g, _ = (e) => {
|
|
19
|
-
e.ACCESSORY_LABEL, a = e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationControlStatusSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BATTERY_DEVICE_PROFILE, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusSchema, e.CameraStreamSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_FEATURES, e.DEFAULT_RETENTION, e.DEFAULT_SCRUB_THUMBNAIL_PRESET, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_INFO, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, o = e.DeviceFeature, e.DeviceInfoSchema, e.DeviceLinkModeSchema, e.DeviceNetworkStatsSchema, s = e.DeviceRole, e.DeviceRuntimeState, e.DeviceStatusSchema, c = e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENT_KIND_BY_CAP, e.EVENT_PAD_MS, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, l = e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventSourceType, e.ExportDownloadSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportTimelapseSchema, u = e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionEvalError, e.ExpressionParseError, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.GasStatusSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LabelDefinitionSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LinkedDeviceSchema, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoginMethodContributionSchema, e.LoginStageEnum, e.MACRO_LABELS, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.METHOD_ACCESS_MAP, e.MODEL_FORMATS, e.ManagedModelCatalogEntrySchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.NativeDetectionSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationHistoryEntrySchema, e.NotificationRuleSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OPS_LOG_DEFAULT_LIMIT, e.OPS_LOG_RING_DEFAULT_MAX, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OpsLogDomainSchema, e.OpsLogEntrySchema, e.OpsLogOpSchema, e.OpsLogQueryInputSchema, e.OpsLogReasonSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdStatusSchema, d = e.PET_FEEDER_MANUAL_FEED_MAX, f = e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RESERVED_BINDING_NAMES, e.RUNTIME_DEFAULTS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadSegmentBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingModeSchema, e.RecordingRangeSchema, e.RecordingRetentionSchema, e.RecordingRuleSchema, e.RecordingScheduleSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCOPE_PRESETS, e.SCRUB_THUMBNAIL_PRESETS, e.SCRUB_THUMBNAIL_PRESET_LABELS, e.SCRUB_THUMBNAIL_PRESET_ORDER, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.ScrubThumbnailPresetSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, p = e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TIMEZONES, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TestConnectionResultSchema, e.TestResultSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TurnServerSchema, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.YAMNET_TO_MACRO, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.advancedNotifierCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.applyTransform, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioMetricsCapability, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildModelVariantGroups, e.buildStreamParamsConfigSchema, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, m = e.canConvertUnit, e.carbonMonoxideCapability, e.cellsToRects, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.colorCapability, e.compileExpression, e.compileExpressionSafe, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.cosineSimilarity, e.coverCapability, h = e.createDeviceProxy, e.createDurableState, e.createEvent, e.createExpressionScope, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dayNightCapability, e.decoderCapability, e.defaultDeviceFor, e.defineCustomActions, e.describeModelVariant, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.enumSensorCapability, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateLinkExpression, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.formatForBackend, e.formatForRuntime, e.frameworkSwapConfirmSchema, e.frameworkSwapPackageSchema, e.gasCapability, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.integrationsCapability, e.intercomCapability, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDeviceConfigCap, e.isEvent, e.isObjectInput, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logDestinationCapability, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.metricsProviderCapability, e.migrateConfigToBands, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.networkAccessCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeUnit, e.notificationOutputCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.osdCapability, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProfileBrokerId, e.parseStreamParamsFormPatch, e.pendingFrameworkSwapSchema, e.petFeederCapability, e.pickPreferredRtspEntry, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readNodePin, e.readinessKey, e.rebootCapability, e.recordingCapability, e.recordingExportCapability, e.rectsToCells, e.requiresPython, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveCapMount, e.resolveDetectionRuntime, e.resolveDeviceProfile, e.resolveFormat, e.resolveHydratedFieldValue, e.resolveModelFormat, e.resolveRunnerId, e.resolveScrubThumbnailGeometry, e.resolveVariantModelId, e.runInferenceStep, e.runtimeDevices, e.sceneMonitorCapability, e.scopeKey, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.storageCapability, e.storageEvictableCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.supportedRuntimes, e.switchCapability, e.synthesizeSourceInfo, e.systemCapability, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toStreamSourceEntry, e.toastCapability, e.tokenize, e.transcodeBody, g = e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.valveCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
20
|
-
}, v = i.share["default:@camstack/types"];
|
|
21
|
-
v === void 0 ? n.then(() => {
|
|
22
|
-
if (v = i.share["default:@camstack/types"], v === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
|
23
|
-
_(v);
|
|
24
|
-
}) : _(v);
|
|
25
|
-
//#endregion
|
|
26
|
-
export { l as a, f as c, h as d, g as f, c as i, p as l, o as n, u as o, s as r, d as s, a as t, m as u };
|