@camstack/addon-osd-manager 0.1.250 → 0.1.251
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-CuVGpqin.mjs → MotionZonesSettings-Dt-Q9Ivx.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-DpPryOCL.mjs → PrivacyMaskSettings-Bn2xsfmP.mjs} +4 -4
- package/dist/{SceneMonitorEditor-CXYKPMh5.mjs → SceneMonitorEditor-DX0x6K6Q.mjs} +3 -3
- package/dist/_stub.js +33 -23
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CrojrVmU.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BDroCUxK.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Du370Kwi.mjs +26 -0
- package/dist/{hostInit-Dv8vQoH1.mjs → hostInit-D9Cw09jV.mjs} +3 -3
- package/dist/index.js +275 -33
- package/dist/index.mjs +275 -33
- package/dist/{player-overlays-B7TjrFms.mjs → player-overlays-DVBaEcfL.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DoJ7-xFA.mjs → responsive-gE0QNPjl.mjs} +1 -1
- package/dist/{scene-monitor-copy-Cyi7io8H.mjs → scene-monitor-copy-DGVsUCFs.mjs} +1 -1
- package/dist/{square-CSXpu5JD.mjs → square-DawJOW8W.mjs} +1 -1
- package/dist/{trash-2-DeIekKzZ.mjs → trash-2-D78jZMte.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-C1MytOf_.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DfmaA8KI.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-8VQRbAFi.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -5413,7 +5413,7 @@ var ZodIssueCode = {
|
|
|
5413
5413
|
var ZodFirstPartyTypeKind;
|
|
5414
5414
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5415
5415
|
//#endregion
|
|
5416
|
-
//#region ../types/dist/sleep-
|
|
5416
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5417
5417
|
/**
|
|
5418
5418
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5419
5419
|
* window to float samples (D455).
|
|
@@ -16823,7 +16823,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
16823
16823
|
kind: literal("node"),
|
|
16824
16824
|
nodeId: string().min(1)
|
|
16825
16825
|
})]);
|
|
16826
|
+
/**
|
|
16827
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
16828
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
16829
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
16830
|
+
*/
|
|
16826
16831
|
var DeviceHistoryKindSchema = _enum([
|
|
16832
|
+
"gauge",
|
|
16833
|
+
"counter",
|
|
16834
|
+
"boolean",
|
|
16835
|
+
"enum"
|
|
16836
|
+
]);
|
|
16837
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
16838
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
16827
16839
|
"gauge",
|
|
16828
16840
|
"counter",
|
|
16829
16841
|
"boolean"
|
|
@@ -16860,7 +16872,13 @@ var SeriesInfoSchema = object({
|
|
|
16860
16872
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
16861
16873
|
unit: string().nullable(),
|
|
16862
16874
|
displayName: string(),
|
|
16863
|
-
source: _enum([
|
|
16875
|
+
source: _enum([
|
|
16876
|
+
"cap",
|
|
16877
|
+
"addon",
|
|
16878
|
+
"derived"
|
|
16879
|
+
]),
|
|
16880
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
16881
|
+
values: array(string()).readonly().nullable(),
|
|
16864
16882
|
firstTs: number(),
|
|
16865
16883
|
lastTs: number()
|
|
16866
16884
|
});
|
|
@@ -16874,17 +16892,31 @@ var QueryPointSchema = object({
|
|
|
16874
16892
|
twMean: number().nullable(),
|
|
16875
16893
|
min: number(),
|
|
16876
16894
|
max: number(),
|
|
16877
|
-
/** `null` is unknown, never zero (D393). */
|
|
16878
|
-
last: number().nullable()
|
|
16895
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
16896
|
+
last: number().nullable(),
|
|
16897
|
+
/**
|
|
16898
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
16899
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
16900
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
16901
|
+
* every other kind, and when it cannot be known.
|
|
16902
|
+
*/
|
|
16903
|
+
delta: number().nullable(),
|
|
16904
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
16905
|
+
state: string().nullable(),
|
|
16906
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
16907
|
+
states: record(string(), number()).nullable()
|
|
16879
16908
|
});
|
|
16880
16909
|
var QuerySeriesSchema = object({
|
|
16881
16910
|
scope: string(),
|
|
16882
16911
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
16883
16912
|
before: object({
|
|
16884
16913
|
t: number(),
|
|
16885
|
-
value: number().nullable()
|
|
16914
|
+
value: number().nullable(),
|
|
16915
|
+
state: string().nullable()
|
|
16886
16916
|
}).nullable(),
|
|
16887
|
-
points: array(QueryPointSchema).readonly()
|
|
16917
|
+
points: array(QueryPointSchema).readonly(),
|
|
16918
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
16919
|
+
derivedFrom: string().nullable()
|
|
16888
16920
|
});
|
|
16889
16921
|
/** The window part of a query, shared by the device and node forms. */
|
|
16890
16922
|
var QueryWindowShape = {
|
|
@@ -16900,6 +16932,23 @@ var QueryResultSchema = object({
|
|
|
16900
16932
|
series: array(QuerySeriesSchema).readonly(),
|
|
16901
16933
|
truncated: boolean()
|
|
16902
16934
|
});
|
|
16935
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
16936
|
+
var QueryManyItemSchema = union([object({
|
|
16937
|
+
deviceId: number().int(),
|
|
16938
|
+
key: string(),
|
|
16939
|
+
scope: string().optional()
|
|
16940
|
+
}), object({
|
|
16941
|
+
forNodeId: string().min(1),
|
|
16942
|
+
key: string(),
|
|
16943
|
+
scope: string().optional()
|
|
16944
|
+
})]);
|
|
16945
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
16946
|
+
ok: literal(true),
|
|
16947
|
+
result: QueryResultSchema
|
|
16948
|
+
}), object({
|
|
16949
|
+
ok: literal(false),
|
|
16950
|
+
error: string()
|
|
16951
|
+
})]);
|
|
16903
16952
|
var TierStatusSchema = object({
|
|
16904
16953
|
tier: DeviceHistoryResolutionSchema,
|
|
16905
16954
|
/** `null` until the first background count answered. */
|
|
@@ -16955,16 +17004,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
16955
17004
|
lastRefreshAt: number().nullable()
|
|
16956
17005
|
})
|
|
16957
17006
|
});
|
|
16958
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17007
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
16959
17008
|
deviceId: number().int(),
|
|
16960
17009
|
...QueryWindowShape
|
|
16961
17010
|
}), QueryResultSchema), method(object({
|
|
16962
|
-
|
|
17011
|
+
forNodeId: string().min(1),
|
|
16963
17012
|
...QueryWindowShape
|
|
16964
17013
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17014
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17015
|
+
from: QueryWindowShape.from,
|
|
17016
|
+
to: QueryWindowShape.to,
|
|
17017
|
+
resolution: QueryWindowShape.resolution,
|
|
17018
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17019
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
16965
17020
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
16966
17021
|
subjectKind: _enum(["device", "node"]),
|
|
16967
|
-
kind:
|
|
17022
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
16968
17023
|
unit: string().optional(),
|
|
16969
17024
|
displayName: string().min(1),
|
|
16970
17025
|
ingest: _enum(["points", "buckets"])
|
|
@@ -40026,14 +40081,106 @@ var LogEntrySchema = object({
|
|
|
40026
40081
|
meta: record(string(), unknown()).optional(),
|
|
40027
40082
|
tags: record(string(), string()).optional()
|
|
40028
40083
|
});
|
|
40029
|
-
|
|
40030
|
-
|
|
40084
|
+
/**
|
|
40085
|
+
* A history READ against one destination (D898).
|
|
40086
|
+
*
|
|
40087
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40088
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40089
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40090
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40091
|
+
* nanosecond timestamp for Loki.
|
|
40092
|
+
*
|
|
40093
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40094
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40095
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40096
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40097
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40098
|
+
*/
|
|
40099
|
+
var LogReadQuerySchema = object({
|
|
40100
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40101
|
+
requestId: string().min(1).max(64).optional(),
|
|
40102
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40103
|
+
deviceId: number().int().optional(),
|
|
40104
|
+
/**
|
|
40105
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40106
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40107
|
+
*/
|
|
40108
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40109
|
+
/**
|
|
40110
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40111
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40112
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40113
|
+
* name as "which node's provider".
|
|
40114
|
+
*/
|
|
40115
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40116
|
+
/** Any other tag, exact match (AND). */
|
|
40117
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40118
|
+
/** Severity FLOOR: this level and above. */
|
|
40031
40119
|
level: LogLevelSchema.optional(),
|
|
40032
|
-
|
|
40033
|
-
|
|
40034
|
-
|
|
40035
|
-
|
|
40036
|
-
|
|
40120
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40121
|
+
text: string().min(1).max(200).optional(),
|
|
40122
|
+
/** Epoch ms, inclusive. */
|
|
40123
|
+
since: number().optional(),
|
|
40124
|
+
/** Epoch ms, inclusive. */
|
|
40125
|
+
until: number().optional(),
|
|
40126
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40127
|
+
before: string().min(1).max(1024).optional(),
|
|
40128
|
+
/** Newer than this cursor (exclusive). */
|
|
40129
|
+
after: string().min(1).max(1024).optional(),
|
|
40130
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40131
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40132
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40133
|
+
});
|
|
40134
|
+
var LogReadResultSchema = object({
|
|
40135
|
+
/** Newest first. */
|
|
40136
|
+
entries: array(object({
|
|
40137
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40138
|
+
id: string().optional(),
|
|
40139
|
+
/** Epoch ms. */
|
|
40140
|
+
timestamp: number(),
|
|
40141
|
+
level: LogLevelSchema,
|
|
40142
|
+
scope: string().optional(),
|
|
40143
|
+
message: string(),
|
|
40144
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40145
|
+
meta: record(string(), unknown()).optional()
|
|
40146
|
+
})),
|
|
40147
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40148
|
+
nextBefore: string().nullable(),
|
|
40149
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40150
|
+
nextAfter: string().nullable(),
|
|
40151
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40152
|
+
scannedBytes: number().int().nonnegative(),
|
|
40153
|
+
/**
|
|
40154
|
+
* True when the scan in this direction reached the end of the store.
|
|
40155
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40156
|
+
* call again with `nextBefore` to go on.
|
|
40157
|
+
*/
|
|
40158
|
+
done: boolean(),
|
|
40159
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40160
|
+
cancelled: boolean().optional()
|
|
40161
|
+
});
|
|
40162
|
+
var LogReadCapabilitiesSchema = object({
|
|
40163
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40164
|
+
readable: boolean(),
|
|
40165
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40166
|
+
reason: string().nullable(),
|
|
40167
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40168
|
+
filters: object({
|
|
40169
|
+
deviceId: boolean(),
|
|
40170
|
+
addonId: boolean(),
|
|
40171
|
+
nodeId: boolean(),
|
|
40172
|
+
tags: boolean(),
|
|
40173
|
+
level: boolean(),
|
|
40174
|
+
text: boolean(),
|
|
40175
|
+
timeRange: boolean()
|
|
40176
|
+
}),
|
|
40177
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40178
|
+
retentionDays: number().nullable()
|
|
40179
|
+
});
|
|
40180
|
+
method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string().min(1).max(64) }), object({ cancelled: boolean() }), {
|
|
40181
|
+
kind: "mutation",
|
|
40182
|
+
auth: "admin"
|
|
40183
|
+
});
|
|
40037
40184
|
/**
|
|
40038
40185
|
* `login-method` — collection cap through which auth addons contribute
|
|
40039
40186
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42589,6 +42736,33 @@ var NcRuleTargetSchema = object({
|
|
|
42589
42736
|
params: record(string(), unknown()).optional()
|
|
42590
42737
|
});
|
|
42591
42738
|
/**
|
|
42739
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
42740
|
+
*
|
|
42741
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
42742
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
42743
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
42744
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
42745
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
42746
|
+
* labelled with class and confidence ("dog 87%").
|
|
42747
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
42748
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
42749
|
+
* - `none` — no picture.
|
|
42750
|
+
*
|
|
42751
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
42752
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
42753
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
42754
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
42755
|
+
* stored kind had landed.
|
|
42756
|
+
*/
|
|
42757
|
+
var NcMediaImageSchema = _enum([
|
|
42758
|
+
"scene-boxes",
|
|
42759
|
+
"crop",
|
|
42760
|
+
"clean",
|
|
42761
|
+
"none"
|
|
42762
|
+
]);
|
|
42763
|
+
/**
|
|
42764
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42765
|
+
*
|
|
42592
42766
|
* Media attachment policy (P1 still-image subset).
|
|
42593
42767
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42594
42768
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42602,6 +42776,8 @@ var NcRuleTargetSchema = object({
|
|
|
42602
42776
|
* - `none` — no attachment.
|
|
42603
42777
|
*/
|
|
42604
42778
|
/**
|
|
42779
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42780
|
+
*
|
|
42605
42781
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42606
42782
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42607
42783
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42630,16 +42806,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42630
42806
|
*/
|
|
42631
42807
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42632
42808
|
var NcMediaPolicySchema = object({
|
|
42809
|
+
/**
|
|
42810
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
42811
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
42812
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
42813
|
+
*/
|
|
42814
|
+
image: NcMediaImageSchema.optional(),
|
|
42815
|
+
/**
|
|
42816
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
42817
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
42818
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
42819
|
+
* Replaces `zoneCrop`.
|
|
42820
|
+
*/
|
|
42821
|
+
showTriggerZone: boolean().optional(),
|
|
42822
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42633
42823
|
attach: _enum([
|
|
42634
42824
|
"best",
|
|
42635
42825
|
"best-matching",
|
|
42636
42826
|
"keyFrame",
|
|
42637
42827
|
"none"
|
|
42638
|
-
]).
|
|
42639
|
-
/**
|
|
42828
|
+
]).optional(),
|
|
42829
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42640
42830
|
frame: NcMediaFrameSchema.optional(),
|
|
42641
|
-
/**
|
|
42642
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
42831
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42643
42832
|
zoneCrop: boolean().optional(),
|
|
42644
42833
|
/**
|
|
42645
42834
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -42811,7 +43000,9 @@ var NcRuleInputSchema = object({
|
|
|
42811
43000
|
* targets.
|
|
42812
43001
|
*/
|
|
42813
43002
|
targetUsers: array(string()).optional(),
|
|
42814
|
-
|
|
43003
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43004
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43005
|
+
media: NcMediaPolicySchema.default({}),
|
|
42815
43006
|
throttle: NcThrottleSchema.default({
|
|
42816
43007
|
cooldownSec: 60,
|
|
42817
43008
|
scope: "rule-device"
|
|
@@ -44328,13 +44519,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44328
44519
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44329
44520
|
unknown: array(number().int())
|
|
44330
44521
|
});
|
|
44522
|
+
/**
|
|
44523
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44524
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44525
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44526
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44527
|
+
*/
|
|
44528
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44529
|
+
ruleId: string(),
|
|
44530
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44531
|
+
ruleName: string(),
|
|
44532
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44533
|
+
deviceId: number().int(),
|
|
44534
|
+
/** The input's current name. */
|
|
44535
|
+
name: string(),
|
|
44536
|
+
/** When it was bypassed (ms epoch). */
|
|
44537
|
+
since: number(),
|
|
44538
|
+
/** Triggers from this input dropped since. */
|
|
44539
|
+
dropped: number().int().min(0)
|
|
44540
|
+
});
|
|
44331
44541
|
var NcAlarmLiveSchema = object({
|
|
44332
44542
|
state: AlarmStateSchema,
|
|
44333
44543
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44334
44544
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44335
44545
|
availableModes: array(AlarmArmModeSchema),
|
|
44336
44546
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44337
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44547
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44548
|
+
/**
|
|
44549
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44550
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44551
|
+
*/
|
|
44552
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44338
44553
|
});
|
|
44339
44554
|
var NcAlarmConfigSchema = object({
|
|
44340
44555
|
/**
|
|
@@ -66351,7 +66566,19 @@ Object.freeze({
|
|
|
66351
66566
|
addonId: null,
|
|
66352
66567
|
access: "view"
|
|
66353
66568
|
},
|
|
66354
|
-
"logDestination.
|
|
66569
|
+
"logDestination.cancelRead": {
|
|
66570
|
+
capName: "log-destination",
|
|
66571
|
+
capScope: "system",
|
|
66572
|
+
addonId: null,
|
|
66573
|
+
access: "create"
|
|
66574
|
+
},
|
|
66575
|
+
"logDestination.describeRead": {
|
|
66576
|
+
capName: "log-destination",
|
|
66577
|
+
capScope: "system",
|
|
66578
|
+
addonId: null,
|
|
66579
|
+
access: "view"
|
|
66580
|
+
},
|
|
66581
|
+
"logDestination.read": {
|
|
66355
66582
|
capName: "log-destination",
|
|
66356
66583
|
capScope: "system",
|
|
66357
66584
|
addonId: null,
|
|
@@ -72358,6 +72585,11 @@ Object.freeze({
|
|
|
72358
72585
|
form: "single",
|
|
72359
72586
|
optional: false
|
|
72360
72587
|
}],
|
|
72588
|
+
"logDestination.read": [{
|
|
72589
|
+
name: "deviceId",
|
|
72590
|
+
form: "single",
|
|
72591
|
+
optional: true
|
|
72592
|
+
}],
|
|
72361
72593
|
"mediaPlayer.getStatus": [{
|
|
72362
72594
|
name: "deviceId",
|
|
72363
72595
|
form: "single",
|
|
@@ -75945,6 +76177,10 @@ Object.freeze({
|
|
|
75945
76177
|
"resolution": "auto",
|
|
75946
76178
|
"maxPoints": 1e3
|
|
75947
76179
|
},
|
|
76180
|
+
"queryMany": {
|
|
76181
|
+
"resolution": "auto",
|
|
76182
|
+
"maxPoints": 1e3
|
|
76183
|
+
},
|
|
75948
76184
|
"queryNode": {
|
|
75949
76185
|
"resolution": "auto",
|
|
75950
76186
|
"maxPoints": 1e3
|
|
@@ -76003,7 +76239,7 @@ Object.freeze({
|
|
|
76003
76239
|
"createRule": { "rule": { "__nested__": {
|
|
76004
76240
|
"enabled": true,
|
|
76005
76241
|
"conditions": {},
|
|
76006
|
-
"media": {
|
|
76242
|
+
"media": {},
|
|
76007
76243
|
"throttle": {
|
|
76008
76244
|
"cooldownSec": 60,
|
|
76009
76245
|
"scope": "rule-device"
|
|
@@ -76014,7 +76250,7 @@ Object.freeze({
|
|
|
76014
76250
|
"previewStateSummary": { "rule": { "__nested__": {
|
|
76015
76251
|
"enabled": true,
|
|
76016
76252
|
"conditions": {},
|
|
76017
|
-
"media": {
|
|
76253
|
+
"media": {},
|
|
76018
76254
|
"throttle": {
|
|
76019
76255
|
"cooldownSec": 60,
|
|
76020
76256
|
"scope": "rule-device"
|
|
@@ -76025,7 +76261,7 @@ Object.freeze({
|
|
|
76025
76261
|
"rule": { "__nested__": {
|
|
76026
76262
|
"enabled": true,
|
|
76027
76263
|
"conditions": {},
|
|
76028
|
-
"media": {
|
|
76264
|
+
"media": {},
|
|
76029
76265
|
"throttle": {
|
|
76030
76266
|
"cooldownSec": 60,
|
|
76031
76267
|
"scope": "rule-device"
|
|
@@ -76218,7 +76454,6 @@ Object.freeze({
|
|
|
76218
76454
|
],
|
|
76219
76455
|
"load-contribution": ["list"],
|
|
76220
76456
|
"log-channels": ["list"],
|
|
76221
|
-
"log-destination": ["query"],
|
|
76222
76457
|
"login-method": ["getLoginMethods"],
|
|
76223
76458
|
"mqtt-broker": ["listBrokers"],
|
|
76224
76459
|
"network-access": ["listEndpoints"],
|
|
@@ -76240,12 +76475,19 @@ Object.freeze({
|
|
|
76240
76475
|
"user-passkeys": ["listPasskeys"],
|
|
76241
76476
|
"videoclips": ["listClips", "listSources"]
|
|
76242
76477
|
});
|
|
76243
|
-
Object.freeze({
|
|
76244
|
-
"
|
|
76245
|
-
|
|
76246
|
-
|
|
76247
|
-
|
|
76248
|
-
]
|
|
76478
|
+
Object.freeze({
|
|
76479
|
+
"log-destination": [
|
|
76480
|
+
"cancelRead",
|
|
76481
|
+
"describeRead",
|
|
76482
|
+
"read"
|
|
76483
|
+
],
|
|
76484
|
+
"videoclips": [
|
|
76485
|
+
"dialClipStream",
|
|
76486
|
+
"getPlaybackOptions",
|
|
76487
|
+
"offerClipBytes",
|
|
76488
|
+
"readClipBytes"
|
|
76489
|
+
]
|
|
76490
|
+
});
|
|
76249
76491
|
Object.freeze({ "doorbell": "lastPressedAt" });
|
|
76250
76492
|
/** cap name -> the bindable leaves of its runtime state (absent: none). */
|
|
76251
76493
|
var CAP_STATE_LEAVES = Object.freeze({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, d as t, u as n, v as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-C-pbjC7c.mjs";
|
|
2
2
|
import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
|
|
3
|
-
import { c as s, l as c } from "./responsive-
|
|
3
|
+
import { c as s, l as c } from "./responsive-gE0QNPjl.mjs";
|
|
4
4
|
var l = c("chevron-down", [["path", {
|
|
5
5
|
d: "m6 9 6 6 6-6",
|
|
6
6
|
key: "qrunsl"
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DfmaA8KI.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, d as t, g as n, i as r, l as i, n as a, r as o, u as s, v as c, y as l } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-C-pbjC7c.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
|
|
3
|
-
import { i as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { i as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Du370Kwi.mjs";
|
|
4
4
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
5
5
|
e();
|
|
6
6
|
var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, g as t, l as n, v as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-C-pbjC7c.mjs";
|
|
2
2
|
import { n as i } from "./ui-text-BitwQ50T.mjs";
|
|
3
|
-
import { l as a } from "./responsive-
|
|
3
|
+
import { l as a } from "./responsive-gE0QNPjl.mjs";
|
|
4
4
|
var o = a("camera", [["path", {
|
|
5
5
|
d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
|
|
6
6
|
key: "18u6gg"
|
|
@@ -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_osd_manager_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BDroCUxK.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|