@camstack/addon-admin-ui 1.2.669 → 1.2.670

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 (87) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/assets/{Addons-itRKV1Wb.js → Addons-Bu4ZoxIO.js} +1 -1
  3. package/dist/assets/{AdminPage-BWyPb3kJ.js → AdminPage-DZFpAKya.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-BxStbwDR.js → AdminSectionedPage-B6ps8rNV.js} +1 -1
  5. package/dist/assets/{AiProfiles-DPitcR_x.js → AiProfiles-CdoQZsZR.js} +1 -1
  6. package/dist/assets/{BootstrapSettingsForm-Bf-6oVbF.js → BootstrapSettingsForm-UCWvtzeE.js} +1 -1
  7. package/dist/assets/{Build-Ogsli1SO.js → Build-Gofhoe3j.js} +9 -9
  8. package/dist/assets/{Calendars-DQLRGOGn.js → Calendars-CiJnuAQh.js} +1 -1
  9. package/dist/assets/{CameraGrids-CHqOMxPy.js → CameraGrids-DxfsuaX0.js} +1 -1
  10. package/dist/assets/{Cluster-C9rS-Taq.js → Cluster-Bo-4vXsH.js} +1 -1
  11. package/dist/assets/{CompositionBlockEditor-BuQ5nScb.js → CompositionBlockEditor-CMjymUtx.js} +1 -1
  12. package/dist/assets/{CompositionEditorPage-BH9GQ78J.js → CompositionEditorPage-DKFrfRrp.js} +1 -1
  13. package/dist/assets/{Data-D4mZHoVu.js → Data-D7ZahmN6.js} +1 -1
  14. package/dist/assets/{DeviceDetail-_JUAggym.js → DeviceDetail-Bh2Z2j1s.js} +1 -1
  15. package/dist/assets/{Devices-CMDYwMnb.js → Devices-byiaWoVy.js} +1 -1
  16. package/dist/assets/{EmbedDevicePage-BVIta8hq.js → EmbedDevicePage-CNeUtgiP.js} +1 -1
  17. package/dist/assets/{EmbedPlayerPage-BwOdgmh_.js → EmbedPlayerPage-C61k6Ex_.js} +1 -1
  18. package/dist/assets/{History-BeeML_T_.js → History-Bs14Rm_V.js} +1 -1
  19. package/dist/assets/{Identity-D9256usi.js → Identity-Bw51Vnol.js} +1 -1
  20. package/dist/assets/{InstancesTable-CQv49Y64.js → InstancesTable-BYcvOIqM.js} +1 -1
  21. package/dist/assets/{IntegrationDetail-CPCsv5kR.js → IntegrationDetail-Ca70oA9L.js} +1 -1
  22. package/dist/assets/{Integrations-B7fvoVNc.js → Integrations-BqsIC-y8.js} +1 -1
  23. package/dist/assets/{Integrations-DJsnpiYc.js → Integrations-CUBI08OU.js} +1 -1
  24. package/dist/assets/{Library-Di6hRJAJ.js → Library-CjCs6KtF.js} +1 -1
  25. package/dist/assets/{Locations-BSwu1BUe.js → Locations-9Nu9CaoW.js} +1 -1
  26. package/dist/assets/{Logs-C0sSR1D9.js → Logs-Q8kMe303.js} +1 -1
  27. package/dist/assets/{MaskShapeCanvas-BqbVP9jy.js → MaskShapeCanvas-BIQjyybG.js} +1 -1
  28. package/dist/assets/{MotionZonesSettings-DeP_-aoj.js → MotionZonesSettings-DpLx__H7.js} +1 -1
  29. package/dist/assets/{MyAccess-DipNoKVd.js → MyAccess-COSpNM7B.js} +1 -1
  30. package/dist/assets/{Network-CEuZ-dLN.js → Network-DJpcRcIb.js} +1 -1
  31. package/dist/assets/{NodeAddonsSettingsPanel-rJLCp-zp.js → NodeAddonsSettingsPanel-kjx2GHro.js} +1 -1
  32. package/dist/assets/{Notifications-C1D0OH7V.js → Notifications-wd30LkHE.js} +1 -1
  33. package/dist/assets/{Pipeline-1p2gx6yq.js → Pipeline-Czx8lt08.js} +1 -1
  34. package/dist/assets/{PrivacyMaskSettings-CZgjmB7K.js → PrivacyMaskSettings-BE-h6w7X.js} +1 -1
  35. package/dist/assets/{Recordings-u1_WGkkq.js → Recordings-wz9ii-_u.js} +1 -1
  36. package/dist/assets/{SceneMonitorEditor-BmU4cvFJ.js → SceneMonitorEditor-CTjHnPpY.js} +1 -1
  37. package/dist/assets/{SessionsList-XhEMI4Ro.js → SessionsList-BP2c6K1Q.js} +1 -1
  38. package/dist/assets/{Showroom-CFSZs_sa.js → Showroom-DQPrHXfR.js} +1 -1
  39. package/dist/assets/{StorageLocationsTable-CMlVP0m5.js → StorageLocationsTable-CsmMr8wO.js} +1 -1
  40. package/dist/assets/{System-Bga0R4Ay.js → System-CnnnTIRP.js} +1 -1
  41. package/dist/assets/{Terminal-BcuEbBJm.js → Terminal-BQvfsb_T.js} +1 -1
  42. package/dist/assets/{TrainingProviders-CwwG3ebJ.js → TrainingProviders-Dy9Z8KUl.js} +1 -1
  43. package/dist/assets/{Viewer-DqWuDj3S.js → Viewer-C32w1mRT.js} +1 -1
  44. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-B392U0Xo.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CQD2cxmc.js} +1 -1
  45. package/dist/assets/{action-draft-D3UKrkg1.js → action-draft-DYPXor4T.js} +1 -1
  46. package/dist/assets/{ai-page.helpers-Cs7gtuUF.js → ai-page.helpers--SV9pSXS.js} +1 -1
  47. package/dist/assets/{assignment-candidates-DjZaKv0l.js → assignment-candidates-B6UTjIxv.js} +1 -1
  48. package/dist/assets/{authed-media-ehTH73pl.js → authed-media-DnctiLpD.js} +1 -1
  49. package/dist/assets/{board-model-Cv7JHlPG.js → board-model-DJiRVoCF.js} +1 -1
  50. package/dist/assets/client-wrRG10y-.js +1119 -0
  51. package/dist/assets/{command-vocab-BYX4pA4b.js → command-vocab-CgGuOUW5.js} +1 -1
  52. package/dist/assets/{device-detail-DJsyAnzy.js → device-detail-DNlf02Nb.js} +1 -1
  53. package/dist/assets/{device-integration-icon-DnIUqriM.js → device-integration-icon-bh1Yik4P.js} +1 -1
  54. package/dist/assets/device-picker-model-CD_LvGfG.js +1 -0
  55. package/dist/assets/dist-CLrVSBms.js +1119 -0
  56. package/dist/assets/{dist-Rh3LAX-C.js → dist-DSa_qu9n.js} +1 -1
  57. package/dist/assets/{format-D_mC3UFE.js → format-BJ-r5P2c.js} +1 -1
  58. package/dist/assets/{hostInit-C53bfKWc.js → hostInit-4Natw9gd.js} +1 -1
  59. package/dist/assets/i18n-CFTpf5AU.js +1 -0
  60. package/dist/assets/{icons-UZl_ZY4u.js → icons-BbfFVZ5r.js} +1 -1
  61. package/dist/assets/{index-DSAw_82k.js → index-BacJRiQn.js} +3 -3
  62. package/dist/assets/{linked-devices-model-DCGT8GNK.js → linked-devices-model-1w0cHe7b.js} +1 -1
  63. package/dist/assets/{mf-entry-bootstrap-0-1b6fc34d.js → mf-entry-bootstrap-0-782deff9.js} +2 -2
  64. package/dist/assets/mount-CD_LvGfG.js +1 -0
  65. package/dist/assets/{notification-rule-status-DSkmsdJn.js → notification-rule-status-BUkTPXSv.js} +1 -1
  66. package/dist/assets/{player-overlays-PZJgLYRd.js → player-overlays-DK7RQw-O.js} +1 -1
  67. package/dist/assets/remoteEntry-BN-AjEjY.js +1 -0
  68. package/dist/assets/{src-CcQ-7aw4.js → src-D_J1QIkp.js} +18 -18
  69. package/dist/assets/{sso-popup-BzLYKIa5.js → sso-popup-CWTydSPD.js} +1 -1
  70. package/dist/assets/{step-inspector-model-Bsxxvynm.js → step-inspector-model-CS8dmyEs.js} +1 -1
  71. package/dist/assets/{use-scenes-feed-XaJ_qTR6.js → use-scenes-feed-DKSAMtkB.js} +1 -1
  72. package/dist/assets/{use-stationary-objects-Dq29nEKE.js → use-stationary-objects-Bzwbh4br.js} +1 -1
  73. package/dist/assets/{useAdminDeviceRemoval-jePXWUET.js → useAdminDeviceRemoval-DVXNvRT6.js} +1 -1
  74. package/dist/assets/useEventInvalidation-CD_LvGfG.js +1 -0
  75. package/dist/assets/{useNodeUrlSelection-CD4xYuPc.js → useNodeUrlSelection-CRetTLtS.js} +1 -1
  76. package/dist/assets/{useTemplateSave-CV3Ms6EI.js → useTemplateSave-3fmevCGo.js} +1 -1
  77. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Dj-kSuG8.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D2oRXG2E.js} +2 -2
  78. package/dist/index.html +8 -8
  79. package/dist/server/addon.js +268 -6
  80. package/package.json +2 -2
  81. package/dist/assets/client-DoiIBqwj.js +0 -1119
  82. package/dist/assets/device-picker-model-B0hn2Mcr.js +0 -1
  83. package/dist/assets/dist-Ch3pRNws.js +0 -1119
  84. package/dist/assets/i18n-DSVGwH5e.js +0 -1
  85. package/dist/assets/mount-B0hn2Mcr.js +0 -1
  86. package/dist/assets/remoteEntry-BgEyyTZ_.js +0 -1
  87. package/dist/assets/useEventInvalidation-B0hn2Mcr.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region ../types/dist/event-category-Dv-Gcv1f.mjs
