@dominevo/ui-library 0.0.0-stage → 0.1.0

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 (898) hide show
  1. package/CHANGELOG.md +1363 -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-Bj_BN2Ar.js +1052 -0
  14. package/dist/SceneMonitorEditor-CU24Au1r.cjs +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 +49 -0
  70. package/dist/composites/charts/TimeSeriesChart.d.ts +57 -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 +53 -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 +25 -0
  195. package/dist/composites/device-card/connected/PrimaryTrend.d.ts +10 -0
  196. package/dist/composites/device-card/connected/SensorTrend.d.ts +19 -0
  197. package/dist/composites/device-card/connected/TrendReadout.d.ts +27 -0
  198. package/dist/composites/device-card/connected/alarm-model.d.ts +8 -0
  199. package/dist/composites/device-card/connected/appliance-model.d.ts +36 -0
  200. package/dist/composites/device-card/connected/cap-card-kinds.d.ts +13 -0
  201. package/dist/composites/device-card/connected/climate-model.d.ts +42 -0
  202. package/dist/composites/device-card/connected/coarse-duration.d.ts +3 -0
  203. package/dist/composites/device-card/connected/connected-card-kind.d.ts +17 -0
  204. package/dist/composites/device-card/connected/consumable-card-item.d.ts +10 -0
  205. package/dist/composites/device-card/connected/control-model.d.ts +8 -0
  206. package/dist/composites/device-card/connected/energy-day.d.ts +57 -0
  207. package/dist/composites/device-card/connected/energy-model.d.ts +102 -0
  208. package/dist/composites/device-card/connected/fan-model.d.ts +42 -0
  209. package/dist/composites/device-card/connected/heat-pump-model.d.ts +22 -0
  210. package/dist/composites/device-card/connected/humidifier-model.d.ts +7 -0
  211. package/dist/composites/device-card/connected/ir-transmitter-model.d.ts +46 -0
  212. package/dist/composites/device-card/connected/lock-model.d.ts +11 -0
  213. package/dist/composites/device-card/connected/measurement-label.d.ts +4 -0
  214. package/dist/composites/device-card/connected/measurement-since.d.ts +10 -0
  215. package/dist/composites/device-card/connected/media-model.d.ts +18 -0
  216. package/dist/composites/device-card/connected/pet-model.d.ts +13 -0
  217. package/dist/composites/device-card/connected/primary-trend.d.ts +21 -0
  218. package/dist/composites/device-card/connected/remote-panel.d.ts +14 -0
  219. package/dist/composites/device-card/connected/robot-model.d.ts +5 -0
  220. package/dist/composites/device-card/connected/since-text.d.ts +6 -0
  221. package/dist/composites/device-card/connected/trend-readout.d.ts +33 -0
  222. package/dist/composites/device-card/connected/use-card-common.d.ts +49 -0
  223. package/dist/composites/device-card/connected/use-command-notice.d.ts +39 -0
  224. package/dist/composites/device-card/connected/use-energy-day.d.ts +22 -0
  225. package/dist/composites/device-card/connected/use-heat-pump-link.d.ts +25 -0
  226. package/dist/composites/device-card/connected/use-measurement-readings.d.ts +13 -0
  227. package/dist/composites/device-card/connected/use-motion-trigger.d.ts +27 -0
  228. package/dist/composites/device-card/connected/use-power-cycle.d.ts +21 -0
  229. package/dist/composites/device-card/connected/use-switch-power.d.ts +16 -0
  230. package/dist/composites/device-card/connected/water-heater-model.d.ts +19 -0
  231. package/dist/composites/device-card/icons.d.ts +10 -0
  232. package/dist/composites/device-card/illustrations/AlarmIllustration.d.ts +12 -0
  233. package/dist/composites/device-card/illustrations/AmbientFx.d.ts +37 -0
  234. package/dist/composites/device-card/illustrations/ApplianceIllustration.d.ts +19 -0
  235. package/dist/composites/device-card/illustrations/ClimateRoleGlyph.d.ts +9 -0
  236. package/dist/composites/device-card/illustrations/CoverIllustration.d.ts +35 -0
  237. package/dist/composites/device-card/illustrations/DropIllustration.d.ts +10 -0
  238. package/dist/composites/device-card/illustrations/EnergyFlowIllustration.d.ts +43 -0
  239. package/dist/composites/device-card/illustrations/FanIllustration.d.ts +28 -0
  240. package/dist/composites/device-card/illustrations/HeatPumpIllustration.d.ts +14 -0
  241. package/dist/composites/device-card/illustrations/HeaterIllustration.d.ts +7 -0
  242. package/dist/composites/device-card/illustrations/LightIllustration.d.ts +18 -0
  243. package/dist/composites/device-card/illustrations/LockIllustration.d.ts +11 -0
  244. package/dist/composites/device-card/illustrations/MeasurementFx.d.ts +11 -0
  245. package/dist/composites/device-card/illustrations/MediaArtwork.d.ts +19 -0
  246. package/dist/composites/device-card/illustrations/PetFeederIllustration.d.ts +14 -0
  247. package/dist/composites/device-card/illustrations/PetFountainIllustration.d.ts +10 -0
  248. package/dist/composites/device-card/illustrations/PlugIllustration.d.ts +7 -0
  249. package/dist/composites/device-card/illustrations/PoePortIllustration.d.ts +11 -0
  250. package/dist/composites/device-card/illustrations/RobotIllustration.d.ts +18 -0
  251. package/dist/composites/device-card/illustrations/SirenIllustration.d.ts +7 -0
  252. package/dist/composites/device-card/illustrations/TankIllustration.d.ts +15 -0
  253. package/dist/composites/device-card/illustrations/ValveIllustration.d.ts +14 -0
  254. package/dist/composites/device-card/index.d.ts +175 -0
  255. package/dist/composites/device-card/parts/ArcGauge.d.ts +18 -0
  256. package/dist/composites/device-card/parts/ArmedButton.d.ts +31 -0
  257. package/dist/composites/device-card/parts/ButtonGroup.d.ts +26 -0
  258. package/dist/composites/device-card/parts/CardButton.d.ts +16 -0
  259. package/dist/composites/device-card/parts/CardIcon.d.ts +8 -0
  260. package/dist/composites/device-card/parts/CodePad.d.ts +14 -0
  261. package/dist/composites/device-card/parts/CountdownRing.d.ts +23 -0
  262. package/dist/composites/device-card/parts/Dial.d.ts +63 -0
  263. package/dist/composites/device-card/parts/EnergyDayPanel.d.ts +33 -0
  264. package/dist/composites/device-card/parts/EventList.d.ts +17 -0
  265. package/dist/composites/device-card/parts/InfoTile.d.ts +20 -0
  266. package/dist/composites/device-card/parts/KeyValue.d.ts +7 -0
  267. package/dist/composites/device-card/parts/LevelBar.d.ts +13 -0
  268. package/dist/composites/device-card/parts/LevelRow.d.ts +12 -0
  269. package/dist/composites/device-card/parts/MenuButton.d.ts +25 -0
  270. package/dist/composites/device-card/parts/PopoverButton.d.ts +22 -0
  271. package/dist/composites/device-card/parts/RangeDial.d.ts +32 -0
  272. package/dist/composites/device-card/parts/ReadingValue.d.ts +12 -0
  273. package/dist/composites/device-card/parts/Readings.d.ts +15 -0
  274. package/dist/composites/device-card/parts/StateDot.d.ts +11 -0
  275. package/dist/composites/device-card/parts/SwitchTimer.d.ts +16 -0
  276. package/dist/composites/device-card/parts/ValueChip.d.ts +11 -0
  277. package/dist/composites/device-card/parts/ValueEntry.d.ts +17 -0
  278. package/dist/composites/device-card/parts/sliders.d.ts +32 -0
  279. package/dist/composites/device-card/parts/switch-timer-model.d.ts +21 -0
  280. package/dist/composites/device-card/parts/use-countdown.d.ts +2 -0
  281. package/dist/composites/device-card/scenes/action/ActionCards.d.ts +22 -0
  282. package/dist/composites/device-card/scenes/action/model.d.ts +44 -0
  283. package/dist/composites/device-card/scenes/alarm/AlarmCard.d.ts +21 -0
  284. package/dist/composites/device-card/scenes/alarm/model.d.ts +23 -0
  285. package/dist/composites/device-card/scenes/appliance/ApplianceCard.d.ts +19 -0
  286. package/dist/composites/device-card/scenes/appliance/model.d.ts +63 -0
  287. package/dist/composites/device-card/scenes/camera/CameraCard.d.ts +20 -0
  288. package/dist/composites/device-card/scenes/climate/ClimateCard.d.ts +22 -0
  289. package/dist/composites/device-card/scenes/climate/model.d.ts +93 -0
  290. package/dist/composites/device-card/scenes/container/ContainerCard.d.ts +18 -0
  291. package/dist/composites/device-card/scenes/container/container-model.d.ts +20 -0
  292. package/dist/composites/device-card/scenes/control/ControlCard.d.ts +14 -0
  293. package/dist/composites/device-card/scenes/control/model.d.ts +43 -0
  294. package/dist/composites/device-card/scenes/cover/CoverCard.d.ts +23 -0
  295. package/dist/composites/device-card/scenes/cover/model.d.ts +52 -0
  296. package/dist/composites/device-card/scenes/energy/EnergyCard.d.ts +39 -0
  297. package/dist/composites/device-card/scenes/energy/model.d.ts +82 -0
  298. package/dist/composites/device-card/scenes/event/EventCard.d.ts +40 -0
  299. package/dist/composites/device-card/scenes/event/event-entries.d.ts +24 -0
  300. package/dist/composites/device-card/scenes/fan/FanCard.d.ts +24 -0
  301. package/dist/composites/device-card/scenes/fan/model.d.ts +77 -0
  302. package/dist/composites/device-card/scenes/gateway/GatewayCard.d.ts +34 -0
  303. package/dist/composites/device-card/scenes/heat-pump/HeatPumpCard.d.ts +19 -0
  304. package/dist/composites/device-card/scenes/heat-pump/model.d.ts +61 -0
  305. package/dist/composites/device-card/scenes/heater/HeaterCard.d.ts +14 -0
  306. package/dist/composites/device-card/scenes/heater/model.d.ts +13 -0
  307. package/dist/composites/device-card/scenes/humidifier/HumidifierCard.d.ts +20 -0
  308. package/dist/composites/device-card/scenes/humidifier/model.d.ts +29 -0
  309. package/dist/composites/device-card/scenes/image/ImageCard.d.ts +21 -0
  310. package/dist/composites/device-card/scenes/ir/IrTransmitterCard.d.ts +11 -0
  311. package/dist/composites/device-card/scenes/ir/model.d.ts +16 -0
  312. package/dist/composites/device-card/scenes/light/LightCard.d.ts +14 -0
  313. package/dist/composites/device-card/scenes/light/model.d.ts +40 -0
  314. package/dist/composites/device-card/scenes/lock/LockCard.d.ts +19 -0
  315. package/dist/composites/device-card/scenes/lock/model.d.ts +24 -0
  316. package/dist/composites/device-card/scenes/media/MediaPlayerCard.d.ts +22 -0
  317. package/dist/composites/device-card/scenes/media/model.d.ts +98 -0
  318. package/dist/composites/device-card/scenes/notifier/NotifierCard.d.ts +27 -0
  319. package/dist/composites/device-card/scenes/pet/PetFeederCard.d.ts +19 -0
  320. package/dist/composites/device-card/scenes/pet/PetFountainCard.d.ts +17 -0
  321. package/dist/composites/device-card/scenes/pet/model.d.ts +93 -0
  322. package/dist/composites/device-card/scenes/plug/PlugCard.d.ts +15 -0
  323. package/dist/composites/device-card/scenes/plug/model.d.ts +19 -0
  324. package/dist/composites/device-card/scenes/robot/RobotCard.d.ts +18 -0
  325. package/dist/composites/device-card/scenes/robot/model.d.ts +38 -0
  326. package/dist/composites/device-card/scenes/sensor/ReadingTile.d.ts +18 -0
  327. package/dist/composites/device-card/scenes/sensor/SensorCard.d.ts +17 -0
  328. package/dist/composites/device-card/scenes/sensor/SensorGridCard.d.ts +24 -0
  329. package/dist/composites/device-card/scenes/sensor/SensorPieCard.d.ts +51 -0
  330. package/dist/composites/device-card/scenes/sensor/model.d.ts +39 -0
  331. package/dist/composites/device-card/scenes/sensor/pie-css.d.ts +6 -0
  332. package/dist/composites/device-card/scenes/sensor/pie-model.d.ts +49 -0
  333. package/dist/composites/device-card/scenes/siren/SirenCard.d.ts +19 -0
  334. package/dist/composites/device-card/scenes/siren/model.d.ts +84 -0
  335. package/dist/composites/device-card/scenes/update/UpdateCard.d.ts +14 -0
  336. package/dist/composites/device-card/scenes/update/model.d.ts +40 -0
  337. package/dist/composites/device-card/scenes/valve/ValveCard.d.ts +19 -0
  338. package/dist/composites/device-card/scenes/valve/model.d.ts +21 -0
  339. package/dist/composites/device-card/scenes/water-heater/WaterHeaterCard.d.ts +20 -0
  340. package/dist/composites/device-card/scenes/water-heater/model.d.ts +32 -0
  341. package/dist/composites/device-card/scenes/weather/WeatherCard.d.ts +22 -0
  342. package/dist/composites/device-card/scenes/weather/model.d.ts +28 -0
  343. package/dist/composites/device-card/scenes/weather-station/WeatherStationCard.d.ts +17 -0
  344. package/dist/composites/device-card/scenes/weather-station/WeatherStationIllustration.d.ts +15 -0
  345. package/dist/composites/device-card/scenes/weather-station/model.d.ts +55 -0
  346. package/dist/composites/device-card/scenes/weather-station/station-geometry.d.ts +9 -0
  347. package/dist/composites/device-card/scenes/workload/WorkloadCard.d.ts +17 -0
  348. package/dist/composites/device-card/scenes/workload/model.d.ts +91 -0
  349. package/dist/composites/device-card/shell/ActuationHistory.d.ts +11 -0
  350. package/dist/composites/device-card/shell/BottomLine.d.ts +31 -0
  351. package/dist/composites/device-card/shell/Corner.d.ts +57 -0
  352. package/dist/composites/device-card/shell/DeviceCard.d.ts +81 -0
  353. package/dist/composites/device-card/shell/Overlays.d.ts +24 -0
  354. package/dist/composites/device-card/shell/SceneGrid.d.ts +47 -0
  355. package/dist/composites/device-card/shell/ScenePower.d.ts +18 -0
  356. package/dist/composites/device-card/shell/actuation-model.d.ts +115 -0
  357. package/dist/composites/device-card/shell/bottom-rows.d.ts +182 -0
  358. package/dist/composites/device-card/shell/column-items.d.ts +94 -0
  359. package/dist/composites/device-card/shell/gating.d.ts +17 -0
  360. package/dist/composites/device-card/shell/history-sections.d.ts +16 -0
  361. package/dist/composites/device-card/shell/model.d.ts +174 -0
  362. package/dist/composites/device-card/shell/overlay-box.d.ts +17 -0
  363. package/dist/composites/device-card/shell/remote-keys.d.ts +29 -0
  364. package/dist/composites/device-card/shell/scene-layout.d.ts +17 -0
  365. package/dist/composites/device-card/shell/use-popover.d.ts +9 -0
  366. package/dist/composites/device-controls/ac-panel.d.ts +40 -0
  367. package/dist/composites/device-controls/alarm-hero-card.d.ts +47 -0
  368. package/dist/composites/device-controls/appliance-control.d.ts +3 -0
  369. package/dist/composites/device-controls/atoms.d.ts +84 -0
  370. package/dist/composites/device-controls/brightness-panel.d.ts +3 -0
  371. package/dist/composites/device-controls/button-control.d.ts +9 -0
  372. package/dist/composites/device-controls/climate-offers-cooling.d.ts +7 -0
  373. package/dist/composites/device-controls/climate-panel.d.ts +30 -0
  374. package/dist/composites/device-controls/container-primary-hero.d.ts +26 -0
  375. package/dist/composites/device-controls/container-primary.d.ts +80 -0
  376. package/dist/composites/device-controls/control-panel.d.ts +53 -0
  377. package/dist/composites/device-controls/control-registry.d.ts +85 -0
  378. package/dist/composites/device-controls/cover-hero-card.d.ts +27 -0
  379. package/dist/composites/device-controls/cover-inline.d.ts +27 -0
  380. package/dist/composites/device-controls/cover-panel.d.ts +3 -0
  381. package/dist/composites/device-controls/dishwasher-control.d.ts +32 -0
  382. package/dist/composites/device-controls/dishwasher-options.d.ts +22 -0
  383. package/dist/composites/device-controls/dummy-hero-card.d.ts +6 -0
  384. package/dist/composites/device-controls/energy-system-control.d.ts +14 -0
  385. package/dist/composites/device-controls/fan-hero-card.d.ts +21 -0
  386. package/dist/composites/device-controls/fan-panel.d.ts +3 -0
  387. package/dist/composites/device-controls/heater-control.d.ts +4 -0
  388. package/dist/composites/device-controls/heating-valve-readout.d.ts +4 -0
  389. package/dist/composites/device-controls/humidifier-control.d.ts +37 -0
  390. package/dist/composites/device-controls/image-control.d.ts +49 -0
  391. package/dist/composites/device-controls/index.d.ts +35 -0
  392. package/dist/composites/device-controls/lawn-mower-control.d.ts +15 -0
  393. package/dist/composites/device-controls/light-hero-card.d.ts +16 -0
  394. package/dist/composites/device-controls/lock-hero-card.d.ts +15 -0
  395. package/dist/composites/device-controls/lock-panel.d.ts +3 -0
  396. package/dist/composites/device-controls/media-player-panel.d.ts +9 -0
  397. package/dist/composites/device-controls/offline-badge.d.ts +26 -0
  398. package/dist/composites/device-controls/panel-controls.d.ts +68 -0
  399. package/dist/composites/device-controls/pet-feeder-panel.d.ts +23 -0
  400. package/dist/composites/device-controls/pet-fountain-panel.d.ts +11 -0
  401. package/dist/composites/device-controls/popover-row-action.d.ts +21 -0
  402. package/dist/composites/device-controls/primary-child-picker.d.ts +36 -0
  403. package/dist/composites/device-controls/primary-child.d.ts +39 -0
  404. package/dist/composites/device-controls/radial-gauge.d.ts +20 -0
  405. package/dist/composites/device-controls/script-automation-controls.d.ts +13 -0
  406. package/dist/composites/device-controls/sensor-hero-card.d.ts +10 -0
  407. package/dist/composites/device-controls/sensor-hero-source.d.ts +24 -0
  408. package/dist/composites/device-controls/sensor-inline-control.d.ts +23 -0
  409. package/dist/composites/device-controls/sensor-value-atom.d.ts +123 -0
  410. package/dist/composites/device-controls/switch-panel.d.ts +3 -0
  411. package/dist/composites/device-controls/tap-toggle.d.ts +17 -0
  412. package/dist/composites/device-controls/timed-run-control.d.ts +13 -0
  413. package/dist/composites/device-controls/timed-run-quick-model.d.ts +47 -0
  414. package/dist/composites/device-controls/timed-run-quick.d.ts +12 -0
  415. package/dist/composites/device-controls/timed-run-row-control.d.ts +17 -0
  416. package/dist/composites/device-controls/types.d.ts +15 -0
  417. package/dist/composites/device-controls/update-control.d.ts +7 -0
  418. package/dist/composites/device-controls/vacuum-control.d.ts +7 -0
  419. package/dist/composites/device-controls/valve-control.d.ts +47 -0
  420. package/dist/composites/device-controls/water-heater-control.d.ts +12 -0
  421. package/dist/composites/device-controls/weather-control.d.ts +60 -0
  422. package/dist/composites/device-controls/workload-control.d.ts +10 -0
  423. package/dist/composites/device-export-panel.d.ts +63 -0
  424. package/dist/composites/device-grid.d.ts +12 -0
  425. package/dist/composites/device-history/DeviceHistoryView.d.ts +28 -0
  426. package/dist/composites/device-history/HistoryChart.d.ts +37 -0
  427. package/dist/composites/device-history/HistoryLanes.d.ts +13 -0
  428. package/dist/composites/device-history/HistoryWindowBar.d.ts +16 -0
  429. package/dist/composites/device-history/PointsSelect.d.ts +19 -0
  430. package/dist/composites/device-history/history-lanes.d.ts +26 -0
  431. package/dist/composites/device-history/history-model.d.ts +126 -0
  432. package/dist/composites/device-history/history-reads.d.ts +43 -0
  433. package/dist/composites/device-history/history-runs.d.ts +29 -0
  434. package/dist/composites/device-history/history-selection.d.ts +55 -0
  435. package/dist/composites/device-history/history-units.d.ts +42 -0
  436. package/dist/composites/device-history/history-window.d.ts +31 -0
  437. package/dist/composites/device-history/index.d.ts +16 -0
  438. package/dist/composites/device-history/use-device-history.d.ts +44 -0
  439. package/dist/composites/device-history/use-device-runs.d.ts +11 -0
  440. package/dist/composites/device-history/use-history-panels.d.ts +10 -0
  441. package/dist/composites/device-item/actions.d.ts +38 -0
  442. package/dist/composites/device-item/child-layout.d.ts +49 -0
  443. package/dist/composites/device-item/child-section-accordion.d.ts +23 -0
  444. package/dist/composites/device-item/children-accordion.d.ts +22 -0
  445. package/dist/composites/device-item/container-children-context.d.ts +32 -0
  446. package/dist/composites/device-item/device-delete-action.d.ts +31 -0
  447. package/dist/composites/device-item/features.d.ts +37 -0
  448. package/dist/composites/device-item/header.d.ts +55 -0
  449. package/dist/composites/device-item/helpers.d.ts +395 -0
  450. package/dist/composites/device-item/index.d.ts +11 -0
  451. package/dist/composites/device-item/model-row-value.d.ts +48 -0
  452. package/dist/composites/device-item/open-page-quick-action.d.ts +6 -0
  453. package/dist/composites/device-item/preview.d.ts +43 -0
  454. package/dist/composites/device-item/reboot-quick-action.d.ts +30 -0
  455. package/dist/composites/device-item/role-display-defaults-context.d.ts +37 -0
  456. package/dist/composites/device-item/row-models-context.d.ts +42 -0
  457. package/dist/composites/device-item/row-swipe-tray.d.ts +17 -0
  458. package/dist/composites/device-item/status-dot.d.ts +30 -0
  459. package/dist/composites/device-item/use-device-admin-link.d.ts +20 -0
  460. package/dist/composites/device-list/batch-actions-bar.d.ts +15 -0
  461. package/dist/composites/device-list/batch-toolbar.d.ts +15 -0
  462. package/dist/composites/device-list/columns.d.ts +109 -0
  463. package/dist/composites/device-list/device-integration.d.ts +59 -0
  464. package/dist/composites/device-list/device-mode.d.ts +141 -0
  465. package/dist/composites/device-list/empty-state.d.ts +17 -0
  466. package/dist/composites/device-list/filter-chips.d.ts +33 -0
  467. package/dist/composites/device-list/fuzzy-match.d.ts +27 -0
  468. package/dist/composites/device-list/generic-mode.d.ts +125 -0
  469. package/dist/composites/device-list/group.d.ts +71 -0
  470. package/dist/composites/device-list/hardware-cell.d.ts +18 -0
  471. package/dist/composites/device-list/hardware.d.ts +44 -0
  472. package/dist/composites/device-list/icon-action.d.ts +29 -0
  473. package/dist/composites/device-list/index.d.ts +51 -0
  474. package/dist/composites/device-list/multi-select.d.ts +30 -0
  475. package/dist/composites/device-list/page-size-select.d.ts +11 -0
  476. package/dist/composites/device-list/pagination.d.ts +18 -0
  477. package/dist/composites/device-list/row-model-ids.d.ts +7 -0
  478. package/dist/composites/device-list/sort.d.ts +35 -0
  479. package/dist/composites/device-list/sortable-header.d.ts +23 -0
  480. package/dist/composites/device-list/table-layout.d.ts +53 -0
  481. package/dist/composites/device-list/type-filter.d.ts +19 -0
  482. package/dist/composites/device-list/url-state.d.ts +42 -0
  483. package/dist/composites/device-mesh/DeviceMeshCard.d.ts +7 -0
  484. package/dist/composites/device-mesh/device-mesh-model.d.ts +64 -0
  485. package/dist/composites/device-mesh/index.d.ts +4 -0
  486. package/dist/composites/device-mesh/mesh-labels.d.ts +9 -0
  487. package/dist/composites/device-mesh/use-mesh-networks.d.ts +14 -0
  488. package/dist/composites/device-meta.d.ts +70 -0
  489. package/dist/composites/device-name/DeviceName.d.ts +17 -0
  490. package/dist/composites/device-name/device-fleet.d.ts +29 -0
  491. package/dist/composites/device-name/device-name-nouns.d.ts +27 -0
  492. package/dist/composites/device-name/format-device-name.d.ts +49 -0
  493. package/dist/composites/device-name/index.d.ts +10 -0
  494. package/dist/composites/device-name/use-device-label.d.ts +18 -0
  495. package/dist/composites/device-picker/DevicePicker.d.ts +107 -0
  496. package/dist/composites/device-picker/SelectedChip.d.ts +17 -0
  497. package/dist/composites/device-picker/device-filter-bar.d.ts +27 -0
  498. package/dist/composites/device-picker/device-fleet-view.d.ts +15 -0
  499. package/dist/composites/device-picker/device-parent.d.ts +39 -0
  500. package/dist/composites/device-picker/device-picker-grouping.d.ts +14 -0
  501. package/dist/composites/device-picker/device-picker-model.d.ts +254 -0
  502. package/dist/composites/device-picker/device-provider-label.d.ts +21 -0
  503. package/dist/composites/device-picker/device-selection-rows.d.ts +52 -0
  504. package/dist/composites/device-picker/device-selection.d.ts +64 -0
  505. package/dist/composites/device-picker/index.d.ts +9 -0
  506. package/dist/composites/device-select-filter.d.ts +120 -0
  507. package/dist/composites/device-selector-picker.d.ts +38 -0
  508. package/dist/composites/device-step-matrix.d.ts +42 -0
  509. package/dist/composites/device-summary-card.d.ts +38 -0
  510. package/dist/composites/device-template-field/DeviceTemplateField.d.ts +42 -0
  511. package/dist/composites/device-template-field/device-template-feedback.d.ts +13 -0
  512. package/dist/composites/device-template-field/device-template-function.d.ts +18 -0
  513. package/dist/composites/device-template-field/device-template-insert-model.d.ts +10 -0
  514. package/dist/composites/device-template-field/device-template-insert.d.ts +19 -0
  515. package/dist/composites/device-template-field/device-template-model.d.ts +143 -0
  516. package/dist/composites/device-template-field/device-template-param-input.d.ts +16 -0
  517. package/dist/composites/device-template-field/device-template-suggest.d.ts +12 -0
  518. package/dist/composites/device-template-field/index.d.ts +2 -0
  519. package/dist/composites/device-template-field/use-template-field-unit.d.ts +7 -0
  520. package/dist/composites/device-value-field/device-value-field.d.ts +112 -0
  521. package/dist/composites/device-value-field/device-value-token.d.ts +13 -0
  522. package/dist/composites/device-value-field/index.d.ts +3 -0
  523. package/dist/composites/device-value-field/use-device-value-source.d.ts +30 -0
  524. package/dist/composites/device-value-picker/DeviceActionPicker.d.ts +37 -0
  525. package/dist/composites/device-value-picker/DeviceEventPicker.d.ts +22 -0
  526. package/dist/composites/device-value-picker/DeviceValuePicker.d.ts +68 -0
  527. package/dist/composites/device-value-picker/action-target-label.d.ts +17 -0
  528. package/dist/composites/device-value-picker/device-event-model.d.ts +54 -0
  529. package/dist/composites/device-value-picker/device-id-values.d.ts +9 -0
  530. package/dist/composites/device-value-picker/device-value-form-fields.d.ts +22 -0
  531. package/dist/composites/device-value-picker/device-value-panel.d.ts +43 -0
  532. package/dist/composites/device-value-picker/device-value-picker-model.d.ts +155 -0
  533. package/dist/composites/device-value-picker/device-value-rail.d.ts +27 -0
  534. package/dist/composites/device-value-picker/device-value-rows.d.ts +42 -0
  535. package/dist/composites/device-value-picker/index.d.ts +10 -0
  536. package/dist/composites/device-value-picker/use-device-value-search.d.ts +33 -0
  537. package/dist/composites/device-value-picker/use-integration-providers.d.ts +10 -0
  538. package/dist/composites/device-value-picker/use-recent-devices.d.ts +16 -0
  539. package/dist/composites/discovered-adoption.d.ts +7 -0
  540. package/dist/composites/display-palette-context.d.ts +26 -0
  541. package/dist/composites/doorbell-recent-panel.d.ts +11 -0
  542. package/dist/composites/duration-input/DurationInput.d.ts +68 -0
  543. package/dist/composites/duration-input/duration-parts.d.ts +15 -0
  544. package/dist/composites/duration-input/index.d.ts +2 -0
  545. package/dist/composites/empty-state.d.ts +10 -0
  546. package/dist/composites/error-box.d.ts +19 -0
  547. package/dist/composites/event-category-picker.d.ts +11 -0
  548. package/dist/composites/event-kind-visuals.d.ts +37 -0
  549. package/dist/composites/event-stream.d.ts +72 -0
  550. package/dist/composites/export-bulk-selection.d.ts +54 -0
  551. package/dist/composites/export-entity-rows.d.ts +33 -0
  552. package/dist/composites/expression-input/ExpressionInput.d.ts +9 -0
  553. package/dist/composites/expression-input/expression-suggestions.d.ts +15 -0
  554. package/dist/composites/expression-input/index.d.ts +2 -0
  555. package/dist/composites/extensions/AssociationSlotCard.d.ts +36 -0
  556. package/dist/composites/extensions/ExtensionsPanel.d.ts +43 -0
  557. package/dist/composites/extensions/extensions-view-state.d.ts +125 -0
  558. package/dist/composites/filter-bar.d.ts +29 -0
  559. package/dist/composites/form-field.d.ts +11 -0
  560. package/dist/composites/form-save-bar.d.ts +35 -0
  561. package/dist/composites/format-state-value.d.ts +34 -0
  562. package/dist/composites/grouped-model-selector.d.ts +9 -0
  563. package/dist/composites/grouped-tile-picker.d.ts +43 -0
  564. package/dist/composites/hero-model/HeroModelCard.d.ts +25 -0
  565. package/dist/composites/hero-model/MeasurementScene.d.ts +22 -0
  566. package/dist/composites/hero-model/ModelHero.d.ts +29 -0
  567. package/dist/composites/hero-model/call-hero-action.d.ts +17 -0
  568. package/dist/composites/hero-model/card-display-subject.d.ts +19 -0
  569. package/dist/composites/hero-model/hero-labels.d.ts +33 -0
  570. package/dist/composites/hero-model/hero-model-view.d.ts +36 -0
  571. package/dist/composites/hero-model/hero-utilities.d.ts +9 -0
  572. package/dist/composites/hero-model/index.d.ts +4 -0
  573. package/dist/composites/hero-model/measurement-display.d.ts +40 -0
  574. package/dist/composites/hero-model/use-hero-live-refresh.d.ts +6 -0
  575. package/dist/composites/hero-scene/backdrops.d.ts +20 -0
  576. package/dist/composites/hero-scene/device-row.d.ts +21 -0
  577. package/dist/composites/hero-scene/hero-card-a.d.ts +29 -0
  578. package/dist/composites/hero-scene/hero-row.d.ts +39 -0
  579. package/dist/composites/hero-scene/hero-scene-css.d.ts +10 -0
  580. package/dist/composites/hero-scene/hero-scene.d.ts +45 -0
  581. package/dist/composites/hero-scene/hero-utility-grid.d.ts +30 -0
  582. package/dist/composites/hero-scene/hero-utility-layout.d.ts +10 -0
  583. package/dist/composites/hero-scene/index.d.ts +10 -0
  584. package/dist/composites/hero-scene/scene-art-home.d.ts +5 -0
  585. package/dist/composites/hero-scene/scene-art.d.ts +21 -0
  586. package/dist/composites/hero-scene/scene-map.d.ts +6 -0
  587. package/dist/composites/hero-scene/types.d.ts +48 -0
  588. package/dist/composites/hls-quality.d.ts +36 -0
  589. package/dist/composites/hls-video.d.ts +64 -0
  590. package/dist/composites/hover-zoom-image.d.ts +37 -0
  591. package/dist/composites/icon-glyphs.d.ts +30 -0
  592. package/dist/composites/icon-picker.d.ts +80 -0
  593. package/dist/composites/image-selector.d.ts +26 -0
  594. package/dist/composites/index.d.ts +278 -0
  595. package/dist/composites/inference-config-selector.d.ts +45 -0
  596. package/dist/composites/item-form-dialog.d.ts +39 -0
  597. package/dist/composites/kebab-menu.d.ts +63 -0
  598. package/dist/composites/key-value-list.d.ts +17 -0
  599. package/dist/composites/log-export-dialog.d.ts +21 -0
  600. package/dist/composites/log-export.d.ts +68 -0
  601. package/dist/composites/log-history-paging.d.ts +62 -0
  602. package/dist/composites/log-stream-columns.d.ts +37 -0
  603. package/dist/composites/log-stream-names.d.ts +19 -0
  604. package/dist/composites/log-stream-scroll.d.ts +32 -0
  605. package/dist/composites/log-stream.d.ts +102 -0
  606. package/dist/composites/login-form.d.ts +9 -0
  607. package/dist/composites/media-grid.d.ts +27 -0
  608. package/dist/composites/model-bound-slider.d.ts +36 -0
  609. package/dist/composites/model-picker.d.ts +21 -0
  610. package/dist/composites/mount-addon-page.d.ts +16 -0
  611. package/dist/composites/network-link-badge.d.ts +11 -0
  612. package/dist/composites/node-color-map.d.ts +11 -0
  613. package/dist/composites/node-color.d.ts +5 -0
  614. package/dist/composites/node-picker.d.ts +20 -0
  615. package/dist/composites/notification-targets-field.d.ts +84 -0
  616. package/dist/composites/notification-targets-options.d.ts +13 -0
  617. package/dist/composites/option-select/OptionSelect.d.ts +37 -0
  618. package/dist/composites/option-select/index.d.ts +4 -0
  619. package/dist/composites/option-select/option-select-model.d.ts +62 -0
  620. package/dist/composites/page-actions.d.ts +56 -0
  621. package/dist/composites/page-header.d.ts +12 -0
  622. package/dist/composites/page-shell.d.ts +34 -0
  623. package/dist/composites/peer-connection-config.d.ts +13 -0
  624. package/dist/composites/phase-icon.d.ts +12 -0
  625. package/dist/composites/pipeline-builder.d.ts +23 -0
  626. package/dist/composites/pipeline-matrix-shared.d.ts +200 -0
  627. package/dist/composites/pipeline-runtime-selector.d.ts +17 -0
  628. package/dist/composites/pipeline-step.d.ts +36 -0
  629. package/dist/composites/placeholder-field/PlaceholderChipField.d.ts +30 -0
  630. package/dist/composites/placeholder-field/index.d.ts +1 -0
  631. package/dist/composites/playback-stats.d.ts +59 -0
  632. package/dist/composites/provider-badge.d.ts +8 -0
  633. package/dist/composites/provider-entries/AddProviderEntryDialog.d.ts +28 -0
  634. package/dist/composites/provider-entries/ProviderEntryPills.d.ts +19 -0
  635. package/dist/composites/provider-entries/index.d.ts +2 -0
  636. package/dist/composites/ptz-overlay.d.ts +21 -0
  637. package/dist/composites/qr-code.d.ts +12 -0
  638. package/dist/composites/quantity-value-input/QuantityValueInput.d.ts +35 -0
  639. package/dist/composites/quantity-value-input/index.d.ts +2 -0
  640. package/dist/composites/quantity-value-input/quantity-value.d.ts +38 -0
  641. package/dist/composites/reconnect-schedule.d.ts +32 -0
  642. package/dist/composites/record-entries/entry-json-schema-form.d.ts +11 -0
  643. package/dist/composites/record-entries/index.d.ts +3 -0
  644. package/dist/composites/record-entries/record-entries-panel.d.ts +18 -0
  645. package/dist/composites/record-entries/record-entry-secrets.d.ts +9 -0
  646. package/dist/composites/remote/AppBrandGlyph.d.ts +11 -0
  647. package/dist/composites/remote/RemoteGrid.d.ts +57 -0
  648. package/dist/composites/remote/SourceSelectKey.d.ts +20 -0
  649. package/dist/composites/remote/app-brand-icons.d.ts +28 -0
  650. package/dist/composites/remote/display-layout.d.ts +7 -0
  651. package/dist/composites/remote/index.d.ts +9 -0
  652. package/dist/composites/remote/layout-model.d.ts +110 -0
  653. package/dist/composites/remote/layout-presets.d.ts +21 -0
  654. package/dist/composites/remote/remote-look.d.ts +25 -0
  655. package/dist/composites/remote/role-vocabulary.d.ts +10 -0
  656. package/dist/composites/resizable-columns/ResizableColumns.d.ts +21 -0
  657. package/dist/composites/resizable-columns/index.d.ts +1 -0
  658. package/dist/composites/resizable-columns/resizable-columns-model.d.ts +13 -0
  659. package/dist/composites/resolve-step-default-model.d.ts +113 -0
  660. package/dist/composites/response-log.d.ts +10 -0
  661. package/dist/composites/role-node-pill.d.ts +26 -0
  662. package/dist/composites/root-model-source.d.ts +20 -0
  663. package/dist/composites/running-badge.d.ts +20 -0
  664. package/dist/composites/running-status.d.ts +20 -0
  665. package/dist/composites/sanitize-info-html.d.ts +16 -0
  666. package/dist/composites/scope-picker.d.ts +31 -0
  667. package/dist/composites/section-card.d.ts +27 -0
  668. package/dist/composites/section-toolbar.d.ts +14 -0
  669. package/dist/composites/sectioned-page.d.ts +55 -0
  670. package/dist/composites/setting-row.d.ts +42 -0
  671. package/dist/composites/snapshot-button.d.ts +29 -0
  672. package/dist/composites/sort-header-button.d.ts +28 -0
  673. package/dist/composites/stable-tab-panel.d.ts +17 -0
  674. package/dist/composites/stat-card.d.ts +22 -0
  675. package/dist/composites/state-values-stream.d.ts +27 -0
  676. package/dist/composites/status-badge.d.ts +12 -0
  677. package/dist/composites/step-inspector/gate-control.d.ts +21 -0
  678. package/dist/composites/step-inspector/index.d.ts +8 -0
  679. package/dist/composites/step-inspector/layered-settings-form.d.ts +37 -0
  680. package/dist/composites/step-inspector/segmented-choice.d.ts +15 -0
  681. package/dist/composites/step-inspector/setting-values.d.ts +27 -0
  682. package/dist/composites/step-inspector/step-detail-dock.d.ts +49 -0
  683. package/dist/composites/step-inspector/step-inspector-panel.d.ts +32 -0
  684. package/dist/composites/step-inspector/step-model-row.d.ts +32 -0
  685. package/dist/composites/step-inspector/step-search.d.ts +18 -0
  686. package/dist/composites/step-timings.d.ts +10 -0
  687. package/dist/composites/step-tree.d.ts +21 -0
  688. package/dist/composites/storage-records/index.d.ts +1 -0
  689. package/dist/composites/storage-records/storage-records-panel.d.ts +6 -0
  690. package/dist/composites/stream-broker-selector.d.ts +10 -0
  691. package/dist/composites/stream-debug/stream-debug-overlay.d.ts +44 -0
  692. package/dist/composites/stream-debug/webrtc-debug-stats.d.ts +166 -0
  693. package/dist/composites/stream-panel.d.ts +252 -0
  694. package/dist/composites/table-sort.d.ts +77 -0
  695. package/dist/composites/tags/index.d.ts +9 -0
  696. package/dist/composites/tags/tag-chip.d.ts +32 -0
  697. package/dist/composites/tags/tag-entries-context.d.ts +9 -0
  698. package/dist/composites/tags/tag-filter-bar.d.ts +44 -0
  699. package/dist/composites/tags/tag-input.d.ts +10 -0
  700. package/dist/composites/tags/tag-model.d.ts +77 -0
  701. package/dist/composites/tags/tag-style-dialog.d.ts +16 -0
  702. package/dist/composites/tags/tagged-data-table.d.ts +23 -0
  703. package/dist/composites/tags/use-tag-filter.d.ts +31 -0
  704. package/dist/composites/tags/use-tag-registry.d.ts +21 -0
  705. package/dist/composites/time-window-input/TimeSpecInput.d.ts +29 -0
  706. package/dist/composites/time-window-input/TimeWindowInput.d.ts +33 -0
  707. package/dist/composites/time-window-input/index.d.ts +4 -0
  708. package/dist/composites/time-window-input/stored-clock-range.d.ts +28 -0
  709. package/dist/composites/time-window-input/time-window-model.d.ts +49 -0
  710. package/dist/composites/timeline-slider.d.ts +47 -0
  711. package/dist/composites/timezone-selector.d.ts +20 -0
  712. package/dist/composites/toggle-chip-row.d.ts +21 -0
  713. package/dist/composites/training/TrainingBaseModelPicker.d.ts +29 -0
  714. package/dist/composites/training/retrain-review-badge.d.ts +37 -0
  715. package/dist/composites/training/root-detector-placements.d.ts +50 -0
  716. package/dist/composites/training/send-frame-to-training.d.ts +7 -0
  717. package/dist/composites/training/training-collection-picker.d.ts +6 -0
  718. package/dist/composites/training/training-refusal-text.d.ts +10 -0
  719. package/dist/composites/unit-picker/UnitPicker.d.ts +16 -0
  720. package/dist/composites/unit-picker/index.d.ts +1 -0
  721. package/dist/composites/use-data-table-filter.d.ts +27 -0
  722. package/dist/composites/use-item-form-url.d.ts +27 -0
  723. package/dist/composites/version-badge.d.ts +25 -0
  724. package/dist/composites/view-switch.d.ts +24 -0
  725. package/dist/composites/webrtc-diagnostics/EndpointTestCard.d.ts +15 -0
  726. package/dist/composites/webrtc-diagnostics/HubSessionTestCard.d.ts +18 -0
  727. package/dist/composites/webrtc-diagnostics/RunReport.d.ts +11 -0
  728. package/dist/composites/webrtc-diagnostics/endpoint-probe.d.ts +56 -0
  729. package/dist/composites/webrtc-diagnostics/endpoint-test.d.ts +60 -0
  730. package/dist/composites/webrtc-diagnostics/format.d.ts +7 -0
  731. package/dist/composites/webrtc-diagnostics/ice-candidates.d.ts +66 -0
  732. package/dist/composites/webrtc-diagnostics/nat-mapping.d.ts +45 -0
  733. package/dist/composites/webrtc-diagnostics/session-run.d.ts +139 -0
  734. package/dist/composites/webrtc-diagnostics/session-verdict.d.ts +39 -0
  735. package/dist/composites/widget-panel.d.ts +33 -0
  736. package/dist/composites/widget-slot.d.ts +38 -0
  737. package/dist/composites/zones-layer/ZonesReadOnlyLayer.d.ts +12 -0
  738. package/dist/composites/zones-layer/zone-items.d.ts +29 -0
  739. package/dist/contexts/custom-field-renderers.d.ts +62 -0
  740. package/dist/contexts/device-context.d.ts +40 -0
  741. package/dist/contexts/device-quick-detail.d.ts +17 -0
  742. package/dist/contexts/instance-picker-slot.d.ts +28 -0
  743. package/dist/contexts/player-overlays.d.ts +102 -0
  744. package/dist/contexts/recorded-playback.d.ts +45 -0
  745. package/dist/contexts/system-context.d.ts +50 -0
  746. package/dist/contexts/ui-text.d.ts +49 -0
  747. package/dist/contexts/unit-preferences-from-server.d.ts +9 -0
  748. package/dist/contexts/unit-preferences.d.ts +12 -0
  749. package/dist/contexts/vod-playback.d.ts +46 -0
  750. package/dist/contexts/widget-registry.d.ts +166 -0
  751. package/dist/contexts/zone-editing.d.ts +82 -0
  752. package/dist/generated/system-hooks.d.ts +2821 -0
  753. package/dist/hls-CckKbjjD.cjs +28320 -0
  754. package/dist/hls-CfgsaJjd.js +28320 -0
  755. package/dist/hooks/device-proxy-registry.d.ts +29 -0
  756. package/dist/hooks/index.d.ts +58 -0
  757. package/dist/hooks/merge-detections.d.ts +16 -0
  758. package/dist/hooks/motion-trigger-reading.d.ts +10 -0
  759. package/dist/hooks/turn-server-cache.d.ts +77 -0
  760. package/dist/hooks/use-account-unit-preferences.d.ts +10 -0
  761. package/dist/hooks/use-broker-instances.d.ts +48 -0
  762. package/dist/hooks/use-capability-presence.d.ts +110 -0
  763. package/dist/hooks/use-cluster-nodes.d.ts +64 -0
  764. package/dist/hooks/use-debounced-string.d.ts +1 -0
  765. package/dist/hooks/use-destructive-action.d.ts +31 -0
  766. package/dist/hooks/use-device-autotrack.d.ts +10 -0
  767. package/dist/hooks/use-device-battery.d.ts +29 -0
  768. package/dist/hooks/use-device-cap-slice.d.ts +19 -0
  769. package/dist/hooks/use-device-capability.d.ts +63 -0
  770. package/dist/hooks/use-device-command.d.ts +3 -0
  771. package/dist/hooks/use-device-detections.d.ts +50 -0
  772. package/dist/hooks/use-device-features.d.ts +25 -0
  773. package/dist/hooks/use-device-list-page-size.d.ts +28 -0
  774. package/dist/hooks/use-device-network-link.d.ts +18 -0
  775. package/dist/hooks/use-device-proxy.d.ts +117 -0
  776. package/dist/hooks/use-device-removal.d.ts +26 -0
  777. package/dist/hooks/use-device-snapshot.d.ts +30 -0
  778. package/dist/hooks/use-device-webrtc.d.ts +235 -0
  779. package/dist/hooks/use-devices.d.ts +13 -0
  780. package/dist/hooks/use-doorbell-events.d.ts +20 -0
  781. package/dist/hooks/use-drag-value.d.ts +32 -0
  782. package/dist/hooks/use-event-invalidation.d.ts +1 -0
  783. package/dist/hooks/use-event-stream.d.ts +8 -0
  784. package/dist/hooks/use-instances-of-cap.d.ts +50 -0
  785. package/dist/hooks/use-is-mobile.d.ts +10 -0
  786. package/dist/hooks/use-live-buffer.d.ts +8 -0
  787. package/dist/hooks/use-live-event.d.ts +3 -0
  788. package/dist/hooks/use-lock-door-sensor.d.ts +34 -0
  789. package/dist/hooks/use-log-history.d.ts +26 -0
  790. package/dist/hooks/use-log-names.d.ts +15 -0
  791. package/dist/hooks/use-log-stream-columns.d.ts +8 -0
  792. package/dist/hooks/use-navigation.d.ts +26 -0
  793. package/dist/hooks/use-one-shot-command.d.ts +13 -0
  794. package/dist/hooks/use-owns-scroll.d.ts +18 -0
  795. package/dist/hooks/use-persisted-page-size.d.ts +18 -0
  796. package/dist/hooks/use-ptz.d.ts +128 -0
  797. package/dist/hooks/use-row-operations.d.ts +28 -0
  798. package/dist/hooks/use-stationary-overlay.d.ts +46 -0
  799. package/dist/hooks/use-system-query.d.ts +35 -0
  800. package/dist/hooks/use-url-query.d.ts +20 -0
  801. package/dist/hotkeys/combo.d.ts +24 -0
  802. package/dist/hotkeys/hotkey-provider.d.ts +50 -0
  803. package/dist/hotkeys/index.d.ts +6 -0
  804. package/dist/hotkeys/use-search-field-hotkey.d.ts +13 -0
  805. package/dist/i18n/addon-i18n.d.ts +46 -0
  806. package/dist/i18n/index.d.ts +2 -0
  807. package/dist/i18n/use-addon-t.d.ts +57 -0
  808. package/dist/icons/index.d.ts +3 -0
  809. package/dist/icons/provider-icons.d.ts +3 -0
  810. package/dist/icons/remote-control.d.ts +3 -0
  811. package/dist/icons/status-icons.d.ts +3 -0
  812. package/dist/icons-CmCk_R3w.cjs +38517 -0
  813. package/dist/icons-DZzn2TV2.js +36816 -0
  814. package/dist/index.cjs +108146 -0
  815. package/dist/index.d.ts +47 -0
  816. package/dist/index.js +104976 -0
  817. package/dist/lib/cap-error.d.ts +20 -0
  818. package/dist/lib/capability-label.d.ts +18 -0
  819. package/dist/lib/cn.d.ts +2 -0
  820. package/dist/lib/event-category-selection.d.ts +26 -0
  821. package/dist/lib/fleet-query-defaults.d.ts +75 -0
  822. package/dist/lib/format-control-datetime.d.ts +18 -0
  823. package/dist/lib/format-duration.d.ts +14 -0
  824. package/dist/lib/format-last-seen.d.ts +22 -0
  825. package/dist/lib/format-numeric.d.ts +1 -0
  826. package/dist/lib/hub-mount.d.ts +22 -0
  827. package/dist/lib/index.d.ts +22 -0
  828. package/dist/lib/listbox-position.d.ts +46 -0
  829. package/dist/lib/mf-runtime-init.d.ts +1 -0
  830. package/dist/lib/phase-config.d.ts +35 -0
  831. package/dist/lib/recorded-control-protocol.d.ts +59 -0
  832. package/dist/lib/resolve-sensor-display.d.ts +42 -0
  833. package/dist/lib/responsive.d.ts +111 -0
  834. package/dist/lib/scrub-controller.d.ts +112 -0
  835. package/dist/lib/shared-context.d.ts +30 -0
  836. package/dist/lib/subject-path.d.ts +9 -0
  837. package/dist/lib/tailwind-variants.d.ts +27 -0
  838. package/dist/lib/unit-preferences.d.ts +28 -0
  839. package/dist/lucide-icons-module.d.d.ts +10 -0
  840. package/dist/mic-off-B83GCRGo.js +45 -0
  841. package/dist/mic-off-BKguA8pd.cjs +56 -0
  842. package/dist/primitives/badge.d.ts +15 -0
  843. package/dist/primitives/bottom-sheet.d.ts +11 -0
  844. package/dist/primitives/button.d.ts +12 -0
  845. package/dist/primitives/card.d.ts +5 -0
  846. package/dist/primitives/checkbox.d.ts +3 -0
  847. package/dist/primitives/collapsible-card.d.ts +25 -0
  848. package/dist/primitives/dialog-search-focus.d.ts +11 -0
  849. package/dist/primitives/dialog.d.ts +39 -0
  850. package/dist/primitives/disclosure-chevron.d.ts +18 -0
  851. package/dist/primitives/dropdown.d.ts +27 -0
  852. package/dist/primitives/file-input.d.ts +7 -0
  853. package/dist/primitives/floating-panel.d.ts +43 -0
  854. package/dist/primitives/icon-button.d.ts +11 -0
  855. package/dist/primitives/index.d.ts +28 -0
  856. package/dist/primitives/input.d.ts +13 -0
  857. package/dist/primitives/label.d.ts +3 -0
  858. package/dist/primitives/mobile-drawer.d.ts +10 -0
  859. package/dist/primitives/password-input.d.ts +19 -0
  860. package/dist/primitives/popover.d.ts +35 -0
  861. package/dist/primitives/radio.d.ts +4 -0
  862. package/dist/primitives/scroll-area.d.ts +3 -0
  863. package/dist/primitives/select-model.d.ts +22 -0
  864. package/dist/primitives/select.d.ts +60 -0
  865. package/dist/primitives/separator.d.ts +5 -0
  866. package/dist/primitives/skeleton.d.ts +3 -0
  867. package/dist/primitives/slider.d.ts +4 -0
  868. package/dist/primitives/swipe-actions.d.ts +99 -0
  869. package/dist/primitives/switch.d.ts +7 -0
  870. package/dist/primitives/tabs-list-scroll.d.ts +19 -0
  871. package/dist/primitives/tabs.d.ts +41 -0
  872. package/dist/primitives/textarea.d.ts +6 -0
  873. package/dist/primitives/tooltip.d.ts +15 -0
  874. package/dist/primitives/top-layer-portal.d.ts +21 -0
  875. package/dist/test-setup/tag-registry.d.ts +1 -0
  876. package/dist/testing/select-option.d.ts +35 -0
  877. package/dist/theme/create-theme.d.ts +2 -0
  878. package/dist/theme/defaults.d.ts +4 -0
  879. package/dist/theme/index.cjs +102 -0
  880. package/dist/theme/index.d.ts +7 -0
  881. package/dist/theme/index.js +91 -0
  882. package/dist/theme/theme-provider.d.ts +11 -0
  883. package/dist/theme/theme-to-css.d.ts +3 -0
  884. package/dist/theme/theme-to-root-css.d.ts +10 -0
  885. package/dist/theme/tokens.cjs +7 -0
  886. package/dist/theme/tokens.d.ts +9 -0
  887. package/dist/theme/tokens.js +2 -0
  888. package/dist/theme/types.d.ts +116 -0
  889. package/dist/theme/use-theme-mode.d.ts +2 -0
  890. package/dist/theme-to-root-css-CIqt8k0j.cjs +256 -0
  891. package/dist/theme-to-root-css-Ca6MGqO9.js +227 -0
  892. package/dist/trpc-react.d.ts +27 -0
  893. package/dist/uPlot.esm-BbxBUnav.cjs +3767 -0
  894. package/dist/uPlot.esm-C_8LiAPm.js +3767 -0
  895. package/dist/ui-library-version.d.ts +1 -0
  896. package/dist/widgets/host-widgets.d.ts +9 -0
  897. package/package.json +135 -4
  898. package/src/tailwind/camstack-theme.css +334 -0
