@camstack/addon-model-studio 1.1.285 → 1.1.287
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-BWIjI_mB.mjs → MotionZonesSettings-D0BtqOwj.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BuSCnSs6.mjs → PrivacyMaskSettings-BYJj-5D1.mjs} +4 -4
- package/dist/{SceneMonitorEditor-D6DomEv3.mjs → SceneMonitorEditor-D1kveRgB.mjs} +3 -3
- package/dist/_stub.js +3555 -3751
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-D4_cFV_R.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BzQpOYl5.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-SeST1uzI.mjs → hostInit-DRhSO1r5.mjs} +3 -3
- package/dist/model-studio.addon.js +151 -89
- package/dist/model-studio.addon.mjs +151 -89
- package/dist/{player-overlays-DZwcDBXd.mjs → player-overlays-D92X0xJg.mjs} +19 -12
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-B15MRUZC.mjs → responsive-D-jqRXmN.mjs} +1 -1
- package/dist/{scene-monitor-copy-JIcLgE--.mjs → scene-monitor-copy-DMdZvxkb.mjs} +1 -1
- package/dist/{square-E31fCPCW.mjs → square-epfZBUKr.mjs} +1 -1
- package/dist/{trash-2-DBIIPVno.mjs → trash-2-Bc8klFfu.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Dcfz5AcL.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CPVxvHfW.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-8XY35EWj.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({
|
|
@@ -48161,7 +48218,6 @@ var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
|
48161
48218
|
modelId: string()
|
|
48162
48219
|
}),
|
|
48163
48220
|
object({ kind: literal("cpu-device") }),
|
|
48164
|
-
object({ kind: literal("coral-untouched") }),
|
|
48165
48221
|
object({ kind: literal("device-disabled") }),
|
|
48166
48222
|
object({ kind: literal("device-unavailable") }),
|
|
48167
48223
|
object({ kind: literal("node-offline") }),
|
|
@@ -48259,11 +48315,6 @@ var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
|
48259
48315
|
kind: literal("detector-store-unreadable"),
|
|
48260
48316
|
error: string()
|
|
48261
48317
|
}),
|
|
48262
|
-
object({
|
|
48263
|
-
kind: literal("coral-enabled"),
|
|
48264
|
-
nodeId: string(),
|
|
48265
|
-
deviceKey: string()
|
|
48266
|
-
}),
|
|
48267
48318
|
object({
|
|
48268
48319
|
kind: literal("custom-pin-kept"),
|
|
48269
48320
|
nodeId: string(),
|
|
@@ -54701,17 +54752,69 @@ object({
|
|
|
54701
54752
|
});
|
|
54702
54753
|
DeviceType.Sensor;
|
|
54703
54754
|
/**
|
|
54704
|
-
* Generic device-consumables capability —
|
|
54705
|
-
*
|
|
54706
|
-
* descaling cycles,
|
|
54707
|
-
*
|
|
54708
|
-
*
|
|
54709
|
-
*
|
|
54755
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54756
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54757
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54758
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54759
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54760
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54761
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54762
|
+
* verbatim and says which `kind` it is.
|
|
54763
|
+
*
|
|
54764
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54765
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54766
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54710
54767
|
*
|
|
54711
54768
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54712
54769
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54713
54770
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54714
54771
|
*/
|
|
54772
|
+
/**
|
|
54773
|
+
* What an item IS, which decides which direction is bad:
|
|
54774
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54775
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54776
|
+
* salt, rinse aid); low or empty is bad.
|
|
54777
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54778
|
+
* bad.
|
|
54779
|
+
* Absent = `wear`.
|
|
54780
|
+
*/
|
|
54781
|
+
var ConsumableKindSchema = _enum([
|
|
54782
|
+
"wear",
|
|
54783
|
+
"supply",
|
|
54784
|
+
"waste"
|
|
54785
|
+
]);
|
|
54786
|
+
/**
|
|
54787
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54788
|
+
* of `kind`, which decides which direction is bad:
|
|
54789
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54790
|
+
* remaining time and a reset.
|
|
54791
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54792
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54793
|
+
* a stepped level and "refill".
|
|
54794
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54795
|
+
* that warns when full.
|
|
54796
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54797
|
+
*/
|
|
54798
|
+
var ConsumableFormSchema = _enum([
|
|
54799
|
+
"part",
|
|
54800
|
+
"tank",
|
|
54801
|
+
"product",
|
|
54802
|
+
"bin"
|
|
54803
|
+
]);
|
|
54804
|
+
/** The provider's own discrete verdict on an item. */
|
|
54805
|
+
var ConsumableStatusSchema = _enum([
|
|
54806
|
+
"ok",
|
|
54807
|
+
"low",
|
|
54808
|
+
"empty",
|
|
54809
|
+
"full",
|
|
54810
|
+
"replace"
|
|
54811
|
+
]);
|
|
54812
|
+
_enum([
|
|
54813
|
+
"ok",
|
|
54814
|
+
"low",
|
|
54815
|
+
"empty",
|
|
54816
|
+
"full"
|
|
54817
|
+
]);
|
|
54715
54818
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54716
54819
|
* each. */
|
|
54717
54820
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54731,10 +54834,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54731
54834
|
key: string().min(1),
|
|
54732
54835
|
/** Display name. */
|
|
54733
54836
|
label: string().min(1),
|
|
54734
|
-
/** Remaining life % when known (0..100). */
|
|
54837
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54735
54838
|
level: number().min(0).max(100).nullable(),
|
|
54736
|
-
/**
|
|
54737
|
-
status:
|
|
54839
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54840
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54841
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54842
|
+
kind: ConsumableKindSchema.optional(),
|
|
54843
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54844
|
+
form: ConsumableFormSchema.optional(),
|
|
54738
54845
|
/** Ms epoch of the last replace, when known. */
|
|
54739
54846
|
lastResetAt: number().nullable(),
|
|
54740
54847
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54969,8 +55076,9 @@ object({
|
|
|
54969
55076
|
status: DeviceStatusSchema
|
|
54970
55077
|
});
|
|
54971
55078
|
/**
|
|
54972
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54973
|
-
*
|
|
55079
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
55080
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
55081
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54974
55082
|
*
|
|
54975
55083
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54976
55084
|
* by any integration that exposes the same program / option surface.
|
|
@@ -55018,11 +55126,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
55018
55126
|
"offline",
|
|
55019
55127
|
"description-missing"
|
|
55020
55128
|
]);
|
|
55021
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
55022
|
-
"ok",
|
|
55023
|
-
"low",
|
|
55024
|
-
"empty"
|
|
55025
|
-
]);
|
|
55026
55129
|
object({
|
|
55027
55130
|
availability: DishwasherAvailabilitySchema,
|
|
55028
55131
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -55055,8 +55158,6 @@ object({
|
|
|
55055
55158
|
powerOn: boolean().nullable(),
|
|
55056
55159
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55057
55160
|
powerState: string().nullable(),
|
|
55058
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55059
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55060
55161
|
/**
|
|
55061
55162
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
55062
55163
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -61839,60 +61940,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61839
61940
|
auth: "admin",
|
|
61840
61941
|
access: "delete"
|
|
61841
61942
|
});
|
|
61842
|
-
/**
|
|
61843
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61844
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61845
|
-
* optional fan-speed selector.
|
|
61846
|
-
*
|
|
61847
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61848
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61849
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61850
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61851
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61852
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61853
|
-
*
|
|
61854
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61855
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61856
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61857
|
-
*
|
|
61858
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61859
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61860
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61861
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61862
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61863
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61864
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61865
|
-
* so the HA provider leaves all four `null`.
|
|
61866
|
-
*/
|
|
61867
|
-
var VacuumStateSchema = _enum([
|
|
61868
|
-
"idle",
|
|
61869
|
-
"cleaning",
|
|
61870
|
-
"paused",
|
|
61871
|
-
"returning",
|
|
61872
|
-
"docked",
|
|
61873
|
-
"drying",
|
|
61874
|
-
"error"
|
|
61875
|
-
]);
|
|
61876
|
-
/**
|
|
61877
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61878
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61879
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61880
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61881
|
-
* hardware has no such tank at all.
|
|
61882
|
-
*/
|
|
61883
|
-
var TankStatusSchema = object({
|
|
61884
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61885
|
-
level: number().min(0).max(100).nullable(),
|
|
61886
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61887
|
-
status: _enum([
|
|
61888
|
-
"ok",
|
|
61889
|
-
"low",
|
|
61890
|
-
"full"
|
|
61891
|
-
]).nullable()
|
|
61892
|
-
});
|
|
61893
61943
|
object({
|
|
61894
61944
|
/** Lifecycle state of the vacuum. */
|
|
61895
|
-
state:
|
|
61945
|
+
state: _enum([
|
|
61946
|
+
"idle",
|
|
61947
|
+
"cleaning",
|
|
61948
|
+
"paused",
|
|
61949
|
+
"returning",
|
|
61950
|
+
"docked",
|
|
61951
|
+
"drying",
|
|
61952
|
+
"error"
|
|
61953
|
+
]),
|
|
61896
61954
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61897
61955
|
* reading. */
|
|
61898
61956
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61901,14 +61959,6 @@ object({
|
|
|
61901
61959
|
fanSpeed: string().nullable(),
|
|
61902
61960
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61903
61961
|
availableFanSpeeds: array(string()),
|
|
61904
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61905
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61906
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61907
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61908
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61909
|
-
detergent: TankStatusSchema.nullable(),
|
|
61910
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61911
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61912
61962
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61913
61963
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61914
61964
|
/** Current error code (0 / null = no error). */
|
|
@@ -64547,6 +64597,12 @@ Object.freeze({
|
|
|
64547
64597
|
addonId: null,
|
|
64548
64598
|
access: "create"
|
|
64549
64599
|
},
|
|
64600
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64601
|
+
capName: "device-history",
|
|
64602
|
+
capScope: "system",
|
|
64603
|
+
addonId: null,
|
|
64604
|
+
access: "delete"
|
|
64605
|
+
},
|
|
64550
64606
|
"deviceHistory.getDeviceEnabled": {
|
|
64551
64607
|
capName: "device-history",
|
|
64552
64608
|
capScope: "system",
|
|
@@ -64565,6 +64621,12 @@ Object.freeze({
|
|
|
64565
64621
|
addonId: null,
|
|
64566
64622
|
access: "view"
|
|
64567
64623
|
},
|
|
64624
|
+
"deviceHistory.listOrphanSeries": {
|
|
64625
|
+
capName: "device-history",
|
|
64626
|
+
capScope: "system",
|
|
64627
|
+
addonId: null,
|
|
64628
|
+
access: "view"
|
|
64629
|
+
},
|
|
64568
64630
|
"deviceHistory.listSeries": {
|
|
64569
64631
|
capName: "device-history",
|
|
64570
64632
|
capScope: "system",
|
|
@@ -74570,7 +74632,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74570
74632
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74571
74633
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74572
74634
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74573
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74635
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74574
74636
|
([...RULE_TEXT], [...TANK]),
|
|
74575
74637
|
[...RULE_TEXT],
|
|
74576
74638
|
([...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-CPVxvHfW.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-BzQpOYl5.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|