@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,19 @@
|
|
|
1
|
+
import { type ReactNode, type JSX } from "react";
|
|
2
|
+
import { type SidebarProps } from "./sidebar";
|
|
3
|
+
export interface AppShellProps {
|
|
4
|
+
sidebar: SidebarProps;
|
|
5
|
+
header?: {
|
|
6
|
+
breadcrumbs?: {
|
|
7
|
+
label: string;
|
|
8
|
+
href?: string;
|
|
9
|
+
}[];
|
|
10
|
+
actions?: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
/** Content shown in the center of the mobile top bar (e.g. logo) */
|
|
13
|
+
mobileLogo?: ReactNode;
|
|
14
|
+
/** Content shown on the right side of the mobile top bar (e.g. avatar menu) */
|
|
15
|
+
mobileActions?: ReactNode;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function AppShell({ sidebar, header, mobileLogo, mobileActions, children, className }: AppShellProps): JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type LucideIcon } from "lucide-react";
|
|
2
|
+
import { type JSX } from "react";
|
|
3
|
+
export interface SidebarItemProps {
|
|
4
|
+
label: string;
|
|
5
|
+
icon: LucideIcon;
|
|
6
|
+
href: string;
|
|
7
|
+
badge?: string | number;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function SidebarItem({ label, icon: Icon, href, badge, active, className }: SidebarItemProps): JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode, type JSX } from "react";
|
|
2
|
+
import { type SidebarItemProps } from "./sidebar-item";
|
|
3
|
+
export interface SidebarSection {
|
|
4
|
+
label?: string;
|
|
5
|
+
items: SidebarItemProps[];
|
|
6
|
+
}
|
|
7
|
+
export interface SidebarProps {
|
|
8
|
+
logo?: ReactNode;
|
|
9
|
+
sections: SidebarSection[];
|
|
10
|
+
footer?: SidebarItemProps[];
|
|
11
|
+
onNavigate?: () => void;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function Sidebar({ logo, sections, footer, onNavigate, className }: SidebarProps): JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
export interface AudioClassification {
|
|
3
|
+
readonly className: string;
|
|
4
|
+
readonly score: number;
|
|
5
|
+
}
|
|
6
|
+
export interface AudioClassificationListProps {
|
|
7
|
+
/** Sorted classifications (highest score first) */
|
|
8
|
+
readonly classifications: readonly AudioClassification[];
|
|
9
|
+
/** Processing state indicator */
|
|
10
|
+
readonly processing?: boolean;
|
|
11
|
+
/** Inference time in ms */
|
|
12
|
+
readonly inferenceMs?: number;
|
|
13
|
+
/** Max items to show (default: 10) */
|
|
14
|
+
readonly maxItems?: number;
|
|
15
|
+
/** Optional className */
|
|
16
|
+
readonly className?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Displays audio classification results as a ranked list with score bars.
|
|
20
|
+
*/
|
|
21
|
+
export declare function AudioClassificationList({ classifications, processing, inferenceMs, maxItems, className }: AudioClassificationListProps): JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
export interface AudioLevelSample {
|
|
3
|
+
readonly dbfs: number;
|
|
4
|
+
readonly timestamp: number;
|
|
5
|
+
}
|
|
6
|
+
export interface AudioLevelWaveformProps {
|
|
7
|
+
/** Current dBFS level — push a new value to append to the internal ring buffer. */
|
|
8
|
+
readonly currentDbfs: number | null;
|
|
9
|
+
/** How many seconds of history to display (default 30) */
|
|
10
|
+
readonly durationSec?: number;
|
|
11
|
+
/** Max samples to keep in memory (default 120 ≈ 60s at 2 samples/s) */
|
|
12
|
+
readonly maxSamples?: number;
|
|
13
|
+
/** Height in pixels (default 64) */
|
|
14
|
+
readonly height?: number;
|
|
15
|
+
/** CSS class for the container */
|
|
16
|
+
readonly className?: string;
|
|
17
|
+
/** Bar color (CSS) */
|
|
18
|
+
readonly color?: string;
|
|
19
|
+
/** Clipping color when dBFS > threshold (default red) */
|
|
20
|
+
readonly clipColor?: string;
|
|
21
|
+
/** dBFS threshold for clipping color (default -6) */
|
|
22
|
+
readonly clipThreshold?: number;
|
|
23
|
+
/** Min dBFS to display (default -96) */
|
|
24
|
+
readonly minDbfs?: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Canvas-based live audio level waveform with internal state.
|
|
28
|
+
*
|
|
29
|
+
* Receives `currentDbfs` — each time it changes, a new sample is appended
|
|
30
|
+
* to an internal ring buffer and the canvas is redrawn. The component
|
|
31
|
+
* manages its own history, so callers just push the latest dBFS value.
|
|
32
|
+
*
|
|
33
|
+
* Designed to be fed from the `pipeline.audio-inference-result` event
|
|
34
|
+
* (each chunk, ~0.5s, produces one sample via `frame.level.dbfs`).
|
|
35
|
+
*/
|
|
36
|
+
export declare function AudioLevelWaveform({ currentDbfs, durationSec, maxSamples, height, className, color, clipColor, clipThreshold, minDbfs }: AudioLevelWaveformProps): JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
export interface AudioWaveformProps {
|
|
3
|
+
/** Raw audio samples (mono Float32Array, -1..1 range) */
|
|
4
|
+
readonly samples: Float32Array | null;
|
|
5
|
+
/** Sample rate in Hz (for time axis labels) */
|
|
6
|
+
readonly sampleRate?: number;
|
|
7
|
+
/** Height in pixels */
|
|
8
|
+
readonly height?: number;
|
|
9
|
+
/** CSS class for the container */
|
|
10
|
+
readonly className?: string;
|
|
11
|
+
/** Waveform color (CSS color string) */
|
|
12
|
+
readonly color?: string;
|
|
13
|
+
/** Background color */
|
|
14
|
+
readonly bgColor?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Canvas-based audio waveform visualization.
|
|
18
|
+
* Renders a waveform from Float32Array audio samples.
|
|
19
|
+
* Downsamples to pixel resolution for performance.
|
|
20
|
+
*/
|
|
21
|
+
export declare function AudioWaveform({ samples, sampleRate, height, className, color, bgColor }: AudioWaveformProps): JSX.Element;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BatteryBadge — compact battery indicator for camera tiles + headers.
|
|
3
|
+
*
|
|
4
|
+
* Renders a battery icon with the percentage, a charging glyph when the
|
|
5
|
+
* device is on DC/solar, and a moon when the camera is sleeping (so
|
|
6
|
+
* operators don't blame the platform for low fps on a sleeping cam).
|
|
7
|
+
*
|
|
8
|
+
* Self-contained on data: the caller passes a `status` snapshot from
|
|
9
|
+
* `trpc.battery.getStatus.useQuery` or the `battery.onStatusChanged`
|
|
10
|
+
* event subscription. Returns `null` when status is missing so the
|
|
11
|
+
* call-site can drop the badge in unconditionally — non-battery
|
|
12
|
+
* cameras simply produce no badge.
|
|
13
|
+
*/
|
|
14
|
+
import type { JSX } from "react";
|
|
15
|
+
export interface BatteryStatusLike {
|
|
16
|
+
/** `null` means no reading has landed yet (cold seed) — NOT a flat 0 %
|
|
17
|
+
* (D315). Render "Unknown", never a red critical badge. */
|
|
18
|
+
readonly level: number | null;
|
|
19
|
+
readonly charging: "dc" | "solar" | "none" | "unknown";
|
|
20
|
+
readonly sleeping: boolean;
|
|
21
|
+
/** True for a binary LOW_BAT source with no real % — render "Normal"/"Low"
|
|
22
|
+
* instead of a misleading exact percentage. */
|
|
23
|
+
readonly binary?: boolean;
|
|
24
|
+
/** What the CELL is doing; absent / `'unknown'` = not known, render nothing. */
|
|
25
|
+
readonly chargeState?: "charging" | "full" | "idle" | "unknown";
|
|
26
|
+
readonly voltage?: number | null;
|
|
27
|
+
readonly currentMa?: number | null;
|
|
28
|
+
readonly temperatureC?: number | null;
|
|
29
|
+
readonly lastContactAt?: number;
|
|
30
|
+
}
|
|
31
|
+
export interface BatteryBadgeProps {
|
|
32
|
+
readonly status: BatteryStatusLike | null | undefined;
|
|
33
|
+
/** `'compact'` shows only icon + %; `'full'` adds the source label. */
|
|
34
|
+
readonly variant?: "compact" | "full";
|
|
35
|
+
readonly className?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function BatteryBadge({ status, variant, className }: BatteryBadgeProps): JSX.Element | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BatteryDetails — label/value list of the known battery facts
|
|
3
|
+
* (see `batteryDetailRows`). Rendered inside the full BatteryBadge popover.
|
|
4
|
+
*/
|
|
5
|
+
import type { JSX } from "react";
|
|
6
|
+
import type { BatteryDetailRow } from "./battery-details";
|
|
7
|
+
export interface BatteryDetailsProps {
|
|
8
|
+
readonly rows: readonly BatteryDetailRow[];
|
|
9
|
+
}
|
|
10
|
+
export declare function BatteryDetails({ rows }: BatteryDetailsProps): JSX.Element | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { BatteryStatusLike } from "./battery-badge";
|
|
2
|
+
export type BatteryDetailId = "source" | "cell" | "voltage" | "current" | "temperature" | "sleep" | "lastContact";
|
|
3
|
+
/** Which translated phrase a row's value uses (renderer maps it to a key). */
|
|
4
|
+
export type BatteryDetailValue = {
|
|
5
|
+
readonly kind: "phrase";
|
|
6
|
+
readonly phrase: string;
|
|
7
|
+
} | {
|
|
8
|
+
readonly kind: "number";
|
|
9
|
+
readonly text: string;
|
|
10
|
+
} | {
|
|
11
|
+
readonly kind: "ago";
|
|
12
|
+
readonly unit: "now" | "minutes" | "hours" | "days";
|
|
13
|
+
readonly count: number;
|
|
14
|
+
};
|
|
15
|
+
export interface BatteryDetailRow {
|
|
16
|
+
readonly id: BatteryDetailId;
|
|
17
|
+
readonly value: BatteryDetailValue;
|
|
18
|
+
}
|
|
19
|
+
export declare function batteryAge(timestampMs: number, now: number): Extract<BatteryDetailValue, {
|
|
20
|
+
kind: "ago";
|
|
21
|
+
}>;
|
|
22
|
+
export declare function batteryDetailRows(status: BatteryStatusLike, now?: number): readonly BatteryDetailRow[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Binary battery copy lives with the badge. A binary source has no real
|
|
3
|
+
* percentage: normal is the full stand-in, low is anything under the threshold.
|
|
4
|
+
*/
|
|
5
|
+
export declare const BINARY_BATTERY_LOW_BELOW: number;
|
|
6
|
+
export declare const BATTERY_BADGE_LOW_KEY: "uiLibrary.batteryBadge.low";
|
|
7
|
+
export declare const BATTERY_BADGE_NORMAL_KEY: "uiLibrary.batteryBadge.normal";
|
|
8
|
+
export declare function binaryBatteryIsLow(percentage: number): boolean;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
/** Display label */
|
|
4
|
+
label: string;
|
|
5
|
+
/** If provided, renders as a clickable link. Last item is never a link. */
|
|
6
|
+
href?: string;
|
|
7
|
+
/** Click handler — used instead of href for SPA navigation */
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export interface BreadcrumbProps {
|
|
11
|
+
items: BreadcrumbItem[];
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Breadcrumb navigation component.
|
|
16
|
+
*
|
|
17
|
+
* Usage with react-router:
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <Breadcrumb items={[
|
|
20
|
+
* { label: 'Integrations', onClick: () => navigate('/integrations') },
|
|
21
|
+
* { label: 'RTSP Cameras', onClick: () => navigate('/integrations/provider-rtsp?instance=int_0001') },
|
|
22
|
+
* { label: 'Front Door' },
|
|
23
|
+
* ]} />
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function Breadcrumb({ items, className }: BreadcrumbProps): JSX.Element;
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { type JSX, type ReactNode } from "react";
|
|
2
|
+
import type { CamProfile, WebrtcSessionDebug } from "@dominevo/types";
|
|
3
|
+
import { type ReconnectAction } from "./reconnect-schedule";
|
|
4
|
+
import { type AdaptiveHintsReport, type ApplyDownlinkProbe } from "./adaptive-downlink";
|
|
5
|
+
import { type ClientNetworkSample } from "./client-network-sample";
|
|
6
|
+
import { type StreamDebugSample } from "./stream-debug/webrtc-debug-stats.js";
|
|
7
|
+
type WebkitPresentationMode = "inline" | "picture-in-picture" | "fullscreen";
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLVideoElement {
|
|
10
|
+
webkitSetPresentationMode?: (mode: WebkitPresentationMode) => void;
|
|
11
|
+
readonly webkitPresentationMode?: WebkitPresentationMode;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export type PlayerConnectionState = "connecting" | "playing" | "error" | "disconnected" | "idle";
|
|
15
|
+
/**
|
|
16
|
+
* Discriminated WebRTC target — same shape as `WebrtcStreamTarget` on the
|
|
17
|
+
* backend cap; the `profile` tier uses the canonical `CamProfile` enum.
|
|
18
|
+
* Carried by `getSessionState`'s `pendingRenegotiation` and handed back to
|
|
19
|
+
* `reoffer` verbatim during an adaptive re-offer.
|
|
20
|
+
*/
|
|
21
|
+
export type PlayerWebrtcTarget = {
|
|
22
|
+
readonly kind: "adaptive";
|
|
23
|
+
} | {
|
|
24
|
+
readonly kind: "profile";
|
|
25
|
+
readonly profile: CamProfile;
|
|
26
|
+
} | {
|
|
27
|
+
readonly kind: "cam-stream";
|
|
28
|
+
readonly camStreamId: string;
|
|
29
|
+
};
|
|
30
|
+
/** Live signaling state polled mid-stream — the adaptive re-offer signal. */
|
|
31
|
+
export interface SessionSignalingState {
|
|
32
|
+
readonly pendingRenegotiation: {
|
|
33
|
+
readonly target: PlayerWebrtcTarget;
|
|
34
|
+
readonly epoch: number;
|
|
35
|
+
} | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Signaling function for WebRTC connection.
|
|
39
|
+
* Called by the player to establish the WebRTC session.
|
|
40
|
+
* Must return an RTCSessionDescription (the server's offer or answer depending on mode).
|
|
41
|
+
*
|
|
42
|
+
* Server-offer mode (default):
|
|
43
|
+
* 1. signalingFn is called with streamId → returns { sessionId, sdpOffer }
|
|
44
|
+
* 2. Player sets remote description (server offer), creates answer
|
|
45
|
+
* 3. Player calls answerFn(sessionId, sdpAnswer) to complete
|
|
46
|
+
*
|
|
47
|
+
* WHEP mode (legacy):
|
|
48
|
+
* 1. Player creates offer, gathers ICE
|
|
49
|
+
* 2. signalingFn is called with the client SDP offer → returns sdpAnswer
|
|
50
|
+
* 3. Player sets remote description (answer)
|
|
51
|
+
*/
|
|
52
|
+
export interface SignalingResult {
|
|
53
|
+
/** Server-offer mode: session ID + SDP offer from server */
|
|
54
|
+
sessionId: string;
|
|
55
|
+
sdpOffer: string;
|
|
56
|
+
/**
|
|
57
|
+
* ICE servers (STUN/TURN) the BROWSER should use, supplied by the server
|
|
58
|
+
* from its `turn-provider` cap. Critical for remote viewing: behind CGNAT
|
|
59
|
+
* (e.g. mobile data) the browser needs a TURN relay candidate or it has no
|
|
60
|
+
* reachable address and the stream stays black. Falls back to public STUN.
|
|
61
|
+
*/
|
|
62
|
+
iceServers?: readonly RTCIceServer[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Client-offer mode result: the server's SDP answer to a browser-built
|
|
66
|
+
* offer. The browser creates the offer advertising its FULL decode caps
|
|
67
|
+
* (incl. H.264 High on iOS 18), the server answers by echoing the matching
|
|
68
|
+
* codec, and the camera's native bytes pass through untouched — no
|
|
69
|
+
* transcode. This is the dual of `SignalingResult`'s server-offer flow.
|
|
70
|
+
*/
|
|
71
|
+
export interface ClientOfferResult {
|
|
72
|
+
sessionId: string;
|
|
73
|
+
sdpAnswer: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Client-side capabilities sent to the server at session creation.
|
|
77
|
+
* The server uses these to pick the best native source for adaptive
|
|
78
|
+
* streams (e.g. a 320×180 thumbnail player on a slow link gets the
|
|
79
|
+
* camera's low stream rather than ffmpeg-transcoded 4K).
|
|
80
|
+
*
|
|
81
|
+
* All fields are optional — when omitted the server defaults to its
|
|
82
|
+
* highest-quality registered source.
|
|
83
|
+
*/
|
|
84
|
+
export interface ClientStreamHints {
|
|
85
|
+
viewportWidth?: number;
|
|
86
|
+
viewportHeight?: number;
|
|
87
|
+
devicePixelRatio?: number;
|
|
88
|
+
downlinkMbps?: number;
|
|
89
|
+
prefersTier?: string;
|
|
90
|
+
}
|
|
91
|
+
export type { ClientNetworkSample } from "./client-network-sample";
|
|
92
|
+
export interface CameraStreamPlayerProps {
|
|
93
|
+
/** Server base URL (e.g. window.location.origin) */
|
|
94
|
+
serverUrl: string;
|
|
95
|
+
/**
|
|
96
|
+
* Stable key used for React reconciliation (the player remounts when
|
|
97
|
+
* this changes), the snapshot filename, and WHEP fallback URL. The
|
|
98
|
+
* value is opaque to the player — no parsing, no semantic meaning.
|
|
99
|
+
* Typical values: a `StreamChoice.id` (`'profile:high'`, `'stream:native:main'`).
|
|
100
|
+
*/
|
|
101
|
+
streamKey: string;
|
|
102
|
+
/** Human-readable label shown in overlay */
|
|
103
|
+
label?: string;
|
|
104
|
+
/** Auto-play on mount (default: true) */
|
|
105
|
+
autoPlay?: boolean;
|
|
106
|
+
/** Start muted (default: true) */
|
|
107
|
+
muted?: boolean;
|
|
108
|
+
/** Show toolbar controls (default: true) */
|
|
109
|
+
showControls?: boolean;
|
|
110
|
+
/** Show a live client-side WebRTC stats overlay (bitrate/fps/res/RTT),
|
|
111
|
+
* computed from the PeerConnection's getStats(). Default: false. */
|
|
112
|
+
showStats?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Report the same measurements to a HOST instead of (or as well as) drawing
|
|
115
|
+
* them.
|
|
116
|
+
*
|
|
117
|
+
* The overlay is a DOM layer, and in the native app the player lives inside a
|
|
118
|
+
* WebView whose touches the RN gesture layer owns — so the panel that opens
|
|
119
|
+
* on a tap can never be opened there. The numbers still have to reach the
|
|
120
|
+
* operator, so they travel out to whoever mounted the player and are rendered
|
|
121
|
+
* in its own UI, next to the battery and link details.
|
|
122
|
+
*
|
|
123
|
+
* Wiring this turns the two 1 Hz polls on by itself: a host that asked for
|
|
124
|
+
* samples wants them whether or not the in-picture overlay is drawn.
|
|
125
|
+
*/
|
|
126
|
+
onDebugStats?: (sample: StreamDebugSample) => void;
|
|
127
|
+
/** When provided, polls inbound-video getStats() every 5 s during playback
|
|
128
|
+
* and reports per-window health metrics (frames received/decoded/dropped,
|
|
129
|
+
* freezes, jitter, playback-clock advance). The embed forwards these over the
|
|
130
|
+
* existing host log bridge (`{type:'log', scope:'playback'}`), which always
|
|
131
|
+
* ships — this is the client half of the recorded stutter census. */
|
|
132
|
+
onPlaybackStats?: (data: Record<string, unknown>) => void;
|
|
133
|
+
/**
|
|
134
|
+
* When provided, samples the inbound-video getStats() ~every 2s and reports
|
|
135
|
+
* the CLIENT's live network conditions (packet-loss %, jitter, downlink
|
|
136
|
+
* bitrate, RTT) so the caller can push them to the server's
|
|
137
|
+
* `networkQuality.reportClientStats`. This is what lets the broker's ADAPTIVE
|
|
138
|
+
* ladder actually downgrade "auto" under a poor link: without a client
|
|
139
|
+
* signal the server sees only coarse RTCP RR and tends to stay on the top
|
|
140
|
+
* tier. Inert (zero behaviour change) unless a callback is passed; wire it
|
|
141
|
+
* only for adaptive sessions. */
|
|
142
|
+
onClientNetworkSample?: (sample: ClientNetworkSample) => void;
|
|
143
|
+
/**
|
|
144
|
+
* Bearer for `/adaptive-probe`, which requires a session (D635). A page the
|
|
145
|
+
* hub serves carries the session cookie and needs none; a host whose page
|
|
146
|
+
* cannot (the native app's `file://` embed) passes its token here. Absent
|
|
147
|
+
* and cookieless, the probe reads unknown and the broker's own ladder
|
|
148
|
+
* decides (try-climb on a clean path).
|
|
149
|
+
*/
|
|
150
|
+
probeAuthToken?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Cold-start phase breakdown, fired ONCE per connect when ICE reaches
|
|
153
|
+
* connected (the same object the `[WebRTC timing]` console line prints:
|
|
154
|
+
* iceServersMs/offerCreatedMs/localSetMs/signalingRttMs/answerSetMs/
|
|
155
|
+
* iceConnectedMs/firstTrackMs — plus firstFrameMs when the first frame
|
|
156
|
+
* DECODES, reported separately as a patch call). Lets an embedding host
|
|
157
|
+
* (the RN app's WebView) ship the numbers to its own logs instead of them
|
|
158
|
+
* dying in the in-WebView console. Inert unless wired. */
|
|
159
|
+
onConnectTiming?: (timing: Record<string, number>) => void;
|
|
160
|
+
/** Additional CSS classes for the root container */
|
|
161
|
+
className?: string;
|
|
162
|
+
/** Called on connection state change */
|
|
163
|
+
onStateChange?: (state: PlayerConnectionState) => void;
|
|
164
|
+
/** Called on error */
|
|
165
|
+
onError?: (error: string) => void;
|
|
166
|
+
/**
|
|
167
|
+
* Observer of the auto-retry loop: called with every scheduled attempt and
|
|
168
|
+
* with the exhaustion edge. Hosts wire it to their log pipeline (tagged with
|
|
169
|
+
* the camera) — a retry loop nobody can see is how a camera stays dark
|
|
170
|
+
* while looking busy.
|
|
171
|
+
*/
|
|
172
|
+
onReconnectAttempt?: (action: ReconnectAction) => void;
|
|
173
|
+
/** Custom overlay rendered on top of the video */
|
|
174
|
+
overlay?: ReactNode;
|
|
175
|
+
/**
|
|
176
|
+
* Create a WebRTC session (server-offer signaling). When provided,
|
|
177
|
+
* uses server-offer mode instead of WHEP. The caller closes over the
|
|
178
|
+
* target (profile / cam-stream / adaptive) and any device context;
|
|
179
|
+
* the player just hands it the auto-derived `hints` (viewport,
|
|
180
|
+
* downlink) so the server can score adaptive selections.
|
|
181
|
+
*/
|
|
182
|
+
createSession?: (hints?: ClientStreamHints) => Promise<SignalingResult>;
|
|
183
|
+
/**
|
|
184
|
+
* Send the client's SDP answer (server-offer signaling).
|
|
185
|
+
* Required when createSession is provided.
|
|
186
|
+
*/
|
|
187
|
+
sendAnswer?: (sessionId: string, sdpAnswer: string) => Promise<void>;
|
|
188
|
+
/**
|
|
189
|
+
* Client-offer signaling — PREFERRED over `createSession` when supplied.
|
|
190
|
+
* The player builds the SDP offer (advertising the browser's full native
|
|
191
|
+
* decode caps, incl. H.264 High on iOS 18) and this posts it to the
|
|
192
|
+
* server, which answers by echoing the matching codec. That lets a
|
|
193
|
+
* Main/High (incl. 4K) source pass through with NO transcode — the only
|
|
194
|
+
* path that lets iOS decode High. The caller closes over the target.
|
|
195
|
+
*/
|
|
196
|
+
handleOffer?: (sdpOffer: string, sessionId?: string, hints?: ClientStreamHints) => Promise<ClientOfferResult>;
|
|
197
|
+
/**
|
|
198
|
+
* Fetch the browser-side ICE servers (STUN + TURN) for client-offer mode.
|
|
199
|
+
* Called BEFORE the offer is built so a remote/CGNAT viewer can gather a
|
|
200
|
+
* relay candidate. Best-effort — resolve `undefined` to use public STUN.
|
|
201
|
+
*/
|
|
202
|
+
getIceServers?: () => Promise<readonly RTCIceServer[] | undefined>;
|
|
203
|
+
/** Trickle ICE — push a client-gathered candidate to the server. */
|
|
204
|
+
addIceCandidate?: (sessionId: string, candidate: RTCIceCandidateInit) => Promise<void>;
|
|
205
|
+
/** Trickle ICE — poll the server's gathered candidates for a session. */
|
|
206
|
+
getIceCandidates?: (sessionId: string) => Promise<{
|
|
207
|
+
candidates: RTCIceCandidateInit[];
|
|
208
|
+
done: boolean;
|
|
209
|
+
}>;
|
|
210
|
+
/** Explicitly close the WebRTC session on server (cleanup on unmount). */
|
|
211
|
+
closeSession?: (sessionId: string) => Promise<void>;
|
|
212
|
+
/**
|
|
213
|
+
* Poll the live signaling state of a session (client-offer mode only).
|
|
214
|
+
* After the server swaps the broker source to a different tier (adaptive
|
|
215
|
+
* downgrade), this returns a non-null `pendingRenegotiation` with the new
|
|
216
|
+
* target + a monotonic `epoch`. The player then transparently re-offers
|
|
217
|
+
* on the SAME sessionId — building a fresh PeerConnection in the
|
|
218
|
+
* background and only swapping the live `<video>` to the new stream once
|
|
219
|
+
* it delivers media, so the last decoded frame stays on screen with no
|
|
220
|
+
* loader. Best-effort: omit it to disable adaptive re-offer entirely.
|
|
221
|
+
*/
|
|
222
|
+
getSessionState?: (sessionId: string) => Promise<SessionSignalingState>;
|
|
223
|
+
/**
|
|
224
|
+
* Poll the SERVER's account of this session for the stream-debug overlay —
|
|
225
|
+
* the rung `auto` actually resolved to, whether that rung is the camera's
|
|
226
|
+
* own encode or one this hub built, which node ingests it, whether the
|
|
227
|
+
* egress leg copies or re-encodes, and the cause + numbers of the ladder's
|
|
228
|
+
* last move (`webrtcSession.getSessionDebug`).
|
|
229
|
+
*
|
|
230
|
+
* The client can measure its own transport; it cannot see any of that, and
|
|
231
|
+
* "quality is stuck on low" is unanswerable without it. Called at ~1 Hz
|
|
232
|
+
* ONLY while `showStats` is true, and never when it is false. Omit it and
|
|
233
|
+
* the overlay shows its client half alone, saying so.
|
|
234
|
+
*/
|
|
235
|
+
getSessionDebug?: (sessionId: string) => Promise<WebrtcSessionDebug>;
|
|
236
|
+
/**
|
|
237
|
+
* Hand the downlink probe to the session it was measured on
|
|
238
|
+
* (`webrtcSession.applyDownlinkProbe`, D733). The hub then moves THAT
|
|
239
|
+
* session to the probed rung — in place when it can — so a live open stays
|
|
240
|
+
* one session. Omit it (or talk to a hub that does not know the method) and
|
|
241
|
+
* the player keeps its legacy climb: a second, make-before-break session.
|
|
242
|
+
*/
|
|
243
|
+
applyDownlinkProbe?: ApplyDownlinkProbe;
|
|
244
|
+
/**
|
|
245
|
+
* Re-offer signaling for an adaptive tier switch (client-offer mode).
|
|
246
|
+
* Posts a fresh browser-built offer for an EXISTING `sessionId` against
|
|
247
|
+
* the new `target` (from `getSessionState`'s `pendingRenegotiation`). The
|
|
248
|
+
* server closes the stale session and creates a fresh one under the same
|
|
249
|
+
* id, bound to the new tier's source. Distinct from `handleOffer`, whose
|
|
250
|
+
* target is fixed at the player's selected stream — a re-offer must carry
|
|
251
|
+
* the server-chosen downgrade target instead. Required (alongside
|
|
252
|
+
* `getSessionState`) for adaptive re-offer to run.
|
|
253
|
+
*/
|
|
254
|
+
reoffer?: (sessionId: string, sdpOffer: string, target: PlayerWebrtcTarget, hints?: ClientStreamHints) => Promise<ClientOfferResult>;
|
|
255
|
+
/**
|
|
256
|
+
* Optional poster image (snapshot data-URL) shown by the <video> before
|
|
257
|
+
* the FIRST-EVER frame is decoded. Only a cold-start fallback — once a
|
|
258
|
+
* frame is showing, the player keeps the last decoded frame across
|
|
259
|
+
* renegotiations and never falls back to the poster. Caller-supplied.
|
|
260
|
+
*/
|
|
261
|
+
posterUrl?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Override client hints sent to the server at session creation.
|
|
264
|
+
* Values provided here replace the auto-computed browser values.
|
|
265
|
+
* Use for network simulation (benchmark) or manual tier forcing.
|
|
266
|
+
*/
|
|
267
|
+
hintsOverride?: Partial<ClientStreamHints>;
|
|
268
|
+
/**
|
|
269
|
+
* Observer of the ADAPTIVE decision this client just made — fired once per
|
|
270
|
+
* decision CHANGE (see `adaptiveHintsKey`), never per tick.
|
|
271
|
+
*
|
|
272
|
+
* Deliberately the client's half only: the viewport it measured, the pixel
|
|
273
|
+
* ratio, the downlink it managed to measure (and the origin it probed, null
|
|
274
|
+
* when none was reachable), and the phase of the offer that carried them.
|
|
275
|
+
* The hub logs its own pick from the same inputs; duplicating that here
|
|
276
|
+
* would be a second opinion on someone else's decision. Hosts join the two
|
|
277
|
+
* halves — the RN viewer forwards this over the embed log bridge so a
|
|
278
|
+
* "quality is stuck on low" report carries what the app actually SENT.
|
|
279
|
+
*
|
|
280
|
+
* Inert unless wired.
|
|
281
|
+
*/
|
|
282
|
+
onAdaptiveHints?: (report: AdaptiveHintsReport) => void;
|
|
283
|
+
/**
|
|
284
|
+
* Host-driven fast reconnect. Bump this number (monotonic) to force a
|
|
285
|
+
* full reconnect WITHOUT remounting the player — used by the embed when
|
|
286
|
+
* the native shell detects a network change (Wi-Fi↔cellular) or returns
|
|
287
|
+
* from background. Because `cleanup()` no longer clears `srcObject`, the
|
|
288
|
+
* LAST DECODED FRAME stays on screen across the reconnect (no black
|
|
289
|
+
* flash, no covering loader). The initial value is ignored — only
|
|
290
|
+
* changes trigger a reconnect. Distinct from remounting via `streamKey`,
|
|
291
|
+
* which blanks the element.
|
|
292
|
+
*/
|
|
293
|
+
reconnectSignal?: number;
|
|
294
|
+
/**
|
|
295
|
+
* Optional control data-channel hook (client-offer mode only). When
|
|
296
|
+
* provided, the player opens a `dominevo-control` `RTCDataChannel` on the
|
|
297
|
+
* PeerConnection BEFORE building the offer (so it is negotiated into the
|
|
298
|
+
* m=application section) and hands the channel to this callback for each new
|
|
299
|
+
* connection. Used by the recorded-playback timeline embed to drive the
|
|
300
|
+
* broker's `TimelineSession` (seek / scrub-commit / play-rate / go-live) and
|
|
301
|
+
* receive server state/position over the SAME WebRTC session that carries the
|
|
302
|
+
* unified live-or-recorded `<video>` track. Omit it (the default) for a plain
|
|
303
|
+
* live player — no data channel is created and behaviour is unchanged.
|
|
304
|
+
*/
|
|
305
|
+
onControlChannel?: (channel: RTCDataChannel) => void;
|
|
306
|
+
/**
|
|
307
|
+
* Optional handle to the player's `<video>` element, delivered once on mount
|
|
308
|
+
* (and `null` on unmount). Consumers that pace server-pushed frames by what
|
|
309
|
+
* the viewer actually RENDERED (`requestVideoFrameCallback`) need the
|
|
310
|
+
* element itself — the recorded-scrub receiver-credit acks are the use case.
|
|
311
|
+
*/
|
|
312
|
+
onVideoElement?: (el: HTMLVideoElement | null) => void;
|
|
313
|
+
/**
|
|
314
|
+
* DIAGNOSTICS ONLY — the browser's ICE transport policy for every peer
|
|
315
|
+
* connection this player builds. Absent (always, in production) the policy
|
|
316
|
+
* is not set and the browser gathers host/srflx/relay as before. The WebRTC
|
|
317
|
+
* diagnostics set `'relay'` to prove whether a TURN-only path reaches the
|
|
318
|
+
* hub; see `peer-connection-config.ts` for why the player never does.
|
|
319
|
+
*/
|
|
320
|
+
iceTransportPolicy?: RTCIceTransportPolicy;
|
|
321
|
+
/**
|
|
322
|
+
* Observer of every peer connection this player creates (first connect,
|
|
323
|
+
* reconnects, re-offers), handed over right after construction and before
|
|
324
|
+
* any signaling. For listeners only — the diagnostics read ICE / DTLS
|
|
325
|
+
* transitions and local candidates through `addEventListener`; a caller
|
|
326
|
+
* must never assign the `on*` handlers the player owns.
|
|
327
|
+
*/
|
|
328
|
+
onPeerConnection?: (pc: RTCPeerConnection) => void;
|
|
329
|
+
}
|
|
330
|
+
export declare function CameraStreamPlayer({ serverUrl, streamKey, label, autoPlay, muted: initialMuted, showControls, showStats, onDebugStats, onPlaybackStats, onClientNetworkSample, probeAuthToken, onConnectTiming, className, onStateChange, onError, onReconnectAttempt, overlay, createSession, sendAnswer, handleOffer, getIceServers, addIceCandidate, getIceCandidates, closeSession, getSessionState, getSessionDebug, applyDownlinkProbe, reoffer, posterUrl, hintsOverride, onAdaptiveHints, reconnectSignal, onControlChannel, onVideoElement, iceTransportPolicy, onPeerConnection }: CameraStreamPlayerProps): JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cell that shows and edits ONE whole-capability link (D1076): the device a
|
|
3
|
+
* cap — or a slot of it — is served from. One picker over the devices that
|
|
4
|
+
* bind the source cap, a state badge when the stored link no longer holds, and
|
|
5
|
+
* the refusal the server gave. It stores nothing itself: the caller owns the
|
|
6
|
+
* `capLink` feature and reacts to `onChange`.
|
|
7
|
+
*/
|
|
8
|
+
import type { CapLinkState } from "@dominevo/types";
|
|
9
|
+
import type { JSX } from "react";
|
|
10
|
+
/** A link that is not stored yet reads `unlinked`. */
|
|
11
|
+
export type CapLinkCellState = CapLinkState | "unlinked";
|
|
12
|
+
export interface CapLinkCellProps {
|
|
13
|
+
/** The device the link is declared on (its room is suggested first). */
|
|
14
|
+
readonly deviceId: number;
|
|
15
|
+
/** The capability the source device must bind. */
|
|
16
|
+
readonly sourceCap: string;
|
|
17
|
+
/** The linked source device; null when none is stored or it is gone. */
|
|
18
|
+
readonly sourceDeviceId: number | null;
|
|
19
|
+
readonly state: CapLinkCellState;
|
|
20
|
+
/** Pick (a device id) or clear (null). */
|
|
21
|
+
readonly onChange: (sourceDeviceId: number | null) => void;
|
|
22
|
+
/** The customization is not read yet, or a save is running. */
|
|
23
|
+
readonly disabled?: boolean;
|
|
24
|
+
/** The refusal the last change got; shown, never swallowed. */
|
|
25
|
+
readonly error?: string | null;
|
|
26
|
+
/** One line under the picker; absent = the default sentence. */
|
|
27
|
+
readonly hint?: string;
|
|
28
|
+
readonly testId?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare function CapLinkCell(props: CapLinkCellProps): JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
import type { PlaybackSpan } from "./recording-spans";
|
|
3
|
+
interface CoverageTrackProps {
|
|
4
|
+
readonly windowFrom: number;
|
|
5
|
+
readonly windowTo: number;
|
|
6
|
+
readonly spans: readonly PlaybackSpan[];
|
|
7
|
+
/** Last-seeked position to mark with the playhead, or null. */
|
|
8
|
+
readonly playheadMs: number | null;
|
|
9
|
+
/** Called with the absolute ms a click maps to within the window. */
|
|
10
|
+
readonly onSeek: (clickMs: number) => void;
|
|
11
|
+
/**
|
|
12
|
+
* Drag-scrub callbacks (R9, frame-push mode). When `onScrubEnd` is
|
|
13
|
+
* provided the track switches to pointer-driven scrubbing: pointer-down
|
|
14
|
+
* begins a drag, moves report the hovered epoch, release commits it —
|
|
15
|
+
* a motionless press+release behaves like a seek. `onSeek` is then
|
|
16
|
+
* suppressed (the pointer flow owns the gesture). Omit all three for the
|
|
17
|
+
* classic click-to-seek behaviour.
|
|
18
|
+
*/
|
|
19
|
+
readonly onScrubStart?: () => void;
|
|
20
|
+
readonly onScrubMove?: (ms: number) => void;
|
|
21
|
+
readonly onScrubEnd?: (ms: number) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Shift + drag selects a time range instead of seeking or scrubbing. The
|
|
24
|
+
* range is reported once, on release, ordered `from < to`; a selection under
|
|
25
|
+
* one second is dropped as an accidental press. Omit to leave Shift unbound.
|
|
26
|
+
*/
|
|
27
|
+
readonly onRangeSelect?: (fromMs: number, toMs: number) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare function CoverageTrack({ windowFrom, windowTo, spans, playheadMs, onSeek, onScrubStart, onScrubMove, onScrubEnd, onRangeSelect }: CoverageTrackProps): JSX.Element | null;
|
|
30
|
+
export {};
|