3
+ //#region ../types/dist/event-category-Dhcd0TRH.mjs
4
4
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
5
5
  EventCategory["SystemBoot"] = "system.boot";
6
6
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -274,6 +274,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
274
274
  EventCategory["StorageLocationCritical"] = "storage.location.critical";
275
275
  /** Recovery from low/critical on a storage location. */
276
276
  EventCategory["StorageLocationOk"] = "storage.location.ok";
277
+ /**
278
+ * A `drain` location's regular progress ping (#538) — location id + name,
279
+ * bytes remaining, the observed cede rate and the estimated empty date, or
280
+ * `null` fields when the occupancy read that sweep failed (D393: never
281
+ * folded to 0). Cadence is the named constant
282
+ * `DRAIN_PROGRESS_EVENT_INTERVAL_MS` (15 min) plus once on drain start — no
283
+ * operator knob. Telemetry (D8): a lost tick is a stale progress bar the
284
+ * next sweep corrects.
285
+ */
286
+ EventCategory["StorageDrainProgress"] = "storage.drain.progress";
287
+ /** Fires once when a draining location reaches zero evictable bytes. */
288
+ EventCategory["StorageDrainComplete"] = "storage.drain.complete";
277
289
  EventCategory["RecordingSegmentWritten"] = "recording.segment.written";
