@dominevo/ui-library 0.0.0-stage → 0.1.1

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 (900) hide show
  1. package/CHANGELOG.md +1371 -0
  2. package/README.md +18 -2
  3. package/assets/brand/dominevo-current.svg +1 -0
  4. package/assets/brand/dominevo-light.svg +1 -0
  5. package/assets/brand/dominevo-mono.svg +1 -0
  6. package/assets/brand/dominevo-primary.svg +1 -0
  7. package/dist/MaskShapeCanvas-C9cJlxvG.js +915 -0
  8. package/dist/MaskShapeCanvas-NCNwu9_5.cjs +915 -0
  9. package/dist/MotionZonesSettings-C2AIvd4c.js +410 -0
  10. package/dist/MotionZonesSettings-CPRH536-.cjs +410 -0
  11. package/dist/PrivacyMaskSettings-BLM8OfT5.cjs +433 -0
  12. package/dist/PrivacyMaskSettings-FNCxdQCg.js +433 -0
  13. package/dist/SceneMonitorEditor-Bres0ZEA.cjs +1052 -0
  14. package/dist/SceneMonitorEditor-grGP7vRI.js +1052 -0
  15. package/dist/chevron-down-B71qEdFG.js +121 -0
  16. package/dist/chevron-down-VnEXTuJa.cjs +132 -0
  17. package/dist/composites/DeviceRunsPanel.d.ts +23 -0
  18. package/dist/composites/accelerator-label.d.ts +17 -0
  19. package/dist/composites/account-sign-in-field.d.ts +17 -0
  20. package/dist/composites/adaptive-downlink.d.ts +202 -0
  21. package/dist/composites/addon-page-props.d.ts +44 -0
  22. package/dist/composites/addon-scoped-settings-form.d.ts +59 -0
  23. package/dist/composites/agent-step-editor.d.ts +56 -0
  24. package/dist/composites/app-shell/app-shell.d.ts +19 -0
  25. package/dist/composites/app-shell/index.d.ts +3 -0
  26. package/dist/composites/app-shell/sidebar-item.d.ts +11 -0
  27. package/dist/composites/app-shell/sidebar.d.ts +14 -0
  28. package/dist/composites/audio-classification-list.d.ts +21 -0
  29. package/dist/composites/audio-level-waveform.d.ts +36 -0
  30. package/dist/composites/audio-waveform.d.ts +21 -0
  31. package/dist/composites/battery-badge.d.ts +37 -0
  32. package/dist/composites/battery-details-list.d.ts +10 -0
  33. package/dist/composites/battery-details.d.ts +22 -0
  34. package/dist/composites/binary-battery.d.ts +8 -0
  35. package/dist/composites/breadcrumb.d.ts +26 -0
  36. package/dist/composites/camera-stream-player.d.ts +330 -0
  37. package/dist/composites/cap-link-cell.d.ts +30 -0
  38. package/dist/composites/cap-settings/AutotrackSection.d.ts +6 -0
  39. package/dist/composites/cap-settings/CameraGridLayoutEditor.d.ts +5 -0
  40. package/dist/composites/cap-settings/CoverageTrack.d.ts +30 -0
  41. package/dist/composites/cap-settings/EventBucketStrip.d.ts +26 -0
  42. package/dist/composites/cap-settings/EventHeatmap.d.ts +17 -0
  43. package/dist/composites/cap-settings/HomePresetPicker.d.ts +6 -0
  44. package/dist/composites/cap-settings/MaskShapeCanvas.d.ts +48 -0
  45. package/dist/composites/cap-settings/MotionZonesSettings.d.ts +3 -0
  46. package/dist/composites/cap-settings/NavigationPanel.d.ts +3 -0
  47. package/dist/composites/cap-settings/PowerMeterLine.d.ts +10 -0
  48. package/dist/composites/cap-settings/PrivacyMaskSettings.d.ts +3 -0
  49. package/dist/composites/cap-settings/PtzPanel.d.ts +15 -0
  50. package/dist/composites/cap-settings/RecordingBandsEditor.d.ts +46 -0
  51. package/dist/composites/cap-settings/RecordingPanel.d.ts +3 -0
  52. package/dist/composites/cap-settings/RecordingSettings.d.ts +14 -0
  53. package/dist/composites/cap-settings/RecordingTimeline.d.ts +34 -0
  54. package/dist/composites/cap-settings/SceneMonitorEditor.d.ts +5 -0
  55. package/dist/composites/cap-settings/SceneReferenceGallery.d.ts +37 -0
  56. package/dist/composites/cap-settings/SceneSettingsForm.d.ts +22 -0
  57. package/dist/composites/cap-settings/SourceCropCanvas.d.ts +73 -0
  58. package/dist/composites/cap-settings/TimelineControls.d.ts +25 -0
  59. package/dist/composites/cap-settings/camera-grid-layout.d.ts +120 -0
  60. package/dist/composites/cap-settings/event-thumb.d.ts +12 -0
  61. package/dist/composites/cap-settings/index.d.ts +23 -0
  62. package/dist/composites/cap-settings/privacy-mask-audio.d.ts +59 -0
  63. package/dist/composites/cap-settings/recording-config-form.d.ts +57 -0
  64. package/dist/composites/cap-settings/recording-spans.d.ts +22 -0
  65. package/dist/composites/cap-settings/recording-timeline-model.d.ts +129 -0
  66. package/dist/composites/cap-settings/scene-monitor-copy.d.ts +84 -0
  67. package/dist/composites/charts/BarSeries.d.ts +54 -0
  68. package/dist/composites/charts/Sparkline.d.ts +31 -0
  69. package/dist/composites/charts/StateTimeline.d.ts +51 -0
  70. package/dist/composites/charts/TimeSeriesChart.d.ts +59 -0
  71. package/dist/composites/charts/bar-series-model.d.ts +25 -0
  72. package/dist/composites/charts/chart-bands.d.ts +22 -0
  73. package/dist/composites/charts/chart-data.d.ts +89 -0
  74. package/dist/composites/charts/chart-frame.d.ts +55 -0
  75. package/dist/composites/charts/chart-palette.d.ts +46 -0
  76. package/dist/composites/charts/chart-scale.d.ts +29 -0
  77. package/dist/composites/charts/chart-tooltip-host.d.ts +27 -0
  78. package/dist/composites/charts/chart-tooltip-model.d.ts +178 -0
  79. package/dist/composites/charts/chart-uplot.d.ts +79 -0
  80. package/dist/composites/charts/chart-window.d.ts +19 -0
  81. package/dist/composites/charts/index.d.ts +16 -0
  82. package/dist/composites/charts/time-series-model.d.ts +50 -0
  83. package/dist/composites/charts/uplot-host.d.ts +42 -0
  84. package/dist/composites/client-network-sample.d.ts +56 -0
  85. package/dist/composites/clips/ClipBandBar.d.ts +46 -0
  86. package/dist/composites/clips/ClipPanel.d.ts +32 -0
  87. package/dist/composites/clips/ClipSourceLanes.d.ts +47 -0
  88. package/dist/composites/clips/ClipTile.d.ts +28 -0
  89. package/dist/composites/clips/ClipsSection.d.ts +109 -0
  90. package/dist/composites/clips/clip-band.d.ts +92 -0
  91. package/dist/composites/clips/clip-day-window.d.ts +13 -0
  92. package/dist/composites/clips/clip-source-options.d.ts +42 -0
  93. package/dist/composites/clips/clip-source-state.d.ts +64 -0
  94. package/dist/composites/clips/clip-still-retry.d.ts +50 -0
  95. package/dist/composites/clips/clip-thumbnail-fetch.d.ts +17 -0
  96. package/dist/composites/clips/clip-tile-media.d.ts +78 -0
  97. package/dist/composites/clips/clip-view-state.d.ts +87 -0
  98. package/dist/composites/code-block.d.ts +7 -0
  99. package/dist/composites/command-slider.d.ts +20 -0
  100. package/dist/composites/condition-kind-picker/ConditionKindPicker.d.ts +36 -0
  101. package/dist/composites/condition-kind-picker/condition-kind-icons.d.ts +4 -0
  102. package/dist/composites/condition-kind-picker/condition-kind-picker-model.d.ts +63 -0
  103. package/dist/composites/condition-kind-picker/index.d.ts +3 -0
  104. package/dist/composites/condition-kind-picker/use-recent-kinds.d.ts +11 -0
  105. package/dist/composites/config-discovered-select-field.d.ts +43 -0
  106. package/dist/composites/config-form-builder.d.ts +42 -0
  107. package/dist/composites/config-form-field.d.ts +80 -0
  108. package/dist/composites/config-icon-field.d.ts +12 -0
  109. package/dist/composites/config-instance-select-field.d.ts +32 -0
  110. package/dist/composites/config-secret-field.d.ts +65 -0
  111. package/dist/composites/confirm-action-button.d.ts +74 -0
  112. package/dist/composites/confirm-dialog.d.ts +79 -0
  113. package/dist/composites/consumable-level-badge.d.ts +63 -0
  114. package/dist/composites/copy-button.d.ts +27 -0
  115. package/dist/composites/data-records/data-records-hub.d.ts +9 -0
  116. package/dist/composites/data-records/data-records-model.d.ts +26 -0
  117. package/dist/composites/data-records/index.d.ts +2 -0
  118. package/dist/composites/data-table-filter-bar.d.ts +58 -0
  119. package/dist/composites/data-table-filter.d.ts +74 -0
  120. package/dist/composites/data-table-pager.d.ts +8 -0
  121. package/dist/composites/data-table-pagination.d.ts +31 -0
  122. package/dist/composites/data-table-selection.d.ts +15 -0
  123. package/dist/composites/data-table.d.ts +215 -0
  124. package/dist/composites/detection-canvas.d.ts +29 -0
  125. package/dist/composites/detection-colors.d.ts +24 -0
  126. package/dist/composites/detection-overlay.d.ts +35 -0
  127. package/dist/composites/detection-result-tree.d.ts +12 -0
  128. package/dist/composites/dev-shell.d.ts +21 -0
  129. package/dist/composites/device-activity-panel.d.ts +39 -0
  130. package/dist/composites/device-card/__fixtures__/actuations.d.ts +12 -0
  131. package/dist/composites/device-card/__fixtures__/alarm.d.ts +10 -0
  132. package/dist/composites/device-card/__fixtures__/appliance.d.ts +18 -0
  133. package/dist/composites/device-card/__fixtures__/climate.d.ts +15 -0
  134. package/dist/composites/device-card/__fixtures__/common.d.ts +21 -0
  135. package/dist/composites/device-card/__fixtures__/cover.d.ts +9 -0
  136. package/dist/composites/device-card/__fixtures__/energy-day.d.ts +3 -0
  137. package/dist/composites/device-card/__fixtures__/energy.d.ts +22 -0
  138. package/dist/composites/device-card/__fixtures__/fan.d.ts +10 -0
  139. package/dist/composites/device-card/__fixtures__/heat-pump.d.ts +13 -0
  140. package/dist/composites/device-card/__fixtures__/heater.d.ts +11 -0
  141. package/dist/composites/device-card/__fixtures__/humidifier.d.ts +10 -0
  142. package/dist/composites/device-card/__fixtures__/ir.d.ts +10 -0
  143. package/dist/composites/device-card/__fixtures__/light.d.ts +10 -0
  144. package/dist/composites/device-card/__fixtures__/lock.d.ts +10 -0
  145. package/dist/composites/device-card/__fixtures__/media.d.ts +11 -0
  146. package/dist/composites/device-card/__fixtures__/pet.d.ts +11 -0
  147. package/dist/composites/device-card/__fixtures__/pie-readings.d.ts +14 -0
  148. package/dist/composites/device-card/__fixtures__/plug.d.ts +19 -0
  149. package/dist/composites/device-card/__fixtures__/robot.d.ts +9 -0
  150. package/dist/composites/device-card/__fixtures__/sensor.d.ts +3 -0
  151. package/dist/composites/device-card/__fixtures__/siren.d.ts +10 -0
  152. package/dist/composites/device-card/__fixtures__/valve.d.ts +10 -0
  153. package/dist/composites/device-card/__fixtures__/water-heater.d.ts +10 -0
  154. package/dist/composites/device-card/__fixtures__/wave-d-common.d.ts +11 -0
  155. package/dist/composites/device-card/__fixtures__/wave-e.d.ts +29 -0
  156. package/dist/composites/device-card/__fixtures__/weather-station.d.ts +10 -0
  157. package/dist/composites/device-card/__fixtures__/weather.d.ts +10 -0
  158. package/dist/composites/device-card/card-css.d.ts +8 -0
  159. package/dist/composites/device-card/connected/ConnectedActionCards.d.ts +11 -0
  160. package/dist/composites/device-card/connected/ConnectedAlarmCard.d.ts +8 -0
  161. package/dist/composites/device-card/connected/ConnectedApplianceCard.d.ts +9 -0
  162. package/dist/composites/device-card/connected/ConnectedCameraCard.d.ts +41 -0
  163. package/dist/composites/device-card/connected/ConnectedClimateCard.d.ts +7 -0
  164. package/dist/composites/device-card/connected/ConnectedContainerCard.d.ts +14 -0
  165. package/dist/composites/device-card/connected/ConnectedControlCard.d.ts +9 -0
  166. package/dist/composites/device-card/connected/ConnectedCoverCard.d.ts +8 -0
  167. package/dist/composites/device-card/connected/ConnectedDeviceCard.d.ts +12 -0
  168. package/dist/composites/device-card/connected/ConnectedDishwasherCard.d.ts +10 -0
  169. package/dist/composites/device-card/connected/ConnectedEnergyCard.d.ts +10 -0
  170. package/dist/composites/device-card/connected/ConnectedEventCard.d.ts +23 -0
  171. package/dist/composites/device-card/connected/ConnectedFanCard.d.ts +9 -0
  172. package/dist/composites/device-card/connected/ConnectedGatewayCard.d.ts +11 -0
  173. package/dist/composites/device-card/connected/ConnectedHeatPumpCard.d.ts +9 -0
  174. package/dist/composites/device-card/connected/ConnectedHeaterCard.d.ts +4 -0
  175. package/dist/composites/device-card/connected/ConnectedHumidifierCard.d.ts +7 -0
  176. package/dist/composites/device-card/connected/ConnectedImageCard.d.ts +4 -0
  177. package/dist/composites/device-card/connected/ConnectedIrTransmitterCard.d.ts +8 -0
  178. package/dist/composites/device-card/connected/ConnectedLightCard.d.ts +12 -0
  179. package/dist/composites/device-card/connected/ConnectedLockCard.d.ts +8 -0
  180. package/dist/composites/device-card/connected/ConnectedMediaCard.d.ts +8 -0
  181. package/dist/composites/device-card/connected/ConnectedNotifierCard.d.ts +4 -0
  182. package/dist/composites/device-card/connected/ConnectedPetFeederCard.d.ts +9 -0
  183. package/dist/composites/device-card/connected/ConnectedPetFountainCard.d.ts +4 -0
  184. package/dist/composites/device-card/connected/ConnectedPlugCard.d.ts +16 -0
  185. package/dist/composites/device-card/connected/ConnectedRobotCard.d.ts +6 -0
  186. package/dist/composites/device-card/connected/ConnectedSensorCard.d.ts +19 -0
  187. package/dist/composites/device-card/connected/ConnectedSirenCard.d.ts +10 -0
  188. package/dist/composites/device-card/connected/ConnectedUpdateCard.d.ts +7 -0
  189. package/dist/composites/device-card/connected/ConnectedValveCard.d.ts +8 -0
  190. package/dist/composites/device-card/connected/ConnectedWaterHeaterCard.d.ts +8 -0
  191. package/dist/composites/device-card/connected/ConnectedWeatherCard.d.ts +7 -0
  192. package/dist/composites/device-card/connected/ConnectedWeatherStationCard.d.ts +4 -0
  193. package/dist/composites/device-card/connected/ConnectedWorkloadCard.d.ts +10 -0
  194. package/dist/composites/device-card/connected/MeasuredPieCard.d.ts +15 -0
  195. package/dist/composites/device-card/connected/PrimaryTrend.d.ts +10 -0
  196. package/dist/composites/device-card/connected/ReadingHistory.d.ts +20 -0
  197. package/dist/composites/device-card/connected/SensorTrend.d.ts +19 -0
  198. package/dist/composites/device-card/connected/TrendReadout.d.ts +27 -0
  199. package/dist/composites/device-card/connected/alarm-model.d.ts +8 -0
  200. package/dist/composites/device-card/connected/appliance-model.d.ts +36 -0
  201. package/dist/composites/device-card/connected/cap-card-kinds.d.ts +13 -0
  202. package/dist/composites/device-card/connected/climate-model.d.ts +42 -0
  203. package/dist/composites/device-card/connected/coarse-duration.d.ts +3 -0
  204. package/dist/composites/device-card/connected/connected-card-kind.d.ts +17 -0
  205. package/dist/composites/device-card/connected/consumable-card-item.d.ts +10 -0
  206. package/dist/composites/device-card/connected/control-model.d.ts +8 -0
  207. package/dist/composites/device-card/connected/energy-day.d.ts +57 -0
  208. package/dist/composites/device-card/connected/energy-model.d.ts +102 -0
  209. package/dist/composites/device-card/connected/fan-model.d.ts +42 -0
  210. package/dist/composites/device-card/connected/heat-pump-model.d.ts +22 -0
  211. package/dist/composites/device-card/connected/humidifier-model.d.ts +7 -0
  212. package/dist/composites/device-card/connected/ir-transmitter-model.d.ts +46 -0
  213. package/dist/composites/device-card/connected/lock-model.d.ts +11 -0
  214. package/dist/composites/device-card/connected/measurement-label.d.ts +4 -0
  215. package/dist/composites/device-card/connected/measurement-since.d.ts +10 -0
  216. package/dist/composites/device-card/connected/media-model.d.ts +18 -0
  217. package/dist/composites/device-card/connected/pet-model.d.ts +13 -0
  218. package/dist/composites/device-card/connected/primary-trend.d.ts +21 -0
  219. package/dist/composites/device-card/connected/remote-panel.d.ts +14 -0
  220. package/dist/composites/device-card/connected/robot-model.d.ts +5 -0
  221. package/dist/composites/device-card/connected/since-text.d.ts +6 -0
  222. package/dist/composites/device-card/connected/trend-readout.d.ts +33 -0
  223. package/dist/composites/device-card/connected/use-card-common.d.ts +49 -0
  224. package/dist/composites/device-card/connected/use-command-notice.d.ts +39 -0
  225. package/dist/composites/device-card/connected/use-energy-day.d.ts +22 -0
  226. package/dist/composites/device-card/connected/use-heat-pump-link.d.ts +25 -0
  227. package/dist/composites/device-card/connected/use-measurement-readings.d.ts +13 -0
  228. package/dist/composites/device-card/connected/use-motion-trigger.d.ts +27 -0
  229. package/dist/composites/device-card/connected/use-power-cycle.d.ts +21 -0
  230. package/dist/composites/device-card/connected/use-switch-power.d.ts +16 -0
  231. package/dist/composites/device-card/connected/water-heater-model.d.ts +19 -0
  232. package/dist/composites/device-card/icons.d.ts +10 -0
  233. package/dist/composites/device-card/illustrations/AlarmIllustration.d.ts +12 -0
  234. package/dist/composites/device-card/illustrations/AmbientFx.d.ts +37 -0
  235. package/dist/composites/device-card/illustrations/ApplianceIllustration.d.ts +19 -0
  236. package/dist/composites/device-card/illustrations/ClimateRoleGlyph.d.ts +9 -0
  237. package/dist/composites/device-card/illustrations/CoverIllustration.d.ts +35 -0
  238. package/dist/composites/device-card/illustrations/DropIllustration.d.ts +10 -0
  239. package/dist/composites/device-card/illustrations/EnergyFlowIllustration.d.ts +43 -0
  240. package/dist/composites/device-card/illustrations/FanIllustration.d.ts +28 -0
  241. package/dist/composites/device-card/illustrations/HeatPumpIllustration.d.ts +14 -0
  242. package/dist/composites/device-card/illustrations/HeaterIllustration.d.ts +7 -0
  243. package/dist/composites/device-card/illustrations/LightIllustration.d.ts +18 -0
  244. package/dist/composites/device-card/illustrations/LockIllustration.d.ts +11 -0
  245. package/dist/composites/device-card/illustrations/MeasurementFx.d.ts +11 -0
  246. package/dist/composites/device-card/illustrations/MediaArtwork.d.ts +19 -0
  247. package/dist/composites/device-card/illustrations/PetFeederIllustration.d.ts +14 -0
  248. package/dist/composites/device-card/illustrations/PetFountainIllustration.d.ts +10 -0
  249. package/dist/composites/device-card/illustrations/PlugIllustration.d.ts +7 -0
  250. package/dist/composites/device-card/illustrations/PoePortIllustration.d.ts +11 -0
  251. package/dist/composites/device-card/illustrations/RobotIllustration.d.ts +18 -0
  252. package/dist/composites/device-card/illustrations/SirenIllustration.d.ts +7 -0
  253. package/dist/composites/device-card/illustrations/TankIllustration.d.ts +15 -0
  254. package/dist/composites/device-card/illustrations/ValveIllustration.d.ts +14 -0
  255. package/dist/composites/device-card/index.d.ts +175 -0
  256. package/dist/composites/device-card/parts/ArcGauge.d.ts +18 -0
  257. package/dist/composites/device-card/parts/ArmedButton.d.ts +31 -0
  258. package/dist/composites/device-card/parts/ButtonGroup.d.ts +26 -0
  259. package/dist/composites/device-card/parts/CardButton.d.ts +16 -0
  260. package/dist/composites/device-card/parts/CardIcon.d.ts +8 -0
  261. package/dist/composites/device-card/parts/CodePad.d.ts +14 -0
  262. package/dist/composites/device-card/parts/CountdownRing.d.ts +23 -0
  263. package/dist/composites/device-card/parts/Dial.d.ts +63 -0
  264. package/dist/composites/device-card/parts/EnergyDayPanel.d.ts +33 -0
  265. package/dist/composites/device-card/parts/EventList.d.ts +17 -0
  266. package/dist/composites/device-card/parts/InfoTile.d.ts +20 -0
  267. package/dist/composites/device-card/parts/KeyValue.d.ts +7 -0
  268. package/dist/composites/device-card/parts/LevelBar.d.ts +13 -0
  269. package/dist/composites/device-card/parts/LevelRow.d.ts +12 -0
  270. package/dist/composites/device-card/parts/MenuButton.d.ts +25 -0
  271. package/dist/composites/device-card/parts/PopoverButton.d.ts +22 -0
  272. package/dist/composites/device-card/parts/RangeDial.d.ts +32 -0
  273. package/dist/composites/device-card/parts/ReadingValue.d.ts +12 -0
  274. package/dist/composites/device-card/parts/Readings.d.ts +15 -0
  275. package/dist/composites/device-card/parts/StateDot.d.ts +11 -0
  276. package/dist/composites/device-card/parts/SwitchTimer.d.ts +16 -0
  277. package/dist/composites/device-card/parts/ValueChip.d.ts +11 -0
  278. package/dist/composites/device-card/parts/ValueEntry.d.ts +17 -0
  279. package/dist/composites/device-card/parts/sliders.d.ts +32 -0
  280. package/dist/composites/device-card/parts/switch-timer-model.d.ts +21 -0
  281. package/dist/composites/device-card/parts/use-countdown.d.ts +2 -0
  282. package/dist/composites/device-card/scenes/action/ActionCards.d.ts +22 -0
  283. package/dist/composites/device-card/scenes/action/model.d.ts +44 -0
  284. package/dist/composites/device-card/scenes/alarm/AlarmCard.d.ts +21 -0
  285. package/dist/composites/device-card/scenes/alarm/model.d.ts +23 -0
  286. package/dist/composites/device-card/scenes/appliance/ApplianceCard.d.ts +19 -0
  287. package/dist/composites/device-card/scenes/appliance/model.d.ts +63 -0
  288. package/dist/composites/device-card/scenes/camera/CameraCard.d.ts +20 -0
  289. package/dist/composites/device-card/scenes/climate/ClimateCard.d.ts +22 -0
  290. package/dist/composites/device-card/scenes/climate/model.d.ts +93 -0
  291. package/dist/composites/device-card/scenes/container/ContainerCard.d.ts +18 -0
  292. package/dist/composites/device-card/scenes/container/container-model.d.ts +20 -0
  293. package/dist/composites/device-card/scenes/control/ControlCard.d.ts +14 -0
  294. package/dist/composites/device-card/scenes/control/model.d.ts +43 -0
  295. package/dist/composites/device-card/scenes/cover/CoverCard.d.ts +23 -0
  296. package/dist/composites/device-card/scenes/cover/model.d.ts +52 -0
  297. package/dist/composites/device-card/scenes/energy/EnergyCard.d.ts +39 -0
  298. package/dist/composites/device-card/scenes/energy/model.d.ts +82 -0
  299. package/dist/composites/device-card/scenes/event/EventCard.d.ts +40 -0
  300. package/dist/composites/device-card/scenes/event/event-entries.d.ts +24 -0
  301. package/dist/composites/device-card/scenes/fan/FanCard.d.ts +24 -0
  302. package/dist/composites/device-card/scenes/fan/model.d.ts +77 -0
  303. package/dist/composites/device-card/scenes/gateway/GatewayCard.d.ts +34 -0
  304. package/dist/composites/device-card/scenes/heat-pump/HeatPumpCard.d.ts +19 -0
  305. package/dist/composites/device-card/scenes/heat-pump/model.d.ts +61 -0
  306. package/dist/composites/device-card/scenes/heater/HeaterCard.d.ts +14 -0
  307. package/dist/composites/device-card/scenes/heater/model.d.ts +13 -0
  308. package/dist/composites/device-card/scenes/humidifier/HumidifierCard.d.ts +20 -0
  309. package/dist/composites/device-card/scenes/humidifier/model.d.ts +29 -0
  310. package/dist/composites/device-card/scenes/image/ImageCard.d.ts +21 -0
  311. package/dist/composites/device-card/scenes/ir/IrTransmitterCard.d.ts +11 -0
  312. package/dist/composites/device-card/scenes/ir/model.d.ts +16 -0
  313. package/dist/composites/device-card/scenes/light/LightCard.d.ts +14 -0
  314. package/dist/composites/device-card/scenes/light/model.d.ts +40 -0
  315. package/dist/composites/device-card/scenes/lock/LockCard.d.ts +19 -0
  316. package/dist/composites/device-card/scenes/lock/model.d.ts +24 -0
  317. package/dist/composites/device-card/scenes/media/MediaPlayerCard.d.ts +22 -0
  318. package/dist/composites/device-card/scenes/media/model.d.ts +98 -0
  319. package/dist/composites/device-card/scenes/notifier/NotifierCard.d.ts +27 -0
  320. package/dist/composites/device-card/scenes/pet/PetFeederCard.d.ts +19 -0
  321. package/dist/composites/device-card/scenes/pet/PetFountainCard.d.ts +17 -0
  322. package/dist/composites/device-card/scenes/pet/model.d.ts +93 -0
  323. package/dist/composites/device-card/scenes/plug/PlugCard.d.ts +15 -0
  324. package/dist/composites/device-card/scenes/plug/model.d.ts +19 -0
  325. package/dist/composites/device-card/scenes/robot/RobotCard.d.ts +18 -0
  326. package/dist/composites/device-card/scenes/robot/model.d.ts +38 -0
  327. package/dist/composites/device-card/scenes/sensor/ReadingTile.d.ts +18 -0
  328. package/dist/composites/device-card/scenes/sensor/SensorCard.d.ts +17 -0
  329. package/dist/composites/device-card/scenes/sensor/SensorGridCard.d.ts +24 -0
  330. package/dist/composites/device-card/scenes/sensor/SensorPieCard.d.ts +53 -0
  331. package/dist/composites/device-card/scenes/sensor/model.d.ts +39 -0
  332. package/dist/composites/device-card/scenes/sensor/pie-css.d.ts +6 -0
  333. package/dist/composites/device-card/scenes/sensor/pie-model.d.ts +54 -0
  334. package/dist/composites/device-card/scenes/sensor/reading-colour.d.ts +32 -0
  335. package/dist/composites/device-card/scenes/siren/SirenCard.d.ts +19 -0
  336. package/dist/composites/device-card/scenes/siren/model.d.ts +84 -0
  337. package/dist/composites/device-card/scenes/update/UpdateCard.d.ts +14 -0
  338. package/dist/composites/device-card/scenes/update/model.d.ts +40 -0
  339. package/dist/composites/device-card/scenes/valve/ValveCard.d.ts +19 -0
  340. package/dist/composites/device-card/scenes/valve/model.d.ts +21 -0
  341. package/dist/composites/device-card/scenes/water-heater/WaterHeaterCard.d.ts +20 -0
  342. package/dist/composites/device-card/scenes/water-heater/model.d.ts +32 -0
  343. package/dist/composites/device-card/scenes/weather/WeatherCard.d.ts +22 -0
  344. package/dist/composites/device-card/scenes/weather/model.d.ts +28 -0
  345. package/dist/composites/device-card/scenes/weather-station/WeatherStationCard.d.ts +17 -0
  346. package/dist/composites/device-card/scenes/weather-station/WeatherStationIllustration.d.ts +15 -0
  347. package/dist/composites/device-card/scenes/weather-station/model.d.ts +55 -0
  348. package/dist/composites/device-card/scenes/weather-station/station-geometry.d.ts +9 -0
  349. package/dist/composites/device-card/scenes/workload/WorkloadCard.d.ts +17 -0
  350. package/dist/composites/device-card/scenes/workload/model.d.ts +91 -0
  351. package/dist/composites/device-card/shell/ActuationHistory.d.ts +11 -0
  352. package/dist/composites/device-card/shell/BottomLine.d.ts +31 -0
  353. package/dist/composites/device-card/shell/Corner.d.ts +57 -0
  354. package/dist/composites/device-card/shell/DeviceCard.d.ts +81 -0
  355. package/dist/composites/device-card/shell/Overlays.d.ts +24 -0
  356. package/dist/composites/device-card/shell/SceneGrid.d.ts +47 -0
  357. package/dist/composites/device-card/shell/ScenePower.d.ts +18 -0
  358. package/dist/composites/device-card/shell/actuation-model.d.ts +115 -0
  359. package/dist/composites/device-card/shell/bottom-rows.d.ts +182 -0
  360. package/dist/composites/device-card/shell/column-items.d.ts +94 -0
  361. package/dist/composites/device-card/shell/gating.d.ts +17 -0
  362. package/dist/composites/device-card/shell/history-sections.d.ts +16 -0
  363. package/dist/composites/device-card/shell/model.d.ts +174 -0
  364. package/dist/composites/device-card/shell/overlay-box.d.ts +17 -0
  365. package/dist/composites/device-card/shell/remote-keys.d.ts +29 -0
  366. package/dist/composites/device-card/shell/scene-layout.d.ts +17 -0
  367. package/dist/composites/device-card/shell/use-popover.d.ts +9 -0
  368. package/dist/composites/device-controls/ac-panel.d.ts +40 -0
  369. package/dist/composites/device-controls/alarm-hero-card.d.ts +47 -0
  370. package/dist/composites/device-controls/appliance-control.d.ts +3 -0
  371. package/dist/composites/device-controls/atoms.d.ts +84 -0
  372. package/dist/composites/device-controls/brightness-panel.d.ts +3 -0
  373. package/dist/composites/device-controls/button-control.d.ts +9 -0
  374. package/dist/composites/device-controls/climate-offers-cooling.d.ts +7 -0
  375. package/dist/composites/device-controls/climate-panel.d.ts +30 -0
  376. package/dist/composites/device-controls/container-primary-hero.d.ts +26 -0
  377. package/dist/composites/device-controls/container-primary.d.ts +80 -0
  378. package/dist/composites/device-controls/control-panel.d.ts +53 -0
  379. package/dist/composites/device-controls/control-registry.d.ts +85 -0
  380. package/dist/composites/device-controls/cover-hero-card.d.ts +27 -0
  381. package/dist/composites/device-controls/cover-inline.d.ts +27 -0
  382. package/dist/composites/device-controls/cover-panel.d.ts +3 -0
  383. package/dist/composites/device-controls/dishwasher-control.d.ts +32 -0
  384. package/dist/composites/device-controls/dishwasher-options.d.ts +22 -0
  385. package/dist/composites/device-controls/dummy-hero-card.d.ts +6 -0
  386. package/dist/composites/device-controls/energy-system-control.d.ts +14 -0
  387. package/dist/composites/device-controls/fan-hero-card.d.ts +21 -0
  388. package/dist/composites/device-controls/fan-panel.d.ts +3 -0
  389. package/dist/composites/device-controls/heater-control.d.ts +4 -0
  390. package/dist/composites/device-controls/heating-valve-readout.d.ts +4 -0
  391. package/dist/composites/device-controls/humidifier-control.d.ts +37 -0
  392. package/dist/composites/device-controls/image-control.d.ts +49 -0
  393. package/dist/composites/device-controls/index.d.ts +35 -0
  394. package/dist/composites/device-controls/lawn-mower-control.d.ts +15 -0
  395. package/dist/composites/device-controls/light-hero-card.d.ts +16 -0
  396. package/dist/composites/device-controls/lock-hero-card.d.ts +15 -0
  397. package/dist/composites/device-controls/lock-panel.d.ts +3 -0
  398. package/dist/composites/device-controls/media-player-panel.d.ts +9 -0
  399. package/dist/composites/device-controls/offline-badge.d.ts +26 -0
  400. package/dist/composites/device-controls/panel-controls.d.ts +68 -0
  401. package/dist/composites/device-controls/pet-feeder-panel.d.ts +23 -0
  402. package/dist/composites/device-controls/pet-fountain-panel.d.ts +11 -0
  403. package/dist/composites/device-controls/popover-row-action.d.ts +21 -0
  404. package/dist/composites/device-controls/primary-child-picker.d.ts +36 -0
  405. package/dist/composites/device-controls/primary-child.d.ts +39 -0
  406. package/dist/composites/device-controls/radial-gauge.d.ts +20 -0
  407. package/dist/composites/device-controls/script-automation-controls.d.ts +13 -0
  408. package/dist/composites/device-controls/sensor-hero-card.d.ts +10 -0
  409. package/dist/composites/device-controls/sensor-hero-source.d.ts +24 -0
  410. package/dist/composites/device-controls/sensor-inline-control.d.ts +23 -0
  411. package/dist/composites/device-controls/sensor-value-atom.d.ts +123 -0
  412. package/dist/composites/device-controls/switch-panel.d.ts +3 -0
  413. package/dist/composites/device-controls/tap-toggle.d.ts +17 -0
  414. package/dist/composites/device-controls/timed-run-control.d.ts +13 -0
  415. package/dist/composites/device-controls/timed-run-quick-model.d.ts +47 -0
  416. package/dist/composites/device-controls/timed-run-quick.d.ts +12 -0
  417. package/dist/composites/device-controls/timed-run-row-control.d.ts +17 -0
  418. package/dist/composites/device-controls/types.d.ts +15 -0
  419. package/dist/composites/device-controls/update-control.d.ts +7 -0
  420. package/dist/composites/device-controls/vacuum-control.d.ts +7 -0
  421. package/dist/composites/device-controls/valve-control.d.ts +47 -0
  422. package/dist/composites/device-controls/water-heater-control.d.ts +12 -0
  423. package/dist/composites/device-controls/weather-control.d.ts +60 -0
  424. package/dist/composites/device-controls/workload-control.d.ts +10 -0
  425. package/dist/composites/device-export-panel.d.ts +63 -0
  426. package/dist/composites/device-grid.d.ts +12 -0
  427. package/dist/composites/device-history/DeviceHistoryView.d.ts +28 -0
  428. package/dist/composites/device-history/HistoryChart.d.ts +37 -0
  429. package/dist/composites/device-history/HistoryLanes.d.ts +13 -0
  430. package/dist/composites/device-history/HistoryWindowBar.d.ts +16 -0
  431. package/dist/composites/device-history/PointsSelect.d.ts +19 -0
  432. package/dist/composites/device-history/history-lanes.d.ts +26 -0
  433. package/dist/composites/device-history/history-model.d.ts +126 -0
  434. package/dist/composites/device-history/history-reads.d.ts +43 -0
  435. package/dist/composites/device-history/history-runs.d.ts +29 -0
  436. package/dist/composites/device-history/history-selection.d.ts +55 -0
  437. package/dist/composites/device-history/history-units.d.ts +42 -0
  438. package/dist/composites/device-history/history-window.d.ts +31 -0
  439. package/dist/composites/device-history/index.d.ts +16 -0
  440. package/dist/composites/device-history/use-device-history.d.ts +44 -0
  441. package/dist/composites/device-history/use-device-runs.d.ts +11 -0
  442. package/dist/composites/device-history/use-history-panels.d.ts +10 -0
  443. package/dist/composites/device-item/actions.d.ts +38 -0
  444. package/dist/composites/device-item/child-layout.d.ts +49 -0
  445. package/dist/composites/device-item/child-section-accordion.d.ts +23 -0
  446. package/dist/composites/device-item/children-accordion.d.ts +22 -0
  447. package/dist/composites/device-item/container-children-context.d.ts +32 -0
  448. package/dist/composites/device-item/device-delete-action.d.ts +31 -0
  449. package/dist/composites/device-item/features.d.ts +37 -0
  450. package/dist/composites/device-item/header.d.ts +55 -0
  451. package/dist/composites/device-item/helpers.d.ts +395 -0
  452. package/dist/composites/device-item/index.d.ts +11 -0
  453. package/dist/composites/device-item/model-row-value.d.ts +48 -0
  454. package/dist/composites/device-item/open-page-quick-action.d.ts +6 -0
  455. package/dist/composites/device-item/preview.d.ts +43 -0
  456. package/dist/composites/device-item/reboot-quick-action.d.ts +30 -0
  457. package/dist/composites/device-item/role-display-defaults-context.d.ts +37 -0
  458. package/dist/composites/device-item/row-models-context.d.ts +42 -0
  459. package/dist/composites/device-item/row-swipe-tray.d.ts +17 -0
  460. package/dist/composites/device-item/status-dot.d.ts +30 -0
  461. package/dist/composites/device-item/use-device-admin-link.d.ts +20 -0
  462. package/dist/composites/device-list/batch-actions-bar.d.ts +15 -0
  463. package/dist/composites/device-list/batch-toolbar.d.ts +15 -0
  464. package/dist/composites/device-list/columns.d.ts +109 -0
  465. package/dist/composites/device-list/device-integration.d.ts +59 -0
  466. package/dist/composites/device-list/device-mode.d.ts +141 -0
  467. package/dist/composites/device-list/empty-state.d.ts +17 -0
  468. package/dist/composites/device-list/filter-chips.d.ts +33 -0
  469. package/dist/composites/device-list/fuzzy-match.d.ts +27 -0
  470. package/dist/composites/device-list/generic-mode.d.ts +125 -0
  471. package/dist/composites/device-list/group.d.ts +71 -0
  472. package/dist/composites/device-list/hardware-cell.d.ts +18 -0
  473. package/dist/composites/device-list/hardware.d.ts +44 -0
  474. package/dist/composites/device-list/icon-action.d.ts +29 -0
  475. package/dist/composites/device-list/index.d.ts +51 -0
  476. package/dist/composites/device-list/multi-select.d.ts +30 -0
  477. package/dist/composites/device-list/page-size-select.d.ts +11 -0
  478. package/dist/composites/device-list/pagination.d.ts +18 -0
  479. package/dist/composites/device-list/row-model-ids.d.ts +7 -0
  480. package/dist/composites/device-list/sort.d.ts +35 -0
  481. package/dist/composites/device-list/sortable-header.d.ts +23 -0
  482. package/dist/composites/device-list/table-layout.d.ts +53 -0
  483. package/dist/composites/device-list/type-filter.d.ts +19 -0
  484. package/dist/composites/device-list/url-state.d.ts +42 -0
  485. package/dist/composites/device-mesh/DeviceMeshCard.d.ts +7 -0
  486. package/dist/composites/device-mesh/device-mesh-model.d.ts +64 -0
  487. package/dist/composites/device-mesh/index.d.ts +4 -0
  488. package/dist/composites/device-mesh/mesh-labels.d.ts +9 -0
  489. package/dist/composites/device-mesh/use-mesh-networks.d.ts +14 -0
  490. package/dist/composites/device-meta.d.ts +70 -0
  491. package/dist/composites/device-name/DeviceName.d.ts +17 -0
  492. package/dist/composites/device-name/device-fleet.d.ts +29 -0
  493. package/dist/composites/device-name/device-name-nouns.d.ts +27 -0
  494. package/dist/composites/device-name/format-device-name.d.ts +49 -0
  495. package/dist/composites/device-name/index.d.ts +10 -0
  496. package/dist/composites/device-name/use-device-label.d.ts +18 -0
  497. package/dist/composites/device-picker/DevicePicker.d.ts +107 -0
  498. package/dist/composites/device-picker/SelectedChip.d.ts +17 -0
  499. package/dist/composites/device-picker/device-filter-bar.d.ts +27 -0
  500. package/dist/composites/device-picker/device-fleet-view.d.ts +15 -0
  501. package/dist/composites/device-picker/device-parent.d.ts +39 -0
  502. package/dist/composites/device-picker/device-picker-grouping.d.ts +14 -0
  503. package/dist/composites/device-picker/device-picker-model.d.ts +254 -0
  504. package/dist/composites/device-picker/device-provider-label.d.ts +21 -0
  505. package/dist/composites/device-picker/device-selection-rows.d.ts +52 -0
  506. package/dist/composites/device-picker/device-selection.d.ts +64 -0
  507. package/dist/composites/device-picker/index.d.ts +9 -0
  508. package/dist/composites/device-select-filter.d.ts +120 -0
  509. package/dist/composites/device-selector-picker.d.ts +38 -0
  510. package/dist/composites/device-step-matrix.d.ts +42 -0
  511. package/dist/composites/device-summary-card.d.ts +38 -0
  512. package/dist/composites/device-template-field/DeviceTemplateField.d.ts +42 -0
  513. package/dist/composites/device-template-field/device-template-feedback.d.ts +13 -0
  514. package/dist/composites/device-template-field/device-template-function.d.ts +18 -0
  515. package/dist/composites/device-template-field/device-template-insert-model.d.ts +10 -0
  516. package/dist/composites/device-template-field/device-template-insert.d.ts +19 -0
  517. package/dist/composites/device-template-field/device-template-model.d.ts +143 -0
  518. package/dist/composites/device-template-field/device-template-param-input.d.ts +16 -0
  519. package/dist/composites/device-template-field/device-template-suggest.d.ts +12 -0
  520. package/dist/composites/device-template-field/index.d.ts +2 -0
  521. package/dist/composites/device-template-field/use-template-field-unit.d.ts +7 -0
  522. package/dist/composites/device-value-field/device-value-field.d.ts +112 -0
  523. package/dist/composites/device-value-field/device-value-token.d.ts +13 -0
  524. package/dist/composites/device-value-field/index.d.ts +3 -0
  525. package/dist/composites/device-value-field/use-device-value-source.d.ts +30 -0
  526. package/dist/composites/device-value-picker/DeviceActionPicker.d.ts +37 -0
  527. package/dist/composites/device-value-picker/DeviceEventPicker.d.ts +22 -0
  528. package/dist/composites/device-value-picker/DeviceValuePicker.d.ts +68 -0
  529. package/dist/composites/device-value-picker/action-target-label.d.ts +17 -0
  530. package/dist/composites/device-value-picker/device-event-model.d.ts +54 -0
  531. package/dist/composites/device-value-picker/device-id-values.d.ts +9 -0
  532. package/dist/composites/device-value-picker/device-value-form-fields.d.ts +22 -0
  533. package/dist/composites/device-value-picker/device-value-panel.d.ts +43 -0
  534. package/dist/composites/device-value-picker/device-value-picker-model.d.ts +155 -0
  535. package/dist/composites/device-value-picker/device-value-rail.d.ts +27 -0
  536. package/dist/composites/device-value-picker/device-value-rows.d.ts +42 -0
  537. package/dist/composites/device-value-picker/index.d.ts +10 -0
  538. package/dist/composites/device-value-picker/use-device-value-search.d.ts +33 -0
  539. package/dist/composites/device-value-picker/use-integration-providers.d.ts +10 -0
  540. package/dist/composites/device-value-picker/use-recent-devices.d.ts +16 -0
  541. package/dist/composites/discovered-adoption.d.ts +7 -0
  542. package/dist/composites/display-palette-context.d.ts +26 -0
  543. package/dist/composites/doorbell-recent-panel.d.ts +11 -0
  544. package/dist/composites/duration-input/DurationInput.d.ts +68 -0
  545. package/dist/composites/duration-input/duration-parts.d.ts +15 -0
  546. package/dist/composites/duration-input/index.d.ts +2 -0
  547. package/dist/composites/empty-state.d.ts +10 -0
  548. package/dist/composites/error-box.d.ts +19 -0
  549. package/dist/composites/event-category-picker.d.ts +11 -0
  550. package/dist/composites/event-kind-visuals.d.ts +37 -0
  551. package/dist/composites/event-stream.d.ts +72 -0
  552. package/dist/composites/export-bulk-selection.d.ts +54 -0
  553. package/dist/composites/export-entity-rows.d.ts +33 -0
  554. package/dist/composites/expression-input/ExpressionInput.d.ts +9 -0
  555. package/dist/composites/expression-input/expression-suggestions.d.ts +15 -0
  556. package/dist/composites/expression-input/index.d.ts +2 -0
  557. package/dist/composites/extensions/AssociationSlotCard.d.ts +36 -0
  558. package/dist/composites/extensions/ExtensionsPanel.d.ts +43 -0
  559. package/dist/composites/extensions/extensions-view-state.d.ts +125 -0
  560. package/dist/composites/filter-bar.d.ts +29 -0
  561. package/dist/composites/form-field.d.ts +11 -0
  562. package/dist/composites/form-save-bar.d.ts +35 -0
  563. package/dist/composites/format-state-value.d.ts +34 -0
  564. package/dist/composites/grouped-model-selector.d.ts +9 -0
  565. package/dist/composites/grouped-tile-picker.d.ts +43 -0
  566. package/dist/composites/hero-model/HeroModelCard.d.ts +25 -0
  567. package/dist/composites/hero-model/MeasurementScene.d.ts +22 -0
  568. package/dist/composites/hero-model/ModelHero.d.ts +29 -0
  569. package/dist/composites/hero-model/call-hero-action.d.ts +17 -0
  570. package/dist/composites/hero-model/card-display-subject.d.ts +19 -0
  571. package/dist/composites/hero-model/hero-labels.d.ts +33 -0
  572. package/dist/composites/hero-model/hero-model-view.d.ts +36 -0
  573. package/dist/composites/hero-model/hero-utilities.d.ts +9 -0
  574. package/dist/composites/hero-model/index.d.ts +4 -0
  575. package/dist/composites/hero-model/measurement-display.d.ts +40 -0
  576. package/dist/composites/hero-model/use-hero-live-refresh.d.ts +6 -0
  577. package/dist/composites/hero-scene/backdrops.d.ts +20 -0
  578. package/dist/composites/hero-scene/device-row.d.ts +21 -0
  579. package/dist/composites/hero-scene/hero-card-a.d.ts +29 -0
  580. package/dist/composites/hero-scene/hero-row.d.ts +39 -0
  581. package/dist/composites/hero-scene/hero-scene-css.d.ts +10 -0
  582. package/dist/composites/hero-scene/hero-scene.d.ts +45 -0
  583. package/dist/composites/hero-scene/hero-utility-grid.d.ts +30 -0
  584. package/dist/composites/hero-scene/hero-utility-layout.d.ts +10 -0
  585. package/dist/composites/hero-scene/index.d.ts +10 -0
  586. package/dist/composites/hero-scene/scene-art-home.d.ts +5 -0
  587. package/dist/composites/hero-scene/scene-art.d.ts +21 -0
  588. package/dist/composites/hero-scene/scene-map.d.ts +6 -0
  589. package/dist/composites/hero-scene/types.d.ts +48 -0
  590. package/dist/composites/hls-quality.d.ts +36 -0
  591. package/dist/composites/hls-video.d.ts +64 -0
  592. package/dist/composites/hover-zoom-image.d.ts +37 -0
  593. package/dist/composites/icon-glyphs.d.ts +30 -0
  594. package/dist/composites/icon-picker.d.ts +80 -0
  595. package/dist/composites/image-selector.d.ts +26 -0
  596. package/dist/composites/index.d.ts +278 -0
  597. package/dist/composites/inference-config-selector.d.ts +45 -0
  598. package/dist/composites/item-form-dialog.d.ts +39 -0
  599. package/dist/composites/kebab-menu.d.ts +63 -0
  600. package/dist/composites/key-value-list.d.ts +17 -0
  601. package/dist/composites/log-export-dialog.d.ts +21 -0
  602. package/dist/composites/log-export.d.ts +68 -0
  603. package/dist/composites/log-history-paging.d.ts +62 -0
  604. package/dist/composites/log-stream-columns.d.ts +37 -0
  605. package/dist/composites/log-stream-names.d.ts +19 -0
  606. package/dist/composites/log-stream-scroll.d.ts +32 -0
  607. package/dist/composites/log-stream.d.ts +102 -0
  608. package/dist/composites/login-form.d.ts +9 -0
  609. package/dist/composites/media-grid.d.ts +27 -0
  610. package/dist/composites/model-bound-slider.d.ts +36 -0
  611. package/dist/composites/model-picker.d.ts +21 -0
  612. package/dist/composites/mount-addon-page.d.ts +16 -0
  613. package/dist/composites/network-link-badge.d.ts +11 -0
  614. package/dist/composites/node-color-map.d.ts +11 -0
  615. package/dist/composites/node-color.d.ts +5 -0
  616. package/dist/composites/node-picker.d.ts +20 -0
  617. package/dist/composites/notification-targets-field.d.ts +84 -0
  618. package/dist/composites/notification-targets-options.d.ts +13 -0
  619. package/dist/composites/option-select/OptionSelect.d.ts +37 -0
  620. package/dist/composites/option-select/index.d.ts +4 -0
  621. package/dist/composites/option-select/option-select-model.d.ts +62 -0
  622. package/dist/composites/page-actions.d.ts +56 -0
  623. package/dist/composites/page-header.d.ts +12 -0
  624. package/dist/composites/page-shell.d.ts +34 -0
  625. package/dist/composites/peer-connection-config.d.ts +13 -0
  626. package/dist/composites/phase-icon.d.ts +12 -0
  627. package/dist/composites/pipeline-builder.d.ts +23 -0
  628. package/dist/composites/pipeline-matrix-shared.d.ts +200 -0
  629. package/dist/composites/pipeline-runtime-selector.d.ts +17 -0
  630. package/dist/composites/pipeline-step.d.ts +36 -0
  631. package/dist/composites/placeholder-field/PlaceholderChipField.d.ts +30 -0
  632. package/dist/composites/placeholder-field/index.d.ts +1 -0
  633. package/dist/composites/playback-stats.d.ts +59 -0
  634. package/dist/composites/provider-badge.d.ts +8 -0
  635. package/dist/composites/provider-entries/AddProviderEntryDialog.d.ts +28 -0
  636. package/dist/composites/provider-entries/ProviderEntryPills.d.ts +19 -0
  637. package/dist/composites/provider-entries/index.d.ts +2 -0
  638. package/dist/composites/ptz-overlay.d.ts +21 -0
  639. package/dist/composites/qr-code.d.ts +12 -0
  640. package/dist/composites/quantity-value-input/QuantityValueInput.d.ts +35 -0
  641. package/dist/composites/quantity-value-input/index.d.ts +2 -0
  642. package/dist/composites/quantity-value-input/quantity-value.d.ts +38 -0
  643. package/dist/composites/reconnect-schedule.d.ts +32 -0
  644. package/dist/composites/record-entries/entry-json-schema-form.d.ts +11 -0
  645. package/dist/composites/record-entries/index.d.ts +3 -0
  646. package/dist/composites/record-entries/record-entries-panel.d.ts +18 -0
  647. package/dist/composites/record-entries/record-entry-secrets.d.ts +9 -0
  648. package/dist/composites/remote/AppBrandGlyph.d.ts +11 -0
  649. package/dist/composites/remote/RemoteGrid.d.ts +57 -0
  650. package/dist/composites/remote/SourceSelectKey.d.ts +20 -0
  651. package/dist/composites/remote/app-brand-icons.d.ts +28 -0
  652. package/dist/composites/remote/display-layout.d.ts +7 -0
  653. package/dist/composites/remote/index.d.ts +9 -0
  654. package/dist/composites/remote/layout-model.d.ts +110 -0
  655. package/dist/composites/remote/layout-presets.d.ts +21 -0
  656. package/dist/composites/remote/remote-look.d.ts +25 -0
  657. package/dist/composites/remote/role-vocabulary.d.ts +10 -0
  658. package/dist/composites/resizable-columns/ResizableColumns.d.ts +21 -0
  659. package/dist/composites/resizable-columns/index.d.ts +1 -0
  660. package/dist/composites/resizable-columns/resizable-columns-model.d.ts +13 -0
  661. package/dist/composites/resolve-step-default-model.d.ts +113 -0
  662. package/dist/composites/response-log.d.ts +10 -0
  663. package/dist/composites/role-node-pill.d.ts +26 -0
  664. package/dist/composites/root-model-source.d.ts +20 -0
  665. package/dist/composites/running-badge.d.ts +20 -0
  666. package/dist/composites/running-status.d.ts +20 -0
  667. package/dist/composites/sanitize-info-html.d.ts +16 -0
  668. package/dist/composites/scope-picker.d.ts +31 -0
  669. package/dist/composites/section-card.d.ts +27 -0
  670. package/dist/composites/section-toolbar.d.ts +14 -0
  671. package/dist/composites/sectioned-page.d.ts +55 -0
  672. package/dist/composites/setting-row.d.ts +42 -0
  673. package/dist/composites/snapshot-button.d.ts +29 -0
  674. package/dist/composites/sort-header-button.d.ts +28 -0
  675. package/dist/composites/stable-tab-panel.d.ts +17 -0
  676. package/dist/composites/stat-card.d.ts +22 -0
  677. package/dist/composites/state-values-stream.d.ts +27 -0
  678. package/dist/composites/status-badge.d.ts +12 -0
  679. package/dist/composites/step-inspector/gate-control.d.ts +21 -0
  680. package/dist/composites/step-inspector/index.d.ts +8 -0
  681. package/dist/composites/step-inspector/layered-settings-form.d.ts +37 -0
  682. package/dist/composites/step-inspector/segmented-choice.d.ts +15 -0
  683. package/dist/composites/step-inspector/setting-values.d.ts +27 -0
  684. package/dist/composites/step-inspector/step-detail-dock.d.ts +49 -0
  685. package/dist/composites/step-inspector/step-inspector-panel.d.ts +32 -0
  686. package/dist/composites/step-inspector/step-model-row.d.ts +32 -0
  687. package/dist/composites/step-inspector/step-search.d.ts +18 -0
  688. package/dist/composites/step-timings.d.ts +10 -0
  689. package/dist/composites/step-tree.d.ts +21 -0
  690. package/dist/composites/storage-records/index.d.ts +1 -0
  691. package/dist/composites/storage-records/storage-records-panel.d.ts +6 -0
  692. package/dist/composites/stream-broker-selector.d.ts +10 -0
  693. package/dist/composites/stream-debug/stream-debug-overlay.d.ts +44 -0
  694. package/dist/composites/stream-debug/webrtc-debug-stats.d.ts +166 -0
  695. package/dist/composites/stream-panel.d.ts +252 -0
  696. package/dist/composites/table-sort.d.ts +77 -0
  697. package/dist/composites/tags/index.d.ts +9 -0
  698. package/dist/composites/tags/tag-chip.d.ts +32 -0
  699. package/dist/composites/tags/tag-entries-context.d.ts +9 -0
  700. package/dist/composites/tags/tag-filter-bar.d.ts +44 -0
  701. package/dist/composites/tags/tag-input.d.ts +10 -0
  702. package/dist/composites/tags/tag-model.d.ts +77 -0
  703. package/dist/composites/tags/tag-style-dialog.d.ts +16 -0
  704. package/dist/composites/tags/tagged-data-table.d.ts +23 -0
  705. package/dist/composites/tags/use-tag-filter.d.ts +31 -0
  706. package/dist/composites/tags/use-tag-registry.d.ts +21 -0
  707. package/dist/composites/time-window-input/TimeSpecInput.d.ts +29 -0
  708. package/dist/composites/time-window-input/TimeWindowInput.d.ts +33 -0
  709. package/dist/composites/time-window-input/index.d.ts +4 -0
  710. package/dist/composites/time-window-input/stored-clock-range.d.ts +28 -0
  711. package/dist/composites/time-window-input/time-window-model.d.ts +49 -0
  712. package/dist/composites/timeline-slider.d.ts +47 -0
  713. package/dist/composites/timezone-selector.d.ts +20 -0
  714. package/dist/composites/toggle-chip-row.d.ts +21 -0
  715. package/dist/composites/training/TrainingBaseModelPicker.d.ts +29 -0
  716. package/dist/composites/training/retrain-review-badge.d.ts +37 -0
  717. package/dist/composites/training/root-detector-placements.d.ts +50 -0
  718. package/dist/composites/training/send-frame-to-training.d.ts +7 -0
  719. package/dist/composites/training/training-collection-picker.d.ts +6 -0
  720. package/dist/composites/training/training-refusal-text.d.ts +10 -0
  721. package/dist/composites/unit-picker/UnitPicker.d.ts +16 -0
  722. package/dist/composites/unit-picker/index.d.ts +1 -0
  723. package/dist/composites/use-data-table-filter.d.ts +27 -0
  724. package/dist/composites/use-item-form-url.d.ts +27 -0
  725. package/dist/composites/version-badge.d.ts +25 -0
  726. package/dist/composites/view-switch.d.ts +24 -0
  727. package/dist/composites/webrtc-diagnostics/EndpointTestCard.d.ts +15 -0
  728. package/dist/composites/webrtc-diagnostics/HubSessionTestCard.d.ts +18 -0
  729. package/dist/composites/webrtc-diagnostics/RunReport.d.ts +11 -0
  730. package/dist/composites/webrtc-diagnostics/endpoint-probe.d.ts +56 -0
  731. package/dist/composites/webrtc-diagnostics/endpoint-test.d.ts +60 -0
  732. package/dist/composites/webrtc-diagnostics/format.d.ts +7 -0
  733. package/dist/composites/webrtc-diagnostics/ice-candidates.d.ts +66 -0
  734. package/dist/composites/webrtc-diagnostics/nat-mapping.d.ts +45 -0
  735. package/dist/composites/webrtc-diagnostics/session-run.d.ts +139 -0
  736. package/dist/composites/webrtc-diagnostics/session-verdict.d.ts +39 -0
  737. package/dist/composites/widget-panel.d.ts +33 -0
  738. package/dist/composites/widget-slot.d.ts +38 -0
  739. package/dist/composites/zones-layer/ZonesReadOnlyLayer.d.ts +12 -0
  740. package/dist/composites/zones-layer/zone-items.d.ts +29 -0
  741. package/dist/contexts/custom-field-renderers.d.ts +62 -0
  742. package/dist/contexts/device-context.d.ts +40 -0
  743. package/dist/contexts/device-quick-detail.d.ts +17 -0
  744. package/dist/contexts/instance-picker-slot.d.ts +28 -0
  745. package/dist/contexts/player-overlays.d.ts +102 -0
  746. package/dist/contexts/recorded-playback.d.ts +45 -0
  747. package/dist/contexts/system-context.d.ts +50 -0
  748. package/dist/contexts/ui-text.d.ts +49 -0
  749. package/dist/contexts/unit-preferences-from-server.d.ts +9 -0
  750. package/dist/contexts/unit-preferences.d.ts +12 -0
  751. package/dist/contexts/vod-playback.d.ts +46 -0
  752. package/dist/contexts/widget-registry.d.ts +166 -0
  753. package/dist/contexts/zone-editing.d.ts +82 -0
  754. package/dist/generated/system-hooks.d.ts +2821 -0
  755. package/dist/hls-CckKbjjD.cjs +28320 -0
  756. package/dist/hls-CfgsaJjd.js +28320 -0
  757. package/dist/hooks/device-proxy-registry.d.ts +29 -0
  758. package/dist/hooks/index.d.ts +58 -0
  759. package/dist/hooks/merge-detections.d.ts +16 -0
  760. package/dist/hooks/motion-trigger-reading.d.ts +10 -0
  761. package/dist/hooks/turn-server-cache.d.ts +77 -0
  762. package/dist/hooks/use-account-unit-preferences.d.ts +10 -0
  763. package/dist/hooks/use-broker-instances.d.ts +48 -0
  764. package/dist/hooks/use-capability-presence.d.ts +131 -0
  765. package/dist/hooks/use-cluster-nodes.d.ts +64 -0
  766. package/dist/hooks/use-debounced-string.d.ts +1 -0
  767. package/dist/hooks/use-destructive-action.d.ts +31 -0
  768. package/dist/hooks/use-device-autotrack.d.ts +10 -0
  769. package/dist/hooks/use-device-battery.d.ts +29 -0
  770. package/dist/hooks/use-device-cap-slice.d.ts +19 -0
  771. package/dist/hooks/use-device-capability.d.ts +63 -0
  772. package/dist/hooks/use-device-command.d.ts +3 -0
  773. package/dist/hooks/use-device-detections.d.ts +50 -0
  774. package/dist/hooks/use-device-features.d.ts +25 -0
  775. package/dist/hooks/use-device-list-page-size.d.ts +28 -0
  776. package/dist/hooks/use-device-network-link.d.ts +18 -0
  777. package/dist/hooks/use-device-proxy.d.ts +117 -0
  778. package/dist/hooks/use-device-removal.d.ts +26 -0
  779. package/dist/hooks/use-device-snapshot.d.ts +30 -0
  780. package/dist/hooks/use-device-webrtc.d.ts +235 -0
  781. package/dist/hooks/use-devices.d.ts +13 -0
  782. package/dist/hooks/use-doorbell-events.d.ts +20 -0
  783. package/dist/hooks/use-drag-value.d.ts +32 -0
  784. package/dist/hooks/use-event-invalidation.d.ts +1 -0
  785. package/dist/hooks/use-event-stream.d.ts +8 -0
  786. package/dist/hooks/use-instances-of-cap.d.ts +50 -0
  787. package/dist/hooks/use-is-mobile.d.ts +10 -0
  788. package/dist/hooks/use-live-buffer.d.ts +8 -0
  789. package/dist/hooks/use-live-event.d.ts +3 -0
  790. package/dist/hooks/use-lock-door-sensor.d.ts +34 -0
  791. package/dist/hooks/use-log-history.d.ts +26 -0
  792. package/dist/hooks/use-log-names.d.ts +15 -0
  793. package/dist/hooks/use-log-stream-columns.d.ts +8 -0
  794. package/dist/hooks/use-navigation.d.ts +26 -0
  795. package/dist/hooks/use-one-shot-command.d.ts +13 -0
  796. package/dist/hooks/use-owns-scroll.d.ts +18 -0
  797. package/dist/hooks/use-persisted-page-size.d.ts +18 -0
  798. package/dist/hooks/use-ptz.d.ts +128 -0
  799. package/dist/hooks/use-row-operations.d.ts +28 -0
  800. package/dist/hooks/use-stationary-overlay.d.ts +46 -0
  801. package/dist/hooks/use-system-query.d.ts +35 -0
  802. package/dist/hooks/use-url-query.d.ts +20 -0
  803. package/dist/hotkeys/combo.d.ts +24 -0
  804. package/dist/hotkeys/hotkey-provider.d.ts +50 -0
  805. package/dist/hotkeys/index.d.ts +6 -0
  806. package/dist/hotkeys/use-search-field-hotkey.d.ts +13 -0
  807. package/dist/i18n/addon-i18n.d.ts +46 -0
  808. package/dist/i18n/index.d.ts +2 -0
  809. package/dist/i18n/use-addon-t.d.ts +57 -0
  810. package/dist/icons/index.d.ts +3 -0
  811. package/dist/icons/provider-icons.d.ts +3 -0
  812. package/dist/icons/remote-control.d.ts +3 -0
  813. package/dist/icons/status-icons.d.ts +3 -0
  814. package/dist/icons-CmCk_R3w.cjs +38517 -0
  815. package/dist/icons-DZzn2TV2.js +36816 -0
  816. package/dist/index.cjs +108230 -0
  817. package/dist/index.d.ts +47 -0
  818. package/dist/index.js +105060 -0
  819. package/dist/lib/cap-error.d.ts +20 -0
  820. package/dist/lib/capability-label.d.ts +18 -0
  821. package/dist/lib/cn.d.ts +2 -0
  822. package/dist/lib/event-category-selection.d.ts +26 -0
  823. package/dist/lib/fleet-query-defaults.d.ts +75 -0
  824. package/dist/lib/format-control-datetime.d.ts +18 -0
  825. package/dist/lib/format-duration.d.ts +14 -0
  826. package/dist/lib/format-last-seen.d.ts +22 -0
  827. package/dist/lib/format-numeric.d.ts +1 -0
  828. package/dist/lib/hub-mount.d.ts +22 -0
  829. package/dist/lib/index.d.ts +22 -0
  830. package/dist/lib/listbox-position.d.ts +46 -0
  831. package/dist/lib/mf-runtime-init.d.ts +1 -0
  832. package/dist/lib/phase-config.d.ts +35 -0
  833. package/dist/lib/recorded-control-protocol.d.ts +59 -0
  834. package/dist/lib/resolve-sensor-display.d.ts +42 -0
  835. package/dist/lib/responsive.d.ts +111 -0
  836. package/dist/lib/scrub-controller.d.ts +112 -0
  837. package/dist/lib/shared-context.d.ts +30 -0
  838. package/dist/lib/subject-path.d.ts +9 -0
  839. package/dist/lib/tailwind-variants.d.ts +27 -0
  840. package/dist/lib/unit-preferences.d.ts +28 -0
  841. package/dist/lucide-icons-module.d.d.ts +10 -0
  842. package/dist/mic-off-B83GCRGo.js +45 -0
  843. package/dist/mic-off-BKguA8pd.cjs +56 -0
  844. package/dist/primitives/badge.d.ts +15 -0
  845. package/dist/primitives/bottom-sheet.d.ts +11 -0
  846. package/dist/primitives/button.d.ts +12 -0
  847. package/dist/primitives/card.d.ts +5 -0
  848. package/dist/primitives/checkbox.d.ts +3 -0
  849. package/dist/primitives/collapsible-card.d.ts +25 -0
  850. package/dist/primitives/dialog-search-focus.d.ts +11 -0
  851. package/dist/primitives/dialog.d.ts +39 -0
  852. package/dist/primitives/disclosure-chevron.d.ts +18 -0
  853. package/dist/primitives/dropdown.d.ts +27 -0
  854. package/dist/primitives/file-input.d.ts +7 -0
  855. package/dist/primitives/floating-panel.d.ts +43 -0
  856. package/dist/primitives/icon-button.d.ts +11 -0
  857. package/dist/primitives/index.d.ts +28 -0
  858. package/dist/primitives/input.d.ts +13 -0
  859. package/dist/primitives/label.d.ts +3 -0
  860. package/dist/primitives/mobile-drawer.d.ts +10 -0
  861. package/dist/primitives/password-input.d.ts +19 -0
  862. package/dist/primitives/popover.d.ts +35 -0
  863. package/dist/primitives/radio.d.ts +4 -0
  864. package/dist/primitives/scroll-area.d.ts +3 -0
  865. package/dist/primitives/select-model.d.ts +22 -0
  866. package/dist/primitives/select.d.ts +60 -0
  867. package/dist/primitives/separator.d.ts +5 -0
  868. package/dist/primitives/skeleton.d.ts +3 -0
  869. package/dist/primitives/slider.d.ts +4 -0
  870. package/dist/primitives/swipe-actions.d.ts +99 -0
  871. package/dist/primitives/switch.d.ts +7 -0
  872. package/dist/primitives/tabs-list-scroll.d.ts +19 -0
  873. package/dist/primitives/tabs.d.ts +41 -0
  874. package/dist/primitives/textarea.d.ts +6 -0
  875. package/dist/primitives/tooltip.d.ts +15 -0
  876. package/dist/primitives/top-layer-portal.d.ts +21 -0
  877. package/dist/test-setup/tag-registry.d.ts +1 -0
  878. package/dist/testing/select-option.d.ts +35 -0
  879. package/dist/theme/create-theme.d.ts +2 -0
  880. package/dist/theme/defaults.d.ts +4 -0
  881. package/dist/theme/index.cjs +102 -0
  882. package/dist/theme/index.d.ts +7 -0
  883. package/dist/theme/index.js +91 -0
  884. package/dist/theme/theme-provider.d.ts +11 -0
  885. package/dist/theme/theme-to-css.d.ts +3 -0
  886. package/dist/theme/theme-to-root-css.d.ts +10 -0
  887. package/dist/theme/tokens.cjs +7 -0
  888. package/dist/theme/tokens.d.ts +9 -0
  889. package/dist/theme/tokens.js +2 -0
  890. package/dist/theme/types.d.ts +116 -0
  891. package/dist/theme/use-theme-mode.d.ts +2 -0
  892. package/dist/theme-to-root-css-CIqt8k0j.cjs +256 -0
  893. package/dist/theme-to-root-css-Ca6MGqO9.js +227 -0
  894. package/dist/trpc-react.d.ts +27 -0
  895. package/dist/uPlot.esm-BbxBUnav.cjs +3767 -0
  896. package/dist/uPlot.esm-C_8LiAPm.js +3767 -0
  897. package/dist/ui-library-version.d.ts +1 -0
  898. package/dist/widgets/host-widgets.d.ts +9 -0
  899. package/package.json +135 -4
  900. package/src/tailwind/dominevo-theme.css +334 -0
