@camstack/addon-model-studio 1.1.286 → 1.1.288
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-Bh-KUgfj.mjs → MotionZonesSettings-D0BtqOwj.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BbLJKLoV.mjs → PrivacyMaskSettings-BYJj-5D1.mjs} +4 -4
- package/dist/{SceneMonitorEditor-qruDlUP9.mjs → SceneMonitorEditor-D1kveRgB.mjs} +3 -3
- package/dist/_stub.js +3567 -3759
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CdxolZWr.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Bw7NedzE.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-MeghOR6t.mjs +26 -0
- package/dist/addon-model-studio.css +1 -1
- package/dist/{hostInit-C7HoBhCX.mjs → hostInit-B4Fk4H74.mjs} +3 -3
- package/dist/model-studio.addon.js +213 -86
- package/dist/model-studio.addon.mjs +213 -86
- package/dist/{player-overlays-BFVZeg7l.mjs → player-overlays-D92X0xJg.mjs} +19 -12
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DCC2zJt3.mjs → responsive-D-jqRXmN.mjs} +1 -1
- package/dist/{scene-monitor-copy-gZOBiDdj.mjs → scene-monitor-copy-DMdZvxkb.mjs} +1 -1
- package/dist/{square-_l-jB_AO.mjs → square-epfZBUKr.mjs} +1 -1
- package/dist/{trash-2-DOwb-qnd.mjs → trash-2-Bc8klFfu.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BLWi3oEJ.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Da_taAOa.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-BliJpcti.mjs +0 -26
|
@@ -5800,7 +5800,7 @@ var ZodIssueCode = {
|
|
|
5800
5800
|
var ZodFirstPartyTypeKind;
|
|
5801
5801
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5802
5802
|
//#endregion
|
|
5803
|
-
//#region ../types/dist/sleep-
|
|
5803
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5804
5804
|
/**
|
|
5805
5805
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5806
5806
|
* window to float samples (D455).
|
|
@@ -8684,7 +8684,11 @@ var ContributionSectionSchema = object({
|
|
|
8684
8684
|
literal(4)
|
|
8685
8685
|
]).optional(),
|
|
8686
8686
|
tab: string().optional(),
|
|
8687
|
-
location: _enum([
|
|
8687
|
+
location: _enum([
|
|
8688
|
+
"settings",
|
|
8689
|
+
"top-tab",
|
|
8690
|
+
"hero"
|
|
8691
|
+
]).optional(),
|
|
8688
8692
|
order: number().optional(),
|
|
8689
8693
|
fields: array(any())
|
|
8690
8694
|
});
|
|
@@ -13781,7 +13785,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13781
13785
|
literal(4)
|
|
13782
13786
|
]).optional(),
|
|
13783
13787
|
tab: string().optional(),
|
|
13784
|
-
location: _enum([
|
|
13788
|
+
location: _enum([
|
|
13789
|
+
"settings",
|
|
13790
|
+
"top-tab",
|
|
13791
|
+
"hero"
|
|
13792
|
+
]).optional(),
|
|
13785
13793
|
order: number().optional(),
|
|
13786
13794
|
fields: array(any())
|
|
13787
13795
|
});
|
|
@@ -17583,6 +17591,52 @@ var TierStatusSchema = object({
|
|
|
17583
17591
|
countedAt: number().nullable()
|
|
17584
17592
|
});
|
|
17585
17593
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17594
|
+
/**
|
|
17595
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17596
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17597
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17598
|
+
*/
|
|
17599
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17600
|
+
/** Rows held per stored tier. */
|
|
17601
|
+
var TierRowsSchema = object({
|
|
17602
|
+
raw: number().int(),
|
|
17603
|
+
"5m": number().int(),
|
|
17604
|
+
"1h": number().int(),
|
|
17605
|
+
"1d": number().int()
|
|
17606
|
+
});
|
|
17607
|
+
var OrphanSeriesSchema = object({
|
|
17608
|
+
seriesId: number().int(),
|
|
17609
|
+
deviceId: number().int(),
|
|
17610
|
+
key: string(),
|
|
17611
|
+
scope: string(),
|
|
17612
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17613
|
+
displayName: string().nullable(),
|
|
17614
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17615
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17616
|
+
missingSince: number().nullable(),
|
|
17617
|
+
firstTs: number(),
|
|
17618
|
+
lastTs: number(),
|
|
17619
|
+
rows: TierRowsSchema
|
|
17620
|
+
});
|
|
17621
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17622
|
+
"not-found",
|
|
17623
|
+
"not-orphan",
|
|
17624
|
+
"failed"
|
|
17625
|
+
]);
|
|
17626
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17627
|
+
seriesId: number().int(),
|
|
17628
|
+
ok: literal(true),
|
|
17629
|
+
deleted: TierRowsSchema
|
|
17630
|
+
}), object({
|
|
17631
|
+
seriesId: number().int(),
|
|
17632
|
+
ok: literal(false),
|
|
17633
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17634
|
+
})]);
|
|
17635
|
+
var OrphanListSchema = object({
|
|
17636
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17637
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17638
|
+
truncated: boolean()
|
|
17639
|
+
});
|
|
17586
17640
|
var DeviceHistoryStatusSchema = object({
|
|
17587
17641
|
startedAt: number(),
|
|
17588
17642
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17680,7 +17734,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17680
17734
|
}), object({ enabled: boolean() }), {
|
|
17681
17735
|
kind: "mutation",
|
|
17682
17736
|
auth: "admin"
|
|
17683
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17737
|
+
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" }), method(object({}), OrphanListSchema, { auth: "admin" }), method(object({ seriesIds: array(number().int()).min(1).max(50) }), object({ results: array(OrphanDeleteEntrySchema).readonly() }), {
|
|
17738
|
+
kind: "mutation",
|
|
17739
|
+
auth: "admin"
|
|
17740
|
+
});
|
|
17684
17741
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17685
17742
|
object({ state: literal("absent") }),
|
|
17686
17743
|
object({
|
|
@@ -50360,6 +50417,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50360
50417
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50361
50418
|
available: boolean(),
|
|
50362
50419
|
/**
|
|
50420
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50421
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50422
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50423
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50424
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50425
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50426
|
+
*/
|
|
50427
|
+
presence: _enum([
|
|
50428
|
+
"present",
|
|
50429
|
+
"absent",
|
|
50430
|
+
"unknown"
|
|
50431
|
+
]).optional(),
|
|
50432
|
+
/**
|
|
50363
50433
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50364
50434
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50365
50435
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50585,7 +50655,13 @@ method(object({
|
|
|
50585
50655
|
}), object({ success: literal(true) }), {
|
|
50586
50656
|
kind: "mutation",
|
|
50587
50657
|
auth: "admin"
|
|
50588
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50658
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50659
|
+
agentNodeId: string(),
|
|
50660
|
+
deviceKey: string()
|
|
50661
|
+
}), object({ success: literal(true) }), {
|
|
50662
|
+
kind: "mutation",
|
|
50663
|
+
auth: "admin"
|
|
50664
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50589
50665
|
success: literal(true),
|
|
50590
50666
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50591
50667
|
effectiveModelId: string().nullable(),
|
|
@@ -54695,17 +54771,69 @@ object({
|
|
|
54695
54771
|
});
|
|
54696
54772
|
DeviceType.Sensor;
|
|
54697
54773
|
/**
|
|
54698
|
-
* Generic device-consumables capability —
|
|
54699
|
-
*
|
|
54700
|
-
* descaling cycles,
|
|
54701
|
-
*
|
|
54702
|
-
*
|
|
54703
|
-
*
|
|
54774
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54775
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54776
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54777
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54778
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54779
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54780
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54781
|
+
* verbatim and says which `kind` it is.
|
|
54782
|
+
*
|
|
54783
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54784
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54785
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54704
54786
|
*
|
|
54705
54787
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54706
54788
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54707
54789
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54708
54790
|
*/
|
|
54791
|
+
/**
|
|
54792
|
+
* What an item IS, which decides which direction is bad:
|
|
54793
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54794
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54795
|
+
* salt, rinse aid); low or empty is bad.
|
|
54796
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54797
|
+
* bad.
|
|
54798
|
+
* Absent = `wear`.
|
|
54799
|
+
*/
|
|
54800
|
+
var ConsumableKindSchema = _enum([
|
|
54801
|
+
"wear",
|
|
54802
|
+
"supply",
|
|
54803
|
+
"waste"
|
|
54804
|
+
]);
|
|
54805
|
+
/**
|
|
54806
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54807
|
+
* of `kind`, which decides which direction is bad:
|
|
54808
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54809
|
+
* remaining time and a reset.
|
|
54810
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54811
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54812
|
+
* a stepped level and "refill".
|
|
54813
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54814
|
+
* that warns when full.
|
|
54815
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54816
|
+
*/
|
|
54817
|
+
var ConsumableFormSchema = _enum([
|
|
54818
|
+
"part",
|
|
54819
|
+
"tank",
|
|
54820
|
+
"product",
|
|
54821
|
+
"bin"
|
|
54822
|
+
]);
|
|
54823
|
+
/** The provider's own discrete verdict on an item. */
|
|
54824
|
+
var ConsumableStatusSchema = _enum([
|
|
54825
|
+
"ok",
|
|
54826
|
+
"low",
|
|
54827
|
+
"empty",
|
|
54828
|
+
"full",
|
|
54829
|
+
"replace"
|
|
54830
|
+
]);
|
|
54831
|
+
_enum([
|
|
54832
|
+
"ok",
|
|
54833
|
+
"low",
|
|
54834
|
+
"empty",
|
|
54835
|
+
"full"
|
|
54836
|
+
]);
|
|
54709
54837
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54710
54838
|
* each. */
|
|
54711
54839
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54725,10 +54853,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54725
54853
|
key: string().min(1),
|
|
54726
54854
|
/** Display name. */
|
|
54727
54855
|
label: string().min(1),
|
|
54728
|
-
/** Remaining life % when known (0..100). */
|
|
54856
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54729
54857
|
level: number().min(0).max(100).nullable(),
|
|
54730
|
-
/**
|
|
54731
|
-
status:
|
|
54858
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54859
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54860
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54861
|
+
kind: ConsumableKindSchema.optional(),
|
|
54862
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54863
|
+
form: ConsumableFormSchema.optional(),
|
|
54732
54864
|
/** Ms epoch of the last replace, when known. */
|
|
54733
54865
|
lastResetAt: number().nullable(),
|
|
54734
54866
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54963,8 +55095,9 @@ object({
|
|
|
54963
55095
|
status: DeviceStatusSchema
|
|
54964
55096
|
});
|
|
54965
55097
|
/**
|
|
54966
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54967
|
-
*
|
|
55098
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
55099
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
55100
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54968
55101
|
*
|
|
54969
55102
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54970
55103
|
* by any integration that exposes the same program / option surface.
|
|
@@ -55012,11 +55145,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
55012
55145
|
"offline",
|
|
55013
55146
|
"description-missing"
|
|
55014
55147
|
]);
|
|
55015
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
55016
|
-
"ok",
|
|
55017
|
-
"low",
|
|
55018
|
-
"empty"
|
|
55019
|
-
]);
|
|
55020
55148
|
object({
|
|
55021
55149
|
availability: DishwasherAvailabilitySchema,
|
|
55022
55150
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -55049,8 +55177,6 @@ object({
|
|
|
55049
55177
|
powerOn: boolean().nullable(),
|
|
55050
55178
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55051
55179
|
powerState: string().nullable(),
|
|
55052
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55053
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55054
55180
|
/**
|
|
55055
55181
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
55056
55182
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -57090,7 +57216,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
57090
57216
|
enabled: boolean()
|
|
57091
57217
|
}), _void(), {
|
|
57092
57218
|
kind: "mutation",
|
|
57093
|
-
auth: "
|
|
57219
|
+
auth: "protected"
|
|
57094
57220
|
}), object({
|
|
57095
57221
|
deviceId: number(),
|
|
57096
57222
|
enabled: boolean(),
|
|
@@ -57580,6 +57706,13 @@ var TopologyNodeSchema = object({
|
|
|
57580
57706
|
cpuModel: string().nullable(),
|
|
57581
57707
|
cpuCores: number(),
|
|
57582
57708
|
memoryMB: number(),
|
|
57709
|
+
/**
|
|
57710
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57711
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57712
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57713
|
+
* after the stick leaves, D919); the live device set is
|
|
57714
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57715
|
+
*/
|
|
57583
57716
|
engines: array(string()).readonly(),
|
|
57584
57717
|
isHub: boolean(),
|
|
57585
57718
|
isOnline: boolean(),
|
|
@@ -58544,7 +58677,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58544
58677
|
format: ModelFormatSchema,
|
|
58545
58678
|
reason: string()
|
|
58546
58679
|
});
|
|
58547
|
-
|
|
58680
|
+
/**
|
|
58681
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58682
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58683
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58684
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58685
|
+
*/
|
|
58686
|
+
var AcceleratorRescanSchema = object({
|
|
58687
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58688
|
+
appeared: array(string()).readonly(),
|
|
58689
|
+
disappeared: array(string()).readonly(),
|
|
58690
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58691
|
+
decidedBy: _enum([
|
|
58692
|
+
"usb-ids",
|
|
58693
|
+
"pci",
|
|
58694
|
+
"delegate-fallback",
|
|
58695
|
+
"none"
|
|
58696
|
+
])
|
|
58697
|
+
});
|
|
58698
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58699
|
+
kind: "mutation",
|
|
58700
|
+
auth: "admin"
|
|
58701
|
+
});
|
|
58548
58702
|
object({
|
|
58549
58703
|
/** Instantaneous power draw in watts. */
|
|
58550
58704
|
watts: number().optional(),
|
|
@@ -61833,60 +61987,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61833
61987
|
auth: "admin",
|
|
61834
61988
|
access: "delete"
|
|
61835
61989
|
});
|
|
61836
|
-
/**
|
|
61837
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61838
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61839
|
-
* optional fan-speed selector.
|
|
61840
|
-
*
|
|
61841
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61842
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61843
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61844
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61845
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61846
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61847
|
-
*
|
|
61848
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61849
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61850
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61851
|
-
*
|
|
61852
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61853
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61854
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61855
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61856
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61857
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61858
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61859
|
-
* so the HA provider leaves all four `null`.
|
|
61860
|
-
*/
|
|
61861
|
-
var VacuumStateSchema = _enum([
|
|
61862
|
-
"idle",
|
|
61863
|
-
"cleaning",
|
|
61864
|
-
"paused",
|
|
61865
|
-
"returning",
|
|
61866
|
-
"docked",
|
|
61867
|
-
"drying",
|
|
61868
|
-
"error"
|
|
61869
|
-
]);
|
|
61870
|
-
/**
|
|
61871
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61872
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61873
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61874
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61875
|
-
* hardware has no such tank at all.
|
|
61876
|
-
*/
|
|
61877
|
-
var TankStatusSchema = object({
|
|
61878
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61879
|
-
level: number().min(0).max(100).nullable(),
|
|
61880
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61881
|
-
status: _enum([
|
|
61882
|
-
"ok",
|
|
61883
|
-
"low",
|
|
61884
|
-
"full"
|
|
61885
|
-
]).nullable()
|
|
61886
|
-
});
|
|
61887
61990
|
object({
|
|
61888
61991
|
/** Lifecycle state of the vacuum. */
|
|
61889
|
-
state:
|
|
61992
|
+
state: _enum([
|
|
61993
|
+
"idle",
|
|
61994
|
+
"cleaning",
|
|
61995
|
+
"paused",
|
|
61996
|
+
"returning",
|
|
61997
|
+
"docked",
|
|
61998
|
+
"drying",
|
|
61999
|
+
"error"
|
|
62000
|
+
]),
|
|
61890
62001
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61891
62002
|
* reading. */
|
|
61892
62003
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61895,14 +62006,6 @@ object({
|
|
|
61895
62006
|
fanSpeed: string().nullable(),
|
|
61896
62007
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61897
62008
|
availableFanSpeeds: array(string()),
|
|
61898
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61899
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61900
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61901
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61902
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61903
|
-
detergent: TankStatusSchema.nullable(),
|
|
61904
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61905
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61906
62009
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61907
62010
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61908
62011
|
/** Current error code (0 / null = no error). */
|
|
@@ -64541,6 +64644,12 @@ Object.freeze({
|
|
|
64541
64644
|
addonId: null,
|
|
64542
64645
|
access: "create"
|
|
64543
64646
|
},
|
|
64647
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64648
|
+
capName: "device-history",
|
|
64649
|
+
capScope: "system",
|
|
64650
|
+
addonId: null,
|
|
64651
|
+
access: "delete"
|
|
64652
|
+
},
|
|
64544
64653
|
"deviceHistory.getDeviceEnabled": {
|
|
64545
64654
|
capName: "device-history",
|
|
64546
64655
|
capScope: "system",
|
|
@@ -64559,6 +64668,12 @@ Object.freeze({
|
|
|
64559
64668
|
addonId: null,
|
|
64560
64669
|
access: "view"
|
|
64561
64670
|
},
|
|
64671
|
+
"deviceHistory.listOrphanSeries": {
|
|
64672
|
+
capName: "device-history",
|
|
64673
|
+
capScope: "system",
|
|
64674
|
+
addonId: null,
|
|
64675
|
+
access: "view"
|
|
64676
|
+
},
|
|
64562
64677
|
"deviceHistory.listSeries": {
|
|
64563
64678
|
capName: "device-history",
|
|
64564
64679
|
capScope: "system",
|
|
@@ -68183,6 +68298,12 @@ Object.freeze({
|
|
|
68183
68298
|
addonId: null,
|
|
68184
68299
|
access: "delete"
|
|
68185
68300
|
},
|
|
68301
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68302
|
+
capName: "pipeline-orchestrator",
|
|
68303
|
+
capScope: "system",
|
|
68304
|
+
addonId: null,
|
|
68305
|
+
access: "delete"
|
|
68306
|
+
},
|
|
68186
68307
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68187
68308
|
capName: "pipeline-orchestrator",
|
|
68188
68309
|
capScope: "system",
|
|
@@ -68759,6 +68880,12 @@ Object.freeze({
|
|
|
68759
68880
|
addonId: null,
|
|
68760
68881
|
access: "view"
|
|
68761
68882
|
},
|
|
68883
|
+
"platformProbe.rescanAccelerators": {
|
|
68884
|
+
capName: "platform-probe",
|
|
68885
|
+
capScope: "system",
|
|
68886
|
+
addonId: null,
|
|
68887
|
+
access: "create"
|
|
68888
|
+
},
|
|
68762
68889
|
"platformProbe.resolveHwAccel": {
|
|
68763
68890
|
capName: "platform-probe",
|
|
68764
68891
|
capScope: "system",
|
|
@@ -74564,7 +74691,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74564
74691
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74565
74692
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74566
74693
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74567
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74694
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74568
74695
|
([...RULE_TEXT], [...TANK]),
|
|
74569
74696
|
[...RULE_TEXT],
|
|
74570
74697
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -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_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
3
|
-
import { g as s, h as c } from "./responsive-
|
|
3
|
+
import { g as s, h as c } from "./responsive-D-jqRXmN.mjs";
|
|
4
4
|
var l = s("chevron-down", [["path", {
|
|
5
5
|
d: "m6 9 6 6 6-6",
|
|
6
6
|
key: "qrunsl"
|
|
@@ -11,24 +11,31 @@ var l = s("chevron-down", [["path", {
|
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region ../ui-library/src/composites/widget-panel.tsx
|
|
13
13
|
e();
|
|
14
|
-
function d({ title: e, icon: t, headerRight: n, collapsible: s = !1, defaultOpen: c = !0,
|
|
15
|
-
let [
|
|
14
|
+
function d({ title: e, icon: t, headerRight: n, collapsible: s = !1, defaultOpen: c = !0, open: d, onOpenChange: f, bodyClassName: p = "p-3", children: m }) {
|
|
15
|
+
let [h, g] = r(c), _ = d ?? h, v = () => {
|
|
16
|
+
let e = !_;
|
|
17
|
+
d === void 0 && g(e), f?.(e);
|
|
18
|
+
}, y = !s || _, b = /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ a("span", {
|
|
16
19
|
className: "flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground",
|
|
17
20
|
children: [t, e]
|
|
18
|
-
}), s ?
|
|
21
|
+
}), s ? /* @__PURE__ */ a("span", {
|
|
22
|
+
className: "flex min-w-0 items-center gap-2",
|
|
23
|
+
children: [n, i(_ ? l : u, { className: "h-3.5 w-3.5 shrink-0 text-foreground-subtle" })]
|
|
24
|
+
}) : n] }), x = `px-4 py-2 flex items-center justify-between ${y ? "border-b border-border" : ""}`;
|
|
19
25
|
return /* @__PURE__ */ a("div", {
|
|
20
26
|
className: "rounded-lg border border-border bg-surface overflow-hidden",
|
|
21
27
|
children: [s ? /* @__PURE__ */ i("button", {
|
|
22
28
|
type: "button",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
"aria-expanded": _,
|
|
30
|
+
onClick: v,
|
|
31
|
+
className: `w-full gap-2 text-left ${x}`,
|
|
32
|
+
children: b
|
|
26
33
|
}) : /* @__PURE__ */ i("div", {
|
|
27
|
-
className:
|
|
28
|
-
children:
|
|
29
|
-
}),
|
|
30
|
-
className:
|
|
31
|
-
children:
|
|
34
|
+
className: x,
|
|
35
|
+
children: b
|
|
36
|
+
}), y ? /* @__PURE__ */ i("div", {
|
|
37
|
+
className: p,
|
|
38
|
+
children: m
|
|
32
39
|
}) : null]
|
|
33
40
|
});
|
|
34
41
|
}
|
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-Da_taAOa.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_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
3
|
-
import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-MeghOR6t.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_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import { n as i } from "./ui-text-BqZa5BNK.mjs";
|
|
3
|
-
import { g as a } from "./responsive-
|
|
3
|
+
import { g as a } from "./responsive-D-jqRXmN.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_model_studio_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Bw7NedzE.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|