@dominevo/ui-library 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1371 -0
- package/README.md +18 -2
- package/assets/brand/dominevo-current.svg +1 -0
- package/assets/brand/dominevo-light.svg +1 -0
- package/assets/brand/dominevo-mono.svg +1 -0
- package/assets/brand/dominevo-primary.svg +1 -0
- package/dist/MaskShapeCanvas-C9cJlxvG.js +915 -0
- package/dist/MaskShapeCanvas-NCNwu9_5.cjs +915 -0
- package/dist/MotionZonesSettings-C2AIvd4c.js +410 -0
- package/dist/MotionZonesSettings-CPRH536-.cjs +410 -0
- package/dist/PrivacyMaskSettings-BLM8OfT5.cjs +433 -0
- package/dist/PrivacyMaskSettings-FNCxdQCg.js +433 -0
- package/dist/SceneMonitorEditor-Bres0ZEA.cjs +1052 -0
- package/dist/SceneMonitorEditor-grGP7vRI.js +1052 -0
- package/dist/chevron-down-B71qEdFG.js +121 -0
- package/dist/chevron-down-VnEXTuJa.cjs +132 -0
- package/dist/composites/DeviceRunsPanel.d.ts +23 -0
- package/dist/composites/accelerator-label.d.ts +17 -0
- package/dist/composites/account-sign-in-field.d.ts +17 -0
- package/dist/composites/adaptive-downlink.d.ts +202 -0
- package/dist/composites/addon-page-props.d.ts +44 -0
- package/dist/composites/addon-scoped-settings-form.d.ts +59 -0
- package/dist/composites/agent-step-editor.d.ts +56 -0
- package/dist/composites/app-shell/app-shell.d.ts +19 -0
- package/dist/composites/app-shell/index.d.ts +3 -0
- package/dist/composites/app-shell/sidebar-item.d.ts +11 -0
- package/dist/composites/app-shell/sidebar.d.ts +14 -0
- package/dist/composites/audio-classification-list.d.ts +21 -0
- package/dist/composites/audio-level-waveform.d.ts +36 -0
- package/dist/composites/audio-waveform.d.ts +21 -0
- package/dist/composites/battery-badge.d.ts +37 -0
- package/dist/composites/battery-details-list.d.ts +10 -0
- package/dist/composites/battery-details.d.ts +22 -0
- package/dist/composites/binary-battery.d.ts +8 -0
- package/dist/composites/breadcrumb.d.ts +26 -0
- package/dist/composites/camera-stream-player.d.ts +330 -0
- package/dist/composites/cap-link-cell.d.ts +30 -0
- package/dist/composites/cap-settings/AutotrackSection.d.ts +6 -0
- package/dist/composites/cap-settings/CameraGridLayoutEditor.d.ts +5 -0
- package/dist/composites/cap-settings/CoverageTrack.d.ts +30 -0
- package/dist/composites/cap-settings/EventBucketStrip.d.ts +26 -0
- package/dist/composites/cap-settings/EventHeatmap.d.ts +17 -0
- package/dist/composites/cap-settings/HomePresetPicker.d.ts +6 -0
- package/dist/composites/cap-settings/MaskShapeCanvas.d.ts +48 -0
- package/dist/composites/cap-settings/MotionZonesSettings.d.ts +3 -0
- package/dist/composites/cap-settings/NavigationPanel.d.ts +3 -0
- package/dist/composites/cap-settings/PowerMeterLine.d.ts +10 -0
- package/dist/composites/cap-settings/PrivacyMaskSettings.d.ts +3 -0
- package/dist/composites/cap-settings/PtzPanel.d.ts +15 -0
- package/dist/composites/cap-settings/RecordingBandsEditor.d.ts +46 -0
- package/dist/composites/cap-settings/RecordingPanel.d.ts +3 -0
- package/dist/composites/cap-settings/RecordingSettings.d.ts +14 -0
- package/dist/composites/cap-settings/RecordingTimeline.d.ts +34 -0
- package/dist/composites/cap-settings/SceneMonitorEditor.d.ts +5 -0
- package/dist/composites/cap-settings/SceneReferenceGallery.d.ts +37 -0
- package/dist/composites/cap-settings/SceneSettingsForm.d.ts +22 -0
- package/dist/composites/cap-settings/SourceCropCanvas.d.ts +73 -0
- package/dist/composites/cap-settings/TimelineControls.d.ts +25 -0
- package/dist/composites/cap-settings/camera-grid-layout.d.ts +120 -0
- package/dist/composites/cap-settings/event-thumb.d.ts +12 -0
- package/dist/composites/cap-settings/index.d.ts +23 -0
- package/dist/composites/cap-settings/privacy-mask-audio.d.ts +59 -0
- package/dist/composites/cap-settings/recording-config-form.d.ts +57 -0
- package/dist/composites/cap-settings/recording-spans.d.ts +22 -0
- package/dist/composites/cap-settings/recording-timeline-model.d.ts +129 -0
- package/dist/composites/cap-settings/scene-monitor-copy.d.ts +84 -0
- package/dist/composites/charts/BarSeries.d.ts +54 -0
- package/dist/composites/charts/Sparkline.d.ts +31 -0
- package/dist/composites/charts/StateTimeline.d.ts +51 -0
- package/dist/composites/charts/TimeSeriesChart.d.ts +59 -0
- package/dist/composites/charts/bar-series-model.d.ts +25 -0
- package/dist/composites/charts/chart-bands.d.ts +22 -0
- package/dist/composites/charts/chart-data.d.ts +89 -0
- package/dist/composites/charts/chart-frame.d.ts +55 -0
- package/dist/composites/charts/chart-palette.d.ts +46 -0
- package/dist/composites/charts/chart-scale.d.ts +29 -0
- package/dist/composites/charts/chart-tooltip-host.d.ts +27 -0
- package/dist/composites/charts/chart-tooltip-model.d.ts +178 -0
- package/dist/composites/charts/chart-uplot.d.ts +79 -0
- package/dist/composites/charts/chart-window.d.ts +19 -0
- package/dist/composites/charts/index.d.ts +16 -0
- package/dist/composites/charts/time-series-model.d.ts +50 -0
- package/dist/composites/charts/uplot-host.d.ts +42 -0
- package/dist/composites/client-network-sample.d.ts +56 -0
- package/dist/composites/clips/ClipBandBar.d.ts +46 -0
- package/dist/composites/clips/ClipPanel.d.ts +32 -0
- package/dist/composites/clips/ClipSourceLanes.d.ts +47 -0
- package/dist/composites/clips/ClipTile.d.ts +28 -0
- package/dist/composites/clips/ClipsSection.d.ts +109 -0
- package/dist/composites/clips/clip-band.d.ts +92 -0
- package/dist/composites/clips/clip-day-window.d.ts +13 -0
- package/dist/composites/clips/clip-source-options.d.ts +42 -0
- package/dist/composites/clips/clip-source-state.d.ts +64 -0
- package/dist/composites/clips/clip-still-retry.d.ts +50 -0
- package/dist/composites/clips/clip-thumbnail-fetch.d.ts +17 -0
- package/dist/composites/clips/clip-tile-media.d.ts +78 -0
- package/dist/composites/clips/clip-view-state.d.ts +87 -0
- package/dist/composites/code-block.d.ts +7 -0
- package/dist/composites/command-slider.d.ts +20 -0
- package/dist/composites/condition-kind-picker/ConditionKindPicker.d.ts +36 -0
- package/dist/composites/condition-kind-picker/condition-kind-icons.d.ts +4 -0
- package/dist/composites/condition-kind-picker/condition-kind-picker-model.d.ts +63 -0
- package/dist/composites/condition-kind-picker/index.d.ts +3 -0
- package/dist/composites/condition-kind-picker/use-recent-kinds.d.ts +11 -0
- package/dist/composites/config-discovered-select-field.d.ts +43 -0
- package/dist/composites/config-form-builder.d.ts +42 -0
- package/dist/composites/config-form-field.d.ts +80 -0
- package/dist/composites/config-icon-field.d.ts +12 -0
- package/dist/composites/config-instance-select-field.d.ts +32 -0
- package/dist/composites/config-secret-field.d.ts +65 -0
- package/dist/composites/confirm-action-button.d.ts +74 -0
- package/dist/composites/confirm-dialog.d.ts +79 -0
- package/dist/composites/consumable-level-badge.d.ts +63 -0
- package/dist/composites/copy-button.d.ts +27 -0
- package/dist/composites/data-records/data-records-hub.d.ts +9 -0
- package/dist/composites/data-records/data-records-model.d.ts +26 -0
- package/dist/composites/data-records/index.d.ts +2 -0
- package/dist/composites/data-table-filter-bar.d.ts +58 -0
- package/dist/composites/data-table-filter.d.ts +74 -0
- package/dist/composites/data-table-pager.d.ts +8 -0
- package/dist/composites/data-table-pagination.d.ts +31 -0
- package/dist/composites/data-table-selection.d.ts +15 -0
- package/dist/composites/data-table.d.ts +215 -0
- package/dist/composites/detection-canvas.d.ts +29 -0
- package/dist/composites/detection-colors.d.ts +24 -0
- package/dist/composites/detection-overlay.d.ts +35 -0
- package/dist/composites/detection-result-tree.d.ts +12 -0
- package/dist/composites/dev-shell.d.ts +21 -0
- package/dist/composites/device-activity-panel.d.ts +39 -0
- package/dist/composites/device-card/__fixtures__/actuations.d.ts +12 -0
- package/dist/composites/device-card/__fixtures__/alarm.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/appliance.d.ts +18 -0
- package/dist/composites/device-card/__fixtures__/climate.d.ts +15 -0
- package/dist/composites/device-card/__fixtures__/common.d.ts +21 -0
- package/dist/composites/device-card/__fixtures__/cover.d.ts +9 -0
- package/dist/composites/device-card/__fixtures__/energy-day.d.ts +3 -0
- package/dist/composites/device-card/__fixtures__/energy.d.ts +22 -0
- package/dist/composites/device-card/__fixtures__/fan.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/heat-pump.d.ts +13 -0
- package/dist/composites/device-card/__fixtures__/heater.d.ts +11 -0
- package/dist/composites/device-card/__fixtures__/humidifier.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/ir.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/light.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/lock.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/media.d.ts +11 -0
- package/dist/composites/device-card/__fixtures__/pet.d.ts +11 -0
- package/dist/composites/device-card/__fixtures__/pie-readings.d.ts +14 -0
- package/dist/composites/device-card/__fixtures__/plug.d.ts +19 -0
- package/dist/composites/device-card/__fixtures__/robot.d.ts +9 -0
- package/dist/composites/device-card/__fixtures__/sensor.d.ts +3 -0
- package/dist/composites/device-card/__fixtures__/siren.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/valve.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/water-heater.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/wave-d-common.d.ts +11 -0
- package/dist/composites/device-card/__fixtures__/wave-e.d.ts +29 -0
- package/dist/composites/device-card/__fixtures__/weather-station.d.ts +10 -0
- package/dist/composites/device-card/__fixtures__/weather.d.ts +10 -0
- package/dist/composites/device-card/card-css.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedActionCards.d.ts +11 -0
- package/dist/composites/device-card/connected/ConnectedAlarmCard.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedApplianceCard.d.ts +9 -0
- package/dist/composites/device-card/connected/ConnectedCameraCard.d.ts +41 -0
- package/dist/composites/device-card/connected/ConnectedClimateCard.d.ts +7 -0
- package/dist/composites/device-card/connected/ConnectedContainerCard.d.ts +14 -0
- package/dist/composites/device-card/connected/ConnectedControlCard.d.ts +9 -0
- package/dist/composites/device-card/connected/ConnectedCoverCard.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedDeviceCard.d.ts +12 -0
- package/dist/composites/device-card/connected/ConnectedDishwasherCard.d.ts +10 -0
- package/dist/composites/device-card/connected/ConnectedEnergyCard.d.ts +10 -0
- package/dist/composites/device-card/connected/ConnectedEventCard.d.ts +23 -0
- package/dist/composites/device-card/connected/ConnectedFanCard.d.ts +9 -0
- package/dist/composites/device-card/connected/ConnectedGatewayCard.d.ts +11 -0
- package/dist/composites/device-card/connected/ConnectedHeatPumpCard.d.ts +9 -0
- package/dist/composites/device-card/connected/ConnectedHeaterCard.d.ts +4 -0
- package/dist/composites/device-card/connected/ConnectedHumidifierCard.d.ts +7 -0
- package/dist/composites/device-card/connected/ConnectedImageCard.d.ts +4 -0
- package/dist/composites/device-card/connected/ConnectedIrTransmitterCard.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedLightCard.d.ts +12 -0
- package/dist/composites/device-card/connected/ConnectedLockCard.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedMediaCard.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedNotifierCard.d.ts +4 -0
- package/dist/composites/device-card/connected/ConnectedPetFeederCard.d.ts +9 -0
- package/dist/composites/device-card/connected/ConnectedPetFountainCard.d.ts +4 -0
- package/dist/composites/device-card/connected/ConnectedPlugCard.d.ts +16 -0
- package/dist/composites/device-card/connected/ConnectedRobotCard.d.ts +6 -0
- package/dist/composites/device-card/connected/ConnectedSensorCard.d.ts +19 -0
- package/dist/composites/device-card/connected/ConnectedSirenCard.d.ts +10 -0
- package/dist/composites/device-card/connected/ConnectedUpdateCard.d.ts +7 -0
- package/dist/composites/device-card/connected/ConnectedValveCard.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedWaterHeaterCard.d.ts +8 -0
- package/dist/composites/device-card/connected/ConnectedWeatherCard.d.ts +7 -0
- package/dist/composites/device-card/connected/ConnectedWeatherStationCard.d.ts +4 -0
- package/dist/composites/device-card/connected/ConnectedWorkloadCard.d.ts +10 -0
- package/dist/composites/device-card/connected/MeasuredPieCard.d.ts +15 -0
- package/dist/composites/device-card/connected/PrimaryTrend.d.ts +10 -0
- package/dist/composites/device-card/connected/ReadingHistory.d.ts +20 -0
- package/dist/composites/device-card/connected/SensorTrend.d.ts +19 -0
- package/dist/composites/device-card/connected/TrendReadout.d.ts +27 -0
- package/dist/composites/device-card/connected/alarm-model.d.ts +8 -0
- package/dist/composites/device-card/connected/appliance-model.d.ts +36 -0
- package/dist/composites/device-card/connected/cap-card-kinds.d.ts +13 -0
- package/dist/composites/device-card/connected/climate-model.d.ts +42 -0
- package/dist/composites/device-card/connected/coarse-duration.d.ts +3 -0
- package/dist/composites/device-card/connected/connected-card-kind.d.ts +17 -0
- package/dist/composites/device-card/connected/consumable-card-item.d.ts +10 -0
- package/dist/composites/device-card/connected/control-model.d.ts +8 -0
- package/dist/composites/device-card/connected/energy-day.d.ts +57 -0
- package/dist/composites/device-card/connected/energy-model.d.ts +102 -0
- package/dist/composites/device-card/connected/fan-model.d.ts +42 -0
- package/dist/composites/device-card/connected/heat-pump-model.d.ts +22 -0
- package/dist/composites/device-card/connected/humidifier-model.d.ts +7 -0
- package/dist/composites/device-card/connected/ir-transmitter-model.d.ts +46 -0
- package/dist/composites/device-card/connected/lock-model.d.ts +11 -0
- package/dist/composites/device-card/connected/measurement-label.d.ts +4 -0
- package/dist/composites/device-card/connected/measurement-since.d.ts +10 -0
- package/dist/composites/device-card/connected/media-model.d.ts +18 -0
- package/dist/composites/device-card/connected/pet-model.d.ts +13 -0
- package/dist/composites/device-card/connected/primary-trend.d.ts +21 -0
- package/dist/composites/device-card/connected/remote-panel.d.ts +14 -0
- package/dist/composites/device-card/connected/robot-model.d.ts +5 -0
- package/dist/composites/device-card/connected/since-text.d.ts +6 -0
- package/dist/composites/device-card/connected/trend-readout.d.ts +33 -0
- package/dist/composites/device-card/connected/use-card-common.d.ts +49 -0
- package/dist/composites/device-card/connected/use-command-notice.d.ts +39 -0
- package/dist/composites/device-card/connected/use-energy-day.d.ts +22 -0
- package/dist/composites/device-card/connected/use-heat-pump-link.d.ts +25 -0
- package/dist/composites/device-card/connected/use-measurement-readings.d.ts +13 -0
- package/dist/composites/device-card/connected/use-motion-trigger.d.ts +27 -0
- package/dist/composites/device-card/connected/use-power-cycle.d.ts +21 -0
- package/dist/composites/device-card/connected/use-switch-power.d.ts +16 -0
- package/dist/composites/device-card/connected/water-heater-model.d.ts +19 -0
- package/dist/composites/device-card/icons.d.ts +10 -0
- package/dist/composites/device-card/illustrations/AlarmIllustration.d.ts +12 -0
- package/dist/composites/device-card/illustrations/AmbientFx.d.ts +37 -0
- package/dist/composites/device-card/illustrations/ApplianceIllustration.d.ts +19 -0
- package/dist/composites/device-card/illustrations/ClimateRoleGlyph.d.ts +9 -0
- package/dist/composites/device-card/illustrations/CoverIllustration.d.ts +35 -0
- package/dist/composites/device-card/illustrations/DropIllustration.d.ts +10 -0
- package/dist/composites/device-card/illustrations/EnergyFlowIllustration.d.ts +43 -0
- package/dist/composites/device-card/illustrations/FanIllustration.d.ts +28 -0
- package/dist/composites/device-card/illustrations/HeatPumpIllustration.d.ts +14 -0
- package/dist/composites/device-card/illustrations/HeaterIllustration.d.ts +7 -0
- package/dist/composites/device-card/illustrations/LightIllustration.d.ts +18 -0
- package/dist/composites/device-card/illustrations/LockIllustration.d.ts +11 -0
- package/dist/composites/device-card/illustrations/MeasurementFx.d.ts +11 -0
- package/dist/composites/device-card/illustrations/MediaArtwork.d.ts +19 -0
- package/dist/composites/device-card/illustrations/PetFeederIllustration.d.ts +14 -0
- package/dist/composites/device-card/illustrations/PetFountainIllustration.d.ts +10 -0
- package/dist/composites/device-card/illustrations/PlugIllustration.d.ts +7 -0
- package/dist/composites/device-card/illustrations/PoePortIllustration.d.ts +11 -0
- package/dist/composites/device-card/illustrations/RobotIllustration.d.ts +18 -0
- package/dist/composites/device-card/illustrations/SirenIllustration.d.ts +7 -0
- package/dist/composites/device-card/illustrations/TankIllustration.d.ts +15 -0
- package/dist/composites/device-card/illustrations/ValveIllustration.d.ts +14 -0
- package/dist/composites/device-card/index.d.ts +175 -0
- package/dist/composites/device-card/parts/ArcGauge.d.ts +18 -0
- package/dist/composites/device-card/parts/ArmedButton.d.ts +31 -0
- package/dist/composites/device-card/parts/ButtonGroup.d.ts +26 -0
- package/dist/composites/device-card/parts/CardButton.d.ts +16 -0
- package/dist/composites/device-card/parts/CardIcon.d.ts +8 -0
- package/dist/composites/device-card/parts/CodePad.d.ts +14 -0
- package/dist/composites/device-card/parts/CountdownRing.d.ts +23 -0
- package/dist/composites/device-card/parts/Dial.d.ts +63 -0
- package/dist/composites/device-card/parts/EnergyDayPanel.d.ts +33 -0
- package/dist/composites/device-card/parts/EventList.d.ts +17 -0
- package/dist/composites/device-card/parts/InfoTile.d.ts +20 -0
- package/dist/composites/device-card/parts/KeyValue.d.ts +7 -0
- package/dist/composites/device-card/parts/LevelBar.d.ts +13 -0
- package/dist/composites/device-card/parts/LevelRow.d.ts +12 -0
- package/dist/composites/device-card/parts/MenuButton.d.ts +25 -0
- package/dist/composites/device-card/parts/PopoverButton.d.ts +22 -0
- package/dist/composites/device-card/parts/RangeDial.d.ts +32 -0
- package/dist/composites/device-card/parts/ReadingValue.d.ts +12 -0
- package/dist/composites/device-card/parts/Readings.d.ts +15 -0
- package/dist/composites/device-card/parts/StateDot.d.ts +11 -0
- package/dist/composites/device-card/parts/SwitchTimer.d.ts +16 -0
- package/dist/composites/device-card/parts/ValueChip.d.ts +11 -0
- package/dist/composites/device-card/parts/ValueEntry.d.ts +17 -0
- package/dist/composites/device-card/parts/sliders.d.ts +32 -0
- package/dist/composites/device-card/parts/switch-timer-model.d.ts +21 -0
- package/dist/composites/device-card/parts/use-countdown.d.ts +2 -0
- package/dist/composites/device-card/scenes/action/ActionCards.d.ts +22 -0
- package/dist/composites/device-card/scenes/action/model.d.ts +44 -0
- package/dist/composites/device-card/scenes/alarm/AlarmCard.d.ts +21 -0
- package/dist/composites/device-card/scenes/alarm/model.d.ts +23 -0
- package/dist/composites/device-card/scenes/appliance/ApplianceCard.d.ts +19 -0
- package/dist/composites/device-card/scenes/appliance/model.d.ts +63 -0
- package/dist/composites/device-card/scenes/camera/CameraCard.d.ts +20 -0
- package/dist/composites/device-card/scenes/climate/ClimateCard.d.ts +22 -0
- package/dist/composites/device-card/scenes/climate/model.d.ts +93 -0
- package/dist/composites/device-card/scenes/container/ContainerCard.d.ts +18 -0
- package/dist/composites/device-card/scenes/container/container-model.d.ts +20 -0
- package/dist/composites/device-card/scenes/control/ControlCard.d.ts +14 -0
- package/dist/composites/device-card/scenes/control/model.d.ts +43 -0
- package/dist/composites/device-card/scenes/cover/CoverCard.d.ts +23 -0
- package/dist/composites/device-card/scenes/cover/model.d.ts +52 -0
- package/dist/composites/device-card/scenes/energy/EnergyCard.d.ts +39 -0
- package/dist/composites/device-card/scenes/energy/model.d.ts +82 -0
- package/dist/composites/device-card/scenes/event/EventCard.d.ts +40 -0
- package/dist/composites/device-card/scenes/event/event-entries.d.ts +24 -0
- package/dist/composites/device-card/scenes/fan/FanCard.d.ts +24 -0
- package/dist/composites/device-card/scenes/fan/model.d.ts +77 -0
- package/dist/composites/device-card/scenes/gateway/GatewayCard.d.ts +34 -0
- package/dist/composites/device-card/scenes/heat-pump/HeatPumpCard.d.ts +19 -0
- package/dist/composites/device-card/scenes/heat-pump/model.d.ts +61 -0
- package/dist/composites/device-card/scenes/heater/HeaterCard.d.ts +14 -0
- package/dist/composites/device-card/scenes/heater/model.d.ts +13 -0
- package/dist/composites/device-card/scenes/humidifier/HumidifierCard.d.ts +20 -0
- package/dist/composites/device-card/scenes/humidifier/model.d.ts +29 -0
- package/dist/composites/device-card/scenes/image/ImageCard.d.ts +21 -0
- package/dist/composites/device-card/scenes/ir/IrTransmitterCard.d.ts +11 -0
- package/dist/composites/device-card/scenes/ir/model.d.ts +16 -0
- package/dist/composites/device-card/scenes/light/LightCard.d.ts +14 -0
- package/dist/composites/device-card/scenes/light/model.d.ts +40 -0
- package/dist/composites/device-card/scenes/lock/LockCard.d.ts +19 -0
- package/dist/composites/device-card/scenes/lock/model.d.ts +24 -0
- package/dist/composites/device-card/scenes/media/MediaPlayerCard.d.ts +22 -0
- package/dist/composites/device-card/scenes/media/model.d.ts +98 -0
- package/dist/composites/device-card/scenes/notifier/NotifierCard.d.ts +27 -0
- package/dist/composites/device-card/scenes/pet/PetFeederCard.d.ts +19 -0
- package/dist/composites/device-card/scenes/pet/PetFountainCard.d.ts +17 -0
- package/dist/composites/device-card/scenes/pet/model.d.ts +93 -0
- package/dist/composites/device-card/scenes/plug/PlugCard.d.ts +15 -0
- package/dist/composites/device-card/scenes/plug/model.d.ts +19 -0
- package/dist/composites/device-card/scenes/robot/RobotCard.d.ts +18 -0
- package/dist/composites/device-card/scenes/robot/model.d.ts +38 -0
- package/dist/composites/device-card/scenes/sensor/ReadingTile.d.ts +18 -0
- package/dist/composites/device-card/scenes/sensor/SensorCard.d.ts +17 -0
- package/dist/composites/device-card/scenes/sensor/SensorGridCard.d.ts +24 -0
- package/dist/composites/device-card/scenes/sensor/SensorPieCard.d.ts +53 -0
- package/dist/composites/device-card/scenes/sensor/model.d.ts +39 -0
- package/dist/composites/device-card/scenes/sensor/pie-css.d.ts +6 -0
- package/dist/composites/device-card/scenes/sensor/pie-model.d.ts +54 -0
- package/dist/composites/device-card/scenes/sensor/reading-colour.d.ts +32 -0
- package/dist/composites/device-card/scenes/siren/SirenCard.d.ts +19 -0
- package/dist/composites/device-card/scenes/siren/model.d.ts +84 -0
- package/dist/composites/device-card/scenes/update/UpdateCard.d.ts +14 -0
- package/dist/composites/device-card/scenes/update/model.d.ts +40 -0
- package/dist/composites/device-card/scenes/valve/ValveCard.d.ts +19 -0
- package/dist/composites/device-card/scenes/valve/model.d.ts +21 -0
- package/dist/composites/device-card/scenes/water-heater/WaterHeaterCard.d.ts +20 -0
- package/dist/composites/device-card/scenes/water-heater/model.d.ts +32 -0
- package/dist/composites/device-card/scenes/weather/WeatherCard.d.ts +22 -0
- package/dist/composites/device-card/scenes/weather/model.d.ts +28 -0
- package/dist/composites/device-card/scenes/weather-station/WeatherStationCard.d.ts +17 -0
- package/dist/composites/device-card/scenes/weather-station/WeatherStationIllustration.d.ts +15 -0
- package/dist/composites/device-card/scenes/weather-station/model.d.ts +55 -0
- package/dist/composites/device-card/scenes/weather-station/station-geometry.d.ts +9 -0
- package/dist/composites/device-card/scenes/workload/WorkloadCard.d.ts +17 -0
- package/dist/composites/device-card/scenes/workload/model.d.ts +91 -0
- package/dist/composites/device-card/shell/ActuationHistory.d.ts +11 -0
- package/dist/composites/device-card/shell/BottomLine.d.ts +31 -0
- package/dist/composites/device-card/shell/Corner.d.ts +57 -0
- package/dist/composites/device-card/shell/DeviceCard.d.ts +81 -0
- package/dist/composites/device-card/shell/Overlays.d.ts +24 -0
- package/dist/composites/device-card/shell/SceneGrid.d.ts +47 -0
- package/dist/composites/device-card/shell/ScenePower.d.ts +18 -0
- package/dist/composites/device-card/shell/actuation-model.d.ts +115 -0
- package/dist/composites/device-card/shell/bottom-rows.d.ts +182 -0
- package/dist/composites/device-card/shell/column-items.d.ts +94 -0
- package/dist/composites/device-card/shell/gating.d.ts +17 -0
- package/dist/composites/device-card/shell/history-sections.d.ts +16 -0
- package/dist/composites/device-card/shell/model.d.ts +174 -0
- package/dist/composites/device-card/shell/overlay-box.d.ts +17 -0
- package/dist/composites/device-card/shell/remote-keys.d.ts +29 -0
- package/dist/composites/device-card/shell/scene-layout.d.ts +17 -0
- package/dist/composites/device-card/shell/use-popover.d.ts +9 -0
- package/dist/composites/device-controls/ac-panel.d.ts +40 -0
- package/dist/composites/device-controls/alarm-hero-card.d.ts +47 -0
- package/dist/composites/device-controls/appliance-control.d.ts +3 -0
- package/dist/composites/device-controls/atoms.d.ts +84 -0
- package/dist/composites/device-controls/brightness-panel.d.ts +3 -0
- package/dist/composites/device-controls/button-control.d.ts +9 -0
- package/dist/composites/device-controls/climate-offers-cooling.d.ts +7 -0
- package/dist/composites/device-controls/climate-panel.d.ts +30 -0
- package/dist/composites/device-controls/container-primary-hero.d.ts +26 -0
- package/dist/composites/device-controls/container-primary.d.ts +80 -0
- package/dist/composites/device-controls/control-panel.d.ts +53 -0
- package/dist/composites/device-controls/control-registry.d.ts +85 -0
- package/dist/composites/device-controls/cover-hero-card.d.ts +27 -0
- package/dist/composites/device-controls/cover-inline.d.ts +27 -0
- package/dist/composites/device-controls/cover-panel.d.ts +3 -0
- package/dist/composites/device-controls/dishwasher-control.d.ts +32 -0
- package/dist/composites/device-controls/dishwasher-options.d.ts +22 -0
- package/dist/composites/device-controls/dummy-hero-card.d.ts +6 -0
- package/dist/composites/device-controls/energy-system-control.d.ts +14 -0
- package/dist/composites/device-controls/fan-hero-card.d.ts +21 -0
- package/dist/composites/device-controls/fan-panel.d.ts +3 -0
- package/dist/composites/device-controls/heater-control.d.ts +4 -0
- package/dist/composites/device-controls/heating-valve-readout.d.ts +4 -0
- package/dist/composites/device-controls/humidifier-control.d.ts +37 -0
- package/dist/composites/device-controls/image-control.d.ts +49 -0
- package/dist/composites/device-controls/index.d.ts +35 -0
- package/dist/composites/device-controls/lawn-mower-control.d.ts +15 -0
- package/dist/composites/device-controls/light-hero-card.d.ts +16 -0
- package/dist/composites/device-controls/lock-hero-card.d.ts +15 -0
- package/dist/composites/device-controls/lock-panel.d.ts +3 -0
- package/dist/composites/device-controls/media-player-panel.d.ts +9 -0
- package/dist/composites/device-controls/offline-badge.d.ts +26 -0
- package/dist/composites/device-controls/panel-controls.d.ts +68 -0
- package/dist/composites/device-controls/pet-feeder-panel.d.ts +23 -0
- package/dist/composites/device-controls/pet-fountain-panel.d.ts +11 -0
- package/dist/composites/device-controls/popover-row-action.d.ts +21 -0
- package/dist/composites/device-controls/primary-child-picker.d.ts +36 -0
- package/dist/composites/device-controls/primary-child.d.ts +39 -0
- package/dist/composites/device-controls/radial-gauge.d.ts +20 -0
- package/dist/composites/device-controls/script-automation-controls.d.ts +13 -0
- package/dist/composites/device-controls/sensor-hero-card.d.ts +10 -0
- package/dist/composites/device-controls/sensor-hero-source.d.ts +24 -0
- package/dist/composites/device-controls/sensor-inline-control.d.ts +23 -0
- package/dist/composites/device-controls/sensor-value-atom.d.ts +123 -0
- package/dist/composites/device-controls/switch-panel.d.ts +3 -0
- package/dist/composites/device-controls/tap-toggle.d.ts +17 -0
- package/dist/composites/device-controls/timed-run-control.d.ts +13 -0
- package/dist/composites/device-controls/timed-run-quick-model.d.ts +47 -0
- package/dist/composites/device-controls/timed-run-quick.d.ts +12 -0
- package/dist/composites/device-controls/timed-run-row-control.d.ts +17 -0
- package/dist/composites/device-controls/types.d.ts +15 -0
- package/dist/composites/device-controls/update-control.d.ts +7 -0
- package/dist/composites/device-controls/vacuum-control.d.ts +7 -0
- package/dist/composites/device-controls/valve-control.d.ts +47 -0
- package/dist/composites/device-controls/water-heater-control.d.ts +12 -0
- package/dist/composites/device-controls/weather-control.d.ts +60 -0
- package/dist/composites/device-controls/workload-control.d.ts +10 -0
- package/dist/composites/device-export-panel.d.ts +63 -0
- package/dist/composites/device-grid.d.ts +12 -0
- package/dist/composites/device-history/DeviceHistoryView.d.ts +28 -0
- package/dist/composites/device-history/HistoryChart.d.ts +37 -0
- package/dist/composites/device-history/HistoryLanes.d.ts +13 -0
- package/dist/composites/device-history/HistoryWindowBar.d.ts +16 -0
- package/dist/composites/device-history/PointsSelect.d.ts +19 -0
- package/dist/composites/device-history/history-lanes.d.ts +26 -0
- package/dist/composites/device-history/history-model.d.ts +126 -0
- package/dist/composites/device-history/history-reads.d.ts +43 -0
- package/dist/composites/device-history/history-runs.d.ts +29 -0
- package/dist/composites/device-history/history-selection.d.ts +55 -0
- package/dist/composites/device-history/history-units.d.ts +42 -0
- package/dist/composites/device-history/history-window.d.ts +31 -0
- package/dist/composites/device-history/index.d.ts +16 -0
- package/dist/composites/device-history/use-device-history.d.ts +44 -0
- package/dist/composites/device-history/use-device-runs.d.ts +11 -0
- package/dist/composites/device-history/use-history-panels.d.ts +10 -0
- package/dist/composites/device-item/actions.d.ts +38 -0
- package/dist/composites/device-item/child-layout.d.ts +49 -0
- package/dist/composites/device-item/child-section-accordion.d.ts +23 -0
- package/dist/composites/device-item/children-accordion.d.ts +22 -0
- package/dist/composites/device-item/container-children-context.d.ts +32 -0
- package/dist/composites/device-item/device-delete-action.d.ts +31 -0
- package/dist/composites/device-item/features.d.ts +37 -0
- package/dist/composites/device-item/header.d.ts +55 -0
- package/dist/composites/device-item/helpers.d.ts +395 -0
- package/dist/composites/device-item/index.d.ts +11 -0
- package/dist/composites/device-item/model-row-value.d.ts +48 -0
- package/dist/composites/device-item/open-page-quick-action.d.ts +6 -0
- package/dist/composites/device-item/preview.d.ts +43 -0
- package/dist/composites/device-item/reboot-quick-action.d.ts +30 -0
- package/dist/composites/device-item/role-display-defaults-context.d.ts +37 -0
- package/dist/composites/device-item/row-models-context.d.ts +42 -0
- package/dist/composites/device-item/row-swipe-tray.d.ts +17 -0
- package/dist/composites/device-item/status-dot.d.ts +30 -0
- package/dist/composites/device-item/use-device-admin-link.d.ts +20 -0
- package/dist/composites/device-list/batch-actions-bar.d.ts +15 -0
- package/dist/composites/device-list/batch-toolbar.d.ts +15 -0
- package/dist/composites/device-list/columns.d.ts +109 -0
- package/dist/composites/device-list/device-integration.d.ts +59 -0
- package/dist/composites/device-list/device-mode.d.ts +141 -0
- package/dist/composites/device-list/empty-state.d.ts +17 -0
- package/dist/composites/device-list/filter-chips.d.ts +33 -0
- package/dist/composites/device-list/fuzzy-match.d.ts +27 -0
- package/dist/composites/device-list/generic-mode.d.ts +125 -0
- package/dist/composites/device-list/group.d.ts +71 -0
- package/dist/composites/device-list/hardware-cell.d.ts +18 -0
- package/dist/composites/device-list/hardware.d.ts +44 -0
- package/dist/composites/device-list/icon-action.d.ts +29 -0
- package/dist/composites/device-list/index.d.ts +51 -0
- package/dist/composites/device-list/multi-select.d.ts +30 -0
- package/dist/composites/device-list/page-size-select.d.ts +11 -0
- package/dist/composites/device-list/pagination.d.ts +18 -0
- package/dist/composites/device-list/row-model-ids.d.ts +7 -0
- package/dist/composites/device-list/sort.d.ts +35 -0
- package/dist/composites/device-list/sortable-header.d.ts +23 -0
- package/dist/composites/device-list/table-layout.d.ts +53 -0
- package/dist/composites/device-list/type-filter.d.ts +19 -0
- package/dist/composites/device-list/url-state.d.ts +42 -0
- package/dist/composites/device-mesh/DeviceMeshCard.d.ts +7 -0
- package/dist/composites/device-mesh/device-mesh-model.d.ts +64 -0
- package/dist/composites/device-mesh/index.d.ts +4 -0
- package/dist/composites/device-mesh/mesh-labels.d.ts +9 -0
- package/dist/composites/device-mesh/use-mesh-networks.d.ts +14 -0
- package/dist/composites/device-meta.d.ts +70 -0
- package/dist/composites/device-name/DeviceName.d.ts +17 -0
- package/dist/composites/device-name/device-fleet.d.ts +29 -0
- package/dist/composites/device-name/device-name-nouns.d.ts +27 -0
- package/dist/composites/device-name/format-device-name.d.ts +49 -0
- package/dist/composites/device-name/index.d.ts +10 -0
- package/dist/composites/device-name/use-device-label.d.ts +18 -0
- package/dist/composites/device-picker/DevicePicker.d.ts +107 -0
- package/dist/composites/device-picker/SelectedChip.d.ts +17 -0
- package/dist/composites/device-picker/device-filter-bar.d.ts +27 -0
- package/dist/composites/device-picker/device-fleet-view.d.ts +15 -0
- package/dist/composites/device-picker/device-parent.d.ts +39 -0
- package/dist/composites/device-picker/device-picker-grouping.d.ts +14 -0
- package/dist/composites/device-picker/device-picker-model.d.ts +254 -0
- package/dist/composites/device-picker/device-provider-label.d.ts +21 -0
- package/dist/composites/device-picker/device-selection-rows.d.ts +52 -0
- package/dist/composites/device-picker/device-selection.d.ts +64 -0
- package/dist/composites/device-picker/index.d.ts +9 -0
- package/dist/composites/device-select-filter.d.ts +120 -0
- package/dist/composites/device-selector-picker.d.ts +38 -0
- package/dist/composites/device-step-matrix.d.ts +42 -0
- package/dist/composites/device-summary-card.d.ts +38 -0
- package/dist/composites/device-template-field/DeviceTemplateField.d.ts +42 -0
- package/dist/composites/device-template-field/device-template-feedback.d.ts +13 -0
- package/dist/composites/device-template-field/device-template-function.d.ts +18 -0
- package/dist/composites/device-template-field/device-template-insert-model.d.ts +10 -0
- package/dist/composites/device-template-field/device-template-insert.d.ts +19 -0
- package/dist/composites/device-template-field/device-template-model.d.ts +143 -0
- package/dist/composites/device-template-field/device-template-param-input.d.ts +16 -0
- package/dist/composites/device-template-field/device-template-suggest.d.ts +12 -0
- package/dist/composites/device-template-field/index.d.ts +2 -0
- package/dist/composites/device-template-field/use-template-field-unit.d.ts +7 -0
- package/dist/composites/device-value-field/device-value-field.d.ts +112 -0
- package/dist/composites/device-value-field/device-value-token.d.ts +13 -0
- package/dist/composites/device-value-field/index.d.ts +3 -0
- package/dist/composites/device-value-field/use-device-value-source.d.ts +30 -0
- package/dist/composites/device-value-picker/DeviceActionPicker.d.ts +37 -0
- package/dist/composites/device-value-picker/DeviceEventPicker.d.ts +22 -0
- package/dist/composites/device-value-picker/DeviceValuePicker.d.ts +68 -0
- package/dist/composites/device-value-picker/action-target-label.d.ts +17 -0
- package/dist/composites/device-value-picker/device-event-model.d.ts +54 -0
- package/dist/composites/device-value-picker/device-id-values.d.ts +9 -0
- package/dist/composites/device-value-picker/device-value-form-fields.d.ts +22 -0
- package/dist/composites/device-value-picker/device-value-panel.d.ts +43 -0
- package/dist/composites/device-value-picker/device-value-picker-model.d.ts +155 -0
- package/dist/composites/device-value-picker/device-value-rail.d.ts +27 -0
- package/dist/composites/device-value-picker/device-value-rows.d.ts +42 -0
- package/dist/composites/device-value-picker/index.d.ts +10 -0
- package/dist/composites/device-value-picker/use-device-value-search.d.ts +33 -0
- package/dist/composites/device-value-picker/use-integration-providers.d.ts +10 -0
- package/dist/composites/device-value-picker/use-recent-devices.d.ts +16 -0
- package/dist/composites/discovered-adoption.d.ts +7 -0
- package/dist/composites/display-palette-context.d.ts +26 -0
- package/dist/composites/doorbell-recent-panel.d.ts +11 -0
- package/dist/composites/duration-input/DurationInput.d.ts +68 -0
- package/dist/composites/duration-input/duration-parts.d.ts +15 -0
- package/dist/composites/duration-input/index.d.ts +2 -0
- package/dist/composites/empty-state.d.ts +10 -0
- package/dist/composites/error-box.d.ts +19 -0
- package/dist/composites/event-category-picker.d.ts +11 -0
- package/dist/composites/event-kind-visuals.d.ts +37 -0
- package/dist/composites/event-stream.d.ts +72 -0
- package/dist/composites/export-bulk-selection.d.ts +54 -0
- package/dist/composites/export-entity-rows.d.ts +33 -0
- package/dist/composites/expression-input/ExpressionInput.d.ts +9 -0
- package/dist/composites/expression-input/expression-suggestions.d.ts +15 -0
- package/dist/composites/expression-input/index.d.ts +2 -0
- package/dist/composites/extensions/AssociationSlotCard.d.ts +36 -0
- package/dist/composites/extensions/ExtensionsPanel.d.ts +43 -0
- package/dist/composites/extensions/extensions-view-state.d.ts +125 -0
- package/dist/composites/filter-bar.d.ts +29 -0
- package/dist/composites/form-field.d.ts +11 -0
- package/dist/composites/form-save-bar.d.ts +35 -0
- package/dist/composites/format-state-value.d.ts +34 -0
- package/dist/composites/grouped-model-selector.d.ts +9 -0
- package/dist/composites/grouped-tile-picker.d.ts +43 -0
- package/dist/composites/hero-model/HeroModelCard.d.ts +25 -0
- package/dist/composites/hero-model/MeasurementScene.d.ts +22 -0
- package/dist/composites/hero-model/ModelHero.d.ts +29 -0
- package/dist/composites/hero-model/call-hero-action.d.ts +17 -0
- package/dist/composites/hero-model/card-display-subject.d.ts +19 -0
- package/dist/composites/hero-model/hero-labels.d.ts +33 -0
- package/dist/composites/hero-model/hero-model-view.d.ts +36 -0
- package/dist/composites/hero-model/hero-utilities.d.ts +9 -0
- package/dist/composites/hero-model/index.d.ts +4 -0
- package/dist/composites/hero-model/measurement-display.d.ts +40 -0
- package/dist/composites/hero-model/use-hero-live-refresh.d.ts +6 -0
- package/dist/composites/hero-scene/backdrops.d.ts +20 -0
- package/dist/composites/hero-scene/device-row.d.ts +21 -0
- package/dist/composites/hero-scene/hero-card-a.d.ts +29 -0
- package/dist/composites/hero-scene/hero-row.d.ts +39 -0
- package/dist/composites/hero-scene/hero-scene-css.d.ts +10 -0
- package/dist/composites/hero-scene/hero-scene.d.ts +45 -0
- package/dist/composites/hero-scene/hero-utility-grid.d.ts +30 -0
- package/dist/composites/hero-scene/hero-utility-layout.d.ts +10 -0
- package/dist/composites/hero-scene/index.d.ts +10 -0
- package/dist/composites/hero-scene/scene-art-home.d.ts +5 -0
- package/dist/composites/hero-scene/scene-art.d.ts +21 -0
- package/dist/composites/hero-scene/scene-map.d.ts +6 -0
- package/dist/composites/hero-scene/types.d.ts +48 -0
- package/dist/composites/hls-quality.d.ts +36 -0
- package/dist/composites/hls-video.d.ts +64 -0
- package/dist/composites/hover-zoom-image.d.ts +37 -0
- package/dist/composites/icon-glyphs.d.ts +30 -0
- package/dist/composites/icon-picker.d.ts +80 -0
- package/dist/composites/image-selector.d.ts +26 -0
- package/dist/composites/index.d.ts +278 -0
- package/dist/composites/inference-config-selector.d.ts +45 -0
- package/dist/composites/item-form-dialog.d.ts +39 -0
- package/dist/composites/kebab-menu.d.ts +63 -0
- package/dist/composites/key-value-list.d.ts +17 -0
- package/dist/composites/log-export-dialog.d.ts +21 -0
- package/dist/composites/log-export.d.ts +68 -0
- package/dist/composites/log-history-paging.d.ts +62 -0
- package/dist/composites/log-stream-columns.d.ts +37 -0
- package/dist/composites/log-stream-names.d.ts +19 -0
- package/dist/composites/log-stream-scroll.d.ts +32 -0
- package/dist/composites/log-stream.d.ts +102 -0
- package/dist/composites/login-form.d.ts +9 -0
- package/dist/composites/media-grid.d.ts +27 -0
- package/dist/composites/model-bound-slider.d.ts +36 -0
- package/dist/composites/model-picker.d.ts +21 -0
- package/dist/composites/mount-addon-page.d.ts +16 -0
- package/dist/composites/network-link-badge.d.ts +11 -0
- package/dist/composites/node-color-map.d.ts +11 -0
- package/dist/composites/node-color.d.ts +5 -0
- package/dist/composites/node-picker.d.ts +20 -0
- package/dist/composites/notification-targets-field.d.ts +84 -0
- package/dist/composites/notification-targets-options.d.ts +13 -0
- package/dist/composites/option-select/OptionSelect.d.ts +37 -0
- package/dist/composites/option-select/index.d.ts +4 -0
- package/dist/composites/option-select/option-select-model.d.ts +62 -0
- package/dist/composites/page-actions.d.ts +56 -0
- package/dist/composites/page-header.d.ts +12 -0
- package/dist/composites/page-shell.d.ts +34 -0
- package/dist/composites/peer-connection-config.d.ts +13 -0
- package/dist/composites/phase-icon.d.ts +12 -0
- package/dist/composites/pipeline-builder.d.ts +23 -0
- package/dist/composites/pipeline-matrix-shared.d.ts +200 -0
- package/dist/composites/pipeline-runtime-selector.d.ts +17 -0
- package/dist/composites/pipeline-step.d.ts +36 -0
- package/dist/composites/placeholder-field/PlaceholderChipField.d.ts +30 -0
- package/dist/composites/placeholder-field/index.d.ts +1 -0
- package/dist/composites/playback-stats.d.ts +59 -0
- package/dist/composites/provider-badge.d.ts +8 -0
- package/dist/composites/provider-entries/AddProviderEntryDialog.d.ts +28 -0
- package/dist/composites/provider-entries/ProviderEntryPills.d.ts +19 -0
- package/dist/composites/provider-entries/index.d.ts +2 -0
- package/dist/composites/ptz-overlay.d.ts +21 -0
- package/dist/composites/qr-code.d.ts +12 -0
- package/dist/composites/quantity-value-input/QuantityValueInput.d.ts +35 -0
- package/dist/composites/quantity-value-input/index.d.ts +2 -0
- package/dist/composites/quantity-value-input/quantity-value.d.ts +38 -0
- package/dist/composites/reconnect-schedule.d.ts +32 -0
- package/dist/composites/record-entries/entry-json-schema-form.d.ts +11 -0
- package/dist/composites/record-entries/index.d.ts +3 -0
- package/dist/composites/record-entries/record-entries-panel.d.ts +18 -0
- package/dist/composites/record-entries/record-entry-secrets.d.ts +9 -0
- package/dist/composites/remote/AppBrandGlyph.d.ts +11 -0
- package/dist/composites/remote/RemoteGrid.d.ts +57 -0
- package/dist/composites/remote/SourceSelectKey.d.ts +20 -0
- package/dist/composites/remote/app-brand-icons.d.ts +28 -0
- package/dist/composites/remote/display-layout.d.ts +7 -0
- package/dist/composites/remote/index.d.ts +9 -0
- package/dist/composites/remote/layout-model.d.ts +110 -0
- package/dist/composites/remote/layout-presets.d.ts +21 -0
- package/dist/composites/remote/remote-look.d.ts +25 -0
- package/dist/composites/remote/role-vocabulary.d.ts +10 -0
- package/dist/composites/resizable-columns/ResizableColumns.d.ts +21 -0
- package/dist/composites/resizable-columns/index.d.ts +1 -0
- package/dist/composites/resizable-columns/resizable-columns-model.d.ts +13 -0
- package/dist/composites/resolve-step-default-model.d.ts +113 -0
- package/dist/composites/response-log.d.ts +10 -0
- package/dist/composites/role-node-pill.d.ts +26 -0
- package/dist/composites/root-model-source.d.ts +20 -0
- package/dist/composites/running-badge.d.ts +20 -0
- package/dist/composites/running-status.d.ts +20 -0
- package/dist/composites/sanitize-info-html.d.ts +16 -0
- package/dist/composites/scope-picker.d.ts +31 -0
- package/dist/composites/section-card.d.ts +27 -0
- package/dist/composites/section-toolbar.d.ts +14 -0
- package/dist/composites/sectioned-page.d.ts +55 -0
- package/dist/composites/setting-row.d.ts +42 -0
- package/dist/composites/snapshot-button.d.ts +29 -0
- package/dist/composites/sort-header-button.d.ts +28 -0
- package/dist/composites/stable-tab-panel.d.ts +17 -0
- package/dist/composites/stat-card.d.ts +22 -0
- package/dist/composites/state-values-stream.d.ts +27 -0
- package/dist/composites/status-badge.d.ts +12 -0
- package/dist/composites/step-inspector/gate-control.d.ts +21 -0
- package/dist/composites/step-inspector/index.d.ts +8 -0
- package/dist/composites/step-inspector/layered-settings-form.d.ts +37 -0
- package/dist/composites/step-inspector/segmented-choice.d.ts +15 -0
- package/dist/composites/step-inspector/setting-values.d.ts +27 -0
- package/dist/composites/step-inspector/step-detail-dock.d.ts +49 -0
- package/dist/composites/step-inspector/step-inspector-panel.d.ts +32 -0
- package/dist/composites/step-inspector/step-model-row.d.ts +32 -0
- package/dist/composites/step-inspector/step-search.d.ts +18 -0
- package/dist/composites/step-timings.d.ts +10 -0
- package/dist/composites/step-tree.d.ts +21 -0
- package/dist/composites/storage-records/index.d.ts +1 -0
- package/dist/composites/storage-records/storage-records-panel.d.ts +6 -0
- package/dist/composites/stream-broker-selector.d.ts +10 -0
- package/dist/composites/stream-debug/stream-debug-overlay.d.ts +44 -0
- package/dist/composites/stream-debug/webrtc-debug-stats.d.ts +166 -0
- package/dist/composites/stream-panel.d.ts +252 -0
- package/dist/composites/table-sort.d.ts +77 -0
- package/dist/composites/tags/index.d.ts +9 -0
- package/dist/composites/tags/tag-chip.d.ts +32 -0
- package/dist/composites/tags/tag-entries-context.d.ts +9 -0
- package/dist/composites/tags/tag-filter-bar.d.ts +44 -0
- package/dist/composites/tags/tag-input.d.ts +10 -0
- package/dist/composites/tags/tag-model.d.ts +77 -0
- package/dist/composites/tags/tag-style-dialog.d.ts +16 -0
- package/dist/composites/tags/tagged-data-table.d.ts +23 -0
- package/dist/composites/tags/use-tag-filter.d.ts +31 -0
- package/dist/composites/tags/use-tag-registry.d.ts +21 -0
- package/dist/composites/time-window-input/TimeSpecInput.d.ts +29 -0
- package/dist/composites/time-window-input/TimeWindowInput.d.ts +33 -0
- package/dist/composites/time-window-input/index.d.ts +4 -0
- package/dist/composites/time-window-input/stored-clock-range.d.ts +28 -0
- package/dist/composites/time-window-input/time-window-model.d.ts +49 -0
- package/dist/composites/timeline-slider.d.ts +47 -0
- package/dist/composites/timezone-selector.d.ts +20 -0
- package/dist/composites/toggle-chip-row.d.ts +21 -0
- package/dist/composites/training/TrainingBaseModelPicker.d.ts +29 -0
- package/dist/composites/training/retrain-review-badge.d.ts +37 -0
- package/dist/composites/training/root-detector-placements.d.ts +50 -0
- package/dist/composites/training/send-frame-to-training.d.ts +7 -0
- package/dist/composites/training/training-collection-picker.d.ts +6 -0
- package/dist/composites/training/training-refusal-text.d.ts +10 -0
- package/dist/composites/unit-picker/UnitPicker.d.ts +16 -0
- package/dist/composites/unit-picker/index.d.ts +1 -0
- package/dist/composites/use-data-table-filter.d.ts +27 -0
- package/dist/composites/use-item-form-url.d.ts +27 -0
- package/dist/composites/version-badge.d.ts +25 -0
- package/dist/composites/view-switch.d.ts +24 -0
- package/dist/composites/webrtc-diagnostics/EndpointTestCard.d.ts +15 -0
- package/dist/composites/webrtc-diagnostics/HubSessionTestCard.d.ts +18 -0
- package/dist/composites/webrtc-diagnostics/RunReport.d.ts +11 -0
- package/dist/composites/webrtc-diagnostics/endpoint-probe.d.ts +56 -0
- package/dist/composites/webrtc-diagnostics/endpoint-test.d.ts +60 -0
- package/dist/composites/webrtc-diagnostics/format.d.ts +7 -0
- package/dist/composites/webrtc-diagnostics/ice-candidates.d.ts +66 -0
- package/dist/composites/webrtc-diagnostics/nat-mapping.d.ts +45 -0
- package/dist/composites/webrtc-diagnostics/session-run.d.ts +139 -0
- package/dist/composites/webrtc-diagnostics/session-verdict.d.ts +39 -0
- package/dist/composites/widget-panel.d.ts +33 -0
- package/dist/composites/widget-slot.d.ts +38 -0
- package/dist/composites/zones-layer/ZonesReadOnlyLayer.d.ts +12 -0
- package/dist/composites/zones-layer/zone-items.d.ts +29 -0
- package/dist/contexts/custom-field-renderers.d.ts +62 -0
- package/dist/contexts/device-context.d.ts +40 -0
- package/dist/contexts/device-quick-detail.d.ts +17 -0
- package/dist/contexts/instance-picker-slot.d.ts +28 -0
- package/dist/contexts/player-overlays.d.ts +102 -0
- package/dist/contexts/recorded-playback.d.ts +45 -0
- package/dist/contexts/system-context.d.ts +50 -0
- package/dist/contexts/ui-text.d.ts +49 -0
- package/dist/contexts/unit-preferences-from-server.d.ts +9 -0
- package/dist/contexts/unit-preferences.d.ts +12 -0
- package/dist/contexts/vod-playback.d.ts +46 -0
- package/dist/contexts/widget-registry.d.ts +166 -0
- package/dist/contexts/zone-editing.d.ts +82 -0
- package/dist/generated/system-hooks.d.ts +2821 -0
- package/dist/hls-CckKbjjD.cjs +28320 -0
- package/dist/hls-CfgsaJjd.js +28320 -0
- package/dist/hooks/device-proxy-registry.d.ts +29 -0
- package/dist/hooks/index.d.ts +58 -0
- package/dist/hooks/merge-detections.d.ts +16 -0
- package/dist/hooks/motion-trigger-reading.d.ts +10 -0
- package/dist/hooks/turn-server-cache.d.ts +77 -0
- package/dist/hooks/use-account-unit-preferences.d.ts +10 -0
- package/dist/hooks/use-broker-instances.d.ts +48 -0
- package/dist/hooks/use-capability-presence.d.ts +131 -0
- package/dist/hooks/use-cluster-nodes.d.ts +64 -0
- package/dist/hooks/use-debounced-string.d.ts +1 -0
- package/dist/hooks/use-destructive-action.d.ts +31 -0
- package/dist/hooks/use-device-autotrack.d.ts +10 -0
- package/dist/hooks/use-device-battery.d.ts +29 -0
- package/dist/hooks/use-device-cap-slice.d.ts +19 -0
- package/dist/hooks/use-device-capability.d.ts +63 -0
- package/dist/hooks/use-device-command.d.ts +3 -0
- package/dist/hooks/use-device-detections.d.ts +50 -0
- package/dist/hooks/use-device-features.d.ts +25 -0
- package/dist/hooks/use-device-list-page-size.d.ts +28 -0
- package/dist/hooks/use-device-network-link.d.ts +18 -0
- package/dist/hooks/use-device-proxy.d.ts +117 -0
- package/dist/hooks/use-device-removal.d.ts +26 -0
- package/dist/hooks/use-device-snapshot.d.ts +30 -0
- package/dist/hooks/use-device-webrtc.d.ts +235 -0
- package/dist/hooks/use-devices.d.ts +13 -0
- package/dist/hooks/use-doorbell-events.d.ts +20 -0
- package/dist/hooks/use-drag-value.d.ts +32 -0
- package/dist/hooks/use-event-invalidation.d.ts +1 -0
- package/dist/hooks/use-event-stream.d.ts +8 -0
- package/dist/hooks/use-instances-of-cap.d.ts +50 -0
- package/dist/hooks/use-is-mobile.d.ts +10 -0
- package/dist/hooks/use-live-buffer.d.ts +8 -0
- package/dist/hooks/use-live-event.d.ts +3 -0
- package/dist/hooks/use-lock-door-sensor.d.ts +34 -0
- package/dist/hooks/use-log-history.d.ts +26 -0
- package/dist/hooks/use-log-names.d.ts +15 -0
- package/dist/hooks/use-log-stream-columns.d.ts +8 -0
- package/dist/hooks/use-navigation.d.ts +26 -0
- package/dist/hooks/use-one-shot-command.d.ts +13 -0
- package/dist/hooks/use-owns-scroll.d.ts +18 -0
- package/dist/hooks/use-persisted-page-size.d.ts +18 -0
- package/dist/hooks/use-ptz.d.ts +128 -0
- package/dist/hooks/use-row-operations.d.ts +28 -0
- package/dist/hooks/use-stationary-overlay.d.ts +46 -0
- package/dist/hooks/use-system-query.d.ts +35 -0
- package/dist/hooks/use-url-query.d.ts +20 -0
- package/dist/hotkeys/combo.d.ts +24 -0
- package/dist/hotkeys/hotkey-provider.d.ts +50 -0
- package/dist/hotkeys/index.d.ts +6 -0
- package/dist/hotkeys/use-search-field-hotkey.d.ts +13 -0
- package/dist/i18n/addon-i18n.d.ts +46 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/use-addon-t.d.ts +57 -0
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons/provider-icons.d.ts +3 -0
- package/dist/icons/remote-control.d.ts +3 -0
- package/dist/icons/status-icons.d.ts +3 -0
- package/dist/icons-CmCk_R3w.cjs +38517 -0
- package/dist/icons-DZzn2TV2.js +36816 -0
- package/dist/index.cjs +108230 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +105060 -0
- package/dist/lib/cap-error.d.ts +20 -0
- package/dist/lib/capability-label.d.ts +18 -0
- package/dist/lib/cn.d.ts +2 -0
- package/dist/lib/event-category-selection.d.ts +26 -0
- package/dist/lib/fleet-query-defaults.d.ts +75 -0
- package/dist/lib/format-control-datetime.d.ts +18 -0
- package/dist/lib/format-duration.d.ts +14 -0
- package/dist/lib/format-last-seen.d.ts +22 -0
- package/dist/lib/format-numeric.d.ts +1 -0
- package/dist/lib/hub-mount.d.ts +22 -0
- package/dist/lib/index.d.ts +22 -0
- package/dist/lib/listbox-position.d.ts +46 -0
- package/dist/lib/mf-runtime-init.d.ts +1 -0
- package/dist/lib/phase-config.d.ts +35 -0
- package/dist/lib/recorded-control-protocol.d.ts +59 -0
- package/dist/lib/resolve-sensor-display.d.ts +42 -0
- package/dist/lib/responsive.d.ts +111 -0
- package/dist/lib/scrub-controller.d.ts +112 -0
- package/dist/lib/shared-context.d.ts +30 -0
- package/dist/lib/subject-path.d.ts +9 -0
- package/dist/lib/tailwind-variants.d.ts +27 -0
- package/dist/lib/unit-preferences.d.ts +28 -0
- package/dist/lucide-icons-module.d.d.ts +10 -0
- package/dist/mic-off-B83GCRGo.js +45 -0
- package/dist/mic-off-BKguA8pd.cjs +56 -0
- package/dist/primitives/badge.d.ts +15 -0
- package/dist/primitives/bottom-sheet.d.ts +11 -0
- package/dist/primitives/button.d.ts +12 -0
- package/dist/primitives/card.d.ts +5 -0
- package/dist/primitives/checkbox.d.ts +3 -0
- package/dist/primitives/collapsible-card.d.ts +25 -0
- package/dist/primitives/dialog-search-focus.d.ts +11 -0
- package/dist/primitives/dialog.d.ts +39 -0
- package/dist/primitives/disclosure-chevron.d.ts +18 -0
- package/dist/primitives/dropdown.d.ts +27 -0
- package/dist/primitives/file-input.d.ts +7 -0
- package/dist/primitives/floating-panel.d.ts +43 -0
- package/dist/primitives/icon-button.d.ts +11 -0
- package/dist/primitives/index.d.ts +28 -0
- package/dist/primitives/input.d.ts +13 -0
- package/dist/primitives/label.d.ts +3 -0
- package/dist/primitives/mobile-drawer.d.ts +10 -0
- package/dist/primitives/password-input.d.ts +19 -0
- package/dist/primitives/popover.d.ts +35 -0
- package/dist/primitives/radio.d.ts +4 -0
- package/dist/primitives/scroll-area.d.ts +3 -0
- package/dist/primitives/select-model.d.ts +22 -0
- package/dist/primitives/select.d.ts +60 -0
- package/dist/primitives/separator.d.ts +5 -0
- package/dist/primitives/skeleton.d.ts +3 -0
- package/dist/primitives/slider.d.ts +4 -0
- package/dist/primitives/swipe-actions.d.ts +99 -0
- package/dist/primitives/switch.d.ts +7 -0
- package/dist/primitives/tabs-list-scroll.d.ts +19 -0
- package/dist/primitives/tabs.d.ts +41 -0
- package/dist/primitives/textarea.d.ts +6 -0
- package/dist/primitives/tooltip.d.ts +15 -0
- package/dist/primitives/top-layer-portal.d.ts +21 -0
- package/dist/test-setup/tag-registry.d.ts +1 -0
- package/dist/testing/select-option.d.ts +35 -0
- package/dist/theme/create-theme.d.ts +2 -0
- package/dist/theme/defaults.d.ts +4 -0
- package/dist/theme/index.cjs +102 -0
- package/dist/theme/index.d.ts +7 -0
- package/dist/theme/index.js +91 -0
- package/dist/theme/theme-provider.d.ts +11 -0
- package/dist/theme/theme-to-css.d.ts +3 -0
- package/dist/theme/theme-to-root-css.d.ts +10 -0
- package/dist/theme/tokens.cjs +7 -0
- package/dist/theme/tokens.d.ts +9 -0
- package/dist/theme/tokens.js +2 -0
- package/dist/theme/types.d.ts +116 -0
- package/dist/theme/use-theme-mode.d.ts +2 -0
- package/dist/theme-to-root-css-CIqt8k0j.cjs +256 -0
- package/dist/theme-to-root-css-Ca6MGqO9.js +227 -0
- package/dist/trpc-react.d.ts +27 -0
- package/dist/uPlot.esm-BbxBUnav.cjs +3767 -0
- package/dist/uPlot.esm-C_8LiAPm.js +3767 -0
- package/dist/ui-library-version.d.ts +1 -0
- package/dist/widgets/host-widgets.d.ts +9 -0
- package/package.json +135 -4
- package/src/tailwind/dominevo-theme.css +334 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { ControlPanelProps } from "./types.js";
|
|
3
|
+
export declare function formatHeatingValvePosition(position: number | null): string;
|
|
4
|
+
export declare function HeatingValveReadout({ trpc, deviceId, layout }: Pick<ControlPanelProps, "trpc" | "deviceId" | "layout">): ReactNode;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
3
|
+
/** The `action` HA attribute drives the droplet / mist tint. */
|
|
4
|
+
export type HumidifierAction = "humidifying" | "drying" | "idle" | "off";
|
|
5
|
+
export interface HumidifierTint {
|
|
6
|
+
/** Tailwind class for the wash behind the droplet. */
|
|
7
|
+
readonly glow: string;
|
|
8
|
+
/** Tailwind text token driving the droplet via currentColor. */
|
|
9
|
+
readonly accent: string;
|
|
10
|
+
/** Whether to render the upward mist dashes (actively humidifying). */
|
|
11
|
+
readonly misting: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Pure helper — maps the device's on-state + HA `action` to a tint.
|
|
15
|
+
* Exhaustive over the known action strings; an unknown / null action
|
|
16
|
+
* falls back to on/off heuristics.
|
|
17
|
+
*
|
|
18
|
+
* humidifying → primary (blue)
|
|
19
|
+
* drying → warning
|
|
20
|
+
* idle / off → muted
|
|
21
|
+
*/
|
|
22
|
+
export declare function humidifierTint(on: boolean, action: string | null): HumidifierTint;
|
|
23
|
+
/**
|
|
24
|
+
* HumidifierInlineControl — compact on/off toggle + current→target readout
|
|
25
|
+
* for a device-list row. Must NOT blow out the row width.
|
|
26
|
+
*/
|
|
27
|
+
export declare function HumidifierInlineControl({ trpc, deviceId }: DeviceControlProps): ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* HumidifierHeroCard — full control surface for the device-detail hero.
|
|
30
|
+
*
|
|
31
|
+
* Bespoke droplet + mist graphic + a large target-humidity readout +
|
|
32
|
+
* an on/off toggle + a target-humidity range slider (bounds from
|
|
33
|
+
* min/maxHumidity ?? 0..100) + a current-humidity readout + a mode
|
|
34
|
+
* `<select>` (only when modes are available). Gated on `available`.
|
|
35
|
+
* Only hides when the device truly has no humidifier cap.
|
|
36
|
+
*/
|
|
37
|
+
export declare function HumidifierHeroCard({ trpc, deviceId }: DeviceControlProps): ReactNode;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Image controls for a `DeviceType.Image` device.
|
|
3
|
+
*
|
|
4
|
+
* Read-only: the `image` cap has no setters. Reads the `image` cap status
|
|
5
|
+
* slice (an absolute signed `url` the browser loads directly) and renders:
|
|
6
|
+
* - ImageInlineControl (device-list row): a small thumbnail when a url
|
|
7
|
+
* is present; a muted `ImageOff` placeholder when null. Row-narrow.
|
|
8
|
+
* - ImageHeroCard (device-detail hero): a framed image in the
|
|
9
|
+
* cover-style framed box (object-contain) when a url is present; a
|
|
10
|
+
* centered placeholder when null.
|
|
11
|
+
*
|
|
12
|
+
* Mirrors the read pattern of the other controls' `useDeviceCapability`
|
|
13
|
+
* usage so the row and hero never diverge.
|
|
14
|
+
*/
|
|
15
|
+
import { type ReactNode } from "react";
|
|
16
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
17
|
+
/**
|
|
18
|
+
* ImageDetailModal — a full-view image dialog with zoom in/out/reset and pan
|
|
19
|
+
* (scroll when zoomed). Generous padding frames the image. Opened by clicking
|
|
20
|
+
* the inline thumbnail or the hero image. Controlled via `open`/`onOpenChange`.
|
|
21
|
+
*/
|
|
22
|
+
export declare function ImageDetailModal({ url, alt, open, onOpenChange }: {
|
|
23
|
+
readonly url: string;
|
|
24
|
+
readonly alt: string;
|
|
25
|
+
readonly open: boolean;
|
|
26
|
+
readonly onOpenChange: (open: boolean) => void;
|
|
27
|
+
}): ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* ImageInlineControl — compact thumbnail for a device-list row that expands
|
|
30
|
+
* into a floating preview on hover/focus (shared `HoverZoomImage`). Shows a
|
|
31
|
+
* muted ImageOff placeholder box when no url is available. Row-narrow.
|
|
32
|
+
*
|
|
33
|
+
* `DeviceControlProps` carries no device name, so the alt/caption is the
|
|
34
|
+
* generic 'Image'; the framed hero (ImageHeroCard) carries the real name.
|
|
35
|
+
*/
|
|
36
|
+
export declare function ImageInlineControl({ trpc, deviceId }: DeviceControlProps): ReactNode;
|
|
37
|
+
export interface ImageHeroCardProps extends DeviceControlProps {
|
|
38
|
+
/** Optional device name for the image alt text. */
|
|
39
|
+
readonly deviceName?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* ImageHeroCard — read-only framed image for the device-detail hero.
|
|
43
|
+
*
|
|
44
|
+
* A still image in the cover-style framed box (rounded border,
|
|
45
|
+
* object-contain) when a url is present; a centered ImageOff + "No image"
|
|
46
|
+
* placeholder when null. Keeps the framed-box chrome for visual
|
|
47
|
+
* consistency with the other heroes.
|
|
48
|
+
*/
|
|
49
|
+
export declare function ImageHeroCard({ trpc, deviceId, deviceName }: ImageHeroCardProps): ReactNode;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { ControlColumn, ValueReadout, FILL, RIGHT, CENTER, type ControlAlign, Stepper, SlideToggle, ArcKnob, GripTrack } from "./atoms";
|
|
2
|
+
export { RadialGauge, type RadialGaugeProps } from "./radial-gauge";
|
|
3
|
+
export { TapToggle, type TapToggleProps } from "./tap-toggle";
|
|
4
|
+
export { ButtonHeroCard } from "./button-control";
|
|
5
|
+
export { CoverPanel } from "./cover-panel";
|
|
6
|
+
export { LockPanel } from "./lock-panel";
|
|
7
|
+
export { SwitchPanel } from "./switch-panel";
|
|
8
|
+
export { BrightnessPanel } from "./brightness-panel";
|
|
9
|
+
export { FanPanel } from "./fan-panel";
|
|
10
|
+
export { ClimatePanel, MODE_COLOR } from "./climate-panel";
|
|
11
|
+
export { MediaPlayerPanel, STATE_COLOR } from "./media-player-panel";
|
|
12
|
+
export { ControlPanel } from "./control-panel";
|
|
13
|
+
export { CONTROL_CAP_NAMES, type ControlCapName, type ControlPanelProps } from "./types";
|
|
14
|
+
export { PopoverRowAction } from "./popover-row-action";
|
|
15
|
+
export { SensorValueAtom, ROLE_DESCRIPTOR, type SensorDescriptor, type SensorValueAtomProps } from "./sensor-value-atom";
|
|
16
|
+
export { DEVICE_TYPE_CONTROL, CONTROL_FILLS, resolveDeviceControl, resolveControlAlign, coverHighlight, type DeviceTypeControl, type DeviceControlProps, type ControlPlacement } from "./control-registry";
|
|
17
|
+
export { OfflineBadge, type OfflineBadgeProps } from "./offline-badge";
|
|
18
|
+
export { CoverInlineControl, type CoverHighlightVariant, type CoverButtonHighlight } from "./cover-inline";
|
|
19
|
+
export { CoverHeroCard } from "./cover-hero-card";
|
|
20
|
+
export { VacuumInlineControl } from "./vacuum-control";
|
|
21
|
+
export { LawnMowerInlineControl } from "./lawn-mower-control";
|
|
22
|
+
export { ValveInlineControl, ValveHeroCard, valveStateMeta, type ValveStateMeta } from "./valve-control";
|
|
23
|
+
export { HumidifierInlineControl, HumidifierHeroCard, humidifierTint, type HumidifierTint, type HumidifierAction } from "./humidifier-control";
|
|
24
|
+
export { WaterHeaterInlineControl } from "./water-heater-control";
|
|
25
|
+
export { WeatherInlineControl, WeatherHeroCard, weatherTint, weatherConditionMeta, type WeatherTint, type WeatherConditionMeta, type WeatherGlyph } from "./weather-control";
|
|
26
|
+
export { ImageInlineControl, ImageHeroCard, type ImageHeroCardProps } from "./image-control";
|
|
27
|
+
export { DummyInline, DummyHeroCard } from "./dummy-hero-card";
|
|
28
|
+
export { SensorInlineControl } from "./sensor-inline-control";
|
|
29
|
+
export { SensorHeroCard } from "./sensor-hero-card";
|
|
30
|
+
export { SwitchInlineControl, PlugCardHero, LockInlineControl, LockHeroCard, LightInlineControl, LightHeroCard, FanInlineControl, FanHeroCard, ThermostatInlineControl, ClimateCardHero, MediaPlayerInlineControl, ApplianceCardHero, DishwasherCardHero, MediaCardHero, VacuumCardHero, MowerCardHero, WaterHeaterCardHero, LockCardHero, AlarmCardHero, HumidifierCardHero, ValveCardHero, PetFeederCardHero, PetFountainCardHero, WeatherCardHero, AlarmPanelInlineControl, AlarmHeroCard, ScriptHeroCard, AutomationHeroCard, ControlHeroCard } from "./panel-controls";
|
|
31
|
+
export { DishwasherOptionsPanel, isConsumableDishwasherEvent, visibleDishwasherEvents } from "./dishwasher-options";
|
|
32
|
+
export { resolvePrimaryChild, PRIORITY, type ChildRef } from "./primary-child";
|
|
33
|
+
export { resolveContainerPrimary, overrideEntityIdFromLink, containerChildToRef, childEntityId, type ContainerChild } from "./container-primary";
|
|
34
|
+
export { ContainerPrimaryHero, type ContainerPrimaryHeroProps, type ContainerHeroChild } from "./container-primary-hero";
|
|
35
|
+
export { PrimaryChildPicker, type PrimaryChildPickerProps, type PrimaryChildOption } from "./primary-child-picker";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Robotic lawn-mower controls for a `DeviceType.LawnMower` device.
|
|
3
|
+
*
|
|
4
|
+
* LawnMowerInlineControl (device-list row): compact Mow / Pause / Dock
|
|
5
|
+
* buttons with activity-aware highlight + a battery % badge, gated on
|
|
6
|
+
* `available`. The device-detail hero is the device card
|
|
7
|
+
* (`composites/device-card`, `ConnectedMowerCard`).
|
|
8
|
+
*/
|
|
9
|
+
import type { ReactNode } from "react";
|
|
10
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
11
|
+
/**
|
|
12
|
+
* LawnMowerInlineControl — compact, activity-aware mower controls for a
|
|
13
|
+
* device-list row. Mow / Pause / Dock + battery badge.
|
|
14
|
+
*/
|
|
15
|
+
export declare function LawnMowerInlineControl({ trpc, deviceId }: DeviceControlProps): ReactNode;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
3
|
+
/**
|
|
4
|
+
* LightHeroCard — radial dimmer hero for Light devices.
|
|
5
|
+
*
|
|
6
|
+
* Renders:
|
|
7
|
+
* - RadialGauge: brightness ArcKnob riding a 270° ring at the level fraction,
|
|
8
|
+
* centered bulb glyph + percentage readout.
|
|
9
|
+
* - TAP TOGGLE for on/off (Spec §3 — NOT a SlideToggle; slide is safety-only).
|
|
10
|
+
* - Colour-temperature GripTrack strip — ONLY when the device advertises
|
|
11
|
+
* DeviceFeature.LightColorMired AND the `color` cap is bound.
|
|
12
|
+
*
|
|
13
|
+
* Composes three caps: `switch` (on/off), `brightness` (level), `color` (CT).
|
|
14
|
+
* Cap-gated on `switch` (always present on a Light) — returns null without it.
|
|
15
|
+
*/
|
|
16
|
+
export declare function LightHeroCard({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
3
|
+
/**
|
|
4
|
+
* LockHeroCard — padlock hero for lock devices.
|
|
5
|
+
*
|
|
6
|
+
* Renders:
|
|
7
|
+
* - Padlock glyph: state-colored (locked=green, unlocked=amber, jammed=red)
|
|
8
|
+
* - SlideToggle (safety gesture): thumb must be dragged past threshold to
|
|
9
|
+
* confirm lock/unlock — a plain tap never triggers the action (Spec §3).
|
|
10
|
+
* - Open (unlatch) button: rendered ONLY when device.features includes
|
|
11
|
+
* DeviceFeature.LockOpen ('lock-open'). Absent otherwise.
|
|
12
|
+
*
|
|
13
|
+
* Cap-gated: returns null when the device has no lockControl cap.
|
|
14
|
+
*/
|
|
15
|
+
export declare function LockHeroCard({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { ControlPanelProps } from "./types.js";
|
|
3
|
+
import type { MediaPlayerState } from "@dominevo/types";
|
|
4
|
+
/**
|
|
5
|
+
* Exhaustive colour map — one entry per MediaPlayerState.
|
|
6
|
+
* Build fails if a state is added and not reflected here.
|
|
7
|
+
*/
|
|
8
|
+
export declare const STATE_COLOR: Record<MediaPlayerState, string>;
|
|
9
|
+
export declare function MediaPlayerPanel({ trpc, deviceId, features, layout }: ControlPanelProps): ReactNode;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OfflineBadge — a small, shared "device is unreachable" pill.
|
|
3
|
+
*
|
|
4
|
+
* Rendered ONCE per device (in the detail hero header) when the
|
|
5
|
+
* device-status slice reports `online: false`. Controls themselves stay
|
|
6
|
+
* mounted showing their last-known value (greyed/read-only via the
|
|
7
|
+
* `useDeviceCapability` `available` gate); this badge is the single,
|
|
8
|
+
* legible explanation of WHY they're inert plus how long ago the device
|
|
9
|
+
* was last seen.
|
|
10
|
+
*
|
|
11
|
+
* Pure presentational atom: no fetches, no internal state. The caller
|
|
12
|
+
* supplies `lastChangedAt` (the device-status `lastChangedAt` /
|
|
13
|
+
* `useDeviceCapability` `offlineSince`). When it is absent or
|
|
14
|
+
* non-positive only the "Unavailable" label renders.
|
|
15
|
+
*/
|
|
16
|
+
import type { ReactElement } from "react";
|
|
17
|
+
export interface OfflineBadgeProps {
|
|
18
|
+
/**
|
|
19
|
+
* Ms epoch of the last online→offline transition (device-status
|
|
20
|
+
* `lastChangedAt`). `null`/`undefined`/non-positive → no "last seen"
|
|
21
|
+
* suffix is shown.
|
|
22
|
+
*/
|
|
23
|
+
readonly lastChangedAt?: number | null;
|
|
24
|
+
readonly className?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function OfflineBadge({ lastChangedAt, className }: OfflineBadgeProps): ReactElement;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Panel-backed InlineControl and HeroCard wrappers for all non-Cover actuator types.
|
|
3
|
+
*
|
|
4
|
+
* Each wrapper:
|
|
5
|
+
* - Guards on `cap === undefined` → returns null (device has no such cap).
|
|
6
|
+
* Never disappears on a transient undefined slice; the panel itself handles that.
|
|
7
|
+
* - InlineControl: renders the panel at layout="compact" (row-sized).
|
|
8
|
+
* - HeroCard: renders the panel at layout="full" in the standard hero shell
|
|
9
|
+
* (rounded-lg border border-border bg-surface p-4, matching CoverHeroCard's shell).
|
|
10
|
+
*
|
|
11
|
+
* Mapped types:
|
|
12
|
+
* Switch / Siren → SwitchPanel
|
|
13
|
+
* Lock → LockPanel
|
|
14
|
+
* Light → SwitchPanel + BrightnessPanel (switch toggle + brightness slider)
|
|
15
|
+
* Fan → SwitchPanel + FanPanel
|
|
16
|
+
* Thermostat → ClimatePanel
|
|
17
|
+
* MediaPlayer → MediaPlayerPanel
|
|
18
|
+
* Control → ControlPanel
|
|
19
|
+
*/
|
|
20
|
+
import type { ReactNode } from "react";
|
|
21
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
22
|
+
export { AlarmHeroCard, AlarmInlineControl as AlarmPanelInlineControl } from "./alarm-hero-card";
|
|
23
|
+
export { FanHeroCard } from "./fan-hero-card";
|
|
24
|
+
export { LightHeroCard } from "./light-hero-card";
|
|
25
|
+
export { LockHeroCard } from "./lock-hero-card";
|
|
26
|
+
export { AutomationHeroCard, ScriptHeroCard } from "./script-automation-controls";
|
|
27
|
+
export declare function SwitchInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
28
|
+
export declare function LockInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
29
|
+
export declare function LightInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
30
|
+
export declare function FanInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
31
|
+
export declare function ThermostatInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
32
|
+
export declare function AcInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* The plug and climate heroes ARE the device card (`composites/device-card`):
|
|
35
|
+
* one frame for every device type, the scene filling its zones. The registry
|
|
36
|
+
* keeps handing a hero per control kind; these two adapt its props.
|
|
37
|
+
*/
|
|
38
|
+
export declare function PlugCardHero({ deviceId }: DeviceControlProps): ReactNode;
|
|
39
|
+
export declare function ClimateCardHero({ deviceId }: DeviceControlProps): ReactNode;
|
|
40
|
+
export declare function ApplianceCardHero(props: DeviceControlProps): ReactNode;
|
|
41
|
+
export declare function DishwasherCardHero(props: DeviceControlProps): ReactNode;
|
|
42
|
+
export declare function MediaCardHero(props: DeviceControlProps): ReactNode;
|
|
43
|
+
export declare function VacuumCardHero(props: DeviceControlProps): ReactNode;
|
|
44
|
+
export declare function MowerCardHero(props: DeviceControlProps): ReactNode;
|
|
45
|
+
export declare function WaterHeaterCardHero(props: DeviceControlProps): ReactNode;
|
|
46
|
+
export declare function EnergyCardHero(props: DeviceControlProps): ReactNode;
|
|
47
|
+
export declare function LockCardHero(props: DeviceControlProps): ReactNode;
|
|
48
|
+
export declare function AlarmCardHero(props: DeviceControlProps): ReactNode;
|
|
49
|
+
export declare function HumidifierCardHero(props: DeviceControlProps): ReactNode;
|
|
50
|
+
export declare function ValveCardHero(props: DeviceControlProps): ReactNode;
|
|
51
|
+
export declare function PetFeederCardHero(props: DeviceControlProps): ReactNode;
|
|
52
|
+
export declare function PetFountainCardHero(props: DeviceControlProps): ReactNode;
|
|
53
|
+
export declare function WeatherCardHero(props: DeviceControlProps): ReactNode;
|
|
54
|
+
export declare function ButtonCardHero(props: DeviceControlProps): ReactNode;
|
|
55
|
+
export declare function UpdateCardHero(props: DeviceControlProps): ReactNode;
|
|
56
|
+
export declare function ScriptCardHero(props: DeviceControlProps): ReactNode;
|
|
57
|
+
export declare function AutomationCardHero(props: DeviceControlProps): ReactNode;
|
|
58
|
+
export declare function ControlCardHero(props: DeviceControlProps): ReactNode;
|
|
59
|
+
export declare function ImageCardHero(props: DeviceControlProps): ReactNode;
|
|
60
|
+
/** A VM, container, LXC, app or host: the workload card. */
|
|
61
|
+
export declare function WorkloadCardHero(props: DeviceControlProps): ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* The `dummy` control kind: an event source, a notifier and a gateway draw
|
|
64
|
+
* their card; every other type keeps the placeholder.
|
|
65
|
+
*/
|
|
66
|
+
export declare function DummyCardHero(props: DeviceControlProps): ReactNode;
|
|
67
|
+
export declare function MediaPlayerInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
68
|
+
export declare function ControlHeroCard({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { ControlPanelProps } from "./types.js";
|
|
3
|
+
export interface BowlReading {
|
|
4
|
+
/** Number text, `—` when the bowl is unknown. */
|
|
5
|
+
readonly text: string;
|
|
6
|
+
/** Unit symbol, `''` when the bowl is unknown. */
|
|
7
|
+
readonly unit: string;
|
|
8
|
+
/** Number and unit as one string, for labels. */
|
|
9
|
+
readonly label: string;
|
|
10
|
+
/** The bowl in grams, for the gauge fill; null when unknown. */
|
|
11
|
+
readonly grams: number | null;
|
|
12
|
+
}
|
|
13
|
+
/** The slice stores the bowl as a mass in kilograms (D944). */
|
|
14
|
+
export declare function resolveBowlReading(kilograms: number | null, system: "metric" | "imperial"): BowlReading;
|
|
15
|
+
export declare function PetFeederPanel({ trpc, deviceId, layout }: ControlPanelProps): ReactNode;
|
|
16
|
+
interface DeviceControlProps {
|
|
17
|
+
readonly trpc: ControlPanelProps["trpc"];
|
|
18
|
+
readonly deviceId: number;
|
|
19
|
+
readonly features: readonly string[] | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare function PetFeederInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
22
|
+
export declare function PetFeederHeroCard({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { ControlPanelProps } from "./types";
|
|
3
|
+
export declare function PetFountainPanel({ trpc, deviceId, layout }: ControlPanelProps): ReactNode;
|
|
4
|
+
interface DeviceControlProps {
|
|
5
|
+
readonly trpc: ControlPanelProps["trpc"];
|
|
6
|
+
readonly deviceId: number;
|
|
7
|
+
readonly features: readonly string[] | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare function PetFountainInlineControl({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
10
|
+
export declare function PetFountainHeroCard({ trpc, deviceId, features }: DeviceControlProps): ReactNode;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <PopoverRowAction> — generic icon-button → portal popover.
|
|
3
|
+
*
|
|
4
|
+
* Distilled from `PtzQuickAction` (device-item/actions.tsx): a 5x5
|
|
5
|
+
* icon-button trigger that opens a fixed-position panel mounted on
|
|
6
|
+
* `document.body` (so it escapes the table's `overflow` clip), anchored
|
|
7
|
+
* under the trigger and clamped inside the viewport. Closes on a second
|
|
8
|
+
* trigger click or an outside `mousedown`.
|
|
9
|
+
*
|
|
10
|
+
* Available for use by any composite that needs an icon-button → panel
|
|
11
|
+
* popover pattern (e.g. PTZ quick-action, more-actions menu).
|
|
12
|
+
*/
|
|
13
|
+
import { type ReactNode } from "react";
|
|
14
|
+
import type { LucideIcon } from "lucide-react";
|
|
15
|
+
interface PopoverRowActionProps {
|
|
16
|
+
readonly icon: LucideIcon;
|
|
17
|
+
readonly title: string;
|
|
18
|
+
readonly children: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare function PopoverRowAction({ icon: Icon, title, children }: PopoverRowActionProps): ReactNode;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <PrimaryChildPicker> — controlled dropdown that selects which entity-child of
|
|
3
|
+
* a CONTAINER device is its PRIMARY child.
|
|
4
|
+
*
|
|
5
|
+
* The picker is a thin, presentation-only controlled `<select>`: it carries each
|
|
6
|
+
* child's numeric `id` on its `<option>` values (stable React keys + selection),
|
|
7
|
+
* but reports a change as the chosen child's re-sync/rename-stable `entityId` —
|
|
8
|
+
* which is what the durable override (`deviceManager.setPrimaryChildEntityId`)
|
|
9
|
+
* persists. Resolving the CURRENT primary child (priority default vs. persisted
|
|
10
|
+
* override) is the caller's job; this component only renders the choice and
|
|
11
|
+
* surfaces a new pick.
|
|
12
|
+
*
|
|
13
|
+
* Extracted from the container detail hero so the same selector can live in the
|
|
14
|
+
* device's primary config block (next to name / location) instead of floating on
|
|
15
|
+
* the hero card. The hero no longer owns it.
|
|
16
|
+
*/
|
|
17
|
+
import type { ReactNode } from "react";
|
|
18
|
+
import { type ContainerChild } from "./container-primary";
|
|
19
|
+
/** A child row the picker can offer. */
|
|
20
|
+
export interface PrimaryChildOption extends ContainerChild {
|
|
21
|
+
readonly name: string;
|
|
22
|
+
}
|
|
23
|
+
export interface PrimaryChildPickerProps {
|
|
24
|
+
/** The container's entity-children (from `deviceManager.getChildren`). */
|
|
25
|
+
readonly childrenList: readonly PrimaryChildOption[];
|
|
26
|
+
/** Numeric id of the currently-resolved primary child. */
|
|
27
|
+
readonly selectedId: number;
|
|
28
|
+
/** Called with the picked child's re-sync/rename-stable `entityId`. */
|
|
29
|
+
/** Called with the picked child's `stableId` — the canonical override key. */
|
|
30
|
+
readonly onSetPrimary: (childStableId: string) => void;
|
|
31
|
+
/** Disable the control while a persist is in flight. */
|
|
32
|
+
readonly disabled?: boolean;
|
|
33
|
+
/** Optional extra classes for the `<select>` (so a host row can size it). */
|
|
34
|
+
readonly className?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare function PrimaryChildPicker({ childrenList, selectedId, onSetPrimary, disabled, className }: PrimaryChildPickerProps): ReactNode;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which child a container is rendered AS — this surface's name for the shared
|
|
3
|
+
* rule.
|
|
4
|
+
*
|
|
5
|
+
* The list and the resolution used to live here, in a COPY that carried a
|
|
6
|
+
* comment asking the Home Assistant adoption mapping and the viewer's panel to
|
|
7
|
+
* stay in sync with it. Three lists and three comments is not one rule, it is
|
|
8
|
+
* three chances to drift. Both now come from `@dominevo/types`, which all of
|
|
9
|
+
* them already depend on; what remains here is the adapter for this module's
|
|
10
|
+
* historical `ChildRef` shape.
|
|
11
|
+
*/
|
|
12
|
+
import { type ContainerPrimaryChildPreference } from "@dominevo/types";
|
|
13
|
+
/** The shared precedence, under this module's historical name. */
|
|
14
|
+
export declare const PRIORITY: readonly string[];
|
|
15
|
+
export interface ChildRef {
|
|
16
|
+
readonly id: number;
|
|
17
|
+
readonly entityId: string;
|
|
18
|
+
/**
|
|
19
|
+
* The child's own `stableId` — the key a pick is persisted under. Distinct
|
|
20
|
+
* from `entityId` whenever the integration populates `sourceInfo.id`
|
|
21
|
+
* (ESPHome children do), so it must travel separately.
|
|
22
|
+
*/
|
|
23
|
+
readonly stableId?: string | undefined;
|
|
24
|
+
readonly type: string;
|
|
25
|
+
/** `DeviceRole`, ranked ABOVE `type` — see `CONTAINER_CHILD_ROLE_PRIORITY`. */
|
|
26
|
+
readonly role?: string | undefined;
|
|
27
|
+
/** Operator-facing name — used for the namesake tiebreak. */
|
|
28
|
+
readonly name?: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Resolve a container's primary child: the operator's pick when it still
|
|
32
|
+
* matches a live child, else the container's declared preference, else the
|
|
33
|
+
* type's declaration, else the highest-priority type. `containerType` is required so a caller cannot skip the declaration.
|
|
34
|
+
*
|
|
35
|
+
* `entityId` here is `sourceInfo?.id ?? stableId` (see `containerChildToRef`);
|
|
36
|
+
* `stableId` is the child's own. The shared resolver matches the canonical
|
|
37
|
+
* `stableId` key first and accepts the `entityId` as the legacy value, so a pick stored under either keeps resolving.
|
|
38
|
+
*/
|
|
39
|
+
export declare function resolvePrimaryChild(children: readonly ChildRef[], overrideEntityId: string | undefined, containerName: string | undefined, containerType: string | undefined, preference: ContainerPrimaryChildPreference | undefined): ChildRef | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface RadialGaugeProps {
|
|
3
|
+
/** Fill fraction 0..1 (brightness or speed level). */
|
|
4
|
+
readonly fraction: number;
|
|
5
|
+
/** Hex/CSS colour for the fill arc + knob border. */
|
|
6
|
+
readonly color: string;
|
|
7
|
+
/** Centered content (icon + value readout). */
|
|
8
|
+
readonly children: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* When provided, the ArcKnob becomes draggable: dragging it reports the new
|
|
11
|
+
* arc fraction (0..1) to the parent, which owns the value and re-renders the
|
|
12
|
+
* gauge at the new `fraction`. When omitted the knob is display-only.
|
|
13
|
+
*/
|
|
14
|
+
readonly onDragFraction?: (fraction: number) => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Circular gauge with an ArcKnob at `fraction` and centered children.
|
|
18
|
+
* The knob wrapper carries `data-testid="arc-knob"` for test assertions.
|
|
19
|
+
*/
|
|
20
|
+
export declare function RadialGauge({ fraction, color, children, onDragFraction }: RadialGaugeProps): ReactNode;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type UiTextFn } from "../../contexts/ui-text";
|
|
3
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
4
|
+
/**
|
|
5
|
+
* "3 min ago", or nothing at all.
|
|
6
|
+
*
|
|
7
|
+
* **0 means NEVER RUN** on both status schemas, and it must not render as the
|
|
8
|
+
* epoch. "1 Jan 1970" next to a script is the kind of detail that sends an
|
|
9
|
+
* operator looking for a clock problem that does not exist.
|
|
10
|
+
*/
|
|
11
|
+
export declare function lastRunLabel(atMs: number, nowMs: number, t?: UiTextFn): string | null;
|
|
12
|
+
export declare function ScriptHeroCard({ trpc, deviceId }: DeviceControlProps): ReactNode;
|
|
13
|
+
export declare function AutomationHeroCard({ trpc, deviceId }: DeviceControlProps): ReactNode;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
3
|
+
/**
|
|
4
|
+
* SensorHeroCard — full hero card for the device-detail area.
|
|
5
|
+
*
|
|
6
|
+
* Fetches the device row (name, role, sourceInfo) via React Query
|
|
7
|
+
* (`deviceManager.getDevice`), then delegates rendering to the inner
|
|
8
|
+
* component that reads the live state slice via the proxy.
|
|
9
|
+
*/
|
|
10
|
+
export declare function SensorHeroCard({ trpc, deviceId }: DeviceControlProps): ReactNode;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SensorDescriptor } from "./sensor-value-atom";
|
|
2
|
+
export type SnapshotStatus = "pending" | "error" | "success";
|
|
3
|
+
export type SensorHeroResolution = {
|
|
4
|
+
readonly kind: "value";
|
|
5
|
+
readonly slice: unknown;
|
|
6
|
+
} | {
|
|
7
|
+
readonly kind: "awaiting";
|
|
8
|
+
} | {
|
|
9
|
+
readonly kind: "quiet";
|
|
10
|
+
};
|
|
11
|
+
export interface SensorHeroSourceInput {
|
|
12
|
+
readonly addonId: string;
|
|
13
|
+
readonly role: string | null | undefined;
|
|
14
|
+
readonly descriptor: SensorDescriptor | undefined;
|
|
15
|
+
readonly capName: string | undefined;
|
|
16
|
+
readonly live: unknown;
|
|
17
|
+
readonly snapshotStatus: SnapshotStatus;
|
|
18
|
+
readonly snapshotCaps: unknown;
|
|
19
|
+
}
|
|
20
|
+
/** Cap a role's primary reading is stored on. Kept beside the hero, not a second renderer. */
|
|
21
|
+
export declare const ROLE_OUTPUT_CAP: Readonly<Record<string, string>>;
|
|
22
|
+
/** The descriptor can render this slice. `false` and `0` count; a missing field does not. */
|
|
23
|
+
export declare function sensorSliceReady(descriptor: SensorDescriptor, slice: unknown): boolean;
|
|
24
|
+
export declare function resolveSensorHeroReading(input: SensorHeroSourceInput): SensorHeroResolution;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SensorInlineControl — registry-compatible wrapper around SensorValueAtom.
|
|
3
|
+
*
|
|
4
|
+
* Bridges the registry's `DeviceControlProps` (trpc, deviceId, features) into
|
|
5
|
+
* SensorValueAtom's `{trpc, device}` shape by fetching the device row (role)
|
|
6
|
+
* from `deviceManager.getDevice`. Returns null while the device row is loading
|
|
7
|
+
* or when no role is found (not a sensor accessory).
|
|
8
|
+
*
|
|
9
|
+
* Unit resolution happens in SensorValueAtom: typed roles use the descriptor's
|
|
10
|
+
* canonical unit; generic numeric-sensor reads unit live from the slice.
|
|
11
|
+
* sourceInfo is no longer needed here.
|
|
12
|
+
*/
|
|
13
|
+
import type { ReactNode } from "react";
|
|
14
|
+
import type { DeviceControlProps } from "./control-registry";
|
|
15
|
+
/**
|
|
16
|
+
* Registry InlineControl for Sensor and Presence device types.
|
|
17
|
+
*
|
|
18
|
+
* Fetches the device row once (React Query cache — no waterfall for
|
|
19
|
+
* repeated renders), maps to DeviceItemDevice, and delegates rendering
|
|
20
|
+
* to the existing SensorValueAtom so both the row special-case path and
|
|
21
|
+
* the registry path stay in sync.
|
|
22
|
+
*/
|
|
23
|
+
export declare function SensorInlineControl({ trpc, deviceId }: DeviceControlProps): ReactNode;
|