@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,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The selected clip — what it is, how it plays, and how it is saved.
|
|
3
|
+
*
|
|
4
|
+
* **No second player.** `getClipPlayback` answers `{ playbackUrl, format,
|
|
5
|
+
* served }` and the panel hands it to the SAME hero the recordings timeline
|
|
6
|
+
* drives: `vod.play({ url, format })` → `StreamPanel playbackUrl/playbackFormat`
|
|
7
|
+
* → `HlsVideo`'s `mp4` branch (`video.src`, no hls.js). Building a clip player
|
|
8
|
+
* here is the thing D549 decision 22 exists to refuse.
|
|
9
|
+
*
|
|
10
|
+
* **`format` travels.** An MP4 handed to hls.js is parsed as a manifest and
|
|
11
|
+
* fails, so the format the provider named is forwarded verbatim and never
|
|
12
|
+
* defaulted here.
|
|
13
|
+
*
|
|
14
|
+
* **`served` is shown.** A clip that holds only one twin answers with the one
|
|
15
|
+
* it has, and the surface SAYS so — a missing main twin must never be served
|
|
16
|
+
* silently as if it were the asked-for quality (D549 decision 15). Both ids
|
|
17
|
+
* are already on the row, so changing quality re-asks the hub and never
|
|
18
|
+
* re-searches the camera.
|
|
19
|
+
*
|
|
20
|
+
* **Nothing is appended to the URL.** The route is `access:'authenticated'`
|
|
21
|
+
* and the session cookie authenticates it (D549 decision 22); the same URL is
|
|
22
|
+
* the download.
|
|
23
|
+
*/
|
|
24
|
+
import { type JSX } from "react";
|
|
25
|
+
import type { CamProfile, Clip } from "@dominevo/types";
|
|
26
|
+
export interface ClipPanelProps {
|
|
27
|
+
readonly deviceId: number;
|
|
28
|
+
readonly clip: Clip;
|
|
29
|
+
readonly profile: CamProfile;
|
|
30
|
+
readonly onProfileChange: (profile: CamProfile) => void;
|
|
31
|
+
}
|
|
32
|
+
export declare function ClipPanel({ deviceId, clip, profile, onProfileChange }: ClipPanelProps): JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One lane per clip SOURCE on a recording timeline — what each place that keeps
|
|
3
|
+
* this camera's clips holds inside the visible window.
|
|
4
|
+
*
|
|
5
|
+
* The sources are the camera's `videoclips.listSources` rows grouped by the
|
|
6
|
+
* provider that answers them (`clipProviderOptions`); none is named here. A
|
|
7
|
+
* lane is the same bar shape as the timeline's own coverage track, so the
|
|
8
|
+
* lanes read as part of it, and a click on a clip hands it to the caller —
|
|
9
|
+
* the surface decides which player plays it.
|
|
10
|
+
*
|
|
11
|
+
* A lane that could not answer says so in its own row; an empty bar is only
|
|
12
|
+
* drawn for a source that answered with nothing.
|
|
13
|
+
*/
|
|
14
|
+
import type { Clip } from "@dominevo/types";
|
|
15
|
+
import type { JSX } from "react";
|
|
16
|
+
import type { DayWindow } from "../cap-settings/recording-timeline-model.js";
|
|
17
|
+
import { type ClipProviderOption } from "./clip-source-options.js";
|
|
18
|
+
/** What one lane's query answered. */
|
|
19
|
+
export interface ClipLaneClips {
|
|
20
|
+
readonly status: "refused" | "pending" | "error" | "success";
|
|
21
|
+
readonly clips: readonly Clip[];
|
|
22
|
+
readonly error: string | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The clips one provider holds in `view`. One hook for the lane and for any
|
|
26
|
+
* caller that needs the same answer (a player picking the clip at an instant),
|
|
27
|
+
* so both ask the identical question and share one cached read.
|
|
28
|
+
*/
|
|
29
|
+
export declare function useClipLaneClips(deviceId: number, provider: string | null, view: DayWindow): ClipLaneClips;
|
|
30
|
+
export interface ClipSourceLaneProps {
|
|
31
|
+
readonly deviceId: number;
|
|
32
|
+
readonly option: ClipProviderOption;
|
|
33
|
+
readonly view: DayWindow;
|
|
34
|
+
/** This lane's source is the one the player plays. */
|
|
35
|
+
readonly selected: boolean;
|
|
36
|
+
readonly onPickClip: (provider: string, clip: Clip) => void;
|
|
37
|
+
}
|
|
38
|
+
export interface ClipSourceLanesProps {
|
|
39
|
+
readonly deviceId: number;
|
|
40
|
+
readonly options: readonly ClipProviderOption[];
|
|
41
|
+
readonly view: DayWindow;
|
|
42
|
+
/** The provider the player plays, or null. */
|
|
43
|
+
readonly selectedProvider: string | null;
|
|
44
|
+
readonly onPickClip: (provider: string, clip: Clip) => void;
|
|
45
|
+
}
|
|
46
|
+
/** Every provider's lane, in the order the camera listed its sources. */
|
|
47
|
+
export declare function ClipSourceLanes({ deviceId, options, view, selectedProvider, onPickClip }: ClipSourceLanesProps): JSX.Element | null;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One clip, as a tile.
|
|
3
|
+
*
|
|
4
|
+
* The picture is resolved by `resolveTileMedia` — vouched JPEG, an offer, or
|
|
5
|
+
* the reason there is none (D549 decision 5). An offer is fetched rather than
|
|
6
|
+
* dropped into an `<img src>`, because the route's **204 + x-camstack-reason**
|
|
7
|
+
* is invisible to an `<img>`: it fires `onerror` with nothing to say. The
|
|
8
|
+
* refusal is LATCHED for the life of the tile and never retried behind the
|
|
9
|
+
* operator's back.
|
|
10
|
+
*
|
|
11
|
+
* The row also carries what the camera itself said: its native types, the
|
|
12
|
+
* behaviours beside the class, which storages hold it, and — for a row that
|
|
13
|
+
* is an EVENT sitting inside no file — `playable: false` with its reason
|
|
14
|
+
* (measured: 1 of 29 hub events on 3628). Such a row is SHOWN, never dropped
|
|
15
|
+
* and never offered as playable-then-failing (D549 decision 19).
|
|
16
|
+
*
|
|
17
|
+
* The CHROME is the library's: a `Card` for the tile, `Badge` for every label
|
|
18
|
+
* the camera gave it, `Skeleton` while a mint is in flight. Only the ladder
|
|
19
|
+
* above is this file's own, because only it is a decision.
|
|
20
|
+
*/
|
|
21
|
+
import { type JSX } from "react";
|
|
22
|
+
import type { Clip } from "@dominevo/types";
|
|
23
|
+
export interface ClipTileProps {
|
|
24
|
+
readonly clip: Clip;
|
|
25
|
+
readonly selected: boolean;
|
|
26
|
+
readonly onSelect: (clip: Clip) => void;
|
|
27
|
+
}
|
|
28
|
+
export declare function ClipTile({ clip, selected, onSelect }: ClipTileProps): JSX.Element;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `host/clips-browser` — a camera's clips, from EVERY source it has, as the
|
|
3
|
+
* LAST SECTION of the Recording tab.
|
|
4
|
+
*
|
|
5
|
+
* Mounted by the framework, not by hand: `videoclips.cap.ts` declares
|
|
6
|
+
* `deviceConfig.ui = { kind:'widget', widgetId:'host/clips-browser',
|
|
7
|
+
* tab:'recording', topTab:true, order:100 }` and
|
|
8
|
+
* `deriveDeviceConfigContribution` emits the section (D14). `DeviceDetail.tsx`
|
|
9
|
+
* is not edited — placement is data. Because the admin Recordings page renders
|
|
10
|
+
* every `location:'top-tab'` + `tab:'recording'` section behind its camera
|
|
11
|
+
* picker (`CameraRecordingSettingsSection`), the same declaration puts this on
|
|
12
|
+
* both surfaces with no second wiring.
|
|
13
|
+
*
|
|
14
|
+
* ## Built from the library, not from scratch
|
|
15
|
+
*
|
|
16
|
+
* It shipped as its own top tab made of five bespoke components, and the
|
|
17
|
+
* operator rejected both: *"La UI è orribile, non segue la nostra UI affatto …
|
|
18
|
+
* Io in realtà utilizzerei la stessa tab recordings, lì abbiamo già tutto il
|
|
19
|
+
* necessario, una nuova sezione alla fine per le clips dove possiamo
|
|
20
|
+
* selezionare le source con un multiselect common, non componenti nuovi
|
|
21
|
+
* anonimi."* [The UI is horrible, it does not follow our UI at all … I would actually use the same recordings tab, we already have everything necessary there, a new section at the end for the clips where we can select the sources with a common multiselect, no new anonymous components.] So every piece of chrome here is a component this repo already
|
|
22
|
+
* has: `Select`, `DataTable`, `EmptyState`, `ErrorBox`, `Pagination`, `Card`,
|
|
23
|
+
* `Badge`, `Button`, `Skeleton`. What the chrome CARRIES is unchanged, and it
|
|
24
|
+
* is the feature:
|
|
25
|
+
*
|
|
26
|
+
* - **The source list is complete, always.** Every source the camera has,
|
|
27
|
+
* with its availability and the age of its catalog, whichever provider is
|
|
28
|
+
* being asked. A source never leaves the table.
|
|
29
|
+
* - **Nothing is deduped.** A clip held in two storages appears twice, once
|
|
30
|
+
* per source, and every tile says which (D549).
|
|
31
|
+
* - **Four states are tellable apart**: loading, empty-with-a-cause,
|
|
32
|
+
* degraded-per-source, and each silent source in its own words. Every one
|
|
33
|
+
* of them used to render as "no clips", which is the defect this whole line
|
|
34
|
+
* of work is about — a camera with no SD card (106) is not quiet, and a
|
|
35
|
+
* camera whose own index disagrees with its own calendar (108, 6–20
|
|
36
|
+
* September) is not quiet either.
|
|
37
|
+
*
|
|
38
|
+
* ## The period comes from the recording section's timebar, not a day picker
|
|
39
|
+
*
|
|
40
|
+
* It shipped with its own `‹ day ›` pair and the operator replaced it the same
|
|
41
|
+
* way he replaced the chrome: *"Possiamo utilizzare lo stesso componente della
|
|
42
|
+
* sezione recording con la timebar dove selezionare un periodo e mostrare le
|
|
43
|
+
* clip solo di quella banda selezionata, espandibile."* [We can use the same component as the recording section with the timebar where a period can be selected and show the clips of that selected band only, expandable.] So the list follows a
|
|
44
|
+
* BAND (D564) — `TimelineControls` for the day, the zoom and the pan,
|
|
45
|
+
* `EventHeatmap` for picking a narrower window out of it, both of them the
|
|
46
|
+
* pieces `RecordingTimeline` is itself built from, over the same
|
|
47
|
+
* `recording-timeline-model`. Three things that are decisions, not details:
|
|
48
|
+
*
|
|
49
|
+
* - **The band lives HERE, once.** `ClipBandBar` is presentational. Two
|
|
50
|
+
* components holding two ideas of the selected period is the defect this
|
|
51
|
+
* repo keeps paying for, and the period is what the query is made of.
|
|
52
|
+
* - **`CoverageTrack` stayed behind**, because there it is the seek surface
|
|
53
|
+
* that moves the hero player's playhead. A copy here would be a dead bar or
|
|
54
|
+
* a second claimant on that position.
|
|
55
|
+
* - **A band is asked for only if it is affordable.** `clip-band.ts` counts
|
|
56
|
+
* the LOCAL days it touches — the camera's own search is clamped to one per
|
|
57
|
+
* call, and a day listing is 4.3–6.0 s on 592 — and refuses past the bound
|
|
58
|
+
* by name rather than asking and rendering whichever days answered.
|
|
59
|
+
*
|
|
60
|
+
* ## The picker WRITES nothing, and there is nothing for it to write
|
|
61
|
+
*
|
|
62
|
+
* A clip source is not enabled or disabled — it EXISTS, because of a
|
|
63
|
+
* configuration that lives somewhere else. The operator put it exactly:
|
|
64
|
+
* *"non è affatto necessario lo stato di abilitato o meno delle sources. Loro
|
|
65
|
+
* vivono lì, ad esempio hksv c'è se la camera è esportata su homekit, reolink
|
|
66
|
+
* la dà di suo così come il camstack."* [the enabled-or-not state of the sources is not necessary at all. They live there, for example hksv is there if the camera is exported to homekit, reolink provides it on its own, as does camstack.] HKSV is there if the camera is
|
|
67
|
+
* exported to HomeKit; the Reolink source is there because Reolink is that
|
|
68
|
+
* camera's provider; Dominevo's is always there. None of that is a decision to
|
|
69
|
+
* make in a clips list, so this surface offers no switch and writes no
|
|
70
|
+
* authority (D557, amended). A directory-wide guard in
|
|
71
|
+
* `clips-section-sources.test.tsx` keeps it that way.
|
|
72
|
+
*
|
|
73
|
+
* ## Why the picker is a SELECT and not a multiselect
|
|
74
|
+
*
|
|
75
|
+
* The operator asked for *"un multiselect common"* while `listClips` still
|
|
76
|
+
* took `sources?: string[]`. It now takes ONE `provider` —
|
|
77
|
+
* *"l'utilizzatore è uno solo"* [there is only one user] — and a multi-pick control over a
|
|
78
|
+
* one-at-a-time argument offers a sum the hub cannot answer. So the control is
|
|
79
|
+
* the shared single-choice one, `Select`: the same component the Recordings
|
|
80
|
+
* page's own camera picker uses, which is what *"segue la nostra UI"* means
|
|
81
|
+
* here.
|
|
82
|
+
*
|
|
83
|
+
* ## The control's value is ALWAYS what the query carries
|
|
84
|
+
*
|
|
85
|
+
* There is no "default" option and no empty value. This section used to send
|
|
86
|
+
* no `provider` at all until the operator chose, because the cap documented
|
|
87
|
+
* absence as "the device's bound provider, which is Dominevo on every camera".
|
|
88
|
+
* No code implemented that: measured on device 107 (2026-09-20, bound to
|
|
89
|
+
* `recorder` AND `provider-reolink`) a bare `listClips` with `limit: 3`
|
|
90
|
+
* answered SIX rows — three per source, merged — while the default option read
|
|
91
|
+
* "Dominevo recordings". The label named one thing and the query asked two.
|
|
92
|
+
*
|
|
93
|
+
* Naming a provider is now required (D554 amended), and the default is this surface's
|
|
94
|
+
* to make: the FIRST source the camera lists, shown selected in the control, so
|
|
95
|
+
* what is on screen and what was asked are the same fact. A camera that lists
|
|
96
|
+
* no source is asked NOTHING — the query never fires and the body says nobody
|
|
97
|
+
* answered, rather than spinning against a question with no addressee.
|
|
98
|
+
*
|
|
99
|
+
* ## One provider is a fleet STATE
|
|
100
|
+
*
|
|
101
|
+
* `listSources` derives from `deviceManager.getBindings`. A camera bound to one
|
|
102
|
+
* provider makes the selector inert, and it SAYS why: an empty or silently
|
|
103
|
+
* single-entry control would read as a defect.
|
|
104
|
+
*/
|
|
105
|
+
import { type JSX } from "react";
|
|
106
|
+
export interface ClipsSectionProps {
|
|
107
|
+
readonly deviceId: number;
|
|
108
|
+
}
|
|
109
|
+
export declare function ClipsSection({ deviceId }: ClipsSectionProps): JSX.Element | null;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The BAND — the period the clip list is asked for, and what it costs.
|
|
3
|
+
*
|
|
4
|
+
* The clips section used to own a day picker. It now follows a period selected
|
|
5
|
+
* on the recording timebar (D564), so the window it asks `listClips` for is no
|
|
6
|
+
* longer a calendar day: it is whatever the operator has zoomed, panned or
|
|
7
|
+
* bucket-clicked down to. Everything in this module exists because a period is
|
|
8
|
+
* a different KIND of thing from a day in exactly two ways.
|
|
9
|
+
*
|
|
10
|
+
* ## The cost is counted in LOCAL days, because the camera's own search is
|
|
11
|
+
*
|
|
12
|
+
* A Reolink search is clamped to one camera-local day per call — measured
|
|
13
|
+
* 2026-09-20 on hub child 3628: a two-day ask answered 39 windows all dated
|
|
14
|
+
* the START day, silently, and `nodelink-js` now clamps and trace-logs it. The
|
|
15
|
+
* provider therefore LOOPS local days
|
|
16
|
+
* (`reolink-videoclips-provider.ts`), and a day listing is 4.3–6.0 s on 592
|
|
17
|
+
* (209 clips in 6.0 s; 546 in 4.3 s). A band's width in ms says nothing about
|
|
18
|
+
* what it costs; the number of local days it touches says everything. That is
|
|
19
|
+
* the unit here, and the walk goes through `Date`'s own day arithmetic so a
|
|
20
|
+
* DST week is seven days and not 6.96 (`clip-day-window.ts`).
|
|
21
|
+
*
|
|
22
|
+
* ## A band wider than the bound is REFUSED, never asked and partly shown
|
|
23
|
+
*
|
|
24
|
+
* The recording timebar cannot itself express more than a local day — its
|
|
25
|
+
* widest zoom level is 24 h and `zoomWindowAnchoredRight` clamps to the day's
|
|
26
|
+
* bounds — so {@link MAX_BAND_LOCAL_DAYS} is set at the one place a reachable
|
|
27
|
+
* band can still exceed one day: a window that straddles local midnight. The
|
|
28
|
+
* bound is enforced HERE rather than trusted to the control, because a control
|
|
29
|
+
* that later grows a wider zoom must not silently hand the list a
|
|
30
|
+
* recording-sized ask. Above it the query is not fired at all and the surface
|
|
31
|
+
* says which band it refused and why. Trimming the band to the days it could
|
|
32
|
+
* afford and rendering those is the defect this refusal exists to prevent — it
|
|
33
|
+
* is an empty list reading as "no clips" with extra steps.
|
|
34
|
+
*/
|
|
35
|
+
import type { DayWindow } from "../cap-settings/recording-timeline-model.js";
|
|
36
|
+
/** The half-open instant range `listClips` is asked for. */
|
|
37
|
+
export interface ClipBand {
|
|
38
|
+
readonly fromMs: number;
|
|
39
|
+
readonly toMs: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* How many local days a band may touch and still be asked for.
|
|
43
|
+
*
|
|
44
|
+
* Two, which is every band the timebar can produce: its view window never
|
|
45
|
+
* spans more than one calendar day, and the only way to reach a second is to
|
|
46
|
+
* sit across local midnight. A third is not a gesture this control has, so it
|
|
47
|
+
* is a bug or a future widening — either way the list refuses rather than
|
|
48
|
+
* guesses.
|
|
49
|
+
*/
|
|
50
|
+
export declare const MAX_BAND_LOCAL_DAYS = 2;
|
|
51
|
+
/** What the surface may do with a band, decided once. */
|
|
52
|
+
export type ClipBandPlan = {
|
|
53
|
+
readonly kind: "askable";
|
|
54
|
+
readonly band: ClipBand;
|
|
55
|
+
readonly localDays: number;
|
|
56
|
+
} | {
|
|
57
|
+
readonly kind: "too-wide";
|
|
58
|
+
readonly band: ClipBand;
|
|
59
|
+
readonly localDays: number;
|
|
60
|
+
readonly maxLocalDays: number;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* How many LOCAL calendar days the half-open band touches.
|
|
64
|
+
*
|
|
65
|
+
* The end instant is exclusive, so a band that ends exactly at the next local
|
|
66
|
+
* midnight is one day, not two — otherwise every whole-day band would report
|
|
67
|
+
* double what it costs.
|
|
68
|
+
*/
|
|
69
|
+
export declare function localDaysInBand(band: ClipBand): number;
|
|
70
|
+
/** Whether this band may be asked for, and what it costs, in one value. */
|
|
71
|
+
export declare function planClipBand(band: ClipBand): ClipBandPlan;
|
|
72
|
+
/** A density bucket's own window, as `EventHeatmap` hands it back. */
|
|
73
|
+
export interface ClipBandBucket {
|
|
74
|
+
readonly startMs: number;
|
|
75
|
+
readonly endMs: number;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The band for the current selection: the picked bucket, or — when nothing is
|
|
79
|
+
* picked — the whole visible window.
|
|
80
|
+
*
|
|
81
|
+
* "Nothing picked means everything visible" is safe here and only here,
|
|
82
|
+
* because the visible window is itself bounded by the timebar. It is never
|
|
83
|
+
* "everything the camera holds" (D382's unstated ask).
|
|
84
|
+
*/
|
|
85
|
+
export declare function bandForSelection(view: DayWindow, bucket: ClipBandBucket | null): ClipBand;
|
|
86
|
+
/**
|
|
87
|
+
* The band, spelled out.
|
|
88
|
+
*
|
|
89
|
+
* Every state renders it — an empty list has to say WHICH period it is empty
|
|
90
|
+
* for, the same rule the day label carried before the band replaced it.
|
|
91
|
+
*/
|
|
92
|
+
export declare function formatBandLabel(band: ClipBand): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** The LOCAL calendar day an instant falls in, as `YYYY-MM-DD`. */
|
|
2
|
+
export declare function toDayId(instant: Date): string;
|
|
3
|
+
/** Walk `days` calendar days from `dayId` — DST-safe, because `Date` does it. */
|
|
4
|
+
export declare function shiftDay(dayId: string, days: number): string;
|
|
5
|
+
/**
|
|
6
|
+
* The day, spelled out — the calendar half of a band's label.
|
|
7
|
+
*
|
|
8
|
+
* An empty list has to say WHICH period it is empty for; "no clips" with no
|
|
9
|
+
* date beside it is the ambiguity this surface exists to remove. `formatBandLabel`
|
|
10
|
+
* puts the times around it, and every state renders the result, not only the
|
|
11
|
+
* populated one.
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatDayLabel(dayId: string): string;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A camera's clip sources, grouped by the PROVIDER that answers them.
|
|
3
|
+
*
|
|
4
|
+
* `listClips` names one provider (`addonId`), and one addon may serve several
|
|
5
|
+
* of a camera's sources, so every picker and every lane is one entry per
|
|
6
|
+
* provider, labelled by the sources it serves. No source is named here: the
|
|
7
|
+
* rows are whatever `videoclips.listSources` returned for the camera (D549,
|
|
8
|
+
* D554). Shared by the clips section and the Archive review lanes so both
|
|
9
|
+
* spell the same control the same way.
|
|
10
|
+
*/
|
|
11
|
+
import type { Clip, ClipSource } from "@dominevo/types";
|
|
12
|
+
/** One provider a surface may ask for clips, and the sources it serves. */
|
|
13
|
+
export interface ClipProviderOption {
|
|
14
|
+
/** The `addonId` the query carries. */
|
|
15
|
+
readonly value: string;
|
|
16
|
+
/** The served sources' labels, joined. */
|
|
17
|
+
readonly label: string;
|
|
18
|
+
/** The rows it serves, in the order the camera listed them. */
|
|
19
|
+
readonly sources: readonly ClipSource[];
|
|
20
|
+
}
|
|
21
|
+
/** One option per provider; rows without an `addonId` (version skew) are skipped. */
|
|
22
|
+
export declare function clipProviderOptions(rows: readonly ClipSource[]): readonly ClipProviderOption[];
|
|
23
|
+
/**
|
|
24
|
+
* The provider a surface asks when the operator has not picked one: the
|
|
25
|
+
* `preferred` provider when the camera lists it, else the first one listed,
|
|
26
|
+
* else `null` (nobody to ask).
|
|
27
|
+
*/
|
|
28
|
+
export declare function defaultClipProvider(options: readonly ClipProviderOption[], preferred?: string): string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The clip that holds `atMs`, or — when none does — the nearest one starting
|
|
31
|
+
* within `toleranceMs` after it (an event fires a moment before its clip opens).
|
|
32
|
+
* `null` when the source holds nothing near that instant.
|
|
33
|
+
*/
|
|
34
|
+
export declare function clipAtInstant(clips: readonly Clip[], atMs: number, toleranceMs?: number): Clip | null;
|
|
35
|
+
/** A clip's place on a window, in percent; `null` when it lies outside. */
|
|
36
|
+
export interface ClipLaneSpan {
|
|
37
|
+
readonly clip: Clip;
|
|
38
|
+
readonly leftPct: number;
|
|
39
|
+
readonly widthPct: number;
|
|
40
|
+
}
|
|
41
|
+
/** Clamp each clip to the window and place it; clips outside are dropped. */
|
|
42
|
+
export declare function clipLaneSpans(clips: readonly Clip[], fromMs: number, toMs: number): readonly ClipLaneSpan[];
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a clip SOURCE is saying right now, in words an operator can act on.
|
|
3
|
+
*
|
|
4
|
+
* `ClipSourceAvailability.state` has five values and four of them used to
|
|
5
|
+
* render identically — as an empty list, which reads "this camera has no
|
|
6
|
+
* recordings". That is the defect the whole external-videoclips line exists to
|
|
7
|
+
* fix ([D549](../../../../../docs/decisions/adr-0549-an-external-clip-catalog-is-another-videoclips-provider-served-by-the-devices-owner-and-listed-beside-the-others.md)
|
|
8
|
+
* § 7b), measured on real cameras:
|
|
9
|
+
*
|
|
10
|
+
* - 640 has **no SD card** (`HddInfo mount 0`). It is not quiet; it stores
|
|
11
|
+
* nothing.
|
|
12
|
+
* - 618's own calendar marks 6–20 September present and its own index then
|
|
13
|
+
* lists **zero files** for those days, with 177 GB free. That is a defect
|
|
14
|
+
* ON THE CAMERA, and the only honest thing to say is which days were asked
|
|
15
|
+
* for and came back empty.
|
|
16
|
+
* - A standalone battery camera is **asleep**; a read would be a wake, so
|
|
17
|
+
* what you are looking at is a CACHE with an age.
|
|
18
|
+
* - `native:reolink:hub` is **unreachable** today because the library parser
|
|
19
|
+
* for the events view has not landed — so the degraded case is not
|
|
20
|
+
* hypothetical, it is what every hub child looks like right now.
|
|
21
|
+
*
|
|
22
|
+
* This module is the one place those five become words, kept pure so the
|
|
23
|
+
* distinctness can be pinned without a React tree (a rendering test that only
|
|
24
|
+
* checked colour would pass with all five saying "no clips").
|
|
25
|
+
*
|
|
26
|
+
* The provider's own `reason` travels VERBATIM. It is the camera's refusal in
|
|
27
|
+
* the camera's words; re-writing it here would lose the only detail that tells
|
|
28
|
+
* an operator whether to look at the card, the network or the firmware.
|
|
29
|
+
*/
|
|
30
|
+
import type { ClipSource } from "@dominevo/types";
|
|
31
|
+
import { type UiTextFn } from "../../contexts/ui-text.js";
|
|
32
|
+
/** How loudly a source's state should read. Never the whole message. */
|
|
33
|
+
export type ClipSourceTone = "ok" | "warn" | "error";
|
|
34
|
+
/** A source's state, rendered. */
|
|
35
|
+
export interface ClipSourceNotice {
|
|
36
|
+
/** The source's own id (`analytics`, `native:reolink:hub`, …). */
|
|
37
|
+
readonly source: string;
|
|
38
|
+
/** The operator-facing source name the provider gave it. */
|
|
39
|
+
readonly label: string;
|
|
40
|
+
/** One line, unique per state. Never "no clips". */
|
|
41
|
+
readonly headline: string;
|
|
42
|
+
/** The provider's reason, verbatim, or null when it gave none. */
|
|
43
|
+
readonly detail: string | null;
|
|
44
|
+
readonly tone: ClipSourceTone;
|
|
45
|
+
/**
|
|
46
|
+
* Did this source contribute rows to the list on screen?
|
|
47
|
+
*
|
|
48
|
+
* `sleeping` answers TRUE: a sleeping camera serves its persisted catalog
|
|
49
|
+
* (D549 decision 4), so its clips ARE in the list — only their age is
|
|
50
|
+
* different. The other three contribute nothing, and an empty day must name
|
|
51
|
+
* them as the reason rather than claim the camera was quiet.
|
|
52
|
+
*/
|
|
53
|
+
readonly answered: boolean;
|
|
54
|
+
}
|
|
55
|
+
/** Turn one source row into the line the picker and the list show. */
|
|
56
|
+
export declare function describeSource(source: ClipSource, t?: UiTextFn): ClipSourceNotice;
|
|
57
|
+
/**
|
|
58
|
+
* How old a source's catalog is, or null when it did not say.
|
|
59
|
+
*
|
|
60
|
+
* Null is NOT "now". A source that omits `catalogAsOf` was read live and has
|
|
61
|
+
* no age to show; inventing "just now" for a source that never told us would
|
|
62
|
+
* be the same lie as drawing a cached list as current (D549 decision 13).
|
|
63
|
+
*/
|
|
64
|
+
export declare function formatCatalogAge(catalogAsOf: number | undefined, now: number, t?: UiTextFn): string | null;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* When a tile comes back for a still the server said was queued — and when it
|
|
3
|
+
* gives up (D563).
|
|
4
|
+
*
|
|
5
|
+
* ## Why a retry, and not a queue or a push
|
|
6
|
+
*
|
|
7
|
+
* A deferred refusal is FREE. The provider's lane rejects past its capacity
|
|
8
|
+
* without touching the camera, so asking again costs one cheap HTTP round trip
|
|
9
|
+
* to the addon and zero Baichuan commands. That is what rules out the
|
|
10
|
+
* alternatives: a push would need a channel, a subscription and server-side
|
|
11
|
+
* fan-out of 60 tile identities to save requests that cost nothing, and a
|
|
12
|
+
* client-side queue would be a second copy of the authority that already lives
|
|
13
|
+
* where the camera's real constraint is. Scroll-into-view alone does not help
|
|
14
|
+
* either — the 43 tiles measured refusing on 592 are already on screen.
|
|
15
|
+
*
|
|
16
|
+
* ## The shape
|
|
17
|
+
*
|
|
18
|
+
* Exponential, jittered, bounded. Exponential because a fixed interval either
|
|
19
|
+
* hammers or dawdles; JITTERED because 43 tiles refused in the same paint
|
|
20
|
+
* would otherwise come back in the same instant and refuse together again;
|
|
21
|
+
* BOUNDED because a tile that asks for ever is the other way to show the
|
|
22
|
+
* operator nothing.
|
|
23
|
+
*
|
|
24
|
+
* The server's `retry-after` is taken only when it is LONGER than the curve.
|
|
25
|
+
* The curve is the floor, so a provider answering `retry-after: 1` for a whole
|
|
26
|
+
* page cannot turn this into 43 requests a second.
|
|
27
|
+
*
|
|
28
|
+
* Sized against the measurement: one page is 60 tiles and the provider serves
|
|
29
|
+
* one mint in flight per host, so the last tile is ~60 mints away. The budget
|
|
30
|
+
* below outlasts that; a shorter one would be theatre.
|
|
31
|
+
*/
|
|
32
|
+
/** How many times a tile comes back before it says so and stops. */
|
|
33
|
+
export declare const STILL_RETRY_ATTEMPTS = 4;
|
|
34
|
+
/** First wait, doubling from there. */
|
|
35
|
+
export declare const STILL_RETRY_BASE_MS = 4e3;
|
|
36
|
+
/** No single wait is longer than this, whatever the server hints. */
|
|
37
|
+
export declare const STILL_RETRY_MAX_WAIT_MS = 3e4;
|
|
38
|
+
export interface StillRetryInput {
|
|
39
|
+
/** 0 for the first retry, 1 for the second, … */
|
|
40
|
+
readonly attempt: number;
|
|
41
|
+
/** The server's `retry-after`, in ms, or `null` when it sent none. */
|
|
42
|
+
readonly serverHintMs: number | null;
|
|
43
|
+
/** Injected so the schedule is assertable; `Math.random` in production. */
|
|
44
|
+
readonly random: () => number;
|
|
45
|
+
}
|
|
46
|
+
export interface StillRetryPlan {
|
|
47
|
+
readonly waitMs: number;
|
|
48
|
+
}
|
|
49
|
+
/** The next wait, or `null` when the budget is spent. */
|
|
50
|
+
export declare function planStillRetry(input: StillRetryInput): StillRetryPlan | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type UiTextFn } from "../../contexts/ui-text.js";
|
|
2
|
+
import { type ClipTileMedia } from "./clip-tile-media.js";
|
|
3
|
+
/** The `fetch` this module uses — injected so the contract is testable. */
|
|
4
|
+
export type ThumbnailFetcher = (url: string, init: RequestInit) => Promise<Response>;
|
|
5
|
+
/** A minted still, or the reason there is none. */
|
|
6
|
+
export type MintedThumbnail = {
|
|
7
|
+
readonly kind: "image";
|
|
8
|
+
readonly blob: Blob;
|
|
9
|
+
} | ClipTileMedia;
|
|
10
|
+
/**
|
|
11
|
+
* Ask a mint route for one still.
|
|
12
|
+
*
|
|
13
|
+
* Never rejects: a thrown fetch is a refusal like any other, because a tile
|
|
14
|
+
* that throws is a tile that renders nothing and says nothing — the exact
|
|
15
|
+
* failure this module exists to prevent.
|
|
16
|
+
*/
|
|
17
|
+
export declare function fetchMintedThumbnail(url: string, fetcher: ThumbnailFetcher, t?: UiTextFn): Promise<MintedThumbnail>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a clip tile SHOWS — and why, when it shows nothing.
|
|
3
|
+
*
|
|
4
|
+
* Three mutually exclusive shapes arrive on a `Clip` (D549 decision 5):
|
|
5
|
+
*
|
|
6
|
+
* - `thumbnail` — VOUCHED. A JPEG is already on disk. Stamping this from a
|
|
7
|
+
* URL template once pointed 35 % of one camera's tiles at a 404, which is
|
|
8
|
+
* why it now means "confirmed", not "probably".
|
|
9
|
+
* - `thumbnailMint` — an OFFER. A route that MAY produce a still, asked only
|
|
10
|
+
* for rows actually on screen. It answers 200 with the image, or **204**
|
|
11
|
+
* with a refusal.
|
|
12
|
+
* - `thumbnailUnavailable.reason` — the provider already knows no mint can
|
|
13
|
+
* succeed now, so the tile draws the reason instead of firing a request.
|
|
14
|
+
*
|
|
15
|
+
* A clip that carries NONE of the three is its own case and says so. Falling
|
|
16
|
+
* through to an empty grey box is the "we did not look" ambiguity the whole
|
|
17
|
+
* vouching rule exists to remove, and a box is indistinguishable from a
|
|
18
|
+
* loading one.
|
|
19
|
+
*
|
|
20
|
+
* ## "Not yet" and "never" are two answers (D563)
|
|
21
|
+
*
|
|
22
|
+
* The 204 carries a CODE (`x-camstack-reason-code`), the camera's own PROSE
|
|
23
|
+
* (`x-camstack-reason`) and a DISPOSITION (`x-camstack-disposition`). Only the
|
|
24
|
+
* disposition decides whether the tile comes back — this file does not
|
|
25
|
+
* classify codes, because a client that pattern-matches a server's words
|
|
26
|
+
* drifts the first time a word changes, and it already had: the route sends
|
|
27
|
+
* `queue-full: 16 thumbnail mints already waiting for host …` while the table
|
|
28
|
+
* below was keyed by the bare token, so on the live hub EVERY refusal rendered
|
|
29
|
+
* as `Refused: <prose>` — measured on 592, 43 of the 60 tiles of one page.
|
|
30
|
+
*
|
|
31
|
+
* A missing or unrecognised disposition is FINAL. That is not a guess, it is
|
|
32
|
+
* the old behaviour: an addon built before D563 sends no such header and its
|
|
33
|
+
* tiles latch exactly as they used to, instead of gaining a retry loop nobody
|
|
34
|
+
* tested against that build.
|
|
35
|
+
*/
|
|
36
|
+
import type { Clip } from "@dominevo/types";
|
|
37
|
+
import { type UiTextFn } from "../../contexts/ui-text.js";
|
|
38
|
+
/** The five things a tile can be. */
|
|
39
|
+
export type ClipTileMedia = {
|
|
40
|
+
readonly kind: "vouched";
|
|
41
|
+
readonly url: string;
|
|
42
|
+
} | {
|
|
43
|
+
readonly kind: "mint";
|
|
44
|
+
readonly url: string;
|
|
45
|
+
} | {
|
|
46
|
+
readonly kind: "deferred";
|
|
47
|
+
readonly reason: string;
|
|
48
|
+
readonly text: string;
|
|
49
|
+
readonly retryAfterMs: number | null;
|
|
50
|
+
} | {
|
|
51
|
+
readonly kind: "unavailable";
|
|
52
|
+
readonly reason: string;
|
|
53
|
+
readonly text: string;
|
|
54
|
+
} | {
|
|
55
|
+
readonly kind: "none";
|
|
56
|
+
readonly text: string;
|
|
57
|
+
};
|
|
58
|
+
/** A 204, as its three headers arrived. `undefined` where a header was absent
|
|
59
|
+
* — which is a real case, not a defect: an addon older than D563 sends only
|
|
60
|
+
* the prose. */
|
|
61
|
+
export interface MintRefusalHeaders {
|
|
62
|
+
readonly code: string | undefined;
|
|
63
|
+
readonly reason: string;
|
|
64
|
+
readonly disposition: string | undefined;
|
|
65
|
+
readonly retryAfterMs?: number | null;
|
|
66
|
+
}
|
|
67
|
+
/** What to draw for one clip's tile. */
|
|
68
|
+
export declare function resolveTileMedia(clip: Clip, t?: UiTextFn): ClipTileMedia;
|
|
69
|
+
/**
|
|
70
|
+
* A 204, as something the tile can draw.
|
|
71
|
+
*
|
|
72
|
+
* `deferred` is the ONLY answer that comes back, and only because the server
|
|
73
|
+
* said so. Everything else — an unknown disposition, an absent one, a code
|
|
74
|
+
* this build has never heard of — is final, so the failure mode of a
|
|
75
|
+
* vocabulary that moves is a tile that stops early, never one that asks for
|
|
76
|
+
* ever.
|
|
77
|
+
*/
|
|
78
|
+
export declare function describeRefusal(headers: MintRefusalHeaders, t?: UiTextFn): ClipTileMedia;
|