278
290
  EventCategory["RecordingPolicyFallback"] = "recording.policy.fallback";
279
291
  EventCategory["RecordingRetentionCompleted"] = "recording.retention.completed";
@@ -5928,7 +5940,7 @@ var ZodIssueCode = {
5928
5940
  var ZodFirstPartyTypeKind;
5929
5941
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5930
5942
  //#endregion
5931
- //#region ../types/dist/sleep-B5XPl2YP.mjs
5943
+ //#region ../types/dist/sleep-DEd_klYQ.mjs
5932
5944
  /**
5933
5945
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5934
5946
  * window to float samples (D455).
@@ -12504,6 +12516,76 @@ var CAP_VOCABULARY_BY_NAME = {
12504
12516
  en: "Control",
12505
12517
  it: "Controllo"
12506
12518
  },
12519
+ actions: [
12520
+ {
12521
+ id: "select.next",
12522
+ method: "next",
12523
+ label: {
12524
+ en: "Next option",
12525
+ it: "Opzione successiva"
12526
+ },
12527
+ phrase: {
12528
+ en: "Select the next option on {device}",
12529
+ it: "Seleziona l’opzione successiva su {device}"
12530
+ },
12531
+ icon: "skip-forward",
12532
+ openArgs: [{
12533
+ key: "cycle",
12534
+ label: {
12535
+ en: "Wrap to the first option",
12536
+ it: "Ricomincia dalla prima opzione"
12537
+ },
12538
+ offer: { kind: "boolean" }
12539
+ }]
12540
+ },
12541
+ {
12542
+ id: "select.previous",
12543
+ method: "previous",
12544
+ label: {
12545
+ en: "Previous option",
12546
+ it: "Opzione precedente"
12547
+ },
12548
+ phrase: {
12549
+ en: "Select the previous option on {device}",
12550
+ it: "Seleziona l’opzione precedente su {device}"
12551
+ },
12552
+ icon: "skip-back",
12553
+ openArgs: [{
12554
+ key: "cycle",
12555
+ label: {
12556
+ en: "Wrap to the last option",
12557
+ it: "Ricomincia dall’ultima opzione"
12558
+ },
12559
+ offer: { kind: "boolean" }
12560
+ }]
12561
+ },
12562
+ {
12563
+ id: "select.first",
12564
+ method: "first",
12565
+ label: {
12566
+ en: "First option",
12567
+ it: "Prima opzione"
12568
+ },
12569
+ phrase: {
12570
+ en: "Select the first option on {device}",
12571
+ it: "Seleziona la prima opzione su {device}"
12572
+ },
12573
+ icon: "chevron-first"
12574
+ },
12575
+ {
12576
+ id: "select.last",
12577
+ method: "last",
12578
+ label: {
12579
+ en: "Last option",
12580
+ it: "Ultima opzione"
12581
+ },
12582
+ phrase: {
12583
+ en: "Select the last option on {device}",
12584
+ it: "Seleziona l’ultima opzione su {device}"
12585
+ },
12586
+ icon: "chevron-last"
12587
+ }
12588
+ ],
12507
12589
  notOperatorFacing: { setValue: "the value shape depends on the control kind (numeric / select / text / datetime) read from status; a typed picker for it is a follow-up of the automations rework" },
12508
12590
  state: [{
12509
12591
  kind: "value",
@@ -18992,6 +19074,18 @@ Object.freeze({
18992
19074
  "dry"
18993
19075
  ]
18994
19076
  },
19077
+ {
19078
+ "path": "action",
19079
+ "valueType": "enum",
19080
+ "enumValues": [
19081
+ "heating",
19082
+ "cooling",
19083
+ "drying",
19084
+ "fan",
19085
+ "idle",
19086
+ "off"
19087
+ ]
19088
+ },
18995
19089
  {
18996
19090
  "path": "fanMode",
18997
19091
  "valueType": "string"
@@ -52879,6 +52973,16 @@ var HvacModeSchema = _enum([
52879
52973
  var ClimateControlStatusSchema = object({
52880
52974
  /** Active HVAC mode. */
52881
52975
  mode: HvacModeSchema,
52976
+ /** What the device is doing now (`heating` while the valve is open, `idle`
52977
+ * at setpoint). Absent or null = the device does not say; never a guess (D393). */
52978
+ action: _enum([
52979
+ "heating",
52980
+ "cooling",
52981
+ "drying",
52982
+ "fan",
52983
+ "idle",
52984
+ "off"
52985
+ ]).nullable().optional(),
52882
52986
  /** Available HVAC modes the device accepts. Subset of HvacMode. */
52883
52987
  availableModes: array(HvacModeSchema),
52884
52988
  /** Active fan mode (`auto` / `low` / `medium` / `high` / `on` / `off`
@@ -52932,6 +53036,35 @@ var ClimateControlStatusSchema = object({
52932
53036
  /** Ms epoch when the slice was last updated (push or command). */
52933
53037
  lastFetchedAt: number$1()
52934
53038
  });
