@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
package/dist/index.mjs CHANGED
@@ -5430,7 +5430,7 @@ var ZodIssueCode = {
5430
5430
  var ZodFirstPartyTypeKind;
5431
5431
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5432
5432
  //#endregion
5433
- //#region ../types/dist/sleep-DJFUfKvA.mjs
5433
+ //#region ../types/dist/sleep-CUp20JkO.mjs
5434
5434
  /**
5435
5435
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5436
5436
  * window to float samples (D455).
@@ -8255,7 +8255,11 @@ var ContributionSectionSchema = object({
8255
8255
  literal(4)
8256
8256
  ]).optional(),
8257
8257
  tab: string().optional(),
8258
- location: _enum(["settings", "top-tab"]).optional(),
8258
+ location: _enum([
8259
+ "settings",
8260
+ "top-tab",
8261
+ "hero"
8262
+ ]).optional(),
8259
8263
  order: number().optional(),
8260
8264
  fields: array(any())
8261
8265
  });
@@ -13191,7 +13195,11 @@ var ConfigSectionWithValuesSchema = object({
13191
13195
  literal(4)
13192
13196
  ]).optional(),
13193
13197
  tab: string().optional(),
13194
- location: _enum(["settings", "top-tab"]).optional(),
13198
+ location: _enum([
13199
+ "settings",
13200
+ "top-tab",
13201
+ "hero"
13202
+ ]).optional(),
13195
13203
  order: number().optional(),
13196
13204
  fields: array(any())
13197
13205
  });
@@ -16965,6 +16973,52 @@ var TierStatusSchema = object({
16965
16973
  countedAt: number().nullable()
16966
16974
  });
16967
16975
  /** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
16976
+ /**
16977
+ * Why a series is orphan. `device-gone`: its device is absent from the
16978
+ * successful device listings (the departure clock). `undeclared`: its `cap:`
16979
+ * key is declared by no capability any more (a field a cap removed).
16980
+ */
16981
+ var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
16982
+ /** Rows held per stored tier. */
16983
+ var TierRowsSchema = object({
16984
+ raw: number().int(),
16985
+ "5m": number().int(),
16986
+ "1h": number().int(),
16987
+ "1d": number().int()
16988
+ });
16989
+ var OrphanSeriesSchema = object({
16990
+ seriesId: number().int(),
16991
+ deviceId: number().int(),
16992
+ key: string(),
16993
+ scope: string(),
16994
+ /** The metric's display name; `null` when its metric row is gone too. */
16995
+ displayName: string().nullable(),
16996
+ reason: DeviceHistoryOrphanReasonSchema,
16997
+ /** `device-gone`: since when the device has been absent; `null` otherwise. */
16998
+ missingSince: number().nullable(),
16999
+ firstTs: number(),
17000
+ lastTs: number(),
17001
+ rows: TierRowsSchema
17002
+ });
17003
+ var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
17004
+ "not-found",
17005
+ "not-orphan",
17006
+ "failed"
17007
+ ]);
17008
+ var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
17009
+ seriesId: number().int(),
17010
+ ok: literal(true),
17011
+ deleted: TierRowsSchema
17012
+ }), object({
17013
+ seriesId: number().int(),
17014
+ ok: literal(false),
17015
+ reason: DeviceHistoryOrphanDeleteRefusalSchema
17016
+ })]);
17017
+ var OrphanListSchema = object({
17018
+ series: array(OrphanSeriesSchema).readonly(),
17019
+ /** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
17020
+ truncated: boolean()
17021
+ });
16968
17022
  var DeviceHistoryStatusSchema = object({
16969
17023
  startedAt: number(),
16970
17024
  /** The store is declared, series loaded and the first reconcile has answered. */
@@ -17062,7 +17116,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
17062
17116
  }), object({ enabled: boolean() }), {
17063
17117
  kind: "mutation",
17064
17118
  auth: "admin"
17065
- }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" });
17119
+ }), 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() }), {
17120
+ kind: "mutation",
17121
+ auth: "admin"
17122
+ });
17066
17123
  var DeviceCaStatusSchema = discriminatedUnion("state", [
17067
17124
  object({ state: literal("absent") }),
17068
17125
  object({
@@ -54720,17 +54777,69 @@ object({
54720
54777
  });
54721
54778
  DeviceType.Sensor;
54722
54779
  /**
54723
- * Generic device-consumables capability — surfaces a device's
54724
- * maintenance items (vacuum filters/brushes, replaceable cartridges,
54725
- * descaling cycles, …) with their remaining life and an optional
54726
- * "Replaced" reset action. Device-agnostic: any provider that knows its
54727
- * device tracks consumables can register it; the cap declares no
54728
- * vocabulary of its own — the provider names each item verbatim.
54780
+ * Generic device-consumables capability — the ONE place a device reports what
54781
+ * it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
54782
+ * descaling cycles), supplies it draws from (a vacuum's clean-water tank and
54783
+ * detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
54784
+ * water tank, a dust bin). Each item carries its remaining life or fill and an
54785
+ * optional "Replaced" reset action. Device-agnostic: any provider that knows
54786
+ * its device tracks consumables registers it; the provider names each item
54787
+ * verbatim and says which `kind` it is.
54788
+ *
54789
+ * The admin UI renders it as ONE collapsible section directly under the
54790
+ * device page's hero card (`placement: 'hero'`), for every device bound to
54791
+ * this cap — never drawn by a device type's hero card itself (D915).
54729
54792
  *
54730
54793
  * Like `childLayout`, the cap is INERT until a provider sets items: no
54731
54794
  * provider populates it by guessing (no HA inference). The UI renders a
54732
54795
  * "No consumables reported" placeholder when `items` is empty.
54733
54796
  */
54797
+ /**
54798
+ * What an item IS, which decides which direction is bad:
54799
+ * - `wear` — a part that wears out (a brush, a filter); low life is bad.
54800
+ * - `supply` — something the device draws from (clean water, detergent,
54801
+ * salt, rinse aid); low or empty is bad.
54802
+ * - `waste` — something the device fills (dirty water, a dust bin); full is
54803
+ * bad.
54804
+ * Absent = `wear`.
54805
+ */
54806
+ var ConsumableKindSchema = _enum([
54807
+ "wear",
54808
+ "supply",
54809
+ "waste"
54810
+ ]);
54811
+ /**
54812
+ * What an item LOOKS like, which decides how a client draws it — independent
54813
+ * of `kind`, which decides which direction is bad:
54814
+ * - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
54815
+ * remaining time and a reset.
54816
+ * - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
54817
+ * - `product` — something bought and refilled (detergent, salt, rinse aid):
54818
+ * a stepped level and "refill".
54819
+ * - `bin` — a container that collects waste (a dust bin): a fill gauge
54820
+ * that warns when full.
54821
+ * Absent = derived from the kind ({@link consumableFormOf}).
54822
+ */
54823
+ var ConsumableFormSchema = _enum([
54824
+ "part",
54825
+ "tank",
54826
+ "product",
54827
+ "bin"
54828
+ ]);
54829
+ /** The provider's own discrete verdict on an item. */
54830
+ var ConsumableStatusSchema = _enum([
54831
+ "ok",
54832
+ "low",
54833
+ "empty",
54834
+ "full",
54835
+ "replace"
54836
+ ]);
54837
+ _enum([
54838
+ "ok",
54839
+ "low",
54840
+ "empty",
54841
+ "full"
54842
+ ]);
54734
54843
  /** Units a remaining-life counter is reported in. Closed: the panel renders
54735
54844
  * each. */
54736
54845
  var ConsumableRemainingUnitSchema = _enum([
@@ -54750,10 +54859,14 @@ var ConsumablesStatusSchema = object({
54750
54859
  key: string().min(1),
54751
54860
  /** Display name. */
54752
54861
  label: string().min(1),
54753
- /** Remaining life % when known (0..100). */
54862
+ /** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
54754
54863
  level: number().min(0).max(100).nullable(),
54755
- /** Discrete state when known (binary mode). */
54756
- status: _enum(["ok", "replace"]).nullable(),
54864
+ /** The provider's discrete verdict when known (binary mode). */
54865
+ status: ConsumableStatusSchema.nullable(),
54866
+ /** What the item is — decides whether low or full is bad. Absent = `wear`. */
54867
+ kind: ConsumableKindSchema.optional(),
54868
+ /** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
54869
+ form: ConsumableFormSchema.optional(),
54757
54870
  /** Ms epoch of the last replace, when known. */
54758
54871
  lastResetAt: number().nullable(),
54759
54872
  /** Whether `reset()` is meaningful for this item. */
@@ -54988,8 +55101,9 @@ object({
54988
55101
  status: DeviceStatusSchema
54989
55102
  });
54990
55103
  /**
54991
- * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
54992
- * consumable levels (salt, rinse aid) and common program options.
55104
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates and
55105
+ * common program options. Salt and rinse aid are NOT here: they are items of
55106
+ * the device's `consumables` cap, like every other device's (D915).
54993
55107
  *
54994
55108
  * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
54995
55109
  * by any integration that exposes the same program / option surface.
@@ -55037,11 +55151,6 @@ var DishwasherAvailabilitySchema = _enum([
55037
55151
  "offline",
55038
55152
  "description-missing"
55039
55153
  ]);
55040
- var DishwasherConsumableLevelSchema = _enum([
55041
- "ok",
55042
- "low",
55043
- "empty"
55044
- ]);
55045
55154
  object({
55046
55155
  availability: DishwasherAvailabilitySchema,
55047
55156
  /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
@@ -55074,8 +55183,6 @@ object({
55074
55183
  powerOn: boolean().nullable(),
55075
55184
  /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
55076
55185
  powerState: string().nullable(),
55077
- saltLevel: DishwasherConsumableLevelSchema.nullable(),
55078
- rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55079
55186
  /**
55080
55187
  * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
55081
55188
  * combined care-and-filter reminder raised); false when every such reminder reads clear; null
@@ -61920,60 +62027,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61920
62027
  auth: "admin",
61921
62028
  access: "delete"
61922
62029
  });
61923
- /**
61924
- * Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
61925
- * cleaning lifecycle plus a return-to-base / locate surface and an
61926
- * optional fan-speed selector.
61927
- *
61928
- * State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
61929
- * `paused` / `returning` / `docked` / `error`. `batteryLevel`
61930
- * (0..100) is nullable — some vacuums don't report a battery
61931
- * percentage. `fanSpeed` is the current speed token (provider-verbatim,
61932
- * e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
61933
- * tokens the hardware accepts so the UI renders only supported choices.
61934
- *
61935
- * The `setFanSpeed` method takes the bare `speed` token — the provider
61936
- * validates it against the vacuum's own list. `locate` triggers the
61937
- * find-me chirp; `returnToBase` sends it home.
61938
- *
61939
- * Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
61940
- * `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
61941
- * 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
61942
- * SHOULD populate whichever tanks the hardware has — leave a field `null`
61943
- * only when the device has no such tank at all, and use a `TankStatus`
61944
- * with both inner fields `null` when the tank exists but its level is
61945
- * currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
61946
- * so the HA provider leaves all four `null`.
61947
- */
61948
- var VacuumStateSchema = _enum([
61949
- "idle",
61950
- "cleaning",
61951
- "paused",
61952
- "returning",
61953
- "docked",
61954
- "drying",
61955
- "error"
61956
- ]);
61957
- /**
61958
- * One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
61959
- * detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
61960
- * a discrete `status` (binary-style hardware), or both. Both `null` means the
61961
- * level is currently unknown; the OWNING field being `null` means the
61962
- * hardware has no such tank at all.
61963
- */
61964
- var TankStatusSchema = object({
61965
- /** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
61966
- level: number().min(0).max(100).nullable(),
61967
- /** Discrete state when the hardware is binary-mode; null otherwise. */
61968
- status: _enum([
61969
- "ok",
61970
- "low",
61971
- "full"
61972
- ]).nullable()
61973
- });
61974
62030
  object({
61975
62031
  /** Lifecycle state of the vacuum. */
61976
- state: VacuumStateSchema,
62032
+ state: _enum([
62033
+ "idle",
62034
+ "cleaning",
62035
+ "paused",
62036
+ "returning",
62037
+ "docked",
62038
+ "drying",
62039
+ "error"
62040
+ ]),
61977
62041
  /** 0..100 battery percentage. Null when the device has no battery
61978
62042
  * reading. */
61979
62043
  batteryLevel: number().min(0).max(100).nullable(),
@@ -61982,14 +62046,6 @@ object({
61982
62046
  fanSpeed: string().nullable(),
61983
62047
  /** Speed tokens the hardware accepts — drives the UI selector. */
61984
62048
  availableFanSpeeds: array(string()),
61985
- /** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
61986
- cleanWater: TankStatusSchema.nullable(),
61987
- /** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
61988
- dirtyWater: TankStatusSchema.nullable(),
61989
- /** Detergent tank. Null when the hardware has no detergent tank. */
61990
- detergent: TankStatusSchema.nullable(),
61991
- /** Dust bin. Null when the hardware has no dust bin. */
61992
- dustBin: TankStatusSchema.nullable(),
61993
62049
  /** 0..100 cleaning-completion percentage of the current task, or null. */
61994
62050
  progressPercent: number().min(0).max(100).nullable(),
61995
62051
  /** Current error code (0 / null = no error). */
@@ -64846,6 +64902,12 @@ Object.freeze({
64846
64902
  addonId: null,
64847
64903
  access: "create"
64848
64904
  },
64905
+ "deviceHistory.deleteOrphanSeries": {
64906
+ capName: "device-history",
64907
+ capScope: "system",
64908
+ addonId: null,
64909
+ access: "delete"
64910
+ },
64849
64911
  "deviceHistory.getDeviceEnabled": {
64850
64912
  capName: "device-history",
64851
64913
  capScope: "system",
@@ -64864,6 +64926,12 @@ Object.freeze({
64864
64926
  addonId: null,
64865
64927
  access: "view"
64866
64928
  },
64929
+ "deviceHistory.listOrphanSeries": {
64930
+ capName: "device-history",
64931
+ capScope: "system",
64932
+ addonId: null,
64933
+ access: "view"
64934
+ },
64867
64935
  "deviceHistory.listSeries": {
64868
64936
  capName: "device-history",
64869
64937
  capScope: "system",
@@ -74949,7 +75017,7 @@ var STATE_SUMMARY_VARS = [
74949
75017
  ([...RULE_TEXT], [...COMBINED_ALARM]),
74950
75018
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
74951
75019
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
74952
- ([...RULE_TEXT], [...CONSUMABLE]),
75020
+ ([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
74953
75021
  ([...RULE_TEXT], [...TANK]),
74954
75022
  [...RULE_TEXT],
74955
75023
  ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
@@ -77274,24 +77342,6 @@ var CAP_STATE_LEAVES = Object.freeze({
77274
77342
  "path": "powerState",
77275
77343
  "valueType": "string"
77276
77344
  },
77277
- {
77278
- "path": "saltLevel",
77279
- "valueType": "enum",
77280
- "enumValues": [
77281
- "ok",
77282
- "low",
77283
- "empty"
77284
- ]
77285
- },
77286
- {
77287
- "path": "rinseAidLevel",
77288
- "valueType": "enum",
77289
- "enumValues": [
77290
- "ok",
77291
- "low",
77292
- "empty"
77293
- ]
77294
- },
77295
77345
  {
77296
77346
  "path": "filterCleaningDue",
77297
77347
  "valueType": "boolean"
@@ -78317,58 +78367,6 @@ var CAP_STATE_LEAVES = Object.freeze({
78317
78367
  "path": "fanSpeed",
78318
78368
  "valueType": "string"
78319
78369
  },
78320
- {
78321
- "path": "cleanWater.level",
78322
- "valueType": "number"
78323
- },
78324
- {
78325
- "path": "cleanWater.status",
78326
- "valueType": "enum",
78327
- "enumValues": [
78328
- "ok",
78329
- "low",
78330
- "full"
78331
- ]
78332
- },
78333
- {
78334
- "path": "dirtyWater.level",
78335
- "valueType": "number"
78336
- },
78337
- {
78338
- "path": "dirtyWater.status",
78339
- "valueType": "enum",
78340
- "enumValues": [
78341
- "ok",
78342
- "low",
78343
- "full"
78344
- ]
78345
- },
78346
- {
78347
- "path": "detergent.level",
78348
- "valueType": "number"
78349
- },
78350
- {
78351
- "path": "detergent.status",
78352
- "valueType": "enum",
78353
- "enumValues": [
78354
- "ok",
78355
- "low",
78356
- "full"
78357
- ]
78358
- },
78359
- {
78360
- "path": "dustBin.level",
78361
- "valueType": "number"
78362
- },
78363
- {
78364
- "path": "dustBin.status",
78365
- "valueType": "enum",
78366
- "enumValues": [
78367
- "ok",
78368
- "low",
78369
- "full"
78370
- ]
78371
- },
78372
78370
  {
78373
78371
  "path": "progressPercent",
78374
78372
  "valueType": "number"
@@ -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-BEF2g9pl.mjs";
3
+ import { c as s, l as c } from "./responsive-mW5v5lh0.mjs";
4
4
  var l = c("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
6
6
  key: "qrunsl"
@@ -11,24 +11,31 @@ var l = c("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, bodyClassName: d = "p-3", children: f }) {
15
- let [p, m] = r(c), h = !s || p, g = /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ a("span", {
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 ? i(p ? l : u, { className: "h-3.5 w-3.5 text-foreground-subtle" }) : n] }), _ = `px-4 py-2 flex items-center justify-between ${h ? "border-b border-border" : ""}`;
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
- onClick: () => m((e) => !e),
24
- className: `w-full text-left ${_}`,
25
- children: g
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: g
29
- }), h ? /* @__PURE__ */ i("div", {
30
- className: d,
31
- children: f
34
+ className: x,
35
+ children: b
36
+ }), y ? /* @__PURE__ */ i("div", {
37
+ className: p,
38
+ children: m
32
39
  }) : null]
33
40
  });
34
41
  }
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DaIEFI9b.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CXL6LzND.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-67r1vkIW.mjs";
3
+ import { i as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ccb-hwk2.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-BEF2g9pl.mjs";
3
+ import { l as a } from "./responsive-mW5v5lh0.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"
@@ -1,4 +1,4 @@
1
- import { l as e } from "./responsive-BEF2g9pl.mjs";
1
+ import { l as e } from "./responsive-mW5v5lh0.mjs";
2
2
  var t = e("eye-off", [
3
3
  ["path", {
4
4
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
@@ -1,4 +1,4 @@
1
- import { l as e } from "./responsive-BEF2g9pl.mjs";
1
+ import { l as e } from "./responsive-mW5v5lh0.mjs";
2
2
  var t = e("trash-2", [
3
3
  ["path", {
4
4
  d: "M10 11v6",
@@ -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-CQ9S3_n1.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BLyZFT8U.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-osd-manager",
3
- "version": "0.1.262",
3
+ "version": "0.1.263",
4
4
  "description": "Binds camera on-screen-display slots to live state and recognitions",
5
5
  "keywords": [
6
6
  "camstack",