@@ -0,0 +1,79 @@
1
+ import { type JSX, type ReactNode } from "react";
2
+ export type DialogVariant = "danger" | "warning" | "default";
3
+ export interface ConfirmOptions {
4
+ readonly title: string;
5
+ readonly message: string;
6
+ readonly confirmLabel?: string;
7
+ readonly cancelLabel?: string;
8
+ readonly variant?: DialogVariant;
9
+ /**
10
+ * The destructive work itself. When given, the dialog does NOT close on
11
+ * confirm: it stays open with a spinner until the action settles, shows a
12
+ * failure in the dialog (the operator can retry or cancel), and only then
13
+ * resolves — `true` once the action completed, `false` on cancel. Without it
14
+ * the dialog closes at once and the caller runs the work (and owns the
15
+ * loader).
16
+ */
17
+ readonly action?: () => Promise<unknown>;
18
+ }
19
+ export interface AlertOptions {
20
+ readonly title: string;
21
+ readonly message: string;
22
+ readonly acknowledgeLabel?: string;
23
+ readonly variant?: DialogVariant;
24
+ }
25
+ export type PromptInputType = "text" | "password";
26
+ export interface PromptOptions {
27
+ readonly title: string;
28
+ /** Explanatory paragraph above the field. */
29
+ readonly message?: string;
30
+ /** Label rendered against the input. Defaults to the title. */
31
+ readonly label?: string;
32
+ readonly defaultValue?: string;
33
+ /** `password` masks the value and opts out of autofill/remember. */
34
+ readonly inputType?: PromptInputType;
35
+ readonly placeholder?: string;
36
+ readonly confirmLabel?: string;
37
+ readonly cancelLabel?: string;
38
+ /**
39
+ * A field the operator reads/copies rather than edits (the clipboard
40
+ * fallback). Rendered unmasked, selected on open, with no validation.
41
+ */
42
+ readonly readOnly?: boolean;
43
+ /**
44
+ * Returns an error message to REFUSE the value and keep the dialog open, or
45
+ * `null` to accept. Runs on submit — the dialog is the validation surface, so
46
+ * a refusal never needs a second `alert`.
47
+ */
48
+ readonly validate?: (value: string) => string | null;
49
+ /**
50
+ * `danger` paints the affirmative button as destructive — a typed
51
+ * confirmation ("type 17 to revoke 17 links") is a prompt whose OK destroys.
52
+ * Focus still opens on the field. Default: `default`.
53
+ */
54
+ readonly variant?: DialogVariant;
55
+ }
56
+ export interface DialogContextValue {
57
+ readonly confirm: (options: ConfirmOptions) => Promise<boolean>;
58
+ readonly alert: (options: AlertOptions) => Promise<void>;
59
+ readonly prompt: (options: PromptOptions) => Promise<string | null>;
60
+ }
61
+ export declare function useConfirm(): (options: ConfirmOptions) => Promise<boolean>;
62
+ /** `useConfirm`, or undefined where no `ConfirmDialogProvider` is mounted (a control that must then refuse to act unasked). */
63
+ export declare function useConfirmIfAvailable(): ((options: ConfirmOptions) => Promise<boolean>) | undefined;
64
+ /** An error/notice with a single acknowledge. Replaces `window.alert`. */
65
+ export declare function useAlert(): (options: AlertOptions) => Promise<void>;
66
+ /** `useAlert`, or undefined where no `ConfirmDialogProvider` is mounted (a hook that reports but must not require one). */
67
+ export declare function useAlertIfAvailable(): ((options: AlertOptions) => Promise<void>) | undefined;
68
+ /** One text input with OK/Cancel. Replaces `window.prompt`. */
69
+ export declare function usePrompt(): (options: PromptOptions) => Promise<string | null>;
70
+ /** `usePrompt`, or undefined where no `ConfirmDialogProvider` is mounted (a control that must then not offer the question). */
71
+ export declare function usePromptIfAvailable(): ((options: PromptOptions) => Promise<string | null>) | undefined;
72
+ export declare function ConfirmDialogProvider({ children }: {
73
+ children: ReactNode;
74
+ }): JSX.Element;
75
+ /**
76
+ * Promotes `el` to the top layer. jsdom has `<dialog>` but no `showModal`, so
77
+ * the attribute is the fallback — see the file docblock.
78
+ */
79
+ export declare function openTopLayer(el: HTMLDialogElement): void;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * ConsumableLevelBadge — ONE look for a consumable's level (salt, rinse aid,
3
+ * a filter, a brush, a tank), so the device card's consumables chip and the Customize
4
+ * list read the same colours.
5
+ *
6
+ * The vocabulary is the consumables cap's level enum (`ok | low | empty |
7
+ * full`, `ConsumableLevelSchema`) plus `null` = unknown (D393: an unknown
8
+ * level is never shown as ok or as empty). The level → tone mapping lives
9
+ * here and nowhere else: ok = success, low = warning, empty = danger, full =
10
+ * warning (a waste tank to empty), unknown = neutral. The badge always
11
+ * carries its state in words — it never says anything by colour alone.
12
+ */
13
+ import type { ReactElement } from "react";
14
+ import { type ConsumableItem, type ConsumableLevel as CapConsumableLevel } from "@dominevo/types";
15
+ import { type BadgeSize, type BadgeVariant } from "../primitives/badge";
16
+ import { type UiTextFn } from "../contexts/ui-text";
17
+ /** A consumable's level as the caps say it; `null` = not known right now. */
18
+ export type ConsumableLevel = CapConsumableLevel | null;
19
+ /** The badge variant a level is drawn in. */
20
+ export declare function consumableLevelVariant(level: ConsumableLevel): BadgeVariant;
21
+ /** The fill-bar class a level is drawn in. */
22
+ export declare function consumableLevelBarClass(level: ConsumableLevel): string;
23
+ /** The word for a level. */
24
+ export declare function consumableLevelLabel(level: ConsumableLevel, t: UiTextFn): string;
25
+ /** A remaining-life (or supply fill) % at or below this is `low`. */
26
+ export declare const CONSUMABLE_LOW_PERCENT = 15;
27
+ /** A waste fill % at or above this is `full`. */
28
+ export declare const CONSUMABLE_FULL_PERCENT = 85;
29
+ /** The item fields the level is derived from. */
30
+ export type ConsumableLevelInput = Pick<ConsumableItem, "level" | "status"> & Partial<Pick<ConsumableItem, "kind">>;
31
+ /**
32
+ * A `consumables` cap item as a level, by its kind (D915):
33
+ * - a `waste` item (a dust bin) is `full` when the provider says so or its
34
+ * fill is at or above {@link CONSUMABLE_FULL_PERCENT}, else ok;
35
+ * - a `wear` part or a `supply` reads a known % (0 = empty, at or below
36
+ * {@link CONSUMABLE_LOW_PERCENT} = low), never better than `low` when the
37
+ * provider says `replace` or `low`; without a % its discrete status.
38
+ * Nothing known is unknown (`null`).
39
+ */
40
+ export declare function consumableItemLevel(item: ConsumableLevelInput): ConsumableLevel;
41
+ /** A state-field description as `getWireableFields` reports it — only what is read here. */
42
+ export interface ConsumableLevelFieldView {
43
+ readonly kind: string;
44
+ readonly enumValues?: readonly string[];
45
+ }
46
+ /**
47
+ * Whether a cap state field IS a consumable level: an enum whose members are
48
+ * exactly the supply levels (`ok | low | empty`). Derived from the schema, so a
49
+ * new cap that uses the vocabulary is recognised without naming it anywhere.
50
+ */
51
+ export declare function isConsumableLevelField(field: ConsumableLevelFieldView): boolean;
52
+ /** A value read from a slice as a level; anything that is not a member is unknown. */
53
+ export declare function parseConsumableLevel(value: unknown): ConsumableLevel;
54
+ export interface ConsumableLevelBadgeProps {
55
+ readonly level: ConsumableLevel;
56
+ /** The consumable's name, shown before the state (`Salt · Low`). Omit when the row already names it. */
57
+ readonly name?: string;
58
+ /** Replaces the state word (`Replace`, `72 %`) — the tone still follows `level`. */
59
+ readonly label?: string;
60
+ readonly size?: BadgeSize;
61
+ readonly className?: string;
62
+ }
63
+ export declare function ConsumableLevelBadge({ level, name, label, size, className }: ConsumableLevelBadgeProps): ReactElement;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `CopyButton` — a compact button that copies a string `value` to the
3
+ * clipboard via `navigator.clipboard.writeText`, showing a brief
4
+ * "copied" check state. Addon-agnostic; used wherever a secret / URL
5
+ * needs a one-click copy affordance (export setup panels, etc.).
6
+ */
7
+ import { type ReactElement } from "react";
8
+ export interface CopyButtonProps {
9
+ /** String copied to the clipboard when the button is pressed. */
10
+ readonly value: string;
11
+ /** Optional visible label rendered next to the icon. Icon-only when omitted.
12
+ *
13
+ * Do NOT pass the name of the field the button sits next to: the row
14
+ * already shows it, and the repeat is what overlapped the value on a phone
15
+ * (a token row rendered its own name on top of the masked secret). Use
16
+ * {@link CopyButtonProps.srLabel} for that — it names the target for screen
17
+ * readers without spending horizontal space. */
18
+ readonly label?: string;
19
+ /** Names what is copied, for assistive tech only — never rendered. Falls back
20
+ * to `label`, then to a generic word. */
21
+ readonly srLabel?: string;
22
+ /** Extra classes merged onto the button. */
23
+ readonly className?: string;
24
+ /** Disable the button (e.g. nothing to copy). */
25
+ readonly disabled?: boolean;
26
+ }
27
+ export declare function CopyButton({ value, label, srLabel, className, disabled }: CopyButtonProps): ReactElement;
@@ -0,0 +1,9 @@
1
+ import { type JSX } from "react";
2
+ export declare const DATA_RECORDS_OWNER_PARAM = "recordsOwner";
3
+ export declare const DATA_RECORDS_KIND_PARAM = "recordsKind";
4
+ /**
5
+ * System → Data → Records: every declared record kind in ONE table with
6
+ * compact filters; an entry kind opens its editable list, any other kind its
7
+ * read-only row preview. Selection is in `?recordsOwner=&recordsKind=`.
8
+ */
9
+ export declare function DataRecordsHub(): JSX.Element;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * The pure half of the unified System → Data record view: one row per declared
3
+ * record kind (entry kinds included), the facet dimensions an operator filters
4
+ * on, and the text the search matches. No React, no queries.
5
+ */
6
+ import type { EntryKindInfo, StorageKind } from "@dominevo/types";
7
+ import type { DataTableFacetGroupConfig } from "../data-table-filter";
8
+ /** One table row: a declared kind, plus the entry catalog's title when it is an entry kind. */
9
+ export interface DataRecordRow {
10
+ readonly kind: StorageKind;
11
+ /** `null` when the kind is not an entry kind, or the entry catalog has not answered / lacks it. */
12
+ readonly entryTitle: string | null;
13
+ }
14
+ export type DataRecordType = "entry" | "record";
15
+ export type DataRecordContents = "has-rows" | "empty" | "unknown";
16
+ export declare function dataRecordKey(kind: Pick<StorageKind, "owner" | "kind">): string;
17
+ export declare function dataRecordType(kind: StorageKind): DataRecordType;
18
+ /** `unknown` is a kind whose count was not asked for or could not be read — never "empty". */
19
+ export declare function dataRecordContents(kind: StorageKind): DataRecordContents;
20
+ /**
21
+ * Join the declared kinds with the entry catalog. A pending/failed catalog
22
+ * (`undefined`) leaves titles `null`; it never changes which kinds are listed.
23
+ */
24
+ export declare function buildDataRecordRows(kinds: readonly StorageKind[], entryKinds: readonly EntryKindInfo[] | undefined): readonly DataRecordRow[];
25
+ export declare const DATA_RECORD_FACET_GROUPS: readonly DataTableFacetGroupConfig<DataRecordRow>[];
26
+ export declare function dataRecordSearchText(row: DataRecordRow): readonly string[];
@@ -0,0 +1,2 @@
1
+ export { DataRecordsHub, DATA_RECORDS_KIND_PARAM, DATA_RECORDS_OWNER_PARAM } from "./data-records-hub";
2
+ export { buildDataRecordRows, DATA_RECORD_FACET_GROUPS, dataRecordContents, dataRecordKey, dataRecordSearchText, dataRecordType, type DataRecordContents, type DataRecordRow, type DataRecordType } from "./data-records-model";
@@ -0,0 +1,58 @@
1
+ import { type JSX, type ReactNode } from "react";
2
+ import { type MultiSelectOption } from "./device-list/multi-select";
3
+ import { type DataTableFacet, type DataTableFilterState } from "./data-table-filter";
4
+ /** One facet group as the bar draws it. */
5
+ export interface DataTableFilterBarGroup {
6
+ readonly id: string;
7
+ /** Visible caption AND the chip group's accessible name ("Status"). */
8
+ readonly label: string;
9
+ readonly facets: readonly DataTableFacet[];
10
+ readonly selected: readonly string[];
11
+ /** Render a chip's caption. Default: the raw value. */
12
+ readonly facetLabel?: (value: string) => string;
13
+ /**
14
+ * `chips` (default): one pressable chip per value, inline. `menu`: ONE
15
+ * chip-sized trigger ("Owner · 2") that opens a checklist — for a group
16
+ * with many values or a bar with many groups, so the bar stays one row.
17
+ */
18
+ readonly display?: "chips" | "menu";
19
+ /**
20
+ * The fewest values that make the group worth drawing. Default 2: one value
21
+ * of a single-valued group is the row set itself. A multi-valued group
22
+ * (tags) passes 1 — one tag still splits tagged rows from the rest.
23
+ */
24
+ readonly minFacets?: number;
25
+ /** `menu` only: draw an option's row (a tag chip and its count). */
26
+ readonly renderOption?: (option: MultiSelectOption) => ReactNode;
27
+ /** `menu` only: per-option actions beside the checkbox (style, rename, remove). */
28
+ readonly optionActions?: (option: MultiSelectOption) => ReactNode;
29
+ }
30
+ export interface DataTableFilterBarLabels {
31
+ /** Placeholder of the search box. */
32
+ readonly searchPlaceholder: string;
33
+ /** Accessible name of the search box — say WHICH table, two of them on one
34
+ * page are otherwise indistinguishable to a screen reader. */
35
+ readonly searchLabel: string;
36
+ /** Accessible name of the chip group. */
37
+ readonly facetsLabel: string;
38
+ /** The clear-filters button. */
39
+ readonly clearLabel: string;
40
+ }
41
+ export interface DataTableFilterBarProps {
42
+ readonly state: DataTableFilterState;
43
+ readonly facets: readonly DataTableFacet[];
44
+ readonly labels: DataTableFilterBarLabels;
45
+ readonly onSearch: (search: string) => void;
46
+ readonly onToggleFacet: (value: string) => void;
47
+ readonly onClear: () => void;
48
+ /** Render a chip's caption. Default: the raw value. */
49
+ readonly facetLabel?: (value: string) => string;
50
+ /** Further chip rows (status, owner, kind…), each its own group. */
51
+ readonly groups?: readonly DataTableFilterBarGroup[];
52
+ readonly onToggleGroupFacet?: (groupId: string, value: string) => void;
53
+ /** Further controls of the same toolbar, before Clear (a view switch). */
54
+ readonly trailing?: ReactNode;
55
+ }
56
+ export declare const CHIP_ON = "rounded-full border border-primary bg-primary/10 px-2 py-0.5 text-[10px] text-foreground";
57
+ export declare const CHIP_OFF = "rounded-full border border-border px-2 py-0.5 text-[10px] text-foreground-muted hover:bg-surface-hover";
58
+ export declare function DataTableFilterBar({ state, facets, labels, onSearch, onToggleFacet, onClear, facetLabel, groups, onToggleGroupFacet, trailing }: DataTableFilterBarProps): JSX.Element;
@@ -0,0 +1,74 @@
1
+ export interface DataTableFilterState {
2
+ /** Case- and separator-insensitive substring, see `fuzzyMatch`. */
3
+ readonly search: string;
4
+ /** Selected facet values. Empty = every row. */
5
+ readonly facets: readonly string[];
6
+ /**
7
+ * Selected chips per facet GROUP (`facetGroups[].id` → values). OR inside a
8
+ * group, AND across groups. Absent or empty = the group does not filter.
9
+ */
10
+ readonly groups?: Readonly<Record<string, readonly string[]>>;
11
+ }
12
+ export declare const EMPTY_DATA_TABLE_FILTER: DataTableFilterState;
13
+ /** One independent chip row — status, owner, kind… */
14
+ export type DataTableFacetGroupConfig<T> = SingleValueFacetGroupConfig<T> | MultiValueFacetGroupConfig<T>;
15
+ export interface SingleValueFacetGroupConfig<T> {
16
+ /** Stable id; the key of `DataTableFilterState.groups`. */
17
+ readonly id: string;
18
+ /** The value this row contributes to THIS group's chips. */
19
+ readonly value: (row: T) => string;
20
+ readonly values?: never;
21
+ }
22
+ /**
23
+ * A group where a row carries SEVERAL values (its tags): the row counts toward
24
+ * each, and passes when ANY of them is chosen.
25
+ */
26
+ export interface MultiValueFacetGroupConfig<T> {
27
+ readonly id: string;
28
+ readonly values: (row: T) => readonly string[];
29
+ readonly value?: never;
30
+ }
31
+ /** Every value a row carries in `group` — one for a single-valued group. */
32
+ export declare function facetGroupValues<T>(group: DataTableFacetGroupConfig<T>, row: T): readonly string[];
33
+ /** A group's chips, derived from the rows. */
34
+ export interface DataTableFacetGroup {
35
+ readonly id: string;
36
+ readonly facets: readonly DataTableFacet[];
37
+ }
38
+ /** One facet chip, with how many of the rows carry it. */
39
+ export interface DataTableFacet {
40
+ readonly value: string;
41
+ readonly count: number;
42
+ }
43
+ export interface DataTableFilterConfig<T> {
44
+ /** Every text the search is matched against for this row — a name, and
45
+ * whatever else an operator would type to find it (a nested accessory's
46
+ * name, an id). */
47
+ readonly searchText: (row: T) => readonly string[];
48
+ /** The value this row contributes to the facet chips. Omit for a table
49
+ * with a search box only. */
50
+ readonly facetValue?: (row: T) => string;
51
+ /** Further chip rows, each filtering on its own dimension. */
52
+ readonly facetGroups?: readonly DataTableFacetGroupConfig<T>[];
53
+ }
54
+ /**
55
+ * The facet chips for these rows: one per distinct value, most common first,
56
+ * ties by value.
57
+ */
58
+ export declare function dataTableFacets<T>(rows: readonly T[], facetValue: ((row: T) => string) | undefined): readonly DataTableFacet[];
59
+ /** One chip row per configured group, each derived like {@link dataTableFacets}. */
60
+ export declare function dataTableFacetGroups<T>(rows: readonly T[], groups: readonly DataTableFacetGroupConfig<T>[] | undefined): readonly DataTableFacetGroup[];
61
+ export declare function isDataTableFilterActive(state: DataTableFilterState): boolean;
62
+ /** A new state with `value` added to, or removed from, group `groupId`. */
63
+ export declare function toggleDataTableGroupFacet(state: DataTableFilterState, groupId: string, value: string): DataTableFilterState;
64
+ /** A new state with group `groupId`'s selection replaced by `values`. */
65
+ export declare function setDataTableGroupFacets(state: DataTableFilterState, groupId: string, values: readonly string[]): DataTableFilterState;
66
+ /** A new state with `value` added to, or removed from, the selected facets. */
67
+ export declare function toggleDataTableFacet(state: DataTableFilterState, value: string): DataTableFilterState;
68
+ /**
69
+ * The rows that survive the filter, in their incoming order.
70
+ *
71
+ * A selected facet that none of `rows` carries is dropped from the effective
72
+ * selection (see the header), so a chip that is not on screen never filters.
73
+ */
74
+ export declare function filterDataTableRows<T>(rows: readonly T[], state: DataTableFilterState, config: DataTableFilterConfig<T>): readonly T[];
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from "react";
2
+ import type { DataTablePage, DataTablePaginationLabels } from "./data-table-pagination";
3
+ export interface DataTablePagerProps {
4
+ readonly page: DataTablePage<unknown>;
5
+ readonly labels: DataTablePaginationLabels;
6
+ readonly onPageChange: (page: number) => void;
7
+ }
8
+ export declare function DataTablePager({ page, labels, onPageChange }: DataTablePagerProps): ReactNode;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Client-side pagination for {@link DataTable} — pure, no React.
3
+ *
4
+ * The table sorts first and pages second, so page 1 always holds the first
5
+ * rows of the CURRENT order. A page past the end (the rows shrank under it:
6
+ * a filter narrowed, a revoke removed rows) clamps to the last page instead
7
+ * of rendering an empty table with a pager that says "page 4 of 2".
8
+ */
9
+ export interface DataTablePage<T> {
10
+ readonly pageRows: readonly T[];
11
+ /** 0-based page actually shown (after clamping). */
12
+ readonly page: number;
13
+ /** At least 1 — an empty table is one empty page. */
14
+ readonly pageCount: number;
15
+ /** 1-based index of the first row shown; 0 when there are none. */
16
+ readonly from: number;
17
+ /** 1-based index of the last row shown; 0 when there are none. */
18
+ readonly to: number;
19
+ readonly total: number;
20
+ }
21
+ export declare function paginateRows<T>(rows: readonly T[], page: number, pageSize: number): DataTablePage<T>;
22
+ /** Every visible string of the pager — this library carries no translations. */
23
+ export interface DataTablePaginationLabels {
24
+ /** Accessible name of the pager's `<nav>` — say WHICH table. */
25
+ readonly navLabel: string;
26
+ readonly previous: string;
27
+ readonly next: string;
28
+ /** "1–25 of 167". Arguments are 1-based; `from`/`to` are 0 for no rows. */
29
+ readonly range: (from: number, to: number, total: number) => string;
30
+ }
31
+ export declare const DEFAULT_PAGINATION_LABELS: DataTablePaginationLabels;
@@ -0,0 +1,15 @@
1
+ import type { DataColumn } from "./data-table";
2
+ export interface DataTableSelection<T> {
3
+ /** Selected row keys (`rowKey(row)`, stringified). Owned by the caller. */
4
+ readonly selected: ReadonlySet<string>;
5
+ readonly onChange: (next: ReadonlySet<string>) => void;
6
+ /** False = no checkbox for this row (e.g. the caller's own session). */
7
+ readonly isSelectable?: (row: T) => boolean;
8
+ /** Accessible name of a row's checkbox — name the row, not "select". */
9
+ readonly rowLabel: (row: T) => string;
10
+ /** Accessible name of the header checkbox. */
11
+ readonly pageLabel: string;
12
+ }
13
+ export declare const SELECTION_COLUMN_KEY = "__select";
14
+ /** The selection column for the rows currently on screen. */
15
+ export declare function selectionColumn<T>(selection: DataTableSelection<T>, pageRows: readonly T[], keyOf: (row: T) => string): DataColumn<T>;
@@ -0,0 +1,215 @@
1
+ import { type JSX, type ReactNode } from "react";
2
+ import { type RowOperationState } from "../hooks/use-row-operations";
3
+ import { type DataTablePaginationLabels } from "./data-table-pagination";
4
+ import { type DataTableSelection } from "./data-table-selection";
5
+ import { type TableSortState, type TableSortValue } from "./table-sort";
6
+ /** A destructive row action: confirm, then a loader ON THE ROW until it settles. */
7
+ export interface RowDestructiveSpec {
8
+ readonly title: string;
9
+ readonly message: string;
10
+ readonly confirmLabel?: string;
11
+ /** Must resolve only once the work is really done; a throw is a failure. */
12
+ readonly run: () => Promise<unknown>;
13
+ }
14
+ /** What a column's `render` can ask of its table. */
15
+ export interface DataTableRowApi<T> {
16
+ /**
17
+ * Confirm dialog -> the dialog closes -> the row is `pending` (dimmed,
18
+ * `aria-busy`, no click) until `run` settles. A failure leaves the row
19
+ * tinted with the message and is reported to `onRowActionError`. Resolves
20
+ * `true` when the action completed, `false` when declined, refused or failed.
21
+ */
22
+ readonly destructive: (row: T, spec: RowDestructiveSpec) => Promise<boolean>;
23
+ }
24
+ /**
25
+ * The row API for a column re-typed onto another row type (a wrapper that
26
+ * renders an inner column for the row it picked): the action still runs on the
27
+ * OUTER row the table knows.
28
+ */
29
+ export declare function forwardRowApi<
30
+ Outer,
31
+ Inner
32
+ >(table: DataTableRowApi<Outer>, outer: Outer): DataTableRowApi<Inner>;
33
+ /** A row API with no table behind it (a column rendered outside a `DataTable`, e.g. in a spec): it never runs anything. */
34
+ export declare const DETACHED_ROW_API: DataTableRowApi<unknown>;
35
+ export interface DataColumn<T> {
36
+ /** Stable key for React reconciliation + tests. */
37
+ readonly key: string;
38
+ /** Plain text header. Mutually exclusive with `headerRender`. */
39
+ readonly header?: string;
40
+ /** Custom header markup — overrides `header`. */
41
+ readonly headerRender?: () => ReactNode;
42
+ /** Cell horizontal alignment. Default: `left`. */
43
+ readonly align?: "left" | "right" | "center";
44
+ /** Suppress text wrapping on header + cell. Default: `true` — a cell that
45
+ * wraps is a row that has already lost its table. Pass `false` only for a
46
+ * column whose value is meant to wrap (a description, a blob). */
47
+ readonly nowrap?: boolean;
48
+ /**
49
+ * Cell renderer. Receives the row value and the table's row API: a row's
50
+ * destructive action goes through `table.destructive(row, spec)`, never
51
+ * through hand-wired row state.
52
+ */
53
+ readonly render: (row: T, rowIndex: number, table: DataTableRowApi<T>) => ReactNode;
54
+ /** Optional explicit Tailwind width class (e.g. `'w-24'`). */
55
+ readonly width?: string;
56
+ /**
57
+ * Opt this column into column sorting. Return the row's value for THIS
58
+ * column: a number for numeric columns (never a formatted string — "100"
59
+ * sorts before "9"), a string for text, and `null` when the row has no
60
+ * value, which always sorts last in both directions.
61
+ *
62
+ * Called once per row per comparison, so read a field; do not format.
63
+ *
64
+ * Omitting it is the correct answer for a composite cell (a list, an argv
65
+ * blob, an interactive control): see {@link DataColumn.notSortableReason}.
66
+ */
67
+ readonly sortValue?: (row: T) => TableSortValue;
68
+ /**
69
+ * Why this column has NO sort. Rendered as the header's `title` so the
70
+ * reason reaches the operator who wonders why one header clicks and the
71
+ * next does not.
72
+ *
73
+ * Only meaningful together with an absent `sortValue`. A column that cannot
74
+ * be ordered in a way that MEANS something must say so rather than offer an
75
+ * ordering that looks authoritative and is not.
76
+ */
77
+ readonly notSortableReason?: string;
78
+ /**
79
+ * What this column does below `sm` (a phone). The table stays a table:
80
+ * - `primary` — the row's identity; takes the free width and is shown in
81
+ * full (it may wrap to a second line).
82
+ * Exactly one per table.
83
+ * - `keep` — stays a column (a status, the row's main control, the
84
+ * actions trigger). At most three.
85
+ * - `detail` — leaves the column strip and is read in the muted second
86
+ * line under the primary value.
87
+ * - `sheet` — not in the phone row; listed (label + control) in the bottom
88
+ * sheet a row tap opens. For columns that hold an input. From `sm` up it
89
+ * is an ordinary column.
90
+ * - `hidden` — not shown on a phone; the row's page or expansion has it.
91
+ * Required: a column with no declared phone behaviour is how a table ends
92
+ * up wider than the screen (`scripts/check-table-mobile-roles.ts`).
93
+ */
94
+ readonly mobile: DataColumnMobileRole;
95
+ /**
96
+ * `sheet` columns only: false skips this column in the row's sheet (a cell the
97
+ * row deliberately leaves empty must not show a bare label). Use the same
98
+ * predicate `render` uses to decide it is empty. Absent = always listed. A row
99
+ * with no visible sheet entry does not open a sheet: its tap falls back to
100
+ * `onRowClick`, or does nothing.
101
+ */
102
+ readonly sheetVisible?: (row: T) => boolean;
103
+ }
104
+ export type DataColumnMobileRole = "primary" | "keep" | "detail" | "sheet" | "hidden";
105
+ export interface DataTableProps<T> {
106
+ readonly columns: readonly DataColumn<T>[];
107
+ readonly rows: readonly T[];
108
+ /** Stable key per row. Default: rowIndex (works for stable lists). */
109
+ readonly rowKey?: (row: T, rowIndex: number) => string | number;
110
+ /** Click handler attached to each row. Adds hover + cursor-pointer. */
111
+ readonly onRowClick?: (row: T, rowIndex: number) => void;
112
+ /**
113
+ * With `sheet` columns AND `onRowClick`: on a phone the row tap opens the sheet
114
+ * instead of calling `onRowClick`; this label adds a button at the end of the
115
+ * sheet that closes it and calls `onRowClick` for the row (e.g. "Edit rule").
116
+ * Absent = the sheet has no such button.
117
+ */
118
+ readonly sheetOpenLabel?: string;
119
+ /**
120
+ * The sheet's title (its accessible name). Default: the primary cell's text when
121
+ * it renders a string or number, else the primary column's header.
122
+ */
123
+ readonly sheetTitle?: (row: T) => string;
124
+ /** Min width in px for the inner table. Default: 480. */
125
+ readonly minWidthPx?: number;
126
+ /** Empty-state message. Default: hides the table when rows=[]. */
127
+ readonly emptyMessage?: string;
128
+ /** Additional className for the outer container. */
129
+ readonly className?: string;
130
+ /** Wrapper border style — set false to drop the rounded border (e.g. when the
131
+ * table sits inside another bordered card). Default: `true`. */
132
+ readonly bordered?: boolean;
133
+ /** Per-row className resolver (e.g. status-coloured backgrounds). */
134
+ readonly rowClassName?: (row: T, rowIndex: number) => string | undefined;
135
+ /**
136
+ * Per-row operation in flight (`useRowOperations().stateOf(key)`): `pending`
137
+ * dims the row, marks it `aria-busy` and withholds `onRowClick`; `failed`
138
+ * tints it and exposes the message as its title. Absent = idle rows.
139
+ */
140
+ readonly rowState?: (row: T, rowIndex: number) => RowOperationState | undefined;
141
+ /**
142
+ * A row action started through `table.destructive` failed. Surface it (a
143
+ * toast); the row itself stays tinted with the same message.
144
+ */
145
+ readonly onRowActionError?: (message: string, row: T) => void;
146
+ /**
147
+ * Tailwind `max-h-*` class capping the table. The rows then scroll INSIDE
148
+ * this container and the column header is pinned to its top; the page around
149
+ * it does not move. Absent (default) = the table is as tall as its rows and
150
+ * the page scrolls. Use {@link TABLE_SCROLL_MAX_H} unless a surface has a
151
+ * reason of its own. Ignored when {@link fill} is true.
152
+ */
153
+ readonly maxBodyHeight?: string;
154
+ /**
155
+ * Grow into the parent flex column (`h-full min-h-0`) and scroll rows inside.
156
+ * Use on managed-list section bodies under a `PageShell` / `SectionedPage`
157
+ * with `fill` (parent must own the viewport height).
158
+ */
159
+ readonly fill?: boolean;
160
+ /**
161
+ * Column sort the table opens with, e.g. `{ columnKey: 'cpu', dir: 'desc' }`.
162
+ * Must name a column that declares `sortValue`; a key that names no sortable
163
+ * column simply leaves the table in its incoming order.
164
+ *
165
+ * The state is owned INSIDE the table from here on — a header click moves it
166
+ * none → asc → desc → none. Pass this only to choose the opening order, not
167
+ * to drive the table from outside — that is {@link DataTableProps.sort}.
168
+ */
169
+ readonly defaultSort?: TableSortState;
170
+ /**
171
+ * CONTROLLED sort. Present (even `null`) = the owner holds the state: the
172
+ * table renders exactly this order and reports header clicks through
173
+ * `onSortChange` without moving on its own. Use it when the order must
174
+ * survive a remount or live in the URL. Absent = uncontrolled
175
+ * (`defaultSort`).
176
+ */
177
+ readonly sort?: TableSortState | null;
178
+ /** Every header click, with the next state (none → asc → desc → none). */
179
+ readonly onSortChange?: (next: TableSortState | null) => void;
180
+ /**
181
+ * Client-side pagination: show this many rows per page with a pager under
182
+ * the table. Sorting happens first, so page 1 holds the first rows of the
183
+ * current order. Absent = every row, no pager. The pager is drawn only when
184
+ * the rows do not fit on one page.
185
+ */
186
+ readonly pageSize?: number;
187
+ /** CONTROLLED 0-based page (with `onPageChange`). Absent = the table owns it. */
188
+ readonly page?: number;
189
+ readonly onPageChange?: (page: number) => void;
190
+ /** The pager's strings. Default: English. */
191
+ readonly paginationLabels?: DataTablePaginationLabels;
192
+ /**
193
+ * Row selection — a leading checkbox column (see `data-table-selection`).
194
+ * Needs `rowKey`: keys are what the caller's bulk action acts on.
195
+ */
196
+ readonly selection?: DataTableSelection<T>;
197
+ /**
198
+ * Inline row detail: rendered in its own full-width row DIRECTLY UNDER the
199
+ * row for which `isExpanded` is true, so it stays attached to that row under
200
+ * sorting and paging. The caller owns the open state and the toggle control
201
+ * (a column cell). Never render the detail after the table — it would sit
202
+ * below every row.
203
+ */
204
+ readonly renderExpanded?: (row: T, rowIndex: number) => ReactNode;
205
+ readonly isExpanded?: (row: T) => boolean;
206
+ }
207
+ /**
208
+ * The default cap for an internally-scrolling table.
209
+ *
210
+ * `60vh` leaves the page header, its filters and its actions on screen at
211
+ * every viewport while still showing ~10 rows — and it is a fraction, so it
212
+ * does not need a breakpoint of its own.
213
+ */
214
+ export declare const TABLE_SCROLL_MAX_H: "max-h-[60vh]";
215
+ export declare function DataTable<T>({ columns, rows, rowKey, onRowClick, sheetOpenLabel, sheetTitle, minWidthPx, emptyMessage, className, bordered, rowClassName, rowState, onRowActionError, maxBodyHeight, fill, defaultSort, sort: sortProp, onSortChange, pageSize, page: pageProp, onPageChange, paginationLabels, selection, renderExpanded, isExpanded }: DataTableProps<T>): JSX.Element | null;
@@ -0,0 +1,29 @@
1
+ import { type JSX, type ReactNode } from "react";
2
+ export type { ObjectDetection, ScoredLabel, DetectionBoundingBox } from "@dominevo/types";
3
+ import type { ObjectDetection } from "@dominevo/types";
4
+ /** Legacy alias kept so pre-rework consumers don't need a coordinated rename. */
5
+ export type Detection = ObjectDetection;
6
+ export interface DetectionCanvasProps {
7
+ /** Image source (data URL or regular URL) */
8
+ readonly src: string | null;
9
+ /** Image dimensions (used for bbox coordinate mapping) */
10
+ readonly imageWidth: number;
11
+ readonly imageHeight: number;
12
+ /** Detections to overlay — flat list (first-level + details). */
13
+ readonly detections?: readonly ObjectDetection[];
14
+ /** Custom class → hex color mapping (merged with defaults) */
15
+ readonly classColors?: Readonly<Record<string, string>>;
16
+ /** Aspect ratio CSS value (default: auto based on image dimensions) */
17
+ readonly aspectRatio?: string;
18
+ /** Additional CSS classes on the container */
19
+ readonly className?: string;
20
+ /** Placeholder content when no image is loaded */
21
+ readonly placeholder?: ReactNode;
22
+ /** Show confidence percentage in bbox labels */
23
+ readonly showConfidence?: boolean;
24
+ /** Minimum confidence to display (0-1, default: 0) */
25
+ readonly minConfidence?: number;
26
+ /** Border width for bboxes in px (default: 2) */
27
+ readonly borderWidth?: number;
28
+ }
29
+ export declare function DetectionCanvas({ src, imageWidth, imageHeight, detections, classColors, aspectRatio, className, placeholder, showConfidence, minConfidence, borderWidth }: DetectionCanvasProps): JSX.Element;