@@ -0,0 +1,37 @@
1
+ /**
2
+ * <DeviceItemFeatures> — children-count badge + optional feature-icon
3
+ * row with hover popover.
4
+ *
5
+ * Battery / charging / sleeping pills moved to <DeviceItemPreview> in
6
+ * Phase 2 (status pills belong with the preview/snapshot, not features).
7
+ *
8
+ * What this renders is now driven by `useDeviceFeatures` — the row
9
+ * shows ONLY features whose corresponding cap is actually registered
10
+ * on the device (or pure informational markers like `battery-operated`
11
+ * / `doorbell-button` that have no cap to interrogate). The popover
12
+ * labels each row `native` / `enhanced` / `marker` based on the live
13
+ * `getBindings` entry's `kind` field. The previous conservative
14
+ * advertised/no-slice/bound trio is gone — it under-reported wired
15
+ * features (only 2 of 8 had a slice mapping) and gave operators
16
+ * misleading "advertised" gray pills on Reolink cameras that fully
17
+ * implement snapshot/reboot/ptz/intercom natively.
18
+ */
19
+ import { type ReactNode } from "react";
20
+ import type { UseDeviceProxyTrpc } from "../../hooks/use-device-proxy";
21
+ import { type DeviceItemDevice, type VariantDefaults } from "./helpers";
22
+ export interface DeviceItemFeaturesProps {
23
+ readonly trpc: UseDeviceProxyTrpc;
24
+ readonly device: DeviceItemDevice;
25
+ readonly flags: VariantDefaults;
26
+ readonly accessoryCount: number;
27
+ readonly adoptedCount: number;
28
+ readonly partCount?: number;
29
+ readonly primaryCount?: number;
30
+ /**
31
+ * When true, render the feature-icon row + popover (table view's
32
+ * "Features" column). Off in card view — only battery + +N badge
33
+ * to save horizontal space.
34
+ */
35
+ readonly showFeatureRow?: boolean;
36
+ }
37
+ export declare function DeviceItemFeatures({ trpc, device, flags, accessoryCount, adoptedCount, partCount, primaryCount, showFeatureRow }: DeviceItemFeaturesProps): ReactNode;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * <DeviceItemHeader> — the leftmost segment of the row: chevron
3
+ * (when accordion enabled + has children), lead icon, name + meta-line
4
+ * (`#id · stableId-tail`), parent badge.
5
+ *
6
+ * Two layout modes:
7
+ * - default (horizontal): `flex: 1; min-w-0` — eats every leftover
8
+ * horizontal pixel; name truncates with ellipsis when the row gets
9
+ * narrow. Used by table view + minimal in-panel lists.
10
+ * - `stacked=true`: name is the visual anchor of a vertical card. No
11
+ * truncation, two-line clamp so longer names wrap instead of
12
+ * collapsing into "Camera vera…". Typography is larger /
13
+ * heavier so the name dominates the secondary metadata that sits
14
+ * below it.
15
+ */
16
+ import { type ReactNode } from "react";
17
+ import type { UseDeviceProxyTrpc } from "../../hooks/use-device-proxy";
18
+ import type { DeviceNameForm } from "../device-name";
19
+ import type { DeviceItemDevice, DeviceItemParent, DeviceItemVariant, VariantDefaults } from "./helpers";
20
+ /**
21
+ * How the name behaves when it does not fit.
22
+ * - `truncate` — one line, ellipsis, the header shrinks with its container.
23
+ * - `scroll` — one line, FULL text below `md`; the enclosing column is
24
+ * uncapped there, so the name widens it and the table scrolls.
25
+ */
26
+ export interface DeviceItemHeaderProps {
27
+ readonly trpc: UseDeviceProxyTrpc;
28
+ readonly device: DeviceItemDevice;
29
+ readonly variant: DeviceItemVariant;
30
+ readonly flags: VariantDefaults;
31
+ readonly parent: DeviceItemParent | null;
32
+ readonly integrationIcon: ReactNode | null;
33
+ readonly hasChildren: boolean;
34
+ readonly expanded: boolean;
35
+ readonly onToggleExpand: () => void;
36
+ readonly onNavigateToParent: (id: number) => void;
37
+ /**
38
+ * Vertical-card layout. When true, the name is rendered as the card's
39
+ * primary anchor: bigger font, heavier weight, line-clamp-2 instead of
40
+ * single-line truncation, and the inline integrationIcon flips above
41
+ * the name as a small lead-line so the name's full width is name-only.
42
+ */
43
+ readonly stacked?: boolean;
44
+ /**
45
+ * `nested` when this row is already drawn under its parent. Otherwise
46
+ * `compact`: a child shown on its own names the container.
47
+ */
48
+ readonly nameForm?: DeviceNameForm;
49
+ /** A last secondary line under the name (the table row's tag chips, D1054). */
50
+ readonly below?: ReactNode;
51
+ /** Below `md` the name is shown in FULL and may wrap; from `md` up it is one
52
+ * truncated line. The table row sets it: a phone row never cuts a name. */
53
+ readonly fullNameBelowMd?: boolean;
54
+ }
55
+ export declare function DeviceItemHeader({ trpc, device, variant, flags, parent, integrationIcon, hasChildren, expanded, onToggleExpand, onNavigateToParent, stacked, nameForm, below, fullNameBelowMd }: DeviceItemHeaderProps): ReactNode;
@@ -0,0 +1,395 @@
1
+ /**
2
+ * Shared types + helpers for the DeviceItem composite. Lives outside
3
+ * the orchestrator file so every sub-component can import without
4
+ * cycles.
5
+ *
6
+ * - `DeviceItemDevice` / `DeviceItemParent` / `DeviceItemKind` —
7
+ * wire-shape mirrors of the `DeviceInfo` row.
8
+ * - `DeviceItemVariant` + `VariantDefaults` + `DEFAULTS` +
9
+ * `resolveFlags` — the variant→flags resolution pipeline.
10
+ * - `deviceLeadIcon` — icon resolution for the row's lead icon
11
+ * (delegated to the exhaustive `device-meta` maps).
12
+ * - `FEATURE_ICON_MAP` / `FEATURE_LABEL_MAP` — for the features
13
+ * popover (NEW in Phase 1).
14
+ * - Capability gates: `maySupportSwitch`, `isAccessoryChild`,
15
+ * `hasMotionTriggerFeature`.
16
+ * - `shortStableId` — display-token for stableId tail.
17
+ */
18
+ import type { RowOperationState } from "../../hooks/use-row-operations";
19
+ import { type ChildLayout, type DeviceDisplayOverride, type RoleDisplayDefault, type SourceInfo } from "@dominevo/types";
20
+ import type { LucideIcon } from "lucide-react";
21
+ import type { ReactNode } from "react";
22
+ import type { DeviceNameForm } from "../device-name";
23
+ import type { UseDeviceProxyTrpc } from "../../hooks/use-device-proxy";
24
+ import { type UiTextFn } from "../../contexts/ui-text";
25
+ /**
26
+ * Mirror of the canonical `DeviceInfo` wire shape (see
27
+ * `packages/types/src/capabilities/device-manager.cap.ts`). Every
28
+ * `deviceManager.listAll` / `getDevice` / `getChildren` row is
29
+ * already this exact shape — call sites pass the raw row through
30
+ * without remapping. Lives here as a structural type (not an
31
+ * import) so this composite stays decoupled from `@dominevo/types`.
32
+ */
33
+ export interface DeviceItemDevice {
34
+ readonly id: number;
35
+ readonly stableId: string;
36
+ readonly addonId: string;
37
+ readonly type: string;
38
+ readonly name: string;
39
+ readonly online: boolean;
40
+ /** Soft-disable flag — `true` dims the row + skips live fetches.
41
+ * Matches `DeviceInfo.disabled` so the wire row passes through. */
42
+ readonly disabled: boolean;
43
+ readonly parentDeviceId: number | null;
44
+ /** The integration that CREATED this device — may differ from `addonId`,
45
+ * the addon that owns and SERVES it (e.g. a composed device is created
46
+ * under the "Blocks" integration but served by the `composer` addon).
47
+ * Mirrors `DeviceInfo.integrationId` so the wire row passes through. */
48
+ readonly integrationId?: string | null;
49
+ /** Optional `DeviceRole` string. Present ⇒ this is an accessory. */
50
+ readonly role?: string | null;
51
+ /** DeviceFeature strings — gates BatteryBadge etc. */
52
+ readonly features?: readonly string[];
53
+ /** True for ICameraDevice instances — gates snapshot popover. */
54
+ readonly isCamera?: boolean;
55
+ /** Upstream-system identity (dispatch key + system tag + optional uniqueId).
56
+ * Flows from `DeviceInfo.sourceInfo` via structural cast / parse;
57
+ * optional so rows from providers that pre-date SourceInfo still work.
58
+ * Live rendering hints (unit, precision) come from the cap STATUS SLICE for
59
+ * generic numeric-sensor, or canonical constants in ROLE_DESCRIPTOR for typed
60
+ * roles; an operator's per-device customization rides `display` (below). */
61
+ readonly sourceInfo?: SourceInfo;
62
+ /** Operator-authored per-device display override (icon/label/unit/precision/
63
+ * hidden). Mirrors `DeviceInfo.display` so the wire row passes through. The
64
+ * renderers resolve it via `resolveSensorDisplay` (unit/precision, render-time
65
+ * conversion) + `displayRoleLabel` / `deviceLeadIcon` (label/icon); `hidden`
66
+ * filters the row out of list surfaces. Absent ⇒ role/slice defaults. */
67
+ readonly display?: DeviceDisplayOverride;
68
+ /** Operator tags (D1054). Mirrors `DeviceInfo.tags`; absent = none. */
69
+ readonly tags?: readonly string[];
70
+ /** Soft-link to another device id. For a CONTAINER device this is the
71
+ * LEGACY picker-chosen primary child (numeric id); the row/hero resolve the
72
+ * primary child via `resolveContainerPrimary(children, linkDeviceId)`.
73
+ * Nullable: an explicit null means "no override → priority default".
74
+ * Mirrors `DeviceInfo.linkDeviceId` so the wire row passes through. */
75
+ readonly linkDeviceId?: number | null;
76
+ /** Durable primary-child override for a CONTAINER device, keyed on the
77
+ * chosen child's re-sync/rename-stable `entityId`. Preferred over the
78
+ * numeric `linkDeviceId` in `resolveContainerPrimary` (survives a re-sync
79
+ * that reallocates the child's numeric id). Mirrors
80
+ * `DeviceInfo.primaryChildEntityId`. */
81
+ readonly primaryChildEntityId?: string | null;
82
+ /** Container-level layout hint: assigns specific accessory children to named
83
+ * accordion sections (with optional intra-section order). Each entry's
84
+ * `childKey` is the child's re-sync-stable accessory `stableIdSuffix`; a child
85
+ * matches when `child.stableId === ${this.stableId}-${childKey}`. Mirrors
86
+ * `DeviceInfo.childLayout` so the wire row passes through. Absent ⇒ no layout
87
+ * declared (all children render in the plain list). Consumed by
88
+ * `groupChildrenByLayout` for the device-detail list + the table row
89
+ * expansion. */
90
+ readonly childLayout?: ChildLayout;
91
+ /** The container's provider-declared primary-child preference (accessory
92
+ * `childKey`s, most preferred first). Mirrors `DeviceInfo.primaryChildPreference`. */
93
+ readonly primaryChildPreference?: readonly string[];
94
+ /** Hardware + identity blob (manufacturer / model / firmware / sn / uid /
95
+ * mac / …). Driver-populated; keys are free-form and values arbitrary, so
96
+ * consumers MUST treat them defensively (string-coerce for display, skip
97
+ * non-string/empty). Mirrors `DeviceInfo.metadata` so the wire row passes
98
+ * through unchanged. Absent/null ⇒ no identity info advertised. */
99
+ readonly metadata?: Readonly<Record<string, unknown>> | null;
100
+ }
101
+ export interface DeviceItemParent {
102
+ readonly id: number;
103
+ readonly name: string;
104
+ /**
105
+ * Type of the parent device. Optional — when provided, callers can
106
+ * distinguish "adopted under an nvr/gateway" from a container's part.
107
+ */
108
+ readonly type?: string;
109
+ /** The container's resolved primary child, when this parent is a container. */
110
+ readonly primaryChildId?: number | null;
111
+ }
112
+ export type DeviceItemKind = "top-level" | "adopted" | "accessory" | "part" | "primary";
113
+ /** What `deriveDeviceKind` reads off a child row. */
114
+ export interface DeviceKindSource {
115
+ readonly id: number;
116
+ readonly parentDeviceId?: number | null;
117
+ readonly role?: string | null;
118
+ readonly type?: string;
119
+ }
120
+ /** Parent facts that decide whether a role-less child was adopted or is a part. */
121
+ export interface DeviceKindContext {
122
+ readonly parentType?: string | null;
123
+ readonly primaryChildId?: number | null;
124
+ }
125
+ /**
126
+ * A child with no role is "adopted" only when its parent is an NVR or a
127
+ * gateway. A container's child is a part of the container, and the child
128
+ * the container card draws (`primaryChildId`) is its primary.
129
+ */
130
+ export declare function deriveDeviceKind(device: DeviceKindSource, context?: DeviceKindContext): DeviceItemKind;
131
+ export type DeviceItemVariant = "minimal" | "compact" | "expanded";
132
+ export type DeviceItemView = "card" | "table";
133
+ export interface DeviceItemProps {
134
+ readonly trpc: UseDeviceProxyTrpc;
135
+ readonly device: DeviceItemDevice;
136
+ readonly variant?: DeviceItemVariant;
137
+ /**
138
+ * Render mode. `'card'` (default) = flex row + optional accordion
139
+ * below. `'table'` = `<tr>` with one `<td>` per logical column.
140
+ * Phase 2's `<DeviceList>` wrapper drives this prop; Phase 1
141
+ * scaffolds both branches with no current consumer using table.
142
+ */
143
+ readonly view?: DeviceItemView;
144
+ /**
145
+ * When true, the row is rendered as an accessory of a parent (Phase 2
146
+ * nested-only mode). Adds a subtle background tint + indent on the
147
+ * first cell. Has no effect on `view='card'`. Caller provides `true`
148
+ * only for the accessory passes inside <DeviceList>.
149
+ */
150
+ readonly isAccessoryRow?: boolean;
151
+ /**
152
+ * Name form override. A row listed INSIDE its parent's own list passes
153
+ * `'nested'` (with `parent`) so the name reads as the bare noun, never
154
+ * `"<Parent> · <Noun>"`. Omitted: `'nested'` for an accessory row, else
155
+ * `'compact'`.
156
+ */
157
+ readonly nameForm?: DeviceNameForm;
158
+ /**
159
+ * Indent level for the `<td>` first cell in `view='table'`. Controls
160
+ * `pl-N` on the name cell so adopted-under-hub rows can be visually
161
+ * nested below their parent without forcing the accessory tint.
162
+ *
163
+ * 0 → `pl-2` (top-level, no parent)
164
+ * 1 → `pl-6` (adopted under a hub/nvr — visual hierarchy hint)
165
+ * 2 → `pl-8` (accessory under any parent — strongest indent)
166
+ *
167
+ * When omitted, the orchestrator derives `2` from `isAccessoryRow` and
168
+ * otherwise defaults to `0`. Caller may override (e.g. <DeviceList>
169
+ * promoting "adopted-under-hub" rows from 0 → 1).
170
+ */
171
+ readonly indentLevel?: 0 | 1 | 2;
172
+ /**
173
+ * Controlled expand state for the children-accordion chevron. When
174
+ * BOTH `expanded` and `onToggleExpand` are passed, DeviceItem becomes
175
+ * fully controlled; otherwise it falls back to internal state. Used
176
+ * by `<TableRowGroup>` to lift expand state to the parent so the
177
+ * accessory `<tr>` rows can render based on the same flag the chevron
178
+ * flips.
179
+ */
180
+ readonly expanded?: boolean;
181
+ readonly onToggleExpand?: () => void;
182
+ readonly integrationIcon?: ReactNode;
183
+ readonly parent?: DeviceItemParent | null;
184
+ readonly showIntegrationIcon?: boolean;
185
+ readonly showParentBadge?: boolean;
186
+ readonly showSnapshot?: boolean;
187
+ readonly showBattery?: boolean;
188
+ readonly showStableId?: boolean;
189
+ readonly showId?: boolean;
190
+ readonly showSwitchToggle?: boolean;
191
+ readonly showChildrenAccordion?: boolean;
192
+ readonly children?: readonly DeviceItemDevice[];
193
+ readonly onNavigate?: (deviceId: number) => void;
194
+ readonly className?: string;
195
+ /**
196
+ * Optional trailing per-row control rendered alongside the built-in
197
+ * `<DeviceItemActions>` (both card + table views). Lets a caller
198
+ * inject a context-specific affordance — e.g. the device-export
199
+ * panel's per-row Expose/Exposed toggle — without the composite
200
+ * knowing anything about that domain. Omitted ⇒ no extra control,
201
+ * so every existing call site renders unchanged.
202
+ */
203
+ readonly renderRowAction?: (device: DeviceItemDevice) => ReactNode;
204
+ /**
205
+ * Built-in confirmed delete (TABLE feature). When provided, the merged
206
+ * previewActions cell renders a red trash button that opens the shared
207
+ * centered confirm dialog and calls `onDelete(device)` only on confirm.
208
+ * Cap/feature-agnostic — delete is generic. Context gating is "consumer
209
+ * passes the handler or not": omitted ⇒ no trash, zero layout change.
210
+ * No effect on `view='card'` (card delete is a deliberate follow-up).
211
+ */
212
+ readonly onDelete?: (device: DeviceItemDevice) => void;
213
+ /**
214
+ * An operation in flight on this row (table view). `pending` dims the row,
215
+ * swaps its actions for a "Removing…" indicator and withholds the row click;
216
+ * `failed` keeps the row interactive and shows the error inline. Comes from
217
+ * `useDeviceRemoval().rowOperation`.
218
+ */
219
+ readonly operation?: RowOperationState;
220
+ /**
221
+ * When provided, renders a leading checkbox for row selection.
222
+ * Only passed to top-level rows (accessory sub-rows omit it).
223
+ * Omitted ⇒ no checkbox, zero layout change for existing callers.
224
+ */
225
+ readonly selection?: {
226
+ readonly selected: boolean;
227
+ readonly onToggle: () => void;
228
+ };
229
+ /**
230
+ * When `true` (and `selection` is provided), a click anywhere on the
231
+ * row's primary body toggles selection instead of navigating — the
232
+ * batch-mode interaction (spec §6). The row also gains an accessible
233
+ * pressed affordance (`role="button"` + `aria-pressed`). When omitted
234
+ * or `false`, the row navigates on click as usual; the leading
235
+ * checkbox remains the only selection surface. The checkbox always
236
+ * toggles regardless of this flag (and never bubbles to navigate).
237
+ */
238
+ readonly rowClickSelects?: boolean;
239
+ /**
240
+ * Table-view column gates (context-configured). Default `true` so every
241
+ * existing call site renders all cells. When `false`, the corresponding
242
+ * `<td>` is omitted entirely (the matching `<th>` is gated in the parent
243
+ * `TableLayout`, so header + cells stay in lock-step). No effect on
244
+ * `view='card'`.
245
+ */
246
+ readonly showTypeCell?: boolean;
247
+ /** Render the Hardware (manufacturer/model) `<td>` (context-gated). Default
248
+ * `true` so existing call sites render it; the parent `TableLayout` gates the
249
+ * matching `<th>` so header + cell stay in lock-step. No effect on `'card'`. */
250
+ readonly showManufacturerCell?: boolean;
251
+ readonly showFeaturesCell?: boolean;
252
+ }
253
+ export interface VariantDefaults {
254
+ readonly showIntegrationIcon: boolean;
255
+ readonly showParentBadge: boolean;
256
+ readonly showSnapshot: boolean;
257
+ readonly showBattery: boolean;
258
+ readonly showStableId: boolean;
259
+ readonly showId: boolean;
260
+ readonly showSwitchToggle: boolean;
261
+ readonly showChildrenAccordion: boolean;
262
+ }
263
+ export declare function resolveFlags(props: DeviceItemProps): VariantDefaults;
264
+ /**
265
+ * The row's lead icon — the ONE resolution order, the same one
266
+ * `resolveSensorDisplay` applies to unit and precision:
267
+ *
268
+ * device override → operator role default → built-in role glyph → type glyph
269
+ *
270
+ * `roleDefaults` is what the nearest `RoleDisplayDefaultsProvider` publishes;
271
+ * callers outside a provider pass nothing and the second level is skipped.
272
+ * Each level FALLS THROUGH when it names a glyph the registry cannot draw —
273
+ * an unknown key at any level must never leave the row without an icon, and
274
+ * must never shadow a lower level that would have drawn one.
275
+ *
276
+ * "Set as default for all X sensors" writes the second level. It was written
277
+ * for a year and read by nothing: this function went straight from the device
278
+ * override to `DEVICE_ROLE_META`.
279
+ */
280
+ export declare function deviceLeadIcon<D extends DeviceLeadIconSource>(device: D, roleDefaults?: Readonly<Record<string, RoleDisplayDefault>>): LucideIcon;
281
+ /** What the lead icon reads off a device: its type, its role and the operator's override. */
282
+ export type DeviceLeadIconSource = Pick<DeviceItemDevice, "type" | "role" | "display">;
283
+ /**
284
+ * Role label for a device row, honouring an operator's per-device `display.label`
285
+ * override (falls back to the `DEVICE_ROLE_META` label). NOT the device name —
286
+ * this is the small secondary role caption on accessory/sensor rows.
287
+ */
288
+ export declare function displayRoleLabel(device: DeviceItemDevice, t?: UiTextFn): string;
289
+ /**
290
+ * Strip a redundant parent-name prefix from a child device's name. Providers
291
+ * name container children fully-qualified so the entity reads cleanly on its
292
+ * own detail page / exports / Alexa / the parent badge — Dreame joins with a
293
+ * plain space (`"<Parent> <Label>"`), Ecowitt with an em-dash
294
+ * (`"<Parent> — <Label>"`). Under the parent row that prefix is noise, so this
295
+ * trims it for the in-list label ONLY; the underlying `device.name` is never
296
+ * mutated.
297
+ *
298
+ * The `" — "` separator is tried BEFORE the plain space so an Ecowitt child
299
+ * (`"Ecowitt Gateway — gateway"`) yields `"gateway"` rather than `"— gateway"`.
300
+ * Matching is case-insensitive and also accepts `" - "` and `": "`. A missing
301
+ * parent name, a name that doesn't carry the prefix, a name equal to the
302
+ * parent's, or one with nothing after the prefix is returned verbatim.
303
+ */
304
+ export declare function stripParentNamePrefix(name: string, parentName: string): string;
305
+ /**
306
+ * Display name for a child device rendered UNDER its container/parent row.
307
+ * Precedence: an operator's explicit per-device `display.label` wins over the
308
+ * auto-strip (mirrors {@link displayRoleLabel}); otherwise the parent-name
309
+ * prefix is stripped via {@link stripParentNamePrefix}. Shared by the
310
+ * device-detail children list AND the devices list-table so both surfaces
311
+ * render the bare child label identically.
312
+ */
313
+ export declare function childListName(child: Pick<DeviceItemDevice, "name" | "display">, parentName: string): string;
314
+ /**
315
+ * Icon for each `DeviceFeature` advertised on a device row. Used by
316
+ * the features popover (`<DeviceItemFeatures>`) to render compact
317
+ * feature chips. Keys mirror `DeviceFeature` enum string values from
318
+ * `@dominevo/types/device/device-type.ts`.
319
+ */
320
+ export declare const FEATURE_ICON_MAP: Readonly<Record<string, LucideIcon>>;
321
+ export declare const FEATURE_LABEL_MAP: Readonly<Record<string, string>>;
322
+ /**
323
+ * Maps a wire-level `DeviceFeature` string to the cap name registered
324
+ * in `deviceManager.getBindings` entries. A feature with NO entry here
325
+ * is a pure informational marker (no cap to interrogate) — render but
326
+ * without a native/enhanced label.
327
+ *
328
+ * Source of truth: live `getBindings` capNames observed against a
329
+ * Reolink camera (snapshot, reboot, ptz, ptz-autotrack, intercom,
330
+ * motion-trigger). Cap-name strings cross-checked against the
331
+ * `name:` fields in `packages/types/src/capabilities/*.cap.ts`. When
332
+ * a new feature ↔ cap pairing goes live, add the row here so the
333
+ * popover picks it up.
334
+ *
335
+ * Pure markers (no cap to bind, intentionally absent):
336
+ * - `battery-operated` — exposed as a plain `device.features` flag;
337
+ * the runtime-state slice lives under the `battery` cap which has
338
+ * its own dedicated reactive surface (`useDeviceBattery`).
339
+ * - `doorbell-button` — UI marker only; the actual press events
340
+ * flow through the `doorbell` cap which is already exercised by
341
+ * `useDoorbellEvents`. Distinct from the marker.
342
+ */
343
+ export declare const FEATURE_TO_CAP_NAME: Readonly<Record<string, string>>;
344
+ export declare function maySupportSwitch(device: DeviceItemDevice): boolean;
345
+ export declare function isAccessoryChild(device: DeviceItemDevice): boolean;
346
+ export interface ClassifiedChildren {
347
+ readonly adopted: readonly DeviceItemDevice[];
348
+ readonly parts: readonly DeviceItemDevice[];
349
+ readonly primary: readonly DeviceItemDevice[];
350
+ readonly accessories: readonly DeviceItemDevice[];
351
+ }
352
+ /** The child a container draws, or null when this parent is not a container. */
353
+ export declare function containerPrimaryChildId(parent: Pick<DeviceItemDevice, "type" | "stableId" | "linkDeviceId" | "primaryChildEntityId" | "primaryChildPreference">, children: readonly DeviceItemDevice[]): number | null;
354
+ /** Split a parent's children into adopted, parts, the primary, and accessories. */
355
+ export declare function classifyDeviceChildren(parent: Pick<DeviceItemDevice, "type" | "stableId" | "linkDeviceId" | "primaryChildEntityId" | "primaryChildPreference">, children: readonly DeviceItemDevice[]): ClassifiedChildren;
356
+ /** Parent badge for one device, including its type and (for a container) primary child. */
357
+ export declare function deviceItemParentOf(device: Pick<DeviceItemDevice, "id" | "name" | "stableId" | "type" | "linkDeviceId" | "primaryChildEntityId" | "primaryChildPreference">, children: readonly DeviceItemDevice[]): DeviceItemParent;
358
+ /** One parent record per device, so a child row can tell a hub from a container. */
359
+ export declare function deviceItemParentIndex(devices: readonly DeviceItemDevice[]): ReadonlyMap<number, DeviceItemParent>;
360
+ /** The parent line under a child row. Hub, NVR and gateway stay "adopted by". */
361
+ export declare function parentRelationText(kind: DeviceItemKind, parentType: string | null | undefined, t: UiTextFn, name: string): string;
362
+ export declare function hasMotionTriggerFeature(device: DeviceItemDevice): boolean;
363
+ /**
364
+ * Effective online state for a device row's status dot.
365
+ *
366
+ * A CONTAINER device renders AS its PRIMARY child (same row control via
367
+ * `ContainerPrimaryInline`, same hero via `ContainerPrimaryHero`). Its
368
+ * reachability dot should therefore follow that primary child's `online`,
369
+ * NOT "any child online" — so the dot and the control gate agree (the
370
+ * control is bound to the same primary child via `resolveContainerPrimary`).
371
+ *
372
+ * Resolution reuses the SAME `resolveContainerPrimary(children, linkDeviceId)`
373
+ * helper the row control uses, then reads the resolved child row's `online`.
374
+ * Degrades gracefully: a non-container, a container with no children, or a
375
+ * container with no resolvable primary child falls back to `device.online`
376
+ * (never crashes, never forces offline).
377
+ */
378
+ export declare function effectiveOnline(device: DeviceItemDevice, containerChildren: readonly DeviceItemDevice[] | undefined): boolean;
379
+ /**
380
+ * The type a CONTAINER should DISPLAY as (and be FILTERED by): its primary
381
+ * child's type, since a container renders as that child (a vacuum container
382
+ * should read + filter as `vacuum`, not the structural `container`). Mirrors
383
+ * {@link effectiveOnline} — same primary-child resolution. Non-containers, and
384
+ * containers with no resolvable primary child, fall back to `device.type`.
385
+ */
386
+ export declare function effectiveType(device: DeviceItemDevice, containerChildren: readonly DeviceItemDevice[] | undefined): string;
387
+ /**
388
+ * The device whose lead ICON a row should display: a Container shows its
389
+ * primary CHILD's icon (the child's type + role drive the glyph, e.g. a vacuum
390
+ * rather than the generic container box). Mirrors {@link effectiveType}, but
391
+ * returns the resolved device so {@link deviceLeadIcon} also picks up the
392
+ * child's role. Falls back to the device itself for non-containers / no primary.
393
+ */
394
+ export declare function effectiveIconDevice(device: DeviceItemDevice, containerChildren: readonly DeviceItemDevice[] | undefined): DeviceItemDevice;
395
+ export declare function shortStableId(stableId: string): string;
@@ -0,0 +1,11 @@
1
+ import { type ReactNode } from "react";
2
+ import { type DeviceItemProps } from "./helpers";
3
+ export type { ChildLayoutSection, GroupedChildren } from "./child-layout";
4
+ export { groupChildrenByLayout } from "./child-layout";
5
+ export { ChildSectionAccordion } from "./child-section-accordion";
6
+ export { ContainerChildrenProvider, useContainerChildren } from "./container-children-context";
7
+ export { RoleDisplayDefaultsFromServer, RoleDisplayDefaultsProvider, useRoleDisplayDefaults, type RoleDisplayDefaults } from "./role-display-defaults-context";
8
+ export type { DeviceItemDevice, DeviceItemKind, DeviceItemParent, DeviceItemProps, DeviceItemVariant, DeviceItemView } from "./helpers";
9
+ export type { DeviceLeadIconSource } from "./helpers";
10
+ export { childListName, classifyDeviceChildren, deriveDeviceKind, deviceItemParentIndex, deviceItemParentOf, deviceLeadIcon, stripParentNamePrefix } from "./helpers";
11
+ export declare function DeviceItem(props: DeviceItemProps): ReactNode;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * The trailing value of a Sensor or model-drawn row, drawn from the projected row model
3
+ * (`heroLayout.getRowModels`, D1023) — the same model the device page draws, so the
4
+ * row and the card never disagree on what a device shows or what can be edited.
5
+ *
6
+ * - a simple sensor: its measurement, through the operator's display resolution
7
+ * (unit preference, device override, role default, precision);
8
+ * - a control, button, script or automation device: its primary control and the
9
+ * extras the model names (a number field with or without bounds, a choice, a text
10
+ * field, a button, a switch). A number is shown and typed in the display unit and
11
+ * sent in the base unit, exactly as the control panel does;
12
+ * - a device with no control the row offers (a date, an update, an event source):
13
+ * the model's own status word, read-only.
14
+ *
15
+ * While the row model is unanswered nothing is drawn (not-yet-known never looks like
16
+ * "no value", D315); a device the server has no row model for draws nothing either.
17
+ */
18
+ import { type HeroMeasurement } from "@dominevo/types";
19
+ import { type ReactNode } from "react";
20
+ import { type HeroLang } from "../hero-model/hero-model-view";
21
+ import { type ReadingDisplaySubject } from "../hero-model/measurement-display";
22
+ import type { DeviceItemDevice } from "./helpers";
23
+ /** What of a row's device the row value reads. */
24
+ export type RowValueDevice = Pick<DeviceItemDevice, "id" | "role" | "display" | "sourceInfo" | "type">;
25
+ export interface RowMeasurementProps {
26
+ readonly measurement: HeroMeasurement;
27
+ readonly lang: HeroLang;
28
+ readonly subject: ReadingDisplaySubject | null;
29
+ }
30
+ /** A measurement as the row reads it: the value in its tone, then the unit small and muted. */
31
+ export declare function RowMeasurement({ measurement, lang, subject }: RowMeasurementProps): ReactNode;
32
+ export interface ModelRowReadingProps {
33
+ readonly device: RowValueDevice;
34
+ /** Drawn when the row model carries no measurement for the device. */
35
+ readonly fallback: ReactNode;
36
+ }
37
+ /** A Sensor row's value, from the row model's measurement. */
38
+ export declare function ModelRowReading({ device, fallback }: ModelRowReadingProps): ReactNode;
39
+ export interface ModelRowControlProps {
40
+ readonly device: RowValueDevice;
41
+ }
42
+ /**
43
+ * A model-drawn row's controls: the row model's primary control then its extras, or
44
+ * the status word when the model offers none. A write shows its value at once and
45
+ * keeps the control live (no lock while it travels), as the control panel does; a
46
+ * refused write is reported and the read-back value returns.
47
+ */
48
+ export declare function ModelRowControl({ device }: ModelRowControlProps): ReactNode;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from "react";
2
+ export interface OpenPageQuickActionProps {
3
+ readonly deviceId: number;
4
+ readonly onOpenPage: (deviceId: number) => void;
5
+ }
6
+ export declare function OpenPageQuickAction({ deviceId, onOpenPage }: OpenPageQuickActionProps): ReactNode;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * <DeviceItemPreview> — type-dispatched preview slot.
3
+ *
4
+ * Renders, in order:
5
+ * 1. Status pills — battery %, charging plug, sleeping moon (when
6
+ * the device exposes a battery slice). These were previously in
7
+ * the Features cell; they belong here because they describe the
8
+ * preview-relevant state (a sleeping cam can't snapshot, a low
9
+ * battery cam may drop frames).
10
+ * 2. Snapshot thumbnail — a small camera snapshot that expands into a
11
+ * portal-positioned enlarged preview on hover/focus (shared
12
+ * `HoverZoomImage`). The portal + flip-on-collision keep the preview
13
+ * from being clipped by the device-grid's overflow ancestors. Gated
14
+ * on `enabled` (camera + showSnapshot flag) AND device.online for the
15
+ * live snapshot fetch; offline/unfetched shows a placeholder box so
16
+ * the cell stays compact.
17
+ *
18
+ * The status-pills section renders for ANY battery-operated device,
19
+ * camera or otherwise; the snapshot thumbnail stays gated on cameras.
20
+ */
21
+ import { type ReactNode } from "react";
22
+ import type { UseDeviceProxyTrpc } from "../../hooks/use-device-proxy";
23
+ import type { DeviceItemDevice } from "./helpers";
24
+ export interface DeviceItemPreviewProps {
25
+ readonly trpc: UseDeviceProxyTrpc;
26
+ readonly device: DeviceItemDevice;
27
+ readonly status: "online" | "offline" | "disabled";
28
+ /**
29
+ * Render gate for the snapshot thumbnail (typically
30
+ * `flags.showSnapshot && isCamera` from the orchestrator). Even when
31
+ * `false`, the component still renders the status-pills row when
32
+ * `showStatusPills` is on.
33
+ */
34
+ readonly enabled: boolean;
35
+ /**
36
+ * When true, render the battery / charging / sleeping pills next to
37
+ * the snapshot thumbnail. Driven by table view (where the Preview cell
38
+ * is the natural home for status indicators); off in card view to keep
39
+ * the row narrow.
40
+ */
41
+ readonly showStatusPills?: boolean;
42
+ }
43
+ export declare function DeviceItemPreview({ trpc, device, status, enabled, showStatusPills }: DeviceItemPreviewProps): ReactNode;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * <RebootQuickAction> — a dedicated row-level reboot affordance.
3
+ *
4
+ * Replaces the old kebab-nested "Reboot device" item: reboot now has its
5
+ * own icon button in the row, alongside the PTZ quick-action. Because
6
+ * reboot is destructive and low-frequency, the button is NOT a one-click
7
+ * action — clicking it opens a confirm modal (the shared `Dialog`
8
+ * primitive, same surface `ConfirmActionButton` uses). The cap is only
9
+ * invoked once the operator confirms.
10
+ *
11
+ * Cap-gating mirrors the former MoreActionsMenu exactly: render only when
12
+ * the device proxy has resolved AND the `reboot` cap is bound. The caller
13
+ * pre-gates on the `rebootable` feature; this atom self-gates on the live
14
+ * cap binding, so a device that claims the feature without a bound
15
+ * provider still renders nothing.
16
+ *
17
+ * The reboot call shows a busy/disabled state while in flight, closes the
18
+ * modal on success, and surfaces errors inline at the dialog's bottom.
19
+ * `stopPropagation` on the trigger keeps the row's navigate-to-detail
20
+ * handler from firing.
21
+ */
22
+ import { type ReactNode } from "react";
23
+ import type { UseDeviceProxyTrpc } from "../../hooks/use-device-proxy";
24
+ export interface RebootQuickActionProps {
25
+ readonly trpc: UseDeviceProxyTrpc;
26
+ readonly deviceId: number;
27
+ /** Device display name — woven into the confirm-modal body. */
28
+ readonly deviceName: string;
29
+ }
30
+ export declare function RebootQuickAction({ trpc, deviceId, deviceName }: RebootQuickActionProps): ReactNode;