@camstack/addon-post-analysis 1.2.629 → 1.2.630
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/{clip-model-registry-M_QM7l6j.js → clip-model-registry-DB0TSd14.js} +141 -86
- package/dist/{clip-model-registry-SrfKJ0e8.mjs → clip-model-registry-wZ4Nt5jo.mjs} +132 -83
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +2 -2
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CUsaUp1g.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BjktQPk_.mjs} +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BxPKSyZo.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DdbV-R1z.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-q1u97PmF.mjs → hostInit-BMCiXaWO.mjs} +2 -2
- package/dist/pipeline-analytics/index.js +340 -266
- package/dist/pipeline-analytics/index.mjs +339 -265
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DxapkUgD.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-D7KeW_uB.mjs +0 -26
|
@@ -30,7 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
}) : target, mod));
|
|
31
31
|
//#endregion
|
|
32
32
|
let node_crypto = require("node:crypto");
|
|
33
|
-
//#region ../types/dist/event-category-
|
|
33
|
+
//#region ../types/dist/event-category-Ceif8n-v.mjs
|
|
34
34
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
35
35
|
EventCategory["SystemBoot"] = "system.boot";
|
|
36
36
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -502,6 +502,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
502
502
|
* on the device detail page.
|
|
503
503
|
*/
|
|
504
504
|
EventCategory["DoorbellOnPressed"] = "doorbell.onPressed";
|
|
505
|
+
/** Mirrors `runningStateCapability.events.onStarted`. */
|
|
506
|
+
EventCategory["RunningStarted"] = "running.started";
|
|
507
|
+
/** Mirrors `runningStateCapability.events.onFinished`. */
|
|
508
|
+
EventCategory["RunningFinished"] = "running.finished";
|
|
505
509
|
/**
|
|
506
510
|
* Cap event fired by every device that registers the `event-emitter`
|
|
507
511
|
* capability. Mirrors `eventEmitterCapability.events.onEvent`. Carries
|
|
@@ -5659,7 +5663,7 @@ var ZodIssueCode = {
|
|
|
5659
5663
|
var ZodFirstPartyTypeKind;
|
|
5660
5664
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5661
5665
|
//#endregion
|
|
5662
|
-
//#region ../types/dist/sleep-
|
|
5666
|
+
//#region ../types/dist/sleep-CYfIZzGv.mjs
|
|
5663
5667
|
/**
|
|
5664
5668
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5665
5669
|
* window to float samples (D455).
|
|
@@ -5998,7 +6002,7 @@ Object.fromEntries([
|
|
|
5998
6002
|
* `hydrateSchema` to skip the `value` injection for structural-only fields.
|
|
5999
6003
|
*/
|
|
6000
6004
|
function isValuelessField(field) {
|
|
6001
|
-
return field.type === "separator" || field.type === "info" || field.type === "qr-code" || field.type === "button" || field.type === "object-array" || field.type === "widget" || field.type === "addon-action-button" || field.type === "device-action-button";
|
|
6005
|
+
return field.type === "separator" || field.type === "info" || field.type === "qr-code" || field.type === "button" || field.type === "object-array" || field.type === "widget" || field.type === "addon-action-button" || field.type === "device-action-button" || field.type === "account-sign-in" || field.type === "secret-presence";
|
|
6002
6006
|
}
|
|
6003
6007
|
function hydrateSchema(schema, values, options = {}) {
|
|
6004
6008
|
return {
|
|
@@ -8916,7 +8920,7 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
|
|
|
8916
8920
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
8917
8921
|
* (~144MB RSS per runner, D28).
|
|
8918
8922
|
*
|
|
8919
|
-
* Coverage:
|
|
8923
|
+
* Coverage: 91 device-scoped capabilities.
|
|
8920
8924
|
*/
|
|
8921
8925
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
8922
8926
|
"accessories",
|
|
@@ -8988,6 +8992,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
8988
8992
|
"recording",
|
|
8989
8993
|
"recording-onboard",
|
|
8990
8994
|
"recording-signal",
|
|
8995
|
+
"running-state",
|
|
8991
8996
|
"scene-monitor",
|
|
8992
8997
|
"script-runner",
|
|
8993
8998
|
"smoke",
|
|
@@ -9407,7 +9412,7 @@ function errMsg(err) {
|
|
|
9407
9412
|
return String(err);
|
|
9408
9413
|
}
|
|
9409
9414
|
//#endregion
|
|
9410
|
-
//#region ../types/dist/composition-
|
|
9415
|
+
//#region ../types/dist/composition-xz-ud5EQ.mjs
|
|
9411
9416
|
/**
|
|
9412
9417
|
* Deterministic SHA-256 hash of an arbitrary serialisable value. The
|
|
9413
9418
|
* canonical form sorts object keys alphabetically at every depth so two
|
|
@@ -9868,6 +9873,20 @@ var table = {
|
|
|
9868
9873
|
apply: () => {
|
|
9869
9874
|
throw new ExpressionEvalError("count: stateful evaluation context is required");
|
|
9870
9875
|
}
|
|
9876
|
+
},
|
|
9877
|
+
dwell: {
|
|
9878
|
+
minArgs: 3,
|
|
9879
|
+
maxArgs: 3,
|
|
9880
|
+
apply: () => {
|
|
9881
|
+
throw new ExpressionEvalError("dwell: stateful evaluation context is required");
|
|
9882
|
+
}
|
|
9883
|
+
},
|
|
9884
|
+
latchedAt: {
|
|
9885
|
+
minArgs: 1,
|
|
9886
|
+
maxArgs: 1,
|
|
9887
|
+
apply: () => {
|
|
9888
|
+
throw new ExpressionEvalError("latchedAt: stateful evaluation context is required");
|
|
9889
|
+
}
|
|
9871
9890
|
}
|
|
9872
9891
|
};
|
|
9873
9892
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -17600,7 +17619,15 @@ Object.freeze({
|
|
|
17600
17619
|
kind: "fixed",
|
|
17601
17620
|
result: ["number", "null"]
|
|
17602
17621
|
},
|
|
17603
|
-
count: NUMBER
|
|
17622
|
+
count: NUMBER,
|
|
17623
|
+
dwell: {
|
|
17624
|
+
kind: "fixed",
|
|
17625
|
+
result: ["boolean", "null"]
|
|
17626
|
+
},
|
|
17627
|
+
latchedAt: {
|
|
17628
|
+
kind: "fixed",
|
|
17629
|
+
result: ["number", "null"]
|
|
17630
|
+
}
|
|
17604
17631
|
});
|
|
17605
17632
|
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
17606
17633
|
/**
|
|
@@ -44184,9 +44211,6 @@ var NcSystemEventKindSchema = _enum([
|
|
|
44184
44211
|
"device-battery-normal",
|
|
44185
44212
|
"device-consumable-low",
|
|
44186
44213
|
"device-consumable-normal",
|
|
44187
|
-
"device-tank-low",
|
|
44188
|
-
"device-tank-full",
|
|
44189
|
-
"device-tank-normal",
|
|
44190
44214
|
"stream-online",
|
|
44191
44215
|
"stream-offline",
|
|
44192
44216
|
"node-online",
|
|
@@ -44233,13 +44257,14 @@ var NcSystemEventKindSchema = _enum([
|
|
|
44233
44257
|
"camera-enabled"
|
|
44234
44258
|
]);
|
|
44235
44259
|
/** The legacy tail of {@link NcSystemEventKindSchema} — see its docblock. */
|
|
44236
|
-
var NC_LEGACY_SYSTEM_EVENT_KINDS =
|
|
44260
|
+
var NC_LEGACY_SYSTEM_EVENT_KINDS = [
|
|
44237
44261
|
"camera-online",
|
|
44238
44262
|
"camera-offline",
|
|
44239
44263
|
"camera-disabled",
|
|
44240
44264
|
"camera-enabled"
|
|
44241
|
-
]
|
|
44242
|
-
|
|
44265
|
+
];
|
|
44266
|
+
var NC_LEGACY_SYSTEM_EVENT_KIND_SET = new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
44267
|
+
NcSystemEventKindSchema.options.filter((kind) => !NC_LEGACY_SYSTEM_EVENT_KIND_SET.has(kind));
|
|
44243
44268
|
/**
|
|
44244
44269
|
* The panel's transitions, as ONE list.
|
|
44245
44270
|
*
|
|
@@ -44269,12 +44294,6 @@ var NC_ALARM_SYSTEM_EVENT_KINDS = [
|
|
|
44269
44294
|
* and both editors read it.
|
|
44270
44295
|
*/
|
|
44271
44296
|
var NC_CONSUMABLE_SYSTEM_EVENT_KINDS = ["device-consumable-low", "device-consumable-normal"];
|
|
44272
|
-
/** A vacuum's tank alerts (D642) — raised on the provider's own verdict. */
|
|
44273
|
-
var NC_TANK_SYSTEM_EVENT_KINDS = [
|
|
44274
|
-
"device-tank-low",
|
|
44275
|
-
"device-tank-full",
|
|
44276
|
-
"device-tank-normal"
|
|
44277
|
-
];
|
|
44278
44297
|
/**
|
|
44279
44298
|
* The consumable threshold a rule that does not state one judges at (D642).
|
|
44280
44299
|
* The operator's number ("default 15 %, configurable on the rule"), and the
|
|
@@ -45450,18 +45469,18 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
45450
45469
|
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
45451
45470
|
* job is not an open state, and the alarm stays instant.
|
|
45452
45471
|
*/
|
|
45453
|
-
var
|
|
45472
|
+
var NC_STATE_SUMMARY_SECTION_IDS = [
|
|
45454
45473
|
"device-state",
|
|
45455
45474
|
"streams",
|
|
45456
45475
|
"battery",
|
|
45457
45476
|
"consumables",
|
|
45458
|
-
"tanks",
|
|
45459
45477
|
"detection-blind",
|
|
45460
45478
|
"nodes",
|
|
45461
45479
|
"addons",
|
|
45462
45480
|
"addon-updates",
|
|
45463
45481
|
"updates"
|
|
45464
|
-
]
|
|
45482
|
+
];
|
|
45483
|
+
var NcStateSummarySectionIdSchema = _enum(NC_STATE_SUMMARY_SECTION_IDS);
|
|
45465
45484
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
45466
45485
|
var NcStateSummaryPreviewSectionSchema = object({
|
|
45467
45486
|
id: NcStateSummarySectionIdSchema,
|
|
@@ -45836,18 +45855,6 @@ var NC_CONDITION_CATALOG = [
|
|
|
45836
45855
|
value: "device-consumable-normal",
|
|
45837
45856
|
label: "Consumable replaced"
|
|
45838
45857
|
},
|
|
45839
|
-
{
|
|
45840
|
-
value: "device-tank-low",
|
|
45841
|
-
label: "Tank low (water, detergent)"
|
|
45842
|
-
},
|
|
45843
|
-
{
|
|
45844
|
-
value: "device-tank-full",
|
|
45845
|
-
label: "Tank full (dirty water, dust)"
|
|
45846
|
-
},
|
|
45847
|
-
{
|
|
45848
|
-
value: "device-tank-normal",
|
|
45849
|
-
label: "Tank back to normal"
|
|
45850
|
-
},
|
|
45851
45858
|
{
|
|
45852
45859
|
value: "export-completed",
|
|
45853
45860
|
label: "Export completed"
|
|
@@ -58887,6 +58894,20 @@ _enum([
|
|
|
58887
58894
|
"empty",
|
|
58888
58895
|
"full"
|
|
58889
58896
|
]);
|
|
58897
|
+
/** The kind of an item, with the documented default for an absent one. */
|
|
58898
|
+
function consumableKindOf(item) {
|
|
58899
|
+
return item.kind ?? "wear";
|
|
58900
|
+
}
|
|
58901
|
+
/** The kind's default form: wear → part, waste → bin, supply → product. */
|
|
58902
|
+
var FORM_OF_KIND = {
|
|
58903
|
+
wear: "part",
|
|
58904
|
+
waste: "bin",
|
|
58905
|
+
supply: "product"
|
|
58906
|
+
};
|
|
58907
|
+
/** The form of an item: its own when the provider names one, else its kind's default. */
|
|
58908
|
+
function consumableFormOf(item) {
|
|
58909
|
+
return item.form ?? FORM_OF_KIND[consumableKindOf(item)];
|
|
58910
|
+
}
|
|
58890
58911
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
58891
58912
|
* each. */
|
|
58892
58913
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -65218,6 +65239,41 @@ var ptzAutotrackCapability = {
|
|
|
65218
65239
|
*/
|
|
65219
65240
|
history: "none"
|
|
65220
65241
|
};
|
|
65242
|
+
var RunningStateSourceSchema = _enum(["native", "assigned"]);
|
|
65243
|
+
var RunningStateStatusSchema = object({
|
|
65244
|
+
/** null = unknown — never coerced to false (D393). */
|
|
65245
|
+
running: boolean().nullable(),
|
|
65246
|
+
/** Epoch ms the current boolean began; null while `running` is null. */
|
|
65247
|
+
since: number().nullable(),
|
|
65248
|
+
source: RunningStateSourceSchema,
|
|
65249
|
+
phase: string().nullable(),
|
|
65250
|
+
lastFetchedAt: number()
|
|
65251
|
+
});
|
|
65252
|
+
var RunningFlipEventDataSchema = object({
|
|
65253
|
+
deviceId: number(),
|
|
65254
|
+
since: number().nullable(),
|
|
65255
|
+
phase: string().nullable()
|
|
65256
|
+
});
|
|
65257
|
+
var runningStateCapability = {
|
|
65258
|
+
name: "running-state",
|
|
65259
|
+
scope: "device",
|
|
65260
|
+
deviceNative: true,
|
|
65261
|
+
mode: "singleton",
|
|
65262
|
+
deviceTypes: Object.values(DeviceType),
|
|
65263
|
+
methods: {},
|
|
65264
|
+
events: {
|
|
65265
|
+
onStarted: { data: RunningFlipEventDataSchema },
|
|
65266
|
+
onFinished: { data: RunningFlipEventDataSchema }
|
|
65267
|
+
},
|
|
65268
|
+
status: {
|
|
65269
|
+
schema: RunningStateStatusSchema,
|
|
65270
|
+
kind: "push"
|
|
65271
|
+
},
|
|
65272
|
+
runtimeState: RunningStateStatusSchema,
|
|
65273
|
+
durability: "restored",
|
|
65274
|
+
history: { fields: { running: { kind: "boolean" } } },
|
|
65275
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
65276
|
+
};
|
|
65221
65277
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
65222
65278
|
kind: "mutation",
|
|
65223
65279
|
auth: "admin"
|
|
@@ -70302,6 +70358,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
70302
70358
|
ptzAutotrack: ptzAutotrackCapability,
|
|
70303
70359
|
recordingOnboard: recordingOnboardCapability,
|
|
70304
70360
|
recordingSignal: recordingSignalCapability,
|
|
70361
|
+
runningState: runningStateCapability,
|
|
70305
70362
|
sceneMonitor: sceneMonitorCapability,
|
|
70306
70363
|
scriptRunner: scriptRunnerCapability,
|
|
70307
70364
|
smoke: smokeCapability,
|
|
@@ -78561,6 +78618,13 @@ Object.freeze({
|
|
|
78561
78618
|
access: "create",
|
|
78562
78619
|
role: "admin"
|
|
78563
78620
|
},
|
|
78621
|
+
"runningState.getStatus": {
|
|
78622
|
+
capName: "running-state",
|
|
78623
|
+
capScope: "device",
|
|
78624
|
+
addonId: null,
|
|
78625
|
+
access: "view",
|
|
78626
|
+
role: "viewer"
|
|
78627
|
+
},
|
|
78564
78628
|
"sceneMonitor.captureReference": {
|
|
78565
78629
|
capName: "scene-monitor",
|
|
78566
78630
|
capScope: "device",
|
|
@@ -83275,6 +83339,32 @@ var APPLIANCE_CAP_VOCABULARY = {
|
|
|
83275
83339
|
}],
|
|
83276
83340
|
events: { onSent: { notOperatorFacing: "a delivery receipt of a send this system made — not a fact about the world" } }
|
|
83277
83341
|
},
|
|
83342
|
+
"running-state": {
|
|
83343
|
+
scope: "device",
|
|
83344
|
+
noun: t("Running", "In funzione"),
|
|
83345
|
+
state: [{
|
|
83346
|
+
kind: "boolean",
|
|
83347
|
+
field: "running",
|
|
83348
|
+
label: t("Running", "In funzione"),
|
|
83349
|
+
whenTrue: t("When {device} starts", "Quando {device} inizia"),
|
|
83350
|
+
whenFalse: t("When {device} finishes", "Quando {device} finisce"),
|
|
83351
|
+
icon: "play"
|
|
83352
|
+
}],
|
|
83353
|
+
events: {
|
|
83354
|
+
onStarted: {
|
|
83355
|
+
category: EventCategory.RunningStarted,
|
|
83356
|
+
label: t("Started running", "Ha iniziato a funzionare"),
|
|
83357
|
+
phrase: t("When {device} starts running", "Quando {device} inizia a funzionare"),
|
|
83358
|
+
icon: "play"
|
|
83359
|
+
},
|
|
83360
|
+
onFinished: {
|
|
83361
|
+
category: EventCategory.RunningFinished,
|
|
83362
|
+
label: t("Finished", "Ha finito"),
|
|
83363
|
+
phrase: t("When {device} finishes", "Quando {device} finisce"),
|
|
83364
|
+
icon: "square"
|
|
83365
|
+
}
|
|
83366
|
+
}
|
|
83367
|
+
},
|
|
83278
83368
|
update: {
|
|
83279
83369
|
scope: "device",
|
|
83280
83370
|
noun: t("Firmware update", "Aggiornamento firmware"),
|
|
@@ -86815,6 +86905,11 @@ Object.freeze({
|
|
|
86815
86905
|
form: "single",
|
|
86816
86906
|
optional: true
|
|
86817
86907
|
}],
|
|
86908
|
+
"runningState.getStatus": [{
|
|
86909
|
+
name: "deviceId",
|
|
86910
|
+
form: "single",
|
|
86911
|
+
optional: false
|
|
86912
|
+
}],
|
|
86818
86913
|
"sceneMonitor.captureReference": [{
|
|
86819
86914
|
name: "deviceId",
|
|
86820
86915
|
form: "single",
|
|
@@ -87531,6 +87626,7 @@ new Set(["devices", "classes"]);
|
|
|
87531
87626
|
* narrows, and still fails CLOSED on a subject that cannot produce the identity
|
|
87532
87627
|
* it tests (a device the mirror cannot name is not evidence of a camera).
|
|
87533
87628
|
*/
|
|
87629
|
+
var LEGACY_KINDS_WITHOUT_FILTERS = new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
87534
87630
|
/**
|
|
87535
87631
|
* Every filter, for the callers that must cover all of them (guards, tests).
|
|
87536
87632
|
*
|
|
@@ -87554,6 +87650,7 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
|
|
|
87554
87650
|
* ignores it and an editor hides its input. It never means "excluded".
|
|
87555
87651
|
*/
|
|
87556
87652
|
function systemEventFilterApplies(kind, filter) {
|
|
87653
|
+
if (LEGACY_KINDS_WITHOUT_FILTERS.has(kind)) return false;
|
|
87557
87654
|
switch (filter) {
|
|
87558
87655
|
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("motion-") || kind.startsWith("recording-") || kind === "alarm-triggered";
|
|
87559
87656
|
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind" || kind.startsWith("motion-");
|
|
@@ -87595,9 +87692,6 @@ var NC_SYSTEM_EVENT_FAMILY = {
|
|
|
87595
87692
|
"device-battery-normal": "device-events",
|
|
87596
87693
|
"device-consumable-low": "device-events",
|
|
87597
87694
|
"device-consumable-normal": "device-events",
|
|
87598
|
-
"device-tank-low": "device-events",
|
|
87599
|
-
"device-tank-full": "device-events",
|
|
87600
|
-
"device-tank-normal": "device-events",
|
|
87601
87695
|
"stream-online": "device-events",
|
|
87602
87696
|
"stream-offline": "device-events",
|
|
87603
87697
|
"detection-blind": "device-events",
|
|
@@ -87692,16 +87786,6 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
87692
87786
|
label: "Consumables",
|
|
87693
87787
|
kinds: ["device-consumable-low", "device-consumable-normal"]
|
|
87694
87788
|
},
|
|
87695
|
-
{
|
|
87696
|
-
id: "tanks",
|
|
87697
|
-
family: "device-events",
|
|
87698
|
-
label: "Tanks",
|
|
87699
|
-
kinds: [
|
|
87700
|
-
"device-tank-low",
|
|
87701
|
-
"device-tank-full",
|
|
87702
|
-
"device-tank-normal"
|
|
87703
|
-
]
|
|
87704
|
-
},
|
|
87705
87789
|
{
|
|
87706
87790
|
id: "detection-blind",
|
|
87707
87791
|
family: "device-events",
|
|
@@ -89110,11 +89194,6 @@ var RULE_BODY_ONLY = ["body"];
|
|
|
89110
89194
|
var RULE_TEXT = ["title", "body"];
|
|
89111
89195
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
89112
89196
|
var CONSUMABLE = ["device-consumable-low", "device-consumable-normal"];
|
|
89113
|
-
var TANK = [
|
|
89114
|
-
"device-tank-low",
|
|
89115
|
-
"device-tank-full",
|
|
89116
|
-
"device-tank-normal"
|
|
89117
|
-
];
|
|
89118
89197
|
var ALERT_EPISODE = [
|
|
89119
89198
|
"alert-critical",
|
|
89120
89199
|
"alert-error",
|
|
@@ -89146,7 +89225,6 @@ var DEVICE_EVENTS = [
|
|
|
89146
89225
|
"device-enabled",
|
|
89147
89226
|
...BATTERY,
|
|
89148
89227
|
...CONSUMABLE,
|
|
89149
|
-
...TANK,
|
|
89150
89228
|
"stream-online",
|
|
89151
89229
|
"stream-offline",
|
|
89152
89230
|
"detection-blind",
|
|
@@ -89192,12 +89270,6 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
89192
89270
|
example: "Robot — filter 10 %",
|
|
89193
89271
|
kinds: CONSUMABLE
|
|
89194
89272
|
},
|
|
89195
|
-
{
|
|
89196
|
-
name: "summaryTanks",
|
|
89197
|
-
label: "Summary: tanks",
|
|
89198
|
-
example: "Robot — clean water low",
|
|
89199
|
-
kinds: TANK
|
|
89200
|
-
},
|
|
89201
89273
|
{
|
|
89202
89274
|
name: "summaryDetection",
|
|
89203
89275
|
label: "Summary: cameras detecting nothing",
|
|
@@ -89606,18 +89678,7 @@ var NC_TEMPLATE_VARS = [
|
|
|
89606
89678
|
families: ["rule"],
|
|
89607
89679
|
fields: [...RULE_TEXT],
|
|
89608
89680
|
kinds: ["system"],
|
|
89609
|
-
systemEventKinds: [...CONSUMABLE
|
|
89610
|
-
},
|
|
89611
|
-
{
|
|
89612
|
-
name: "tank",
|
|
89613
|
-
label: "Tank",
|
|
89614
|
-
description: "Which tank, as a stable token: cleanWater, dirtyWater, detergent, dustBin, or the device key of any other supply (salt, rinse aid).",
|
|
89615
|
-
example: "clean water",
|
|
89616
|
-
group: "system",
|
|
89617
|
-
families: ["rule"],
|
|
89618
|
-
fields: [...RULE_TEXT],
|
|
89619
|
-
kinds: ["system"],
|
|
89620
|
-
systemEventKinds: [...TANK]
|
|
89681
|
+
systemEventKinds: [...CONSUMABLE]
|
|
89621
89682
|
},
|
|
89622
89683
|
{
|
|
89623
89684
|
name: "profile",
|
|
@@ -90268,9 +90329,6 @@ var NC_TEMPLATE_VARS = [
|
|
|
90268
90329
|
* delete it from here then, and the served catalog names it again.
|
|
90269
90330
|
*/
|
|
90270
90331
|
var NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS = [
|
|
90271
|
-
"device-tank-low",
|
|
90272
|
-
"device-tank-full",
|
|
90273
|
-
"device-tank-normal",
|
|
90274
90332
|
"node-restarting",
|
|
90275
90333
|
"node-updating",
|
|
90276
90334
|
"alert-critical",
|
|
@@ -90430,15 +90488,6 @@ var CLASS_BY_KIND = new Map([
|
|
|
90430
90488
|
snapshotLabel: "Consumables low now",
|
|
90431
90489
|
snapshotSection: "consumables"
|
|
90432
90490
|
},
|
|
90433
|
-
{
|
|
90434
|
-
id: "tanks",
|
|
90435
|
-
family: "device-events",
|
|
90436
|
-
label: "Tanks (low or full / back to normal)",
|
|
90437
|
-
bad: ["device-tank-low", "device-tank-full"],
|
|
90438
|
-
recovery: ["device-tank-normal"],
|
|
90439
|
-
snapshotLabel: "Tanks low or full now",
|
|
90440
|
-
snapshotSection: "tanks"
|
|
90441
|
-
},
|
|
90442
90491
|
{
|
|
90443
90492
|
id: "motion-noise",
|
|
90444
90493
|
family: "device-events",
|
|
@@ -92842,16 +92891,16 @@ Object.defineProperty(exports, "NC_SNOOZE_MAX_MINUTES", {
|
|
|
92842
92891
|
return NC_SNOOZE_MAX_MINUTES;
|
|
92843
92892
|
}
|
|
92844
92893
|
});
|
|
92845
|
-
Object.defineProperty(exports, "
|
|
92894
|
+
Object.defineProperty(exports, "NC_STATE_SUMMARY_SECTION_IDS", {
|
|
92846
92895
|
enumerable: true,
|
|
92847
92896
|
get: function() {
|
|
92848
|
-
return
|
|
92897
|
+
return NC_STATE_SUMMARY_SECTION_IDS;
|
|
92849
92898
|
}
|
|
92850
92899
|
});
|
|
92851
|
-
Object.defineProperty(exports, "
|
|
92900
|
+
Object.defineProperty(exports, "NC_SYSTEM_EVENT_KIND_GROUP_SPECS", {
|
|
92852
92901
|
enumerable: true,
|
|
92853
92902
|
get: function() {
|
|
92854
|
-
return
|
|
92903
|
+
return NC_SYSTEM_EVENT_KIND_GROUP_SPECS;
|
|
92855
92904
|
}
|
|
92856
92905
|
});
|
|
92857
92906
|
Object.defineProperty(exports, "NC_TAXONOMY", {
|
|
@@ -93394,6 +93443,12 @@ Object.defineProperty(exports, "cloneAlarmSettings", {
|
|
|
93394
93443
|
return cloneAlarmSettings;
|
|
93395
93444
|
}
|
|
93396
93445
|
});
|
|
93446
|
+
Object.defineProperty(exports, "consumableFormOf", {
|
|
93447
|
+
enumerable: true,
|
|
93448
|
+
get: function() {
|
|
93449
|
+
return consumableFormOf;
|
|
93450
|
+
}
|
|
93451
|
+
});
|
|
93397
93452
|
Object.defineProperty(exports, "consumableLowPercentOf", {
|
|
93398
93453
|
enumerable: true,
|
|
93399
93454
|
get: function() {
|