53039
+ /**
53040
+ * Linked room sensor (Customize): the OPERATOR may replace the thermostat's own
53041
+ * `currentTemp` / `currentHumidity` with a sensor in the room. Never linked on
53042
+ * its own (D356). Once linked it ALWAYS replaces the native value, a null
53043
+ * native included — the operator chose the better reading.
53044
+ */
53045
+ var CLIMATE_CUSTOMIZE_DEVICE_TYPES = [DeviceType.Climate];
53046
+ function roomSensorTarget(id, path) {
53047
+ return {
53048
+ id,
53049
+ cardinality: "scalar",
53050
+ vocabulary: {
53051
+ cap: "climate-control",
53052
+ stateField: path
53053
+ },
53054
+ deviceTypes: CLIMATE_CUSTOMIZE_DEVICE_TYPES,
53055
+ apply: "replace",
53056
+ path,
53057
+ sources: [{
53058
+ kind: "numeric",
53059
+ transforms: [{ kind: "identity" }]
53060
+ }],
53061
+ sourceReport: { status: "assignment-status" }
53062
+ };
53063
+ }
53064
+ [roomSensorTarget("room-temperature", "currentTemp"), roomSensorTarget("room-humidity", "currentHumidity")].map((target) => ({
53065
+ path: target.path,
53066
+ by: target.id
53067
+ }));
52935
53068
  DeviceType.Climate, method(object({
52936
53069
  deviceId: number$1().int().nonnegative(),
52937
53070
  mode: HvacModeSchema
@@ -53927,6 +54060,19 @@ var ControlSetValueInputSchema = discriminatedUnion("kind", [
53927
54060
  value: string().min(1)
53928
54061
  })
53929
54062
  ]);
54063
+ /**
54064
+ * `next` / `previous` input (#544, operator scripts driving a selector).
54065
+ * `cycle` is a TOP-LEVEL default so a direct `ctx.api.control.next` call
54066
+ * (which skips the tRPC router's Zod parse) still gets `true` via
54067
+ * `CAP_INPUT_DEFAULTS` — matching HA's own `select_next` / `select_previous`
54068
+ * default.
54069
+ */
54070
+ var ControlStepInputSchema = object({
54071
+ deviceId: number$1().int().nonnegative(),
54072
+ cycle: boolean().default(true)
54073
+ });
54074
+ /** `first` / `last` input — no `cycle`, there is no boundary to stop at. */
54075
+ var ControlBoundaryInputSchema = object({ deviceId: number$1().int().nonnegative() });
53930
54076
  DeviceType.Control, method(object({
53931
54077
  deviceId: number$1().int().nonnegative(),
53932
54078
  control: ControlSetValueInputSchema
@@ -53934,6 +54080,52 @@ DeviceType.Control, method(object({
53934
54080
  kind: "mutation",
53935
54081
  auth: "protected",
53936
54082
  notOperatorFacing: "the value shape depends on the control kind (numeric / select / text / datetime) read from status; a typed picker for it is a follow-up of the automations rework"
54083
+ }), optionalMethod(ControlStepInputSchema, _void(), {
54084
+ kind: "mutation",
54085
+ auth: "protected",
54086
+ actions: [{
54087
+ id: "select.next",
54088
+ label: t("Next option", "Opzione successiva"),
54089
+ phrase: t("Select the next option on {device}", "Seleziona l’opzione successiva su {device}"),
54090
+ icon: "skip-forward",
54091
+ openArgs: [{
54092
+ key: "cycle",
54093
+ label: t("Wrap to the first option", "Ricomincia dalla prima opzione"),
54094
+ offer: { kind: "boolean" }
54095
+ }]
54096
+ }]
54097
+ }), optionalMethod(ControlStepInputSchema, _void(), {
54098
+ kind: "mutation",
54099
+ auth: "protected",
54100
+ actions: [{
54101
+ id: "select.previous",
54102
+ label: t("Previous option", "Opzione precedente"),
54103
+ phrase: t("Select the previous option on {device}", "Seleziona l’opzione precedente su {device}"),
54104
+ icon: "skip-back",
54105
+ openArgs: [{
54106
+ key: "cycle",
54107
+ label: t("Wrap to the last option", "Ricomincia dall’ultima opzione"),
54108
+ offer: { kind: "boolean" }
54109
+ }]
54110
+ }]
54111
+ }), optionalMethod(ControlBoundaryInputSchema, _void(), {
54112
+ kind: "mutation",
54113
+ auth: "protected",
54114
+ actions: [{
54115
+ id: "select.first",
54116
+ label: t("First option", "Prima opzione"),
54117
+ phrase: t("Select the first option on {device}", "Seleziona la prima opzione su {device}"),
54118
+ icon: "chevron-first"
54119
+ }]
54120
+ }), optionalMethod(ControlBoundaryInputSchema, _void(), {
54121
+ kind: "mutation",
54122
+ auth: "protected",
54123
+ actions: [{
54124
+ id: "select.last",
54125
+ label: t("Last option", "Ultima opzione"),
54126
+ phrase: t("Select the last option on {device}", "Seleziona l’ultima opzione su {device}"),
54127
+ icon: "chevron-last"
54128
+ }]
53937
54129
  });
53938
54130
  var IrCodecError = class extends Error {
53939
54131
  code;
@@ -54738,7 +54930,7 @@ DeviceType.MediaPlayer, optionalMethod(deviceOnly, _void(), {
54738
54930
  }]
54739
54931
  }]
54740
54932
  });
54741
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter, DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.PetFeeder, DeviceType.MediaPlayer;
54933
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter, DeviceType.Climate, DeviceType.Climate, DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.PetFeeder, DeviceType.MediaPlayer;
54742
54934
  var NUMBER = {
54743
54935
  kind: "fixed",
54744
54936
  result: ["number"]
@@ -72451,6 +72643,8 @@ var NcSystemEventKindSchema = _enum([
72451
72643
  "storage-location-low",
72452
72644
  "storage-location-critical",
72453
72645
  "storage-location-ok",
72646
+ "storage-drain-progress",
72647
+ "storage-drain-complete",
72454
72648
  "addon-crash-loop",
72455
72649
  "addon-update-available",
72456
72650
  "server-update-available",
@@ -89896,6 +90090,13 @@ Object.freeze({
89896
90090
  access: "view",
89897
90091
  role: "viewer"
89898
90092
  },
90093
+ "control.first": {
90094
+ capName: "control",
90095
+ capScope: "device",
90096
+ addonId: null,
90097
+ access: "create",
90098
+ role: "viewer"
90099
+ },
89899
90100
  "control.getStatus": {
89900
90101
  capName: "control",
89901
90102
  capScope: "device",
@@ -89903,6 +90104,27 @@ Object.freeze({
89903
90104
  access: "view",
89904
90105
  role: "viewer"
89905
90106
  },
90107
+ "control.last": {
90108
+ capName: "control",
90109
+ capScope: "device",
90110
+ addonId: null,
90111
+ access: "create",
90112
+ role: "viewer"
90113
+ },
90114
+ "control.next": {
90115
+ capName: "control",
90116
+ capScope: "device",
90117
+ addonId: null,
90118
+ access: "create",
90119
+ role: "viewer"
90120
+ },
90121
+ "control.previous": {
90122
+ capName: "control",
90123
+ capScope: "device",
90124
+ addonId: null,
90125
+ access: "create",
90126
+ role: "viewer"
90127
+ },
89906
90128
  "control.setValue": {
89907
90129
  capName: "control",
89908
90130
  capScope: "device",
@@ -99401,11 +99623,31 @@ Object.freeze({
99401
99623
  form: "single",
99402
99624
  optional: false
99403
99625
  }],
99626
+ "control.first": [{
99627
+ name: "deviceId",
99628
+ form: "single",
99629
+ optional: false
99630
+ }],
99404
99631
  "control.getStatus": [{
99405
99632
  name: "deviceId",
99406
99633
  form: "single",
99407
99634
  optional: false
99408
99635
  }],
99636
+ "control.last": [{
99637
+ name: "deviceId",
99638
+ form: "single",
99639
+ optional: false
99640
+ }],
99641
+ "control.next": [{
99642
+ name: "deviceId",
99643
+ form: "single",
99644
+ optional: false
99645
+ }],
99646
+ "control.previous": [{
99647
+ name: "deviceId",
99648
+ form: "single",
99649
+ optional: false
99650
+ }],
99409
99651
  "control.setValue": [{
99410
99652
  name: "deviceId",
99411
99653
  form: "single",
@@ -102307,6 +102549,8 @@ new Map(Object.entries({
102307
102549
  "storage-location-low": "system",
102308
102550
  "storage-location-critical": "system",
102309
102551
  "storage-location-ok": "system",
102552
+ "storage-drain-progress": "system",
102553
+ "storage-drain-complete": "system",
102310
102554
  "alarm-triggered": "alarm",
102311
102555
  "alarm-armed": "alarm",
102312
102556
  "alarm-disarmed": "alarm",
@@ -102442,6 +102686,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
102442
102686
  "storage-location-ok"
102443
102687
  ]
102444
102688
  },
102689
+ {
102690
+ id: "storage-drain",
102691
+ family: "system",
102692
+ label: "Storage drain progress",
102693
+ kinds: ["storage-drain-progress", "storage-drain-complete"]
102694
+ },
102445
102695
  {
102446
102696
  id: "alerts",
102447
102697
  family: "system",
@@ -102636,6 +102886,7 @@ var ALERT_EPISODE = [
102636
102886
  "alert-error",
102637
102887
  "alert-critical-resolved"
102638
102888
  ];
102889
+ var STORAGE_DRAIN = ["storage-drain-progress", "storage-drain-complete"];
102639
102890
  var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
102640
102891
  var UPDATES = [
102641
102892
  "addon-update-available",
@@ -102859,8 +103110,16 @@ var STATE_SUMMARY_VARS = [
102859
103110
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
102860
103111
  ([...RULE_TEXT], [...CONSUMABLE]),
102861
103112
  [...RULE_TEXT],
102862
- ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
102863
- ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
103113
+ ([...RULE_TEXT], [
103114
+ ...UPDATES,
103115
+ ...STORAGE_DRAIN,
103116
+ ...ALERT_EPISODE
103117
+ ]),
103118
+ ([...RULE_TEXT], [
103119
+ ...UPDATES,
103120
+ ...STORAGE_DRAIN,
103121
+ ...ALERT_EPISODE
103122
+ ]),
102864
103123
  [...RULE_TEXT],
102865
103124
  [...RULE_TEXT],
102866
103125
  [...RULE_TEXT],
@@ -102874,6 +103133,9 @@ var STATE_SUMMARY_VARS = [
102874
103133
  [...RULE_TEXT],
102875
103134
  [...RULE_TEXT],
102876
103135
  [...RULE_TEXT],
103136
+ ([...RULE_TEXT], [...STORAGE_DRAIN]),
103137
+ ([...RULE_TEXT], [...STORAGE_DRAIN]),
103138
+ [...RULE_TEXT],
102877
103139
  [...RULE_TEXT],
102878
103140
  [...RULE_TEXT],
102879
103141
  [...RULE_TEXT],
@@ -103592,7 +103854,7 @@ var AdminUIAddon = class extends BaseAddon {
103592
103854
  capability: adminUiCapability,
103593
103855
  provider: {
103594
103856
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
103595
- getVersion: async () => ({ version: "1.2.669" })
103857
+ getVersion: async () => ({ version: "1.2.670" })
103596
103858
  }
103597
103859
  }];
103598
103860
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-admin-ui",
3
- "version": "1.2.669",
3
+ "version": "1.2.670",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Admin UI — Vite frontend build and server-side addon",
@@ -50,7 +50,7 @@
50
50
  }
51
51
  ],
52
52
  "requires": {
53
- "server": ">=1.2.868"
53
+ "server": ">=1.2.869"
54
54
  }
55
55
  },
56
56
  "scripts": {