@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,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StepModelRow — the model ONE accelerator runs for a step, where that answer
|
|
3
|
+
* comes from (this camera / the node / the hardware default), and a picker
|
|
4
|
+
* that opens in place. A model is per accelerator by nature: formats differ.
|
|
5
|
+
*/
|
|
6
|
+
import { type ReactNode, type JSX } from "react";
|
|
7
|
+
import type { PipelineAddonSchema } from "@dominevo/types";
|
|
8
|
+
/** Where the row's model is decided. */
|
|
9
|
+
export type ModelRowSource = "camera" | "node" | "default" | "cluster";
|
|
10
|
+
export interface StepModelRowProps {
|
|
11
|
+
readonly label: string;
|
|
12
|
+
readonly format: string;
|
|
13
|
+
/** The model this accelerator runs (`undefined` = nothing runs here). */
|
|
14
|
+
readonly modelId: string | undefined;
|
|
15
|
+
readonly source: ModelRowSource;
|
|
16
|
+
readonly sourceLabel: string;
|
|
17
|
+
readonly models: PipelineAddonSchema["models"];
|
|
18
|
+
readonly defaultModelId?: string;
|
|
19
|
+
readonly expanded: boolean;
|
|
20
|
+
readonly onToggle: () => void;
|
|
21
|
+
readonly onChangeModel: (modelId: string) => void;
|
|
22
|
+
/** Present only when the edited layer pins a model here. */
|
|
23
|
+
readonly onReset?: () => void;
|
|
24
|
+
readonly resetLabel?: string;
|
|
25
|
+
/** Why the step does not run its own model here (no build, root-supplied, jump). */
|
|
26
|
+
readonly note?: ReactNode;
|
|
27
|
+
/** Extra control shown with the picker ("Run on"). */
|
|
28
|
+
readonly extra?: ReactNode;
|
|
29
|
+
readonly changed?: boolean;
|
|
30
|
+
readonly disabled?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export declare function StepModelRow({ label, format, modelId, source, sourceLabel, models, defaultModelId, expanded, onToggle, onChangeModel, onReset, resetLabel, note, extra, changed, disabled }: StepModelRowProps): JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The step matrix's filter (`/`): a step matches by its name, or by any of its
|
|
3
|
+
* field labels — so a question about a knob ("face size", "person") finds the
|
|
4
|
+
* step that owns it, and says which field it matched.
|
|
5
|
+
*/
|
|
6
|
+
export interface StepSearchRow {
|
|
7
|
+
readonly addonId: string;
|
|
8
|
+
readonly name: string;
|
|
9
|
+
/** Every field label of the step, cluster-owned ones included. */
|
|
10
|
+
readonly fieldLabels: readonly string[];
|
|
11
|
+
}
|
|
12
|
+
export interface StepSearchHit {
|
|
13
|
+
readonly addonId: string;
|
|
14
|
+
/** The field label the query matched; absent for a name match. */
|
|
15
|
+
readonly matchedField?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Steps matching `query` (all tokens in the name, or all in one field label). Empty query = all. */
|
|
18
|
+
export declare function searchSteps(rows: readonly StepSearchRow[], query: string): readonly StepSearchHit[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* StepTimings — displays pipeline execution timings per step.
|
|
4
|
+
*/
|
|
5
|
+
export interface StepTimingsProps {
|
|
6
|
+
readonly timings: Readonly<Record<string, number>>;
|
|
7
|
+
readonly totalMs?: number;
|
|
8
|
+
readonly className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function StepTimings({ timings, totalMs, className }: StepTimingsProps): JSX.Element | null;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The detection step TREE of a pipeline catalog — which step feeds which —
|
|
3
|
+
* built once from the executor's schema and shared by the step inspector's
|
|
4
|
+
* list and its Compare matrix.
|
|
5
|
+
*/
|
|
6
|
+
import type { PipelineSchema, PipelineSlot } from "@dominevo/types";
|
|
7
|
+
export interface StepTreeNode {
|
|
8
|
+
readonly addonId: string;
|
|
9
|
+
readonly addonName: string;
|
|
10
|
+
readonly slot: PipelineSlot;
|
|
11
|
+
readonly inputClasses: readonly string[];
|
|
12
|
+
readonly outputClasses: readonly string[];
|
|
13
|
+
readonly children: readonly StepTreeNode[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Helper: build a StepTreeNode[] from a `PipelineSchema` by chaining on
|
|
17
|
+
* `inputClasses` ⇔ `outputClasses` compatibility. Mirrors the orchestrator
|
|
18
|
+
* resolver's `buildTreeFromAddons` logic but yields names only (display
|
|
19
|
+
* layer). Addons in the audio-classifier slot become separate roots.
|
|
20
|
+
*/
|
|
21
|
+
export declare function buildStepTreeFromSchema(schema: PipelineSchema): readonly StepTreeNode[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StorageRecordsPanel, type StorageRecordsPanelProps } from "./storage-records-panel";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
export interface StreamBrokerSelectorProps {
|
|
3
|
+
readonly deviceId: number;
|
|
4
|
+
readonly value: "auto" | string;
|
|
5
|
+
readonly onChange: (next: "auto" | string) => void;
|
|
6
|
+
readonly disabled?: boolean;
|
|
7
|
+
readonly label?: string;
|
|
8
|
+
readonly className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function StreamBrokerSelector({ deviceId, value, onChange, disabled, label, className }: StreamBrokerSelectorProps): ReactElement;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { WebrtcSessionDebug } from "@dominevo/types";
|
|
3
|
+
import { type WebrtcDebugStats } from "./webrtc-debug-stats.js";
|
|
4
|
+
/**
|
|
5
|
+
* The stream-debug overlay: the CLIENT's transport measurements next to what
|
|
6
|
+
* the SERVER decided, over the live picture.
|
|
7
|
+
*
|
|
8
|
+
* Three things about this surface are requirements, not styling:
|
|
9
|
+
*
|
|
10
|
+
* 1. It must be legible over a FROZEN picture. The panel is opaque, not a
|
|
11
|
+
* wash — a translucent overlay on a stuck bright frame is unreadable
|
|
12
|
+
* exactly when it is needed.
|
|
13
|
+
* 2. Every number says WHEN it was measured. Two independent clocks feed
|
|
14
|
+
* this (a 1 s `getStats()` poll and a 1 s server poll) and either can
|
|
15
|
+
* stop. A stale poll that looks live is how a debug tool lies.
|
|
16
|
+
* 3. An UNKNOWN value renders as `—`, and a measured zero renders as `0`
|
|
17
|
+
* (D393). In a tool whose whole job is telling a stalled decoder from a
|
|
18
|
+
* stalled transport, "nobody measured" and "measured nothing" are
|
|
19
|
+
* opposite conclusions.
|
|
20
|
+
* 4. It must not cover the picture, or the operator turns it off and the tool
|
|
21
|
+
* is worth nothing. So it is a one-line PILL by default — the verdict and
|
|
22
|
+
* the three numbers that carry it — and the full panel only when asked.
|
|
23
|
+
* Collapsed it is small enough to live alongside the app's own overlays
|
|
24
|
+
* (the audio meter, the box layer), which the operator positions freely
|
|
25
|
+
* and which this used to sit on top of.
|
|
26
|
+
*
|
|
27
|
+
* Density follows from the same rule: a cumulative counter and its window
|
|
28
|
+
* share ONE row (`12345 +30`), because two rows saying almost the same thing
|
|
29
|
+
* is how a panel grows until it covers the video it is describing.
|
|
30
|
+
*/
|
|
31
|
+
export interface StreamDebugOverlayProps {
|
|
32
|
+
/** The client half. Null before the first successful poll. */
|
|
33
|
+
readonly stats: WebrtcDebugStats | null;
|
|
34
|
+
/** The server half. Null when not wired, or before the first answer. */
|
|
35
|
+
readonly server: WebrtcSessionDebug | null;
|
|
36
|
+
/** Why the last server poll produced nothing. Shown verbatim. */
|
|
37
|
+
readonly serverError: string | null;
|
|
38
|
+
/** Whether a server poll is wired at all (vs. simply not configured). */
|
|
39
|
+
readonly serverWired: boolean;
|
|
40
|
+
/** Ticking clock, so the ages re-render between polls. */
|
|
41
|
+
readonly now: number;
|
|
42
|
+
readonly sessionId: string | null;
|
|
43
|
+
}
|
|
44
|
+
export declare function StreamDebugOverlay(props: StreamDebugOverlayProps): ReactNode;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure derivation of the stream-debug overlay's CLIENT half from one
|
|
3
|
+
* `RTCPeerConnection.getStats()` report.
|
|
4
|
+
*
|
|
5
|
+
* Why it is pure: this is the surface an operator reads while a camera is
|
|
6
|
+
* frozen, and the numbers it shows decide whether the stall is in the
|
|
7
|
+
* transport or in the decoder. A derivation that can only be exercised by
|
|
8
|
+
* mounting a player and waiting for a real freeze is a derivation nobody
|
|
9
|
+
* checks. Everything here is a function of (report, previous sample, clock).
|
|
10
|
+
*
|
|
11
|
+
* D393 — a measurement that FAILED is `null`, never `0`. A stat the browser
|
|
12
|
+
* did not report is absent, and "absent" must never render as "zero" in a
|
|
13
|
+
* debug tool: `freezeCount: 0` means the decoder measured no freeze,
|
|
14
|
+
* `freezeCount: null` means nobody measured. Those are opposite conclusions.
|
|
15
|
+
*/
|
|
16
|
+
import type { WebrtcSessionDebug } from "@dominevo/types";
|
|
17
|
+
/** One resolution the stream actually presented, and when it started. */
|
|
18
|
+
export interface ResolutionMark {
|
|
19
|
+
readonly width: number;
|
|
20
|
+
readonly height: number;
|
|
21
|
+
readonly at: number;
|
|
22
|
+
}
|
|
23
|
+
/** Deltas over the interval between the previous sample and this one. */
|
|
24
|
+
export interface WebrtcDebugWindow {
|
|
25
|
+
/** Length of the window, from the RTP report clock. Null on the first
|
|
26
|
+
* sample and whenever the report timestamp did not advance. */
|
|
27
|
+
readonly spanMs: number | null;
|
|
28
|
+
readonly kbps: number | null;
|
|
29
|
+
readonly packetsReceived: number | null;
|
|
30
|
+
readonly packetsLost: number | null;
|
|
31
|
+
readonly lossPercent: number | null;
|
|
32
|
+
/** 0 here is the load-bearing value: the transport is delivering and the
|
|
33
|
+
* decoder emitted nothing. */
|
|
34
|
+
readonly framesDecoded: number | null;
|
|
35
|
+
readonly framesDropped: number | null;
|
|
36
|
+
readonly freezeCount: number | null;
|
|
37
|
+
readonly freezeMs: number | null;
|
|
38
|
+
readonly nackCount: number | null;
|
|
39
|
+
readonly pliCount: number | null;
|
|
40
|
+
/** Mean decode time per frame decoded IN THIS WINDOW. */
|
|
41
|
+
readonly decodeMs: number | null;
|
|
42
|
+
}
|
|
43
|
+
export interface WebrtcDebugStats {
|
|
44
|
+
/** Wall clock at which this sample was taken — the overlay prints its age
|
|
45
|
+
* so a stale poll can never be mistaken for a live one. */
|
|
46
|
+
readonly at: number;
|
|
47
|
+
/** Whether an inbound-rtp video report existed at all. `false` means every
|
|
48
|
+
* inbound field below is null because nothing was measured. */
|
|
49
|
+
readonly hasInboundVideo: boolean;
|
|
50
|
+
readonly width: number | null;
|
|
51
|
+
readonly height: number | null;
|
|
52
|
+
readonly fps: number | null;
|
|
53
|
+
readonly codec: string | null;
|
|
54
|
+
readonly codecProfileLevelId: string | null;
|
|
55
|
+
readonly jitterMs: number | null;
|
|
56
|
+
readonly packetsReceived: number | null;
|
|
57
|
+
readonly packetsLost: number | null;
|
|
58
|
+
readonly lossPercent: number | null;
|
|
59
|
+
readonly nackCount: number | null;
|
|
60
|
+
readonly pliCount: number | null;
|
|
61
|
+
readonly framesDecoded: number | null;
|
|
62
|
+
readonly framesDropped: number | null;
|
|
63
|
+
readonly freezeCount: number | null;
|
|
64
|
+
readonly totalFreezeMs: number | null;
|
|
65
|
+
readonly avgDecodeMs: number | null;
|
|
66
|
+
readonly rttMs: number | null;
|
|
67
|
+
readonly availableIncomingKbps: number | null;
|
|
68
|
+
readonly localCandidateType: string | null;
|
|
69
|
+
readonly remoteCandidateType: string | null;
|
|
70
|
+
/** `local/remote` candidate types of the selected pair, e.g. `srflx/host`. */
|
|
71
|
+
readonly candidatePairType: string | null;
|
|
72
|
+
readonly candidateProtocol: string | null;
|
|
73
|
+
readonly iceConnectionState: string | null;
|
|
74
|
+
readonly dtlsState: string | null;
|
|
75
|
+
readonly window: WebrtcDebugWindow;
|
|
76
|
+
/** Every resolution the stream presented, oldest first, newest last. */
|
|
77
|
+
readonly resolutionLog: readonly ResolutionMark[];
|
|
78
|
+
/** Raw counters carried forward so the NEXT sample can window them. */
|
|
79
|
+
readonly raw: RawCounters;
|
|
80
|
+
}
|
|
81
|
+
/** The cumulative counters a window is computed from. */
|
|
82
|
+
export interface RawCounters {
|
|
83
|
+
/** The RTP report clock (`RTCStats.timestamp`), not the wall clock. */
|
|
84
|
+
readonly timestamp: number | null;
|
|
85
|
+
readonly bytesReceived: number | null;
|
|
86
|
+
readonly packetsReceived: number | null;
|
|
87
|
+
readonly packetsLost: number | null;
|
|
88
|
+
readonly framesDecoded: number | null;
|
|
89
|
+
readonly framesDropped: number | null;
|
|
90
|
+
readonly freezeCount: number | null;
|
|
91
|
+
readonly totalFreezesDurationS: number | null;
|
|
92
|
+
readonly totalDecodeTimeS: number | null;
|
|
93
|
+
readonly nackCount: number | null;
|
|
94
|
+
readonly pliCount: number | null;
|
|
95
|
+
}
|
|
96
|
+
export interface DeriveWebrtcDebugStatsInput {
|
|
97
|
+
readonly report: RTCStatsReport;
|
|
98
|
+
readonly prev: WebrtcDebugStats | null;
|
|
99
|
+
/** Wall clock — `Date.now()` in production, fixed in tests. */
|
|
100
|
+
readonly now: number;
|
|
101
|
+
readonly iceConnectionState: string | null;
|
|
102
|
+
readonly dtlsState: string | null;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Derive one debug sample. Immutable: `prev` is read, never mutated, and the
|
|
106
|
+
* returned object is the input for the next call.
|
|
107
|
+
*/
|
|
108
|
+
export declare function deriveWebrtcDebugStats(input: DeriveWebrtcDebugStatsInput): WebrtcDebugStats;
|
|
109
|
+
/**
|
|
110
|
+
* The one question this overlay exists to answer while a camera is frozen:
|
|
111
|
+
* did the BYTES stop, or did the DECODER stop?
|
|
112
|
+
*
|
|
113
|
+
* The open investigation is a `mid` stream that freezes until the user hits
|
|
114
|
+
* pause/play. Those two causes need opposite fixes and look identical on the
|
|
115
|
+
* screen; they differ only here, in one window's worth of counters:
|
|
116
|
+
* - bytes arriving, no frame out ⇒ the decoder is wedged (pause/play
|
|
117
|
+
* rebuilds it, which is exactly the reported workaround);
|
|
118
|
+
* - nothing arriving ⇒ the transport stopped, and the server
|
|
119
|
+
* half of the overlay says whether the broker was still sending.
|
|
120
|
+
*
|
|
121
|
+
* Every other case is `unknown`, deliberately. A verdict guessed from a
|
|
122
|
+
* missing byte rate is worse than no verdict — it is the thing an operator
|
|
123
|
+
* will trust and stop measuring.
|
|
124
|
+
*/
|
|
125
|
+
export type FreezeVerdictKind = "unknown" | "decoding" | "decoder-stall" | "transport-stall" | "frozen-unknown";
|
|
126
|
+
export interface FreezeVerdict {
|
|
127
|
+
readonly kind: FreezeVerdictKind;
|
|
128
|
+
readonly label: string;
|
|
129
|
+
}
|
|
130
|
+
export declare function freezeVerdict(stats: WebrtcDebugStats | null): FreezeVerdict;
|
|
131
|
+
/**
|
|
132
|
+
* One reported sample: both halves of the stream-debug answer, plus the session
|
|
133
|
+
* they describe.
|
|
134
|
+
*
|
|
135
|
+
* It exists because the overlay cannot always be the surface. In the native app
|
|
136
|
+
* the player lives inside a WebView whose touches belong to the RN gesture
|
|
137
|
+
* layer, so the in-picture panel can never be opened there — the numbers have
|
|
138
|
+
* to leave the player and be drawn by the host, next to the battery and link
|
|
139
|
+
* details where the operator already looks.
|
|
140
|
+
*
|
|
141
|
+
* Everything in it is nullable for the same reason it is nullable everywhere
|
|
142
|
+
* else in this file: a measurement that did not happen is not a zero.
|
|
143
|
+
*/
|
|
144
|
+
export interface StreamDebugSample {
|
|
145
|
+
/** When this sample was taken, by the reporting player's clock. */
|
|
146
|
+
readonly at: number;
|
|
147
|
+
/**
|
|
148
|
+
* The verdict, computed HERE.
|
|
149
|
+
*
|
|
150
|
+
* The host that renders this sample is not always a web page — the native
|
|
151
|
+
* app draws it in React Native — and `@dominevo/ui-library` is a DOM
|
|
152
|
+
* component library whose bundle a React Native app must not import (it
|
|
153
|
+
* reaches for browser globals and for `Array.prototype.toSorted`, which
|
|
154
|
+
* Hermes does not have). Sending the verdict rather than the function that
|
|
155
|
+
* derives it keeps that boundary one-way.
|
|
156
|
+
*/
|
|
157
|
+
readonly verdict: FreezeVerdictKind;
|
|
158
|
+
/** The session both halves describe; `null` before the player has one. */
|
|
159
|
+
readonly sessionId: string | null;
|
|
160
|
+
readonly stats: WebrtcDebugStats | null;
|
|
161
|
+
readonly server: WebrtcSessionDebug | null;
|
|
162
|
+
/** Why the last server poll produced nothing, verbatim. */
|
|
163
|
+
readonly serverError: string | null;
|
|
164
|
+
/** Whether the player was given a way to ask the server at all. */
|
|
165
|
+
readonly serverWired: boolean;
|
|
166
|
+
}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { type ReactNode, type JSX } from "react";
|
|
2
|
+
import type { CamProfile, WebrtcSessionDebug } from "@dominevo/types";
|
|
3
|
+
import type { ApplyDownlinkProbe } from "./adaptive-downlink";
|
|
4
|
+
import { type SignalingResult, type ClientOfferResult, type ClientStreamHints, type SessionSignalingState } from "./camera-stream-player";
|
|
5
|
+
import type { DeviceDetections } from "../hooks/use-device-detections";
|
|
6
|
+
import type { StationaryOverlayBox } from "@dominevo/types";
|
|
7
|
+
/**
|
|
8
|
+
* Discriminated WebRTC target — same shape as the backend cap. The
|
|
9
|
+
* `profile` tier uses the canonical `CamProfile` enum.
|
|
10
|
+
*/
|
|
11
|
+
export type StreamChoiceTarget = {
|
|
12
|
+
readonly kind: "adaptive";
|
|
13
|
+
} | {
|
|
14
|
+
readonly kind: "profile";
|
|
15
|
+
readonly profile: CamProfile;
|
|
16
|
+
} | {
|
|
17
|
+
readonly kind: "cam-stream";
|
|
18
|
+
readonly camStreamId: string;
|
|
19
|
+
};
|
|
20
|
+
export interface StreamChoice {
|
|
21
|
+
/**
|
|
22
|
+
* Stable identifier for React keys, dropdown values, and the
|
|
23
|
+
* player's `streamKey` prop. Opaque to the panel — typical values:
|
|
24
|
+
* `'adaptive'`, `'profile:high'`, `'stream:native:main'`.
|
|
25
|
+
*/
|
|
26
|
+
readonly id: string;
|
|
27
|
+
/** Display label (e.g. "Adaptive", "HIGH (3840×2160)", "Native main"). */
|
|
28
|
+
readonly label: string;
|
|
29
|
+
/** Structured WebRTC target — passed verbatim to `createSession`. */
|
|
30
|
+
readonly target: StreamChoiceTarget;
|
|
31
|
+
/** Live broker status (null if unavailable). */
|
|
32
|
+
readonly status?: string | null;
|
|
33
|
+
/** Input FPS from camera (null if unavailable). */
|
|
34
|
+
readonly inputFps?: number | null;
|
|
35
|
+
/** Bitrate in kbps (null if unavailable). */
|
|
36
|
+
readonly bitrateKbps?: number | null;
|
|
37
|
+
}
|
|
38
|
+
export interface StreamStats {
|
|
39
|
+
readonly status: string;
|
|
40
|
+
readonly inputFps: number;
|
|
41
|
+
readonly uptimeMs: number;
|
|
42
|
+
}
|
|
43
|
+
export interface StreamPanelProps {
|
|
44
|
+
readonly serverUrl?: string;
|
|
45
|
+
readonly createSession?: (target: StreamChoiceTarget, hints?: ClientStreamHints) => Promise<SignalingResult>;
|
|
46
|
+
readonly sendAnswer?: (sessionId: string, sdpAnswer: string) => Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Client-offer signaling — PREFERRED over `createSession` for browsers.
|
|
49
|
+
* Closes over the selected target; the player builds the offer and this
|
|
50
|
+
* posts it. Lets iOS pass H.264 High/Main (incl. 4K) through untouched.
|
|
51
|
+
* Optional so non-browser callers (benchmark) can stay on server-offer.
|
|
52
|
+
*/
|
|
53
|
+
readonly handleOffer?: (target: StreamChoiceTarget, sdpOffer: string, sessionId?: string) => Promise<ClientOfferResult>;
|
|
54
|
+
/** Browser-side ICE servers (STUN + TURN) for client-offer mode. */
|
|
55
|
+
readonly getIceServers?: () => Promise<readonly RTCIceServer[] | undefined>;
|
|
56
|
+
/** Trickle ICE — push a client candidate to the server (sessionId-scoped). */
|
|
57
|
+
readonly addIceCandidate?: (sessionId: string, candidate: RTCIceCandidateInit) => Promise<void>;
|
|
58
|
+
/** Trickle ICE — poll the server's gathered candidates (sessionId-scoped). */
|
|
59
|
+
readonly getIceCandidates?: (sessionId: string) => Promise<{
|
|
60
|
+
candidates: RTCIceCandidateInit[];
|
|
61
|
+
done: boolean;
|
|
62
|
+
}>;
|
|
63
|
+
readonly closeSession?: (sessionId: string) => Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* Poll a session's live signaling state (client-offer mode). A non-null
|
|
66
|
+
* `pendingRenegotiation` after an adaptive tier switch makes the player
|
|
67
|
+
* transparently re-offer on the same session. Optional — omit to disable
|
|
68
|
+
* adaptive re-offer (steady-state behaviour is unchanged).
|
|
69
|
+
*/
|
|
70
|
+
readonly getSessionState?: (sessionId: string) => Promise<SessionSignalingState>;
|
|
71
|
+
/**
|
|
72
|
+
* The server half of the stream-debug overlay. Optional, and when it is
|
|
73
|
+
* absent the overlay SAYS so rather than showing an empty section — a panel
|
|
74
|
+
* that silently omits half its answer is worse than one that admits it.
|
|
75
|
+
*/
|
|
76
|
+
readonly getSessionDebug?: (sessionId: string) => Promise<WebrtcSessionDebug>;
|
|
77
|
+
/** Hand the downlink probe to the live session (D733) — one session per open. */
|
|
78
|
+
readonly applyDownlinkProbe?: ApplyDownlinkProbe;
|
|
79
|
+
/**
|
|
80
|
+
* When set, the panel switches to VOD mode: it renders an `HlsVideo`
|
|
81
|
+
* over this master `.m3u8` URL INSTEAD of the live WebRTC player, and
|
|
82
|
+
* the live signaling props are ignored. Lets the same hero player show
|
|
83
|
+
* recordings/clips (driven by the Recording tab) without a second
|
|
84
|
+
* player. Clearing it returns the panel to live mode.
|
|
85
|
+
*/
|
|
86
|
+
readonly playbackUrl?: string;
|
|
87
|
+
/**
|
|
88
|
+
* What {@link playbackUrl} is. Absent means `hls` — the recorder's manifest,
|
|
89
|
+
* which is what every caller passed before native clips existed. A vendor
|
|
90
|
+
* addon's own clip is `mp4` and the hero plays it as a plain media URL
|
|
91
|
+
* (D549 22); passing it as `hls` would hand an MP4 to a manifest parser.
|
|
92
|
+
*/
|
|
93
|
+
readonly playbackFormat?: "hls" | "mp4";
|
|
94
|
+
/** Bearer token for the admin-gated data-plane playback route (optional). */
|
|
95
|
+
readonly playbackAuthToken?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Short label for the clip/window being played — shown in the header in
|
|
98
|
+
* place of the stream selector while in VOD mode.
|
|
99
|
+
*/
|
|
100
|
+
readonly playbackLabel?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Invoked when the operator clicks the (re-purposed) play/stop button
|
|
103
|
+
* while in VOD mode. The caller clears its playback request to return
|
|
104
|
+
* the panel to the live stream.
|
|
105
|
+
*/
|
|
106
|
+
readonly onExitPlayback?: () => void;
|
|
107
|
+
/** Available streams. If omitted or single entry, no dropdown shown. */
|
|
108
|
+
readonly streams?: readonly StreamChoice[];
|
|
109
|
+
/** Currently active StreamChoice id. Defaults to first stream. */
|
|
110
|
+
readonly activeStreamId?: string;
|
|
111
|
+
/** Called when user selects a different stream (StreamChoice id). */
|
|
112
|
+
readonly onStreamChange?: (id: string) => void;
|
|
113
|
+
readonly deviceName?: string;
|
|
114
|
+
/** Pipeline phase from useDeviceDetections (e.g. "active", "watching") */
|
|
115
|
+
readonly phase?: string;
|
|
116
|
+
/** Pipeline metrics from useDeviceWebrtc. If provided, overrides phase and adds detection fps. */
|
|
117
|
+
readonly pipelineMetrics?: {
|
|
118
|
+
phase: string;
|
|
119
|
+
detectionFps: number;
|
|
120
|
+
avgInferenceMs: number;
|
|
121
|
+
} | null;
|
|
122
|
+
/** Detection data from useDeviceDetections hook. If omitted, no overlays. */
|
|
123
|
+
readonly detections?: DeviceDetections;
|
|
124
|
+
/** The census for this camera, normalised — from the occupancy snapshot. The
|
|
125
|
+
* panel is data-agnostic by design, so the caller fetches it; absent means
|
|
126
|
+
* "not fetched", and the stationary layer then draws nothing rather than
|
|
127
|
+
* claiming an empty lot. */
|
|
128
|
+
readonly stationaryObjects?: readonly StationaryOverlayBox[];
|
|
129
|
+
/** Initial state for detection overlay (default: true) */
|
|
130
|
+
readonly defaultShowDetections?: boolean;
|
|
131
|
+
/** Initial state for motion overlay (default: false) */
|
|
132
|
+
readonly defaultShowMotion?: boolean;
|
|
133
|
+
readonly streamStats?: StreamStats;
|
|
134
|
+
/** Auto-play on mount (default: true) */
|
|
135
|
+
readonly autoPlay?: boolean;
|
|
136
|
+
/** Show play/stop toggle + snapshot preview when stopped (default: false) */
|
|
137
|
+
readonly showPlayStop?: boolean;
|
|
138
|
+
/** Snapshot source URL (data: URI). Only used when showPlayStop=true. */
|
|
139
|
+
readonly snapshotSrc?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Optional poster (snapshot data-URL) painted by the live `<video>` until
|
|
142
|
+
* its FIRST frame decodes — a cold-start fallback only. Independent of
|
|
143
|
+
* `snapshotSrc` (which is the play/stop preview). Caller-supplied; when
|
|
144
|
+
* omitted the video simply starts black until the first frame.
|
|
145
|
+
*/
|
|
146
|
+
readonly posterUrl?: string;
|
|
147
|
+
/** Whether snapshot is currently loading */
|
|
148
|
+
readonly snapshotLoading?: boolean;
|
|
149
|
+
/** Callback to refresh snapshot */
|
|
150
|
+
readonly onRefreshSnapshot?: () => void;
|
|
151
|
+
/**
|
|
152
|
+
* File name of the snapshot download. Present: a Download button saves the
|
|
153
|
+
* snapshot the panel shows while it is not playing. Absent: no button.
|
|
154
|
+
*/
|
|
155
|
+
readonly snapshotDownloadName?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Draw the detection boxes and motion (the "Show detections" / "Show motion"
|
|
158
|
+
* switches) on the snapshot too, not only on the live video, mapped onto the
|
|
159
|
+
* image's own rect. Default false: the snapshot stays a clean still.
|
|
160
|
+
*/
|
|
161
|
+
readonly detectionsOnSnapshot?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* The device's configured zones, drawn read-only (a `ZonesReadOnlyLayer`).
|
|
164
|
+
* Supplying it adds a "Show zones" switch to the kebab menu, off by default;
|
|
165
|
+
* the layer is placed inside the picture's own rect on the still and on the
|
|
166
|
+
* live view, like the detection boxes.
|
|
167
|
+
*/
|
|
168
|
+
readonly zonesOverlay?: ReactNode;
|
|
169
|
+
/** Show stream stats in header (fps, uptime) (default: false) */
|
|
170
|
+
readonly showStreamStats?: boolean;
|
|
171
|
+
readonly children?: ReactNode;
|
|
172
|
+
/**
|
|
173
|
+
* Extra overlay node composited on top of the video, alongside the
|
|
174
|
+
* built-in detection overlay. Used by callers to layer device-scoped
|
|
175
|
+
* controls (PTZOverlay, AudioPTT, ...) without forking the panel.
|
|
176
|
+
*/
|
|
177
|
+
readonly extraOverlay?: ReactNode;
|
|
178
|
+
/**
|
|
179
|
+
* Overlay whose coordinates are fractions of the IMAGE (the zone editor), not
|
|
180
|
+
* of the 16:9 box around it. Placed inside the picture's own rect
|
|
181
|
+
* (`containedImageBox`) on the live view and on the still, always visible —
|
|
182
|
+
* unlike `extraOverlay`, which spans the whole box. On a recorded clip, whose
|
|
183
|
+
* size is unknown, it spans the box.
|
|
184
|
+
*/
|
|
185
|
+
readonly imageExtraOverlay?: ReactNode;
|
|
186
|
+
/**
|
|
187
|
+
* Whether the device supports PTZ. When true, the header shows a
|
|
188
|
+
* "PTZ" toggle next to detect/motion.
|
|
189
|
+
*/
|
|
190
|
+
readonly ptzAvailable?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Controlled visibility of the PTZ overlay. Drives both the
|
|
193
|
+
* header button highlight and (combined with `ptzOverlay`) overlay
|
|
194
|
+
* rendering. Caller computes the final value (e.g. OR with an
|
|
195
|
+
* external "force on" surface like a floating PTZ panel) and
|
|
196
|
+
* passes it down here.
|
|
197
|
+
*/
|
|
198
|
+
readonly ptzShown?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Overlay rendered ON the live video when `ptzShown` is true.
|
|
201
|
+
* Typically a `<PTZOverlay controls={...} mode="overlay" />` from
|
|
202
|
+
* ui-library. Combined with `extraOverlay` in the player overlay
|
|
203
|
+
* slot — both render together when active.
|
|
204
|
+
*/
|
|
205
|
+
readonly ptzOverlay?: ReactNode;
|
|
206
|
+
/**
|
|
207
|
+
* Notified when the user clicks the in-header PTZ toggle. The
|
|
208
|
+
* caller updates its source of truth for `ptzShown`. No-op if
|
|
209
|
+
* omitted (button stays inert).
|
|
210
|
+
*/
|
|
211
|
+
readonly onPtzToggle?: () => void;
|
|
212
|
+
/**
|
|
213
|
+
* Whether the device supports two-way audio (intercom). When true,
|
|
214
|
+
* the header shows an "Intercom" toggle next to detect/motion that
|
|
215
|
+
* lets the operator open the floating intercom panel without leaving
|
|
216
|
+
* the stream view.
|
|
217
|
+
*/
|
|
218
|
+
readonly intercomAvailable?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Controlled visibility of the intercom panel — drives the button's
|
|
221
|
+
* highlight state. The caller (which owns the floating-panel state)
|
|
222
|
+
* passes `true` while its intercom panel is open.
|
|
223
|
+
*/
|
|
224
|
+
readonly intercomShown?: boolean;
|
|
225
|
+
/**
|
|
226
|
+
* Notified when the user clicks the in-header intercom toggle. The
|
|
227
|
+
* caller flips its panel state. No-op if omitted (button inert).
|
|
228
|
+
*/
|
|
229
|
+
readonly onIntercomToggle?: () => void;
|
|
230
|
+
/**
|
|
231
|
+
* When true, drops the panel's outer rounded card chrome (border,
|
|
232
|
+
* rounded corners, background). Use when embedding into another
|
|
233
|
+
* surface that already provides framing — e.g. the device-detail
|
|
234
|
+
* left-column hero where the panel is one row of a larger card.
|
|
235
|
+
*/
|
|
236
|
+
readonly chromeless?: boolean;
|
|
237
|
+
readonly className?: string;
|
|
238
|
+
}
|
|
239
|
+
export declare function StreamPanel({ serverUrl, createSession, sendAnswer, handleOffer, getIceServers, addIceCandidate, getIceCandidates, closeSession, getSessionState, getSessionDebug, applyDownlinkProbe, playbackUrl, playbackFormat, playbackAuthToken, onExitPlayback, posterUrl, streams, activeStreamId: controlledStreamId, onStreamChange, deviceName, phase, pipelineMetrics, detections, stationaryObjects, defaultShowDetections, defaultShowMotion, streamStats, autoPlay, showPlayStop, snapshotSrc, snapshotLoading, onRefreshSnapshot, snapshotDownloadName, detectionsOnSnapshot, zonesOverlay, showStreamStats, children, extraOverlay, imageExtraOverlay, ptzAvailable, ptzShown, ptzOverlay, onPtzToggle, intercomAvailable, intercomShown, onIntercomToggle, chromeless, className }: StreamPanelProps): JSX.Element;
|
|
240
|
+
export interface ContainedBox {
|
|
241
|
+
readonly left: number;
|
|
242
|
+
readonly top: number;
|
|
243
|
+
readonly width: number;
|
|
244
|
+
readonly height: number;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Where an `object-contain` image of this size really sits inside the 16:9
|
|
248
|
+
* snapshot box, as percentages of the box. A rotated (portrait) or 4:3 camera
|
|
249
|
+
* is letterboxed, and an overlay laid over the whole box would put every
|
|
250
|
+
* detection box off the subject: overlays belong inside this rect.
|
|
251
|
+
*/
|
|
252
|
+
export declare function containedImageBox(naturalWidth: number, naturalHeight: number): ContainedBox;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Column sorting for {@link DataTable} — the ONE sort model in this library.
|
|
3
|
+
*
|
|
4
|
+
* The device list had the only column sort in the app
|
|
5
|
+
* (`composites/device-list/sort.ts`), typed to `DeviceItemDevice` and to three
|
|
6
|
+
* hard-coded column ids. Every other table in the admin UI was unsorted. This
|
|
7
|
+
* module is that same behaviour, generic: `DataTable` owns the state, a column
|
|
8
|
+
* opts in by declaring `sortValue`, and `device-list` keeps its domain
|
|
9
|
+
* comparators while delegating the toggle here. There is no second sort.
|
|
10
|
+
*
|
|
11
|
+
* The three rules are inherited verbatim from the device list, because they
|
|
12
|
+
* were argued there and they are the reason a sorted table stays readable:
|
|
13
|
+
*
|
|
14
|
+
* 1. **`null` sorts LAST in both directions.** A missing value is "unknown",
|
|
15
|
+
* not a value to reverse. Flipping the direction must never promote the
|
|
16
|
+
* rows that have nothing to say to the top.
|
|
17
|
+
* 2. **Stable.** `Array.prototype.toSorted` is stable in every runtime we
|
|
18
|
+
* ship to, so rows with an equal key keep the order they arrived in —
|
|
19
|
+
* which is usually a meaningful order already (topology order, insertion
|
|
20
|
+
* order).
|
|
21
|
+
* 3. **Immutable.** The input array is never touched; a `null` sort returns a
|
|
22
|
+
* fresh copy in the incoming order.
|
|
23
|
+
*
|
|
24
|
+
* A column with no `sortValue` renders a plain static header and can never be
|
|
25
|
+
* clicked. That is deliberate and it is the point of `notSortableReason`: a
|
|
26
|
+
* composite cell (a list of capabilities, an argv blob, an interactive
|
|
27
|
+
* control) has no single value to order by, and inventing one — "by count",
|
|
28
|
+
* "alphabetically by full path" — produces an ordering that looks
|
|
29
|
+
* authoritative and means nothing.
|
|
30
|
+
*/
|
|
31
|
+
/** Sort direction. There is no third state on the column; "unsorted" is the
|
|
32
|
+
* absence of a {@link TableSortState}. */
|
|
33
|
+
export type TableSortDirection = "asc" | "desc";
|
|
34
|
+
/** The table's single active sort. `null` at the table level = incoming order. */
|
|
35
|
+
export interface TableSortState {
|
|
36
|
+
/** `DataColumn.key` of the sorted column. */
|
|
37
|
+
readonly columnKey: string;
|
|
38
|
+
readonly dir: TableSortDirection;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* What a sortable column contributes for one row.
|
|
42
|
+
*
|
|
43
|
+
* `null` means "this row has no value for this column" and always sorts last
|
|
44
|
+
* (rule 1). It is NOT the same as `0` or `''`, which are values and sort
|
|
45
|
+
* normally.
|
|
46
|
+
*/
|
|
47
|
+
export type TableSortValue = string | number | null;
|
|
48
|
+
/**
|
|
49
|
+
* The toggle rule, and the only copy of it.
|
|
50
|
+
*
|
|
51
|
+
* none → asc → desc → none, and a click on a DIFFERENT column starts that
|
|
52
|
+
* column fresh at `asc`. `sameColumn` says whether the clicked column is the
|
|
53
|
+
* one currently sorted; `currentDir` is its direction (`null` when nothing is
|
|
54
|
+
* sorted). Returns the next direction, or `null` for "unsorted".
|
|
55
|
+
*
|
|
56
|
+
* Split out from {@link nextTableSort} so the device list — whose sort state
|
|
57
|
+
* keys columns by `columnId`, not `columnKey` — can reuse the rule without a
|
|
58
|
+
* cast and without a second copy of it.
|
|
59
|
+
*/
|
|
60
|
+
export declare function nextSortDirection(sameColumn: boolean, currentDir: TableSortDirection | null): TableSortDirection | null;
|
|
61
|
+
/**
|
|
62
|
+
* Toggle a column's sort on header click: none → asc → desc → none.
|
|
63
|
+
* Clicking a DIFFERENT column starts it fresh at `asc`.
|
|
64
|
+
*/
|
|
65
|
+
export declare function nextTableSort(current: TableSortState | null, columnKey: string): TableSortState | null;
|
|
66
|
+
/**
|
|
67
|
+
* Return a NEW array of `rows` ordered by `sort`.
|
|
68
|
+
*
|
|
69
|
+
* `valueOf` is the column's `sortValue` — it is called once per row per
|
|
70
|
+
* comparison, so it must be cheap (read a field, do not format a string).
|
|
71
|
+
* `sort === null` ⇒ a fresh shallow copy in the incoming order.
|
|
72
|
+
*/
|
|
73
|
+
export declare function sortRowsByColumn<T>(rows: readonly T[], sort: TableSortState | null, valueOf: (row: T) => TableSortValue): readonly T[];
|
|
74
|
+
/** The `aria-sort` value WAI-ARIA scopes to a `<th>` (never to an inner control). */
|
|
75
|
+
export type AriaSortValue = "ascending" | "descending" | "none";
|
|
76
|
+
/** Derive the `<th>` `aria-sort` for `columnKey` from the table's sort state. */
|
|
77
|
+
export declare function ariaSortForColumn(sort: TableSortState | null, columnKey: string): AriaSortValue;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./tag-chip";
|
|
2
|
+
export { TagEntriesProvider, useTagEntries } from "./tag-entries-context";
|
|
3
|
+
export * from "./tag-filter-bar";
|
|
4
|
+
export * from "./tag-input";
|
|
5
|
+
export * from "./tag-model";
|
|
6
|
+
export * from "./tag-style-dialog";
|
|
7
|
+
export * from "./tagged-data-table";
|
|
8
|
+
export * from "./use-tag-filter";
|
|
9
|
+
export * from "./use-tag-registry";
|