@dominevo/ui-library 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1363 -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-Bj_BN2Ar.js +1052 -0
- package/dist/SceneMonitorEditor-CU24Au1r.cjs +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 +49 -0
- package/dist/composites/charts/TimeSeriesChart.d.ts +57 -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 +53 -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 +25 -0
- package/dist/composites/device-card/connected/PrimaryTrend.d.ts +10 -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 +51 -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 +49 -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 +110 -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 +108146 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +104976 -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/camstack-theme.css +334 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type ClipKind } from "./event-thumb";
|
|
2
|
+
import { type JSX } from "react";
|
|
3
|
+
export interface BucketClip {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly timestamp: number;
|
|
6
|
+
readonly kind: ClipKind;
|
|
7
|
+
readonly label: string;
|
|
8
|
+
readonly mediaUrl?: string;
|
|
9
|
+
}
|
|
10
|
+
interface EventBucketStripProps {
|
|
11
|
+
readonly clips: readonly BucketClip[];
|
|
12
|
+
readonly loading: boolean;
|
|
13
|
+
/** Key of the clip whose manifest is resolving, for the spinner. */
|
|
14
|
+
readonly busyKey: string | null;
|
|
15
|
+
readonly onPlay: (clip: BucketClip) => void;
|
|
16
|
+
/** Which kinds are currently enabled for display. */
|
|
17
|
+
readonly enabledKinds: ReadonlySet<ClipKind>;
|
|
18
|
+
/** Called when the user toggles a kind checkbox. */
|
|
19
|
+
readonly onToggleKind: (kind: ClipKind) => void;
|
|
20
|
+
/** True when more results may exist beyond the current page. */
|
|
21
|
+
readonly hasMore: boolean;
|
|
22
|
+
/** Called when the user clicks "Load more". */
|
|
23
|
+
readonly onLoadMore: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare function EventBucketStrip({ clips, loading, busyKey, onPlay, enabledKinds, onToggleKind, hasMore, onLoadMore }: EventBucketStripProps): JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
import type { DensityBucket } from "./recording-timeline-model";
|
|
3
|
+
interface EventHeatmapProps {
|
|
4
|
+
readonly windowFrom: number;
|
|
5
|
+
readonly windowTo: number;
|
|
6
|
+
readonly buckets: readonly DensityBucket[];
|
|
7
|
+
readonly selectedIndex: number | null;
|
|
8
|
+
readonly onSelectBucket: (index: number) => void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Event-density strip under a recording timeline: one stacked bar per bucket
|
|
12
|
+
* (motion / object / audio), height normalised to the busiest bucket, on the
|
|
13
|
+
* timeline's own window. A click (or the bucket's button, for keyboard and
|
|
14
|
+
* screen readers) selects the bucket — it drives the drill-down strip.
|
|
15
|
+
*/
|
|
16
|
+
export declare function EventHeatmap({ windowFrom, windowTo, buckets, selectedIndex, onSelectBucket }: EventHeatmapProps): JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type JSX, type MemoExoticComponent, type ReactNode } from "react";
|
|
2
|
+
import type { MaskShape, MaskShapeKind } from "@dominevo/types";
|
|
3
|
+
/** One editable item on the drawing plane. */
|
|
4
|
+
export interface MaskShapeItem {
|
|
5
|
+
readonly id: string | number;
|
|
6
|
+
readonly shape: MaskShape;
|
|
7
|
+
/** Small text label rendered near the shape. */
|
|
8
|
+
readonly label?: string;
|
|
9
|
+
/** Stroke/fill color. Falls back to a sensible per-kind default. */
|
|
10
|
+
readonly color?: string;
|
|
11
|
+
/** `false` → rendered dimmed (and skipped for hit-testing of editing chrome). */
|
|
12
|
+
readonly enabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface MaskShapeCanvasProps {
|
|
15
|
+
readonly items: MaskShapeItem[];
|
|
16
|
+
readonly selectedId: string | number | null;
|
|
17
|
+
readonly onSelect: (id: string | number | null) => void;
|
|
18
|
+
/** Fired on every edit (controlled — parent owns truth, immutable updates). */
|
|
19
|
+
readonly onShapeChange: (id: string | number, shape: MaskShape) => void;
|
|
20
|
+
/** Fired when a new shape is finished while drawing. */
|
|
21
|
+
readonly onDrawComplete: (shape: MaskShape) => void;
|
|
22
|
+
/** When set, clicks draw a new shape of that kind. */
|
|
23
|
+
readonly drawingKind: MaskShapeKind | null;
|
|
24
|
+
/** Which kinds this mount allows. */
|
|
25
|
+
readonly supportedShapes: readonly MaskShapeKind[];
|
|
26
|
+
/** Transparent absolute-fill overlay mode (layer over a stream player). */
|
|
27
|
+
readonly transparent?: boolean;
|
|
28
|
+
/** Backdrop element rendered behind the Stage in standalone mode. */
|
|
29
|
+
readonly backdrop?: ReactNode;
|
|
30
|
+
/** Gate polygon vertex add/remove (e.g. Hikvision {min:4,max:4}). */
|
|
31
|
+
readonly polygonVertices?: {
|
|
32
|
+
readonly min: number;
|
|
33
|
+
readonly max: number;
|
|
34
|
+
};
|
|
35
|
+
/** Grid dims when drawing/seeding a `grid` shape. */
|
|
36
|
+
readonly grid?: {
|
|
37
|
+
readonly width: number;
|
|
38
|
+
readonly height: number;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
declare function MaskShapeCanvasImpl({ items, selectedId, onSelect, onShapeChange, onDrawComplete, drawingKind, supportedShapes, transparent, backdrop, polygonVertices, grid }: MaskShapeCanvasProps): JSX.Element;
|
|
42
|
+
/**
|
|
43
|
+
* Memoised export. The Konva scene is expensive to re-evaluate (many nodes per
|
|
44
|
+
* item + per-item drag-bound closures) and overlay parents re-render on every
|
|
45
|
+
* detection/motion event. Mirrors ZoneCanvas's `memo`.
|
|
46
|
+
*/
|
|
47
|
+
export declare const MaskShapeCanvas: MemoExoticComponent<typeof MaskShapeCanvasImpl>;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
2
|
+
import type { CapSettingsComponentProps } from "./index";
|
|
3
|
+
/** Whole watts below a kilowatt, the shared number rule above; the device's Precision wins everywhere. */
|
|
4
|
+
export declare function formatPowerWatts(watts: number, precision?: number): {
|
|
5
|
+
readonly value: string;
|
|
6
|
+
readonly unit: string;
|
|
7
|
+
};
|
|
8
|
+
/** The shared number rule under 100 kWh, whole kWh above (unless the device sets a Precision). */
|
|
9
|
+
export declare function formatEnergyKwh(kwh: number, precision?: number): string;
|
|
10
|
+
export declare function PowerMeterLine({ deviceId }: CapSettingsComponentProps): JSX.Element | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PtzPanel — live pan/tilt/zoom controls for the `ptz` capability. A
|
|
3
|
+
* cap-settings component (ui-library), mounted as a cap-contributed
|
|
4
|
+
* top-level device-detail tab via the cap-UI contribution mechanism
|
|
5
|
+
* (the `ptz` cap declares `ui: { tab: 'ptz', kind: 'static', ... }`).
|
|
6
|
+
*
|
|
7
|
+
* Consolidates the former admin-ui `PTZPanelContent`: `usePTZ` drives
|
|
8
|
+
* the controls, `PTZOverlay` renders them (`mode='panel'`), and an
|
|
9
|
+
* Autofocus toggle is shown only when `getOptions().hasAutofocus`.
|
|
10
|
+
* Autotrack is its own cap-UI contribution (`ptz-autotrack`), mounted
|
|
11
|
+
* independently by the contribution mechanism — not nested here.
|
|
12
|
+
*/
|
|
13
|
+
import { type JSX } from "react";
|
|
14
|
+
import type { CapSettingsComponentProps } from "./index";
|
|
15
|
+
export declare function PtzPanel({ deviceId }: CapSettingsComponentProps): JSX.Element | null;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
2
|
+
import type { RecordingBand } from "@dominevo/types";
|
|
3
|
+
interface RecordingBandsEditorProps {
|
|
4
|
+
readonly bands: readonly RecordingBand[];
|
|
5
|
+
readonly onChange: (bands: RecordingBand[]) => void;
|
|
6
|
+
/** Present when the host knows the camera — enables the sensor picker on events bands. */
|
|
7
|
+
readonly sensorContext?: RecordingSensorContext;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The band table — the ONLY authoring surface for recording intent since the
|
|
11
|
+
* legacy mode/schedules/triggers/rules model was retired (2026-07-30).
|
|
12
|
+
*
|
|
13
|
+
* Each row is one `RecordingBand`: when it applies (weekdays + `HH:MM` span,
|
|
14
|
+
* `end <= start` wraps past midnight) and how it records (continuous, or events
|
|
15
|
+
* with its own triggers and pre/post buffers). No band covering *now* = nothing
|
|
16
|
+
* is recorded then; "off" is the absence of a band, never a band value.
|
|
17
|
+
*/
|
|
18
|
+
export declare function RecordingBandsEditor({ bands, onChange, sensorContext }: RecordingBandsEditorProps): JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* The camera a band belongs to, for the sensor picker: its own id is never a
|
|
21
|
+
* sensor of itself, and its room is what the picker suggests first.
|
|
22
|
+
*/
|
|
23
|
+
export interface RecordingSensorContext {
|
|
24
|
+
readonly cameraId: number;
|
|
25
|
+
/**
|
|
26
|
+
* Does this camera publish its own `recording-signal` — the LEVEL the
|
|
27
|
+
* `on-device-decision` MODE follows (D380)? Asked of the camera's bindings by
|
|
28
|
+
* the host, and read by `RecordingSettings` to decide whether that mode can
|
|
29
|
+
* be picked. It is no longer a band trigger: a band is an HOUR, and this
|
|
30
|
+
* feature has none to program. Absent = the host did not ask.
|
|
31
|
+
*/
|
|
32
|
+
readonly deviceSignal?: DeviceSignalPresence;
|
|
33
|
+
/**
|
|
34
|
+
* Does the camera publish a `battery` charge? When true a band offers a
|
|
35
|
+
* charge range. A band that already carries one always shows it, so it can
|
|
36
|
+
* be removed.
|
|
37
|
+
*/
|
|
38
|
+
readonly batteryOperated?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* What the host knows about the camera's `recording-signal` binding. Four
|
|
42
|
+
* states, not a boolean (D315): `pending` and `unknown` must render as
|
|
43
|
+
* "not yet known", never as "this camera has no signal".
|
|
44
|
+
*/
|
|
45
|
+
export type DeviceSignalPresence = "pending" | "present" | "absent" | "unknown";
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
import type { RecordingConfig, CamProfile } from "@dominevo/types";
|
|
3
|
+
import { type RecordingSensorContext } from "./RecordingBandsEditor";
|
|
4
|
+
interface RecordingSettingsProps {
|
|
5
|
+
readonly initial: RecordingConfig;
|
|
6
|
+
/** Broker-assigned profile slots for this camera (already deduped). */
|
|
7
|
+
readonly availableProfiles: readonly CamProfile[];
|
|
8
|
+
readonly saving: boolean;
|
|
9
|
+
readonly onSave: (config: RecordingConfig) => void;
|
|
10
|
+
/** The camera this config belongs to — enables the sensor picker on events bands. */
|
|
11
|
+
readonly sensorContext?: RecordingSensorContext;
|
|
12
|
+
}
|
|
13
|
+
export declare function RecordingSettings({ initial, availableProfiles, saving, onSave, sensorContext }: RecordingSettingsProps): JSX.Element | null;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type ReactNode, type JSX } from "react";
|
|
2
|
+
import { type DayWindow, type DensityPoint } from "./recording-timeline-model";
|
|
3
|
+
interface RecordingTimelineProps {
|
|
4
|
+
readonly deviceId: number;
|
|
5
|
+
/**
|
|
6
|
+
* Ask the timeline to play from a moment (an event a neighbouring list was
|
|
7
|
+
* clicked on). A new `nonce` is a new request — the same instant twice is
|
|
8
|
+
* two requests. The timeline moves to that day, then plays like a click on
|
|
9
|
+
* an event clip.
|
|
10
|
+
*/
|
|
11
|
+
readonly seekTo?: {
|
|
12
|
+
readonly atMs: number;
|
|
13
|
+
readonly nonce: number;
|
|
14
|
+
};
|
|
15
|
+
/** Shift + drag on the coverage bar selects a range and reports it here. */
|
|
16
|
+
readonly onExportRange?: (fromMs: number, toMs: number) => void;
|
|
17
|
+
/** Told the visible window whenever it moves (day, zoom, pan, seek). */
|
|
18
|
+
readonly onViewChange?: (view: DayWindow) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Draw the density bar from these events instead of the server histogram —
|
|
21
|
+
* a surface that filters its event list passes that filtered list, so the
|
|
22
|
+
* list and the bar never disagree. Absent: the server's unfiltered density.
|
|
23
|
+
*/
|
|
24
|
+
readonly densityPoints?: readonly DensityPoint[];
|
|
25
|
+
/** Extra lanes drawn under the coverage bar, over the same window. */
|
|
26
|
+
readonly lanes?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* The surface's own filters, drawn at the start of the controls row so the
|
|
29
|
+
* page has ONE bar: its filters, then the date and window controls.
|
|
30
|
+
*/
|
|
31
|
+
readonly toolbar?: ReactNode;
|
|
32
|
+
}
|
|
33
|
+
export declare function RecordingTimeline({ deviceId, seekTo, onExportRange, onViewChange, densityPoints, lanes, toolbar }: RecordingTimelineProps): JSX.Element;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SceneMonitor, SceneReference } from "@dominevo/types";
|
|
2
|
+
import { type JSX } from "react";
|
|
3
|
+
/** The hub-proxied prefix for the pipeline-analytics event-media data plane. */
|
|
4
|
+
export declare const SCENE_MEDIA_BASE: string;
|
|
5
|
+
/** One reference, with the coordinates `deleteReference` addresses it by. */
|
|
6
|
+
export interface SceneReferenceTile {
|
|
7
|
+
readonly stateId: string;
|
|
8
|
+
/** Index into THAT state's `references` array — the cap's own addressing. */
|
|
9
|
+
readonly index: number;
|
|
10
|
+
readonly reference: SceneReference;
|
|
11
|
+
}
|
|
12
|
+
export interface SceneReferenceGroup {
|
|
13
|
+
readonly condition: string;
|
|
14
|
+
readonly tiles: readonly SceneReferenceTile[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Flatten `states[].references[]` into per-condition groups while keeping each
|
|
18
|
+
* reference's `(stateId, index)` — the pair `deleteReference` takes.
|
|
19
|
+
*
|
|
20
|
+
* The index is deliberately the position in the state's OWN array rather than
|
|
21
|
+
* anything derived from the grouping: an index computed over the grouped view
|
|
22
|
+
* would address a different reference the moment a scene holds two conditions,
|
|
23
|
+
* and the operator would delete the wrong photograph with no way to tell.
|
|
24
|
+
*/
|
|
25
|
+
export declare function groupReferences(monitor: SceneMonitor): readonly SceneReferenceGroup[];
|
|
26
|
+
/** Total references across every state — the count that decides whether a
|
|
27
|
+
* delete leaves the scene with no idea what "normal" looks like. */
|
|
28
|
+
export declare function totalReferences(monitor: SceneMonitor): number;
|
|
29
|
+
export interface SceneReferenceGalleryProps {
|
|
30
|
+
readonly monitor: SceneMonitor;
|
|
31
|
+
readonly disabled: boolean;
|
|
32
|
+
readonly onDelete: (input: {
|
|
33
|
+
stateId: string;
|
|
34
|
+
index: number;
|
|
35
|
+
}) => void;
|
|
36
|
+
}
|
|
37
|
+
export declare function SceneReferenceGallery({ monitor, disabled, onDelete }: SceneReferenceGalleryProps): JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SceneCheck, SceneMonitor, SceneUncoveredPolicy } from "@dominevo/types";
|
|
2
|
+
import { type JSX } from "react";
|
|
3
|
+
/** The subset of `updateScene`'s patch this form can produce. */
|
|
4
|
+
export interface SceneSettingsPatch {
|
|
5
|
+
readonly label?: string;
|
|
6
|
+
readonly enabled?: boolean;
|
|
7
|
+
readonly triggerMode?: SceneMonitor["triggerMode"];
|
|
8
|
+
readonly checkIntervalSec?: number;
|
|
9
|
+
readonly check?: SceneCheck;
|
|
10
|
+
readonly quietSeconds?: number;
|
|
11
|
+
readonly minObservationSpacingSec?: number;
|
|
12
|
+
readonly emit?: SceneMonitor["emit"];
|
|
13
|
+
readonly autoRestore?: boolean;
|
|
14
|
+
readonly onUncoveredCondition?: SceneUncoveredPolicy;
|
|
15
|
+
readonly confirm?: SceneMonitor["confirm"] | null;
|
|
16
|
+
}
|
|
17
|
+
export interface SceneSettingsFormProps {
|
|
18
|
+
readonly monitor: SceneMonitor;
|
|
19
|
+
readonly disabled: boolean;
|
|
20
|
+
readonly onPatch: (patch: SceneSettingsPatch) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare function SceneSettingsForm({ monitor, disabled, onPatch }: SceneSettingsFormProps): JSX.Element;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The source camera's own frame with ONE highlighted rectangle: the part a
|
|
3
|
+
* cell (or a crop camera) takes. Shared by the grid editor's per-cell crop and
|
|
4
|
+
* the crop camera editor so there is a single canvas.
|
|
5
|
+
*
|
|
6
|
+
* The whole snapshot is drawn behind a dimmed overlay and the rectangle is the
|
|
7
|
+
* hole in it, so it reads as a window rather than a highlight. The frame is
|
|
8
|
+
* drawn at the camera's OWN aspect (measured from the snapshot), because the
|
|
9
|
+
* rectangle is normalized against the whole frame.
|
|
10
|
+
*
|
|
11
|
+
* The drag state is local; the owner receives the origin rectangle, the
|
|
12
|
+
* normalized delta and the pointer position, and decides how to move or resize.
|
|
13
|
+
*/
|
|
14
|
+
import { type JSX } from "react";
|
|
15
|
+
import { type GridNormalizedRect, type GridResizeHandle } from "./camera-grid-layout.js";
|
|
16
|
+
/**
|
|
17
|
+
* A rectangle being dragged must not also PAN THE PAGE.
|
|
18
|
+
*
|
|
19
|
+
* On a phone a pointerdown on a `div` is a scroll gesture until the browser is
|
|
20
|
+
* told otherwise, and `preventDefault` in the handler is too late — the browser
|
|
21
|
+
* has already decided. `touch-action: none` is the only thing that makes a drag
|
|
22
|
+
* work with a finger, and every surface that starts one carries it.
|
|
23
|
+
*/
|
|
24
|
+
export declare const DRAG_SURFACE: {
|
|
25
|
+
readonly touchAction: "none";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Finger-sized hit area around a grip.
|
|
29
|
+
*
|
|
30
|
+
* The visible square stays small (it sits ON the picture being edited and a big
|
|
31
|
+
* one hides what it is positioning); the TOUCHABLE box around it is 24px, which
|
|
32
|
+
* is the smallest target size that does not need a fingernail. The two are
|
|
33
|
+
* different boxes on purpose — making the dot itself 24px would cover a quarter
|
|
34
|
+
* of a small cell.
|
|
35
|
+
*/
|
|
36
|
+
export declare const HANDLE_HIT = "absolute flex h-6 w-6 items-center justify-center";
|
|
37
|
+
/** The eight grips, in the order they are drawn. */
|
|
38
|
+
export declare const HANDLES: readonly GridResizeHandle[];
|
|
39
|
+
export declare const HANDLE_STYLE: Readonly<Record<GridResizeHandle, string>>;
|
|
40
|
+
/**
|
|
41
|
+
* Start a drag and KEEP it, even when the finger leaves the rectangle.
|
|
42
|
+
*
|
|
43
|
+
* Without pointer capture a drag ends the moment the pointer crosses the box it
|
|
44
|
+
* started in — which on a phone is immediately, because the box is small and
|
|
45
|
+
* the finger is not. With capture the events keep coming to the element that
|
|
46
|
+
* was grabbed and still bubble to the canvas that does the arithmetic.
|
|
47
|
+
*/
|
|
48
|
+
export declare function capturePointer(event: React.PointerEvent<HTMLElement>): void;
|
|
49
|
+
export interface SourceCropDrag {
|
|
50
|
+
readonly mode: "move" | GridResizeHandle;
|
|
51
|
+
/** The rectangle when the drag started. */
|
|
52
|
+
readonly origin: GridNormalizedRect;
|
|
53
|
+
/** Pointer travel since the start, as a fraction of the frame. */
|
|
54
|
+
readonly dx: number;
|
|
55
|
+
readonly dy: number;
|
|
56
|
+
/** The pointer, in the frame's normalized space. */
|
|
57
|
+
readonly point: {
|
|
58
|
+
readonly x: number;
|
|
59
|
+
readonly y: number;
|
|
60
|
+
};
|
|
61
|
+
/** The frame's width / height (16/9 until the snapshot has loaded). */
|
|
62
|
+
readonly sourceAspect: number;
|
|
63
|
+
}
|
|
64
|
+
export interface SourceCropCanvasProps {
|
|
65
|
+
readonly deviceId: number;
|
|
66
|
+
readonly rect: GridNormalizedRect;
|
|
67
|
+
/** Grips to draw; all eight by default. */
|
|
68
|
+
readonly handles?: readonly GridResizeHandle[];
|
|
69
|
+
readonly onDrag: (drag: SourceCropDrag) => void;
|
|
70
|
+
/** Called once the snapshot has told the frame's real aspect. */
|
|
71
|
+
readonly onSourceAspect?: (aspect: number) => void;
|
|
72
|
+
}
|
|
73
|
+
export declare function SourceCropCanvas({ deviceId, rect, handles, onDrag, onSourceAspect }: SourceCropCanvasProps): JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
import { type DayWindow } from "./recording-timeline-model";
|
|
3
|
+
interface TimelineControlsProps {
|
|
4
|
+
/** Currently selected calendar day. */
|
|
5
|
+
readonly day: Date;
|
|
6
|
+
/** Called when the user picks a new day. */
|
|
7
|
+
readonly onDayChange: (d: Date) => void;
|
|
8
|
+
/** Current zoom+pan view window. */
|
|
9
|
+
readonly view: DayWindow;
|
|
10
|
+
/** Full day bounds (used for zoom/pan clamping). */
|
|
11
|
+
readonly dayBounds: DayWindow;
|
|
12
|
+
/** Called when zoom changes the view. */
|
|
13
|
+
readonly onViewChange: (w: DayWindow) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Date selector + prev/next pan + zoom-in / zoom-out buttons for the recording
|
|
17
|
+
* timeline. Zoom cycles through ZOOM_LEVELS (widest → narrowest), anchored on
|
|
18
|
+
* the view's RIGHT edge — so on today's timeline "now" stays pinned to the right
|
|
19
|
+
* instead of drifting to a midday range. The ◀ / ▶ buttons step the visible
|
|
20
|
+
* window earlier/later within the day (the discoverable equivalent of the
|
|
21
|
+
* horizontal wheel-pan wired in RecordingTimeline), so a zoomed-in day can be
|
|
22
|
+
* navigated back and forth without a mouse wheel.
|
|
23
|
+
*/
|
|
24
|
+
export declare function TimelineControls({ day, onDayChange, view, dayBounds, onViewChange }: TimelineControlsProps): JSX.Element | null;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pure half of the camera-grid layout editor: what a grid IS on this side
|
|
3
|
+
* of the wire, and the geometry the drag handles apply.
|
|
4
|
+
*
|
|
5
|
+
* Both rectangles an editor manipulates are NORMALIZED [0,1] — the crop taken
|
|
6
|
+
* out of a source, and the cell it lands in. The addon stores them that way so
|
|
7
|
+
* a source camera that changes resolution does not silently start cutting the
|
|
8
|
+
* wrong part of the picture, and the editor has to speak the same language or
|
|
9
|
+
* the conversion becomes a second place the convention can drift.
|
|
10
|
+
*/
|
|
11
|
+
export interface GridNormalizedRect {
|
|
12
|
+
readonly x: number;
|
|
13
|
+
readonly y: number;
|
|
14
|
+
readonly width: number;
|
|
15
|
+
readonly height: number;
|
|
16
|
+
}
|
|
17
|
+
export interface GridLayoutCell {
|
|
18
|
+
readonly deviceId: number;
|
|
19
|
+
/** The part of the SOURCE taken, normalized against the source. */
|
|
20
|
+
readonly source: GridNormalizedRect;
|
|
21
|
+
/** Where it lands, normalized against the CANVAS. */
|
|
22
|
+
readonly cell: GridNormalizedRect;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Which profiles this grid can compose, and which sources stop it.
|
|
26
|
+
*
|
|
27
|
+
* Read-only in the editor. The operator does not choose what is on offer — the
|
|
28
|
+
* source cameras do, by what they have assigned — and a checkbox that pretended
|
|
29
|
+
* otherwise would publish a composition with a hole in it.
|
|
30
|
+
*/
|
|
31
|
+
export interface GridProfileOffer {
|
|
32
|
+
readonly profile: "high" | "mid" | "low";
|
|
33
|
+
readonly offered: boolean;
|
|
34
|
+
readonly missingSources: readonly number[];
|
|
35
|
+
/**
|
|
36
|
+
* The canvas this profile composes onto, `WxH`, or empty when it is not
|
|
37
|
+
* offered. DERIVED — the operator no longer types a resolution, so this is
|
|
38
|
+
* the only place the grid's actual size is ever stated.
|
|
39
|
+
*/
|
|
40
|
+
readonly canvas: string;
|
|
41
|
+
/**
|
|
42
|
+
* Whether this profile is PUBLISHED, of the ones the grid could serve.
|
|
43
|
+
*
|
|
44
|
+
* A grid's `high` composes its sources' `high`, so on a 4K fleet it is a 4K
|
|
45
|
+
* canvas built from 4K decodes — an opt-in, not something a viewer's adaptive
|
|
46
|
+
* should be handed by climbing to the top rung it can see.
|
|
47
|
+
*/
|
|
48
|
+
readonly published: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface GridLayoutView {
|
|
51
|
+
readonly blockId: string;
|
|
52
|
+
readonly deviceId: number;
|
|
53
|
+
/** The device row's name. */
|
|
54
|
+
readonly name: string;
|
|
55
|
+
readonly fps: number;
|
|
56
|
+
readonly cells: readonly GridLayoutCell[];
|
|
57
|
+
readonly profiles: readonly GridProfileOffer[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* What a read of the grid can be.
|
|
61
|
+
*
|
|
62
|
+
* Three OUTCOMES, never two: a grid, an answer of "this device is not a grid"
|
|
63
|
+
* (`null`), and a reply this page could not read (`'unreadable'`). Collapsing
|
|
64
|
+
* the last two makes "not yet known" indistinguishable from "not installed",
|
|
65
|
+
* which is exactly the failure D315 exists to stop.
|
|
66
|
+
*/
|
|
67
|
+
export type GridLayoutReadOutcome = GridLayoutView | null | "unreadable";
|
|
68
|
+
/**
|
|
69
|
+
* Parse the `camera-grid-layout.getLayout` reply. See {@link GridLayoutReadOutcome}.
|
|
70
|
+
*
|
|
71
|
+
* The cap answers the view itself, or `null` — there is no envelope. It used to
|
|
72
|
+
* come back as `{ grid }` from `addons.custom`, which was the mechanism the
|
|
73
|
+
* widget reached the addon through before the geometry had a capability of its
|
|
74
|
+
* own; the widget now asks THE CAMERA and the envelope went with the bridge.
|
|
75
|
+
*/
|
|
76
|
+
export declare function parseGridView(raw: unknown): GridLayoutReadOutcome;
|
|
77
|
+
/**
|
|
78
|
+
* Keep a rectangle inside the unit square.
|
|
79
|
+
*
|
|
80
|
+
* The addon THROWS on a rectangle that falls outside — a silently clipped
|
|
81
|
+
* picture is worse than a refusal — so the editor must never hand it one.
|
|
82
|
+
*/
|
|
83
|
+
export declare function clampNormalizedRect(rect: GridNormalizedRect): GridNormalizedRect;
|
|
84
|
+
/** Drag: translate by a normalized delta, clamped. */
|
|
85
|
+
export declare function moveNormalizedRect(rect: GridNormalizedRect, dx: number, dy: number): GridNormalizedRect;
|
|
86
|
+
/** Resize from the bottom-right corner: the origin stays put. */
|
|
87
|
+
export declare function resizeNormalizedRect(rect: GridNormalizedRect, dw: number, dh: number): GridNormalizedRect;
|
|
88
|
+
/** The eight grips on a rectangle. A corner moves two edges, an edge one. */
|
|
89
|
+
export type GridResizeHandle = "nw" | "n" | "ne" | "e" | "se" | "s" | "sw" | "w";
|
|
90
|
+
/**
|
|
91
|
+
* Resize from ANY handle: the opposite side is the anchor.
|
|
92
|
+
*
|
|
93
|
+
* The editor had one grip, in the bottom-right, which meant a cell could only
|
|
94
|
+
* grow away from its origin — to move its top edge an operator had to drag the
|
|
95
|
+
* whole cell and then resize it back. The rectangle is expressed as its two
|
|
96
|
+
* edges here rather than origin+extent, because that is what makes "the
|
|
97
|
+
* opposite edge does not move" fall out instead of being arithmetic to get
|
|
98
|
+
* wrong. `clampNormalizedRect` still has the last word: the addon THROWS on a
|
|
99
|
+
* rectangle outside the unit square.
|
|
100
|
+
*/
|
|
101
|
+
export declare function resizeNormalizedRectFrom(rect: GridNormalizedRect, handle: GridResizeHandle, dx: number, dy: number): GridNormalizedRect;
|
|
102
|
+
/**
|
|
103
|
+
* Tile the whole canvas with `count` cells, leaving no gap.
|
|
104
|
+
*
|
|
105
|
+
* Autofill exists because the useful answer to "put these four cameras up" is
|
|
106
|
+
* almost never the one hand-dragging produces: rectangles land a pixel apart
|
|
107
|
+
* and the composition shows black seams the operator cannot see in the editor
|
|
108
|
+
* but will see in the stream.
|
|
109
|
+
*
|
|
110
|
+
* The shape is the near-square one — `ceil(sqrt(n))` columns — and a short last
|
|
111
|
+
* row STRETCHES to the full width rather than leaving a hole. Three cameras
|
|
112
|
+
* become two over one, not a 2x2 with an empty quarter, which is precisely the
|
|
113
|
+
* layout autofill is asked to avoid.
|
|
114
|
+
*
|
|
115
|
+
* Aspect is deliberately not considered: these are CANVAS fractions, and what a
|
|
116
|
+
* source shows inside its cell is the crop's business (the source rectangle),
|
|
117
|
+
* not the placement's. Mixing the two here would silently re-crop every cell
|
|
118
|
+
* whenever the canvas was resized.
|
|
119
|
+
*/
|
|
120
|
+
export declare function autofillCellRects(count: number): readonly GridNormalizedRect[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
export type ClipKind = "motion" | "object" | "audio";
|
|
3
|
+
interface EventThumbProps {
|
|
4
|
+
readonly mediaUrl?: string;
|
|
5
|
+
readonly kind: ClipKind;
|
|
6
|
+
}
|
|
7
|
+
export declare function EventThumb({ mediaUrl, kind }: EventThumbProps): JSX.Element;
|
|
8
|
+
export declare function EventKindIcon({ kind, large }: {
|
|
9
|
+
readonly kind: ClipKind;
|
|
10
|
+
readonly large?: boolean;
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { AutotrackSection } from "./AutotrackSection";
|
|
2
|
+
export { PowerMeterLine } from "./PowerMeterLine";
|
|
3
|
+
export type { MaskShapeCanvasProps, MaskShapeItem } from "./MaskShapeCanvas";
|
|
4
|
+
export { MaskShapeCanvas } from "./MaskShapeCanvas";
|
|
5
|
+
export { MotionZonesSettings } from "./MotionZonesSettings";
|
|
6
|
+
export { PrivacyMaskSettings } from "./PrivacyMaskSettings";
|
|
7
|
+
export { NavigationPanel } from "./NavigationPanel";
|
|
8
|
+
export { PtzPanel } from "./PtzPanel";
|
|
9
|
+
export { RecordingBandsEditor } from "./RecordingBandsEditor";
|
|
10
|
+
export { RecordingPanel } from "./RecordingPanel";
|
|
11
|
+
export { RecordingSettings } from "./RecordingSettings";
|
|
12
|
+
export { SceneMonitorEditor } from "./SceneMonitorEditor";
|
|
13
|
+
/**
|
|
14
|
+
* Props every cap-settings component receives.
|
|
15
|
+
*
|
|
16
|
+
* Components are resolved by `componentId` through the admin-ui
|
|
17
|
+
* `UI_COMPONENTS` registry (the cap-name-keyed `CAP_SETTINGS_COMPONENTS`
|
|
18
|
+
* registry has been retired). This shape mirrors the admin-ui
|
|
19
|
+
* `UiComponentProps` contract.
|
|
20
|
+
*/
|
|
21
|
+
export interface CapSettingsComponentProps {
|
|
22
|
+
readonly deviceId: number;
|
|
23
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The camera's MICROPHONE, as the privacy-mask panel controls it
|
|
3
|
+
* ([D113](../../../../../docs/decisions/adr-0113.md) phase 3, the
|
|
4
|
+
* `device-audio` row).
|
|
5
|
+
*
|
|
6
|
+
* | Function | Authority read | Authority written |
|
|
7
|
+
* | --- | --- | --- |
|
|
8
|
+
* | `device-audio` | `privacyMask.getOptions().supportsAudioMute` + `getStatus().audioEnabled` | `privacyMask.setAudioEnabled` |
|
|
9
|
+
*
|
|
10
|
+
* The cap already owns both privacy planes — what the camera does not film and
|
|
11
|
+
* what it does not hear — so the microphone belongs in this panel and nowhere
|
|
12
|
+
* else. It had no surface at all outside the aggregate switch group; without
|
|
13
|
+
* this it would have become unwritable the day the group is deleted, on the one
|
|
14
|
+
* authority whose store is the CAMERA and which therefore cannot be repaired
|
|
15
|
+
* from the hub's own state.
|
|
16
|
+
*
|
|
17
|
+
* **The microphone is not part of the mask draft.** It has its own mutation
|
|
18
|
+
* (`setAudioEnabled`, deliberately not a field on `PrivacyMaskPatch`) and it is
|
|
19
|
+
* written immediately and read back, exactly as the switch that preceded it
|
|
20
|
+
* did. Folding it into Save would mean a Save of the ZONES also rewrote the
|
|
21
|
+
* microphone — two unrelated facts behind one button.
|
|
22
|
+
*
|
|
23
|
+
* Three answers, and collapsing any two loses a real distinction:
|
|
24
|
+
* - options unread → `null` (UNKNOWN — never "the camera has no microphone")
|
|
25
|
+
* - `supportsAudioMute: false` → not supported (no control at all)
|
|
26
|
+
* - supported but `audioEnabled: null` → UNKNOWN, never `false`
|
|
27
|
+
*/
|
|
28
|
+
export interface CameraMicrophoneState {
|
|
29
|
+
readonly label: string;
|
|
30
|
+
/** Does this camera expose a microphone switch that can actually be written? */
|
|
31
|
+
readonly supported: boolean;
|
|
32
|
+
/** `null` = nothing answered. Never coerced — "off" and "unknown" differ. */
|
|
33
|
+
readonly on: boolean | null;
|
|
34
|
+
/** A control is only offered when the plane is supported AND its state known. */
|
|
35
|
+
readonly available: boolean;
|
|
36
|
+
/** What the operator loses while it is off. */
|
|
37
|
+
readonly costWhenOff: string;
|
|
38
|
+
}
|
|
39
|
+
export interface CameraMicrophoneInput {
|
|
40
|
+
/** `getOptions().supportsAudioMute`; `null` when the read failed. */
|
|
41
|
+
readonly supportsAudioMute: boolean | null;
|
|
42
|
+
/** `getStatus().audioEnabled`; `null` when unknown or unread. */
|
|
43
|
+
readonly audioEnabled: boolean | null;
|
|
44
|
+
/** The value an in-flight write asked for; `null` when nothing is in flight. */
|
|
45
|
+
readonly pendingOn?: boolean | null;
|
|
46
|
+
}
|
|
47
|
+
export declare const CAMERA_MICROPHONE_LABEL = "Microphone";
|
|
48
|
+
export declare function resolveCameraMicrophone(input: CameraMicrophoneInput): CameraMicrophoneState;
|
|
49
|
+
/** The write ONE toggle implies, in the cap's own vocabulary. */
|
|
50
|
+
export interface CameraMicrophoneWrite {
|
|
51
|
+
readonly enabled: boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Polarity here is straight-through (`enabled` means "capturing sound"), which
|
|
55
|
+
* is exactly why it is still pinned by a test: the sibling rows in this
|
|
56
|
+
* refactor (`broker-audio`, `notifications`) both INVERT, and a reader who has
|
|
57
|
+
* just come from one of those is one keystroke from making this one match.
|
|
58
|
+
*/
|
|
59
|
+
export declare function cameraMicrophoneWrite(state: CameraMicrophoneState): CameraMicrophoneWrite | null;
|