@camstack/addon-osd-manager 0.1.262 → 0.1.263

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.
Files changed (19) hide show
  1. package/dist/{MotionZonesSettings-DmQHlRD8.mjs → MotionZonesSettings-BhpBJqGq.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-Bwduz_L2.mjs → PrivacyMaskSettings-DQj0o7MH.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-BxIDOWEP.mjs → SceneMonitorEditor-BGWObfJ0.mjs} +3 -3
  4. package/dist/_stub.js +3985 -4245
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CQ9S3_n1.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BLyZFT8U.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ccb-hwk2.mjs +26 -0
  7. package/dist/addon-osd-manager.css +1 -1
  8. package/dist/{hostInit-Dw_GUFsb.mjs → hostInit-Vk8h3J4Y.mjs} +3 -3
  9. package/dist/index.js +151 -153
  10. package/dist/index.mjs +151 -153
  11. package/dist/{player-overlays-Bm48oYAV.mjs → player-overlays-BUhJWL7S.mjs} +19 -12
  12. package/dist/remoteEntry.js +1 -1
  13. package/dist/{responsive-BEF2g9pl.mjs → responsive-mW5v5lh0.mjs} +1 -1
  14. package/dist/{scene-monitor-copy-dsiWag_w.mjs → scene-monitor-copy-WlYQ_JMq.mjs} +1 -1
  15. package/dist/{square-BpWGsia4.mjs → square-eEc0ucDD.mjs} +1 -1
  16. package/dist/{trash-2-CtCWv0GO.mjs → trash-2-D5ozp5ZB.mjs} +1 -1
  17. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DaIEFI9b.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CXL6LzND.mjs} +1 -1
  18. package/package.json +1 -1
  19. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-67r1vkIW.mjs +0 -26
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.400",
39
+ version: "1.2.401",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.149",
48
+ version: "1.2.150",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.316",
84
+ version: "1.2.317",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
package/dist/index.js CHANGED
@@ -5434,7 +5434,7 @@ var ZodIssueCode = {
5434
5434
  var ZodFirstPartyTypeKind;
5435
5435
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5436
5436
  //#endregion
5437
- //#region ../types/dist/sleep-DJFUfKvA.mjs
5437
+ //#region ../types/dist/sleep-CUp20JkO.mjs
5438
5438
  /**
5439
5439
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5440
5440
  * window to float samples (D455).
@@ -8259,7 +8259,11 @@ var ContributionSectionSchema = object({
8259
8259
  literal(4)
8260
8260
  ]).optional(),
8261
8261
  tab: string().optional(),
8262
- location: _enum(["settings", "top-tab"]).optional(),
8262
+ location: _enum([
8263
+ "settings",
8264
+ "top-tab",
8265
+ "hero"
8266
+ ]).optional(),
8263
8267
  order: number().optional(),
8264
8268
  fields: array(any())
8265
8269
  });
@@ -13195,7 +13199,11 @@ var ConfigSectionWithValuesSchema = object({
13195
13199
  literal(4)
13196
13200
  ]).optional(),
13197
13201
  tab: string().optional(),
13198
- location: _enum(["settings", "top-tab"]).optional(),
13202
+ location: _enum([
13203
+ "settings",
13204
+ "top-tab",
13205
+ "hero"
13206
+ ]).optional(),
13199
13207
  order: number().optional(),
13200
13208
  fields: array(any())
13201
13209
  });
@@ -16969,6 +16977,52 @@ var TierStatusSchema = object({
16969
16977
  countedAt: number().nullable()
16970
16978
  });
16971
16979
  /** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
16980
+ /**
16981
+ * Why a series is orphan. `device-gone`: its device is absent from the
16982
+ * successful device listings (the departure clock). `undeclared`: its `cap:`
16983
+ * key is declared by no capability any more (a field a cap removed).
16984
+ */
16985
+ var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
16986
+ /** Rows held per stored tier. */
16987
+ var TierRowsSchema = object({
16988
+ raw: number().int(),
16989
+ "5m": number().int(),
16990
+ "1h": number().int(),
16991
+ "1d": number().int()
16992
+ });
16993
+ var OrphanSeriesSchema = object({
16994
+ seriesId: number().int(),
16995
+ deviceId: number().int(),
16996
+ key: string(),
16997
+ scope: string(),
16998
+ /** The metric's display name; `null` when its metric row is gone too. */
16999
+ displayName: string().nullable(),
17000
+ reason: DeviceHistoryOrphanReasonSchema,
17001
+ /** `device-gone`: since when the device has been absent; `null` otherwise. */
17002
+ missingSince: number().nullable(),
17003
+ firstTs: number(),
17004
+ lastTs: number(),
17005
+ rows: TierRowsSchema
17006
+ });
17007
+ var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
17008
+ "not-found",
17009
+ "not-orphan",
17010
+ "failed"
17011
+ ]);
17012
+ var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
17013
+ seriesId: number().int(),
17014
+ ok: literal(true),
17015
+ deleted: TierRowsSchema
17016
+ }), object({
17017
+ seriesId: number().int(),
17018
+ ok: literal(false),
17019
+ reason: DeviceHistoryOrphanDeleteRefusalSchema
17020
+ })]);
17021
+ var OrphanListSchema = object({
17022
+ series: array(OrphanSeriesSchema).readonly(),
17023
+ /** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
17024
+ truncated: boolean()
17025
+ });
16972
17026
  var DeviceHistoryStatusSchema = object({
16973
17027
  startedAt: number(),
16974
17028
  /** The store is declared, series loaded and the first reconcile has answered. */
@@ -17066,7 +17120,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
17066
17120
  }), object({ enabled: boolean() }), {
17067
17121
  kind: "mutation",
17068
17122
  auth: "admin"
17069
- }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" });
17123
+ }), 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() }), {
17124
+ kind: "mutation",
17125
+ auth: "admin"
17126
+ });
17070
17127
  var DeviceCaStatusSchema = discriminatedUnion("state", [
17071
17128
  object({ state: literal("absent") }),
17072
17129
  object({
@@ -54724,17 +54781,69 @@ object({
54724
54781
  });
54725
54782
  DeviceType.Sensor;
54726
54783
  /**
54727
- * Generic device-consumables capability — surfaces a device's
54728
- * maintenance items (vacuum filters/brushes, replaceable cartridges,
54729
- * descaling cycles, …) with their remaining life and an optional
54730
- * "Replaced" reset action. Device-agnostic: any provider that knows its
54731
- * device tracks consumables can register it; the cap declares no
54732
- * vocabulary of its own — the provider names each item verbatim.
54784
+ * Generic device-consumables capability — the ONE place a device reports what
54785
+ * it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
54786
+ * descaling cycles), supplies it draws from (a vacuum's clean-water tank and
54787
+ * detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
54788
+ * water tank, a dust bin). Each item carries its remaining life or fill and an
54789
+ * optional "Replaced" reset action. Device-agnostic: any provider that knows
54790
+ * its device tracks consumables registers it; the provider names each item
54791
+ * verbatim and says which `kind` it is.
54792
+ *
54793
+ * The admin UI renders it as ONE collapsible section directly under the
54794
+ * device page's hero card (`placement: 'hero'`), for every device bound to
54795
+ * this cap — never drawn by a device type's hero card itself (D915).
54733
54796
  *
54734
54797
  * Like `childLayout`, the cap is INERT until a provider sets items: no
54735
54798
  * provider populates it by guessing (no HA inference). The UI renders a
54736
54799
  * "No consumables reported" placeholder when `items` is empty.
54737
54800
  */
54801
+ /**
54802
+ * What an item IS, which decides which direction is bad:
54803
+ * - `wear` — a part that wears out (a brush, a filter); low life is bad.
54804
+ * - `supply` — something the device draws from (clean water, detergent,
54805
+ * salt, rinse aid); low or empty is bad.
54806
+ * - `waste` — something the device fills (dirty water, a dust bin); full is
54807
+ * bad.
54808
+ * Absent = `wear`.
54809
+ */
54810
+ var ConsumableKindSchema = _enum([
54811
+ "wear",
54812
+ "supply",
54813
+ "waste"
54814
+ ]);
54815
+ /**
54816
+ * What an item LOOKS like, which decides how a client draws it — independent
54817
+ * of `kind`, which decides which direction is bad:
54818
+ * - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
54819
+ * remaining time and a reset.
54820
+ * - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
54821
+ * - `product` — something bought and refilled (detergent, salt, rinse aid):
54822
+ * a stepped level and "refill".
54823
+ * - `bin` — a container that collects waste (a dust bin): a fill gauge
54824
+ * that warns when full.
54825
+ * Absent = derived from the kind ({@link consumableFormOf}).
54826
+ */
54827
+ var ConsumableFormSchema = _enum([
54828
+ "part",
54829
+ "tank",
54830
+ "product",
54831
+ "bin"
54832
+ ]);
54833
+ /** The provider's own discrete verdict on an item. */
54834
+ var ConsumableStatusSchema = _enum([
54835
+ "ok",
54836
+ "low",
54837
+ "empty",
54838
+ "full",
54839
+ "replace"
54840
+ ]);
54841
+ _enum([
54842
+ "ok",
54843
+ "low",
54844
+ "empty",
54845
+ "full"
54846
+ ]);
54738
54847
  /** Units a remaining-life counter is reported in. Closed: the panel renders
54739
54848
  * each. */
54740
54849
  var ConsumableRemainingUnitSchema = _enum([
@@ -54754,10 +54863,14 @@ var ConsumablesStatusSchema = object({
54754
54863
  key: string().min(1),
54755
54864
  /** Display name. */
54756
54865
  label: string().min(1),
54757
- /** Remaining life % when known (0..100). */
54866
+ /** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
54758
54867
  level: number().min(0).max(100).nullable(),
54759
- /** Discrete state when known (binary mode). */
54760
- status: _enum(["ok", "replace"]).nullable(),
54868
+ /** The provider's discrete verdict when known (binary mode). */
54869
+ status: ConsumableStatusSchema.nullable(),
54870
+ /** What the item is — decides whether low or full is bad. Absent = `wear`. */
54871
+ kind: ConsumableKindSchema.optional(),
54872
+ /** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
54873
+ form: ConsumableFormSchema.optional(),
54761
54874
  /** Ms epoch of the last replace, when known. */
54762
54875
  lastResetAt: number().nullable(),
54763
54876
  /** Whether `reset()` is meaningful for this item. */
@@ -54992,8 +55105,9 @@ object({
54992
55105
  status: DeviceStatusSchema
54993
55106
  });
54994
55107
  /**
54995
- * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
54996
- * consumable levels (salt, rinse aid) and common program options.
55108
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates and
55109
+ * common program options. Salt and rinse aid are NOT here: they are items of
55110
+ * the device's `consumables` cap, like every other device's (D915).
54997
55111
  *
54998
55112
  * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
54999
55113
  * by any integration that exposes the same program / option surface.
@@ -55041,11 +55155,6 @@ var DishwasherAvailabilitySchema = _enum([
55041
55155
  "offline",
55042
55156
  "description-missing"
55043
55157
  ]);
55044
- var DishwasherConsumableLevelSchema = _enum([
55045
- "ok",
55046
- "low",
55047
- "empty"
55048
- ]);
55049
55158
  object({
55050
55159
  availability: DishwasherAvailabilitySchema,
55051
55160
  /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
@@ -55078,8 +55187,6 @@ object({
55078
55187
  powerOn: boolean().nullable(),
55079
55188
  /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
55080
55189
  powerState: string().nullable(),
55081
- saltLevel: DishwasherConsumableLevelSchema.nullable(),
55082
- rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55083
55190
  /**
55084
55191
  * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
55085
55192
  * combined care-and-filter reminder raised); false when every such reminder reads clear; null
@@ -61924,60 +62031,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61924
62031
  auth: "admin",
61925
62032
  access: "delete"
61926
62033
  });
61927
- /**
61928
- * Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
61929
- * cleaning lifecycle plus a return-to-base / locate surface and an
61930
- * optional fan-speed selector.
61931
- *
61932
- * State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
61933
- * `paused` / `returning` / `docked` / `error`. `batteryLevel`
61934
- * (0..100) is nullable — some vacuums don't report a battery
61935
- * percentage. `fanSpeed` is the current speed token (provider-verbatim,
61936
- * e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
61937
- * tokens the hardware accepts so the UI renders only supported choices.
61938
- *
61939
- * The `setFanSpeed` method takes the bare `speed` token — the provider
61940
- * validates it against the vacuum's own list. `locate` triggers the
61941
- * find-me chirp; `returnToBase` sends it home.
61942
- *
61943
- * Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
61944
- * `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
61945
- * 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
61946
- * SHOULD populate whichever tanks the hardware has — leave a field `null`
61947
- * only when the device has no such tank at all, and use a `TankStatus`
61948
- * with both inner fields `null` when the tank exists but its level is
61949
- * currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
61950
- * so the HA provider leaves all four `null`.
61951
- */
61952
- var VacuumStateSchema = _enum([
61953
- "idle",
61954
- "cleaning",
61955
- "paused",
61956
- "returning",
61957
- "docked",
61958
- "drying",
61959
- "error"
61960
- ]);
61961
- /**
61962
- * One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
61963
- * detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
61964
- * a discrete `status` (binary-style hardware), or both. Both `null` means the
61965
- * level is currently unknown; the OWNING field being `null` means the
61966
- * hardware has no such tank at all.
61967
- */
61968
- var TankStatusSchema = object({
61969
- /** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
61970
- level: number().min(0).max(100).nullable(),
61971
- /** Discrete state when the hardware is binary-mode; null otherwise. */
61972
- status: _enum([
61973
- "ok",
61974
- "low",
61975
- "full"
61976
- ]).nullable()
61977
- });
61978
62034
  object({
61979
62035
  /** Lifecycle state of the vacuum. */
61980
- state: VacuumStateSchema,
62036
+ state: _enum([
62037
+ "idle",
62038
+ "cleaning",
62039
+ "paused",
62040
+ "returning",
62041
+ "docked",
62042
+ "drying",
62043
+ "error"
62044
+ ]),
61981
62045
  /** 0..100 battery percentage. Null when the device has no battery
61982
62046
  * reading. */
61983
62047
  batteryLevel: number().min(0).max(100).nullable(),
@@ -61986,14 +62050,6 @@ object({
61986
62050
  fanSpeed: string().nullable(),
61987
62051
  /** Speed tokens the hardware accepts — drives the UI selector. */
61988
62052
  availableFanSpeeds: array(string()),
61989
- /** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
61990
- cleanWater: TankStatusSchema.nullable(),
61991
- /** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
61992
- dirtyWater: TankStatusSchema.nullable(),
61993
- /** Detergent tank. Null when the hardware has no detergent tank. */
61994
- detergent: TankStatusSchema.nullable(),
61995
- /** Dust bin. Null when the hardware has no dust bin. */
61996
- dustBin: TankStatusSchema.nullable(),
61997
62053
  /** 0..100 cleaning-completion percentage of the current task, or null. */
61998
62054
  progressPercent: number().min(0).max(100).nullable(),
61999
62055
  /** Current error code (0 / null = no error). */
@@ -64850,6 +64906,12 @@ Object.freeze({
64850
64906
  addonId: null,
64851
64907
  access: "create"
64852
64908
  },
64909
+ "deviceHistory.deleteOrphanSeries": {
64910
+ capName: "device-history",
64911
+ capScope: "system",
64912
+ addonId: null,
64913
+ access: "delete"
64914
+ },
64853
64915
  "deviceHistory.getDeviceEnabled": {
64854
64916
  capName: "device-history",
64855
64917
  capScope: "system",
@@ -64868,6 +64930,12 @@ Object.freeze({
64868
64930
  addonId: null,
64869
64931
  access: "view"
64870
64932
  },
64933
+ "deviceHistory.listOrphanSeries": {
64934
+ capName: "device-history",
64935
+ capScope: "system",
64936
+ addonId: null,
64937
+ access: "view"
64938
+ },
64871
64939
  "deviceHistory.listSeries": {
64872
64940
  capName: "device-history",
64873
64941
  capScope: "system",
@@ -74953,7 +75021,7 @@ var STATE_SUMMARY_VARS = [
74953
75021
  ([...RULE_TEXT], [...COMBINED_ALARM]),
74954
75022
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
74955
75023
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
74956
- ([...RULE_TEXT], [...CONSUMABLE]),
75024
+ ([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
74957
75025
  ([...RULE_TEXT], [...TANK]),
74958
75026
  [...RULE_TEXT],
74959
75027
  ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
@@ -77278,24 +77346,6 @@ var CAP_STATE_LEAVES = Object.freeze({
77278
77346
  "path": "powerState",
77279
77347
  "valueType": "string"
77280
77348
  },
77281
- {
77282
- "path": "saltLevel",
77283
- "valueType": "enum",
77284
- "enumValues": [
77285
- "ok",
77286
- "low",
77287
- "empty"
77288
- ]
77289
- },
77290
- {
77291
- "path": "rinseAidLevel",
77292
- "valueType": "enum",
77293
- "enumValues": [
77294
- "ok",
77295
- "low",
77296
- "empty"
77297
- ]
77298
- },
77299
77349
  {
77300
77350
  "path": "filterCleaningDue",
77301
77351
  "valueType": "boolean"
@@ -78321,58 +78371,6 @@ var CAP_STATE_LEAVES = Object.freeze({
78321
78371
  "path": "fanSpeed",
78322
78372
  "valueType": "string"
78323
78373
  },
78324
- {
78325
- "path": "cleanWater.level",
78326
- "valueType": "number"
78327
- },
78328
- {
78329
- "path": "cleanWater.status",
78330
- "valueType": "enum",
78331
- "enumValues": [
78332
- "ok",
78333
- "low",
78334
- "full"
78335
- ]
78336
- },
78337
- {
78338
- "path": "dirtyWater.level",
78339
- "valueType": "number"
78340
- },
78341
- {
78342
- "path": "dirtyWater.status",
78343
- "valueType": "enum",
78344
- "enumValues": [
78345
- "ok",
78346
- "low",
78347
- "full"
78348
- ]
78349
- },
78350
- {
78351
- "path": "detergent.level",
78352
- "valueType": "number"
78353
- },
78354
- {
78355
- "path": "detergent.status",
78356
- "valueType": "enum",
78357
- "enumValues": [
78358
- "ok",
78359
- "low",
78360
- "full"
78361
- ]
78362
- },
78363
- {
78364
- "path": "dustBin.level",
78365
- "valueType": "number"
78366
- },
78367
- {
78368
- "path": "dustBin.status",
78369
- "valueType": "enum",
78370
- "enumValues": [
78371
- "ok",
78372
- "low",
78373
- "full"
78374
- ]
78375
- },
78376
78374
  {
78377
78375
  "path": "progressPercent",
78378
78376
  "valueType": "number"