@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,121 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
3
|
+
/**
|
|
4
|
+
* @license lucide-react v0.576.0 - ISC
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the ISC license.
|
|
7
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
10
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
11
|
+
}).join(" ").trim();
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js
|
|
14
|
+
/**
|
|
15
|
+
* @license lucide-react v0.576.0 - ISC
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the ISC license.
|
|
18
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js
|
|
23
|
+
/**
|
|
24
|
+
* @license lucide-react v0.576.0 - ISC
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the ISC license.
|
|
27
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/
|
|
29
|
+
var toCamelCase = (string) => string.replace(/^([A-Z])|[\s-_]+(\w)/g, (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase());
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js
|
|
32
|
+
/**
|
|
33
|
+
* @license lucide-react v0.576.0 - ISC
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the ISC license.
|
|
36
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
38
|
+
var toPascalCase = (string) => {
|
|
39
|
+
const camelCase = toCamelCase(string);
|
|
40
|
+
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region ../../node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
44
|
+
/**
|
|
45
|
+
* @license lucide-react v0.576.0 - ISC
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the ISC license.
|
|
48
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
49
|
+
*/
|
|
50
|
+
var defaultAttributes = {
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
52
|
+
width: 24,
|
|
53
|
+
height: 24,
|
|
54
|
+
viewBox: "0 0 24 24",
|
|
55
|
+
fill: "none",
|
|
56
|
+
stroke: "currentColor",
|
|
57
|
+
strokeWidth: 2,
|
|
58
|
+
strokeLinecap: "round",
|
|
59
|
+
strokeLinejoin: "round"
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js
|
|
63
|
+
/**
|
|
64
|
+
* @license lucide-react v0.576.0 - ISC
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the ISC license.
|
|
67
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
+
*/
|
|
69
|
+
var hasA11yProp = (props) => {
|
|
70
|
+
for (const prop in props) if (prop.startsWith("aria-") || prop === "role" || prop === "title") return true;
|
|
71
|
+
return false;
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region ../../node_modules/lucide-react/dist/esm/Icon.js
|
|
75
|
+
/**
|
|
76
|
+
* @license lucide-react v0.576.0 - ISC
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the ISC license.
|
|
79
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/
|
|
81
|
+
var Icon = forwardRef(({ color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref) => createElement("svg", {
|
|
82
|
+
ref,
|
|
83
|
+
...defaultAttributes,
|
|
84
|
+
width: size,
|
|
85
|
+
height: size,
|
|
86
|
+
stroke: color,
|
|
87
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
88
|
+
className: mergeClasses("lucide", className),
|
|
89
|
+
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
90
|
+
...rest
|
|
91
|
+
}, [...iconNode.map(([tag, attrs]) => createElement(tag, attrs)), ...Array.isArray(children) ? children : [children]]));
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
94
|
+
/**
|
|
95
|
+
* @license lucide-react v0.576.0 - ISC
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the ISC license.
|
|
98
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/
|
|
100
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
101
|
+
const Component = forwardRef(({ className, ...props }, ref) => createElement(Icon, {
|
|
102
|
+
ref,
|
|
103
|
+
iconNode,
|
|
104
|
+
className: mergeClasses(`lucide-${toKebabCase(toPascalCase(iconName))}`, `lucide-${iconName}`, className),
|
|
105
|
+
...props
|
|
106
|
+
}));
|
|
107
|
+
Component.displayName = toPascalCase(iconName);
|
|
108
|
+
return Component;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @license lucide-react v0.576.0 - ISC
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the ISC license.
|
|
114
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
+
*/
|
|
116
|
+
var ChevronDown = createLucideIcon("chevron-down", [["path", {
|
|
117
|
+
d: "m6 9 6 6 6-6",
|
|
118
|
+
key: "qrunsl"
|
|
119
|
+
}]]);
|
|
120
|
+
//#endregion
|
|
121
|
+
export { createLucideIcon as n, ChevronDown as t };
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
let react = require("react");
|
|
2
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
3
|
+
/**
|
|
4
|
+
* @license lucide-react v0.576.0 - ISC
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the ISC license.
|
|
7
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
10
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
11
|
+
}).join(" ").trim();
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js
|
|
14
|
+
/**
|
|
15
|
+
* @license lucide-react v0.576.0 - ISC
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the ISC license.
|
|
18
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js
|
|
23
|
+
/**
|
|
24
|
+
* @license lucide-react v0.576.0 - ISC
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the ISC license.
|
|
27
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/
|
|
29
|
+
var toCamelCase = (string) => string.replace(/^([A-Z])|[\s-_]+(\w)/g, (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase());
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js
|
|
32
|
+
/**
|
|
33
|
+
* @license lucide-react v0.576.0 - ISC
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the ISC license.
|
|
36
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
38
|
+
var toPascalCase = (string) => {
|
|
39
|
+
const camelCase = toCamelCase(string);
|
|
40
|
+
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region ../../node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
44
|
+
/**
|
|
45
|
+
* @license lucide-react v0.576.0 - ISC
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the ISC license.
|
|
48
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
49
|
+
*/
|
|
50
|
+
var defaultAttributes = {
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
52
|
+
width: 24,
|
|
53
|
+
height: 24,
|
|
54
|
+
viewBox: "0 0 24 24",
|
|
55
|
+
fill: "none",
|
|
56
|
+
stroke: "currentColor",
|
|
57
|
+
strokeWidth: 2,
|
|
58
|
+
strokeLinecap: "round",
|
|
59
|
+
strokeLinejoin: "round"
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js
|
|
63
|
+
/**
|
|
64
|
+
* @license lucide-react v0.576.0 - ISC
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the ISC license.
|
|
67
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
+
*/
|
|
69
|
+
var hasA11yProp = (props) => {
|
|
70
|
+
for (const prop in props) if (prop.startsWith("aria-") || prop === "role" || prop === "title") return true;
|
|
71
|
+
return false;
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region ../../node_modules/lucide-react/dist/esm/Icon.js
|
|
75
|
+
/**
|
|
76
|
+
* @license lucide-react v0.576.0 - ISC
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the ISC license.
|
|
79
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/
|
|
81
|
+
var Icon = (0, react.forwardRef)(({ color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref) => (0, react.createElement)("svg", {
|
|
82
|
+
ref,
|
|
83
|
+
...defaultAttributes,
|
|
84
|
+
width: size,
|
|
85
|
+
height: size,
|
|
86
|
+
stroke: color,
|
|
87
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
88
|
+
className: mergeClasses("lucide", className),
|
|
89
|
+
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
90
|
+
...rest
|
|
91
|
+
}, [...iconNode.map(([tag, attrs]) => (0, react.createElement)(tag, attrs)), ...Array.isArray(children) ? children : [children]]));
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
94
|
+
/**
|
|
95
|
+
* @license lucide-react v0.576.0 - ISC
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the ISC license.
|
|
98
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/
|
|
100
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
101
|
+
const Component = (0, react.forwardRef)(({ className, ...props }, ref) => (0, react.createElement)(Icon, {
|
|
102
|
+
ref,
|
|
103
|
+
iconNode,
|
|
104
|
+
className: mergeClasses(`lucide-${toKebabCase(toPascalCase(iconName))}`, `lucide-${iconName}`, className),
|
|
105
|
+
...props
|
|
106
|
+
}));
|
|
107
|
+
Component.displayName = toPascalCase(iconName);
|
|
108
|
+
return Component;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @license lucide-react v0.576.0 - ISC
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the ISC license.
|
|
114
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
+
*/
|
|
116
|
+
var ChevronDown = createLucideIcon("chevron-down", [["path", {
|
|
117
|
+
d: "m6 9 6 6 6-6",
|
|
118
|
+
key: "qrunsl"
|
|
119
|
+
}]]);
|
|
120
|
+
//#endregion
|
|
121
|
+
Object.defineProperty(exports, "ChevronDown", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function() {
|
|
124
|
+
return ChevronDown;
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "createLucideIcon", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function() {
|
|
130
|
+
return createLucideIcon;
|
|
131
|
+
}
|
|
132
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DeviceRunsPanel — the runs of an appliance, newest first, on the device's
|
|
3
|
+
* History tab: start, end, duration, energy, peak and mean power, outcome.
|
|
4
|
+
* A row opens the run's window (the run plus a margin) in the history view.
|
|
5
|
+
*
|
|
6
|
+
* Presentational: the caller reads the runs (`useDeviceRuns`) and decides
|
|
7
|
+
* whether the device has any — the panel never answers "no runs" itself, an
|
|
8
|
+
* unanswered query is not an empty one (D315). A measurement that failed is
|
|
9
|
+
* `—`, never `0` (D393).
|
|
10
|
+
*/
|
|
11
|
+
import { type JSX } from "react";
|
|
12
|
+
import type { DeviceRun } from "@dominevo/types";
|
|
13
|
+
import type { HistoryWindow } from "./device-history/history-window";
|
|
14
|
+
export interface DeviceRunsPanelProps {
|
|
15
|
+
/** Runs as the cap returned them (newest first); never an unanswered query. */
|
|
16
|
+
readonly runs: readonly DeviceRun[];
|
|
17
|
+
/** The instant an open run counts up to. */
|
|
18
|
+
readonly now: number;
|
|
19
|
+
/** A row was chosen: show this window. */
|
|
20
|
+
readonly onSelectWindow: (window: HistoryWindow) => void;
|
|
21
|
+
readonly className?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function DeviceRunsPanel({ runs, now, onSelectWindow, className }: DeviceRunsPanelProps): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ONE name of an inference accelerator, everywhere it is shown: the step
|
|
3
|
+
* matrix's column headers, the load-balancing rows, the camera assignments
|
|
4
|
+
* table, Model Studio's device chips. Four pages had drifted into four
|
|
5
|
+
* spellings of the same device — the Mac mini's Neural Engine read "Coreml All"
|
|
6
|
+
* in the step matrix and "Apple ANE" on Load balancing.
|
|
7
|
+
*/
|
|
8
|
+
/** What naming needs from a device row (`NodeInferenceDevice` satisfies it). */
|
|
9
|
+
export interface AcceleratorIdentity {
|
|
10
|
+
readonly key: string;
|
|
11
|
+
readonly backend: string;
|
|
12
|
+
readonly device: string;
|
|
13
|
+
}
|
|
14
|
+
/** "Intel NPU", "Apple Neural Engine", "Coral Edge TPU", "CPU" — Auto tune's names too. */
|
|
15
|
+
export declare function acceleratorLabel(device: AcceleratorIdentity): string;
|
|
16
|
+
/** "NPU", "ANE", "Coral", "CPU" — chips and tabs. */
|
|
17
|
+
export declare function acceleratorShortLabel(device: AcceleratorIdentity): string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ConfigAccountSignInField } from "@dominevo/types";
|
|
2
|
+
import { type ReactElement } from "react";
|
|
3
|
+
export declare function AccountSignInField({ field, values, disabled, onAction, onChangeMany }: {
|
|
4
|
+
readonly field: ConfigAccountSignInField;
|
|
5
|
+
readonly values: Record<string, unknown>;
|
|
6
|
+
readonly disabled?: boolean;
|
|
7
|
+
readonly onAction?: (action: string, key: string, value?: unknown) => Promise<unknown>;
|
|
8
|
+
readonly onChangeMany?: (patch: Record<string, unknown>) => void;
|
|
9
|
+
}): ReactElement;
|
|
10
|
+
export declare function SecretPresenceField({ field, values }: {
|
|
11
|
+
readonly field: {
|
|
12
|
+
readonly sourceKey: string;
|
|
13
|
+
readonly yesLabel: string;
|
|
14
|
+
readonly noLabel: string;
|
|
15
|
+
};
|
|
16
|
+
readonly values: Record<string, unknown>;
|
|
17
|
+
}): ReactElement;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Burst-download the hub's `/adaptive-probe` blob and return Mbps.
|
|
3
|
+
* Used as `hints.downlinkMbps` so adaptive selection is based on a measured
|
|
4
|
+
* path, not viewport size or IP class. Failures return null (caller keeps
|
|
5
|
+
* the default-low / ceiling path and may stay on the lowest rung).
|
|
6
|
+
*
|
|
7
|
+
* D635 (2026-09-25): the probe used to time a 128 KiB blob from the REQUEST,
|
|
8
|
+
* fired in parallel with `createSession` on a hub at ~80 % CPU. It read the
|
|
9
|
+
* LAN as 1.2–1.46 Mbps — the elapsed time was mostly waiting for the first
|
|
10
|
+
* byte, i.e. latency. It now (1) times the body from its FIRST byte, (2) reads
|
|
11
|
+
* a 1 MiB blob so the transfer dominates timer jitter, and (3) runs after the
|
|
12
|
+
* session's first decoded frame, never during session setup.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ADAPTIVE_PROBE_PATH = "/adaptive-probe";
|
|
15
|
+
/**
|
|
16
|
+
* Whole-probe deadline, from the request. A probe cut here is still a
|
|
17
|
+
* measurement of whatever body arrived (see {@link measureDownlinkMbps}).
|
|
18
|
+
*/
|
|
19
|
+
export declare const ADAPTIVE_PROBE_TIMEOUT_MS = 2500;
|
|
20
|
+
/**
|
|
21
|
+
* Fewest body bytes AFTER the first chunk that make a rate. 64 KiB: at the
|
|
22
|
+
* `high` threshold (8 Mbps) that is 65 ms of transfer — four times a 16 ms
|
|
23
|
+
* WebView timer tick. Less is a guess, and a guess is unknown, not slow.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ADAPTIVE_PROBE_MIN_MEASURED_BYTES: number;
|
|
26
|
+
/** How long the probe waits for the session's first decoded frame. */
|
|
27
|
+
export declare const FIRST_FRAME_PROBE_TIMEOUT_MS = 15e3;
|
|
28
|
+
export type AdaptiveTier = "high" | "mid" | "low";
|
|
29
|
+
/** Mbps needed to attempt each rung (bitrate / 0.6 headroom, rounded). */
|
|
30
|
+
export declare const DOWNLINK_HIGH_MBPS = 8;
|
|
31
|
+
export declare const DOWNLINK_MID_MBPS = 2.5;
|
|
32
|
+
/** Map a measured downlink onto the adaptive ladder. Mid is a real rung. */
|
|
33
|
+
export declare function suggestedAdaptiveTier(mbps: number): AdaptiveTier;
|
|
34
|
+
/** First connect never carries a cached probe — the broker starts lowest. */
|
|
35
|
+
export declare function stripDownlinkForColdStart<T extends {
|
|
36
|
+
readonly downlinkMbps?: number;
|
|
37
|
+
}>(hints: T): Omit<T, "downlinkMbps">;
|
|
38
|
+
/** After a probe, only mid/high justify a make-before-break climb. */
|
|
39
|
+
export declare function shouldUpgradeAfterProbe(mbps: number): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The origin `/adaptive-probe` must be fetched from — the HUB, not the page.
|
|
42
|
+
*
|
|
43
|
+
* The page origin was the original assumption ("same-origin as the player",
|
|
44
|
+
* `adaptive-probe.routes.ts`) and it is only true for the web viewer and the
|
|
45
|
+
* iframe embed, both served by the hub. The NATIVE viewer loads this same
|
|
46
|
+
* player from an asset bundled with the app (`useNativeEmbedSource` resolves
|
|
47
|
+
* `assets/embed/camstack-embed.html` through `Image.resolveAssetSource`), so
|
|
48
|
+
* inside the WKWebView `window.location.origin` is `file://` — and
|
|
49
|
+
* `file:///adaptive-probe` is not a request any hub can answer. The probe
|
|
50
|
+
* therefore returned null on EVERY native connect, `downlinkMbps` was never
|
|
51
|
+
* sent, `pickAdaptiveTier` scored every session `default-low`, and
|
|
52
|
+
* `shouldUpgradeAfterProbe` was never even reached — so the make-before-break
|
|
53
|
+
* climb that the cold-start default depends on could not run. That is the
|
|
54
|
+
* whole of "the automatic quality always drops to low" on the app.
|
|
55
|
+
*
|
|
56
|
+
* The hub the player is already talking to is the `serverUrl` prop, so it
|
|
57
|
+
* wins; the page origin remains as the fallback for a host that passes a
|
|
58
|
+
* relative/empty `serverUrl`. Null means no probe is possible and the caller
|
|
59
|
+
* must skip it rather than fetch a URL that cannot exist.
|
|
60
|
+
*/
|
|
61
|
+
export declare function resolveProbeOrigin(serverUrl: string | undefined, pageOrigin: string | undefined): string | null;
|
|
62
|
+
/** Which offer composed the hints. A climb and a cold start read identically
|
|
63
|
+
* in the hub's log; only the client knows which one it just sent. */
|
|
64
|
+
export type AdaptiveOfferPhase = "cold-start" | "probe-climb" | "renegotiate" | "probe-refused" | "probe-in-session";
|
|
65
|
+
/**
|
|
66
|
+
* What the CLIENT sent for one adaptive decision. Deliberately not the hub's
|
|
67
|
+
* verdict — the hub already logs its own pick, and a client line that repeated
|
|
68
|
+
* it would prove nothing about the client. This is the other half of that
|
|
69
|
+
* join: the inputs the hub scored, plus whether the downlink probe had an
|
|
70
|
+
* origin it could even reach.
|
|
71
|
+
*/
|
|
72
|
+
export interface AdaptiveHintsReport {
|
|
73
|
+
readonly phase: AdaptiveOfferPhase;
|
|
74
|
+
/** Null when no http(s) origin resolved — the probe did not run at all. */
|
|
75
|
+
readonly probeOrigin: string | null;
|
|
76
|
+
readonly viewportWidth?: number;
|
|
77
|
+
readonly viewportHeight?: number;
|
|
78
|
+
readonly devicePixelRatio?: number;
|
|
79
|
+
readonly downlinkMbps?: number;
|
|
80
|
+
readonly prefersTier?: string;
|
|
81
|
+
/** For `probe-refused`: the HTTP status the hub answered the probe with (401/429…). */
|
|
82
|
+
readonly probeStatus?: number;
|
|
83
|
+
/** For `probe-in-session`: what the hub did with it — `outcome:tier:reason`. */
|
|
84
|
+
readonly probeAnswer?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Identity of a decision, for "log once per CHANGE, not per tick".
|
|
88
|
+
*
|
|
89
|
+
* `downlinkMbps` is a fresh measurement on every probe and would otherwise
|
|
90
|
+
* make every offer look like a new decision. What the ladder actually consumes
|
|
91
|
+
* is the RUNG it maps to (`suggestedAdaptiveTier`), so two measurements that
|
|
92
|
+
* pick the same rung are the same decision and must collapse to one line.
|
|
93
|
+
*/
|
|
94
|
+
export declare function adaptiveHintsKey(report: AdaptiveHintsReport): string;
|
|
95
|
+
/** The slice of a body reader the probe uses (a `ReadableStreamDefaultReader` fits). */
|
|
96
|
+
export interface ProbeBodyReader {
|
|
97
|
+
read(): Promise<{
|
|
98
|
+
readonly done: boolean;
|
|
99
|
+
readonly value?: Uint8Array;
|
|
100
|
+
}>;
|
|
101
|
+
cancel(): Promise<void>;
|
|
102
|
+
}
|
|
103
|
+
/** The slice of a fetch `Response` the probe uses. */
|
|
104
|
+
export interface ProbeResponse {
|
|
105
|
+
readonly ok: boolean;
|
|
106
|
+
readonly status?: number;
|
|
107
|
+
readonly body?: {
|
|
108
|
+
getReader(): ProbeBodyReader;
|
|
109
|
+
} | null;
|
|
110
|
+
arrayBuffer(): Promise<ArrayBuffer>;
|
|
111
|
+
}
|
|
112
|
+
export interface DownlinkProbeDeps {
|
|
113
|
+
readonly fetchImpl: (url: string, init: {
|
|
114
|
+
signal: AbortSignal;
|
|
115
|
+
}) => Promise<ProbeResponse>;
|
|
116
|
+
readonly now: () => number;
|
|
117
|
+
/**
|
|
118
|
+
* The hub answered but refused (401 without a session, 429 rate-limited).
|
|
119
|
+
* The reading is still unknown — but a missing token must not be silent,
|
|
120
|
+
* or it is indistinguishable from a failed probe (review N3, D391).
|
|
121
|
+
*/
|
|
122
|
+
readonly onRefused?: (status: number) => void;
|
|
123
|
+
}
|
|
124
|
+
export declare function measureDownlinkMbps(origin: string, deps: DownlinkProbeDeps): Promise<number | null>;
|
|
125
|
+
export type FirstFrameOutcome = "frame" | "timeout" | "aborted";
|
|
126
|
+
export interface FirstFrameDeps {
|
|
127
|
+
/** The live video element's `readyState`, or null when there is none yet. */
|
|
128
|
+
readonly readyState: () => number | null;
|
|
129
|
+
readonly signal: AbortSignal;
|
|
130
|
+
readonly sleep: (ms: number) => Promise<void>;
|
|
131
|
+
readonly now: () => number;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Resolve once the session presents its first decoded frame — the moment
|
|
135
|
+
* session setup (createSession, ICE, DTLS, the first IDR) is over and a probe
|
|
136
|
+
* no longer competes with it for the hub or the link.
|
|
137
|
+
*/
|
|
138
|
+
export declare function waitForFirstFrame(deps: FirstFrameDeps, timeoutMs?: number): Promise<FirstFrameOutcome>;
|
|
139
|
+
/**
|
|
140
|
+
* The cold-start probe: measure only once the first frame is up. No frame ⇒
|
|
141
|
+
* no measurement (undefined) — the session is failing for a reason a probe
|
|
142
|
+
* cannot fix, and a climb would only add a second connection to it.
|
|
143
|
+
*/
|
|
144
|
+
export interface ProbeAfterFirstFrameDeps {
|
|
145
|
+
readonly waitFrame: () => Promise<FirstFrameOutcome>;
|
|
146
|
+
readonly measure: () => Promise<number | undefined>;
|
|
147
|
+
}
|
|
148
|
+
export declare function probeAfterFirstFrame(deps: ProbeAfterFirstFrameDeps): Promise<number | undefined>;
|
|
149
|
+
/** The latest probe for an origin, whatever it read or how old it is. */
|
|
150
|
+
export interface LatestProbe {
|
|
151
|
+
readonly mbps: number;
|
|
152
|
+
readonly ageMs: number;
|
|
153
|
+
}
|
|
154
|
+
export interface DownlinkProbeStoreDeps {
|
|
155
|
+
readonly now: () => number;
|
|
156
|
+
/** How long a reading answers `measured`/`cached` without re-probing. */
|
|
157
|
+
readonly ttlMs: number;
|
|
158
|
+
}
|
|
159
|
+
export interface DownlinkProbeStore {
|
|
160
|
+
/**
|
|
161
|
+
* The cached reading while fresh, else ONE probe for the origin — concurrent
|
|
162
|
+
* callers share the probe in flight (review I6: a grid decoding together
|
|
163
|
+
* fired N 1 MiB probes, each reading the link ÷ N). Undefined = unknown.
|
|
164
|
+
*/
|
|
165
|
+
measured(origin: string, measure: () => Promise<number | null>): Promise<number | undefined>;
|
|
166
|
+
/** The cached reading while fresh — never probes (review I5: renegotiation). */
|
|
167
|
+
cached(origin: string): number | undefined;
|
|
168
|
+
/** The newest reading whatever its age — what the telemetry reports (I4). */
|
|
169
|
+
latest(origin: string): LatestProbe | null;
|
|
170
|
+
/** True the FIRST time `origin` refuses with `status` in this app — say it once. */
|
|
171
|
+
firstRefusal(origin: string, status: number): boolean;
|
|
172
|
+
}
|
|
173
|
+
/** App-wide probe cache + single-flight, one per origin. */
|
|
174
|
+
export declare function createDownlinkProbe(deps: DownlinkProbeStoreDeps): DownlinkProbeStore;
|
|
175
|
+
/** The hub's answer to one session's probe — `webrtcSession.applyDownlinkProbe` (D733). */
|
|
176
|
+
export interface DownlinkProbeAnswer {
|
|
177
|
+
readonly outcome: "switching" | "held";
|
|
178
|
+
readonly tier: string | null;
|
|
179
|
+
readonly reason: string;
|
|
180
|
+
}
|
|
181
|
+
/** Host wiring for `webrtcSession.applyDownlinkProbe`, bound to the device. */
|
|
182
|
+
export type ApplyDownlinkProbe = (sessionId: string, downlinkMbps: number) => Promise<DownlinkProbeAnswer>;
|
|
183
|
+
/** What became of handing a probe to its session. */
|
|
184
|
+
export type ProbeHandoff = {
|
|
185
|
+
readonly kind: "answered";
|
|
186
|
+
readonly answer: DownlinkProbeAnswer;
|
|
187
|
+
} | {
|
|
188
|
+
readonly kind: "unsupported";
|
|
189
|
+
readonly why: "no-wiring" | "no-session" | "call-failed";
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Hand a probe to the session it was measured on (D733).
|
|
193
|
+
*
|
|
194
|
+
* The probe climb used to be a SECOND session: a make-before-break reconnect
|
|
195
|
+
* carrying `downlinkMbps`, so every adaptive live open cost two sessions. The
|
|
196
|
+
* hub now moves the open session to the probed rung itself. `answered` means
|
|
197
|
+
* the hub owns the climb, WHATEVER it answered — `held` included: a reconnect
|
|
198
|
+
* after a `held` would buy the second session for a rung the hub just refused.
|
|
199
|
+
* Only `unsupported` (no host wiring, no session id yet, or a hub that does not
|
|
200
|
+
* know the method) leaves the caller its legacy reconnect climb.
|
|
201
|
+
*/
|
|
202
|
+
export declare function handProbeToSession(apply: ApplyDownlinkProbe | undefined, sessionId: string | null, downlinkMbps: number): Promise<ProbeHandoff>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standard props for addon page components.
|
|
3
|
+
*
|
|
4
|
+
* Every addon page receives these props from the AddonPageLoader in admin-ui.
|
|
5
|
+
* Use this type for your page's default export:
|
|
6
|
+
*
|
|
7
|
+
* ```tsx
|
|
8
|
+
* import type { AddonPageProps } from '@dominevo/ui'
|
|
9
|
+
* import { trpc } from '@dominevo/ui-library'
|
|
10
|
+
*
|
|
11
|
+
* export default function MyAddonPage({ theme }: AddonPageProps) {
|
|
12
|
+
* // Typed React-Query hooks via the shared proxy.
|
|
13
|
+
* const { data } = trpc.system.health.useQuery()
|
|
14
|
+
* return <pre>{JSON.stringify(data)}</pre>
|
|
15
|
+
* }
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* The `trpc` prop is the vanilla SDK client (BackendClient.trpc) and
|
|
19
|
+
* remains available for non-React contexts. Inside React components
|
|
20
|
+
* prefer the typed `trpc.X.useQuery / useMutation / useSubscription`
|
|
21
|
+
* hooks imported from `@dominevo/ui-library` — they share the same
|
|
22
|
+
* QueryClient + WS client as the host admin-ui and therefore play nice
|
|
23
|
+
* with cache invalidation, suspense, and the rest of React Query.
|
|
24
|
+
*/
|
|
25
|
+
import type { TRPCClient } from "@trpc/client";
|
|
26
|
+
import type { AppRouter } from "@dominevo/types";
|
|
27
|
+
export interface AddonPageProps {
|
|
28
|
+
/**
|
|
29
|
+
* Vanilla tRPC client — fully typed access for non-React call sites.
|
|
30
|
+
*
|
|
31
|
+
* It is a tree of Proxies over FUNCTION targets: every level answers
|
|
32
|
+
* `typeof x === 'function'`, and `'query' in x` is always `false`. A page
|
|
33
|
+
* that validates it at runtime checks that the leaf it calls is callable
|
|
34
|
+
* (`typeof … === 'function'`) and names the missing path on failure — an
|
|
35
|
+
* `typeof x === 'object'` / `in` check refuses the real client.
|
|
36
|
+
*/
|
|
37
|
+
readonly trpc: TRPCClient<AppRouter>;
|
|
38
|
+
/** Current theme state */
|
|
39
|
+
readonly theme: {
|
|
40
|
+
readonly isDark: boolean;
|
|
41
|
+
};
|
|
42
|
+
/** Navigate to a route within the admin UI */
|
|
43
|
+
readonly navigate: (path: string) => void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
import { type ConfigUISchemaWithValues, type ScopedSettingsScope } from "@dominevo/types";
|
|
3
|
+
interface AddonScopedSettingsFormTrpc {
|
|
4
|
+
addonSettings: {
|
|
5
|
+
getScopedSettings: {
|
|
6
|
+
query: (input: {
|
|
7
|
+
addonId: string;
|
|
8
|
+
cap: string;
|
|
9
|
+
scope: ScopedSettingsScope;
|
|
10
|
+
nodeId?: string;
|
|
11
|
+
}) => Promise<ConfigUISchemaWithValues | null>;
|
|
12
|
+
};
|
|
13
|
+
updateScopedSettings: {
|
|
14
|
+
mutate: (input: {
|
|
15
|
+
addonId: string;
|
|
16
|
+
cap: string;
|
|
17
|
+
scope: ScopedSettingsScope;
|
|
18
|
+
nodeId?: string;
|
|
19
|
+
patch: Record<string, unknown>;
|
|
20
|
+
}) => Promise<unknown>;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
interface AddonScopedSettingsFormProps {
|
|
25
|
+
readonly trpc: AddonScopedSettingsFormTrpc;
|
|
26
|
+
readonly addonId: string;
|
|
27
|
+
/** The capability whose settings of `scope` this form edits. */
|
|
28
|
+
readonly cap: string;
|
|
29
|
+
readonly scope: ScopedSettingsScope;
|
|
30
|
+
/** The `node` scope's node; absent for `cluster` / `device`. */
|
|
31
|
+
readonly nodeId?: string;
|
|
32
|
+
readonly title?: string;
|
|
33
|
+
/** Shown instead of the default "{{name}} not available." when the addon answers nothing. */
|
|
34
|
+
readonly unavailableText?: string;
|
|
35
|
+
readonly disabled?: boolean;
|
|
36
|
+
readonly onAfterChange?: () => void;
|
|
37
|
+
/** Bump to force refetch (e.g. after an external mutation). */
|
|
38
|
+
readonly refreshToken?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Render only these section ids of the scope's schema (e.g. System → Cluster
|
|
41
|
+
* draws the `system-config` cluster section alone). Absent → every section.
|
|
42
|
+
*/
|
|
43
|
+
readonly sectionIds?: readonly string[];
|
|
44
|
+
/**
|
|
45
|
+
* Fields only — no form card, section border or section title. Use when the
|
|
46
|
+
* parent already owns the layout (e.g. a page that frames the form itself).
|
|
47
|
+
*/
|
|
48
|
+
readonly bare?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Render as collapsible. When true, the form body is hidden until
|
|
51
|
+
* the operator expands the header (click). Defaults to open so
|
|
52
|
+
* callers that always want the form visible don't have to opt out.
|
|
53
|
+
*/
|
|
54
|
+
readonly collapsible?: boolean;
|
|
55
|
+
/** When `collapsible`, start expanded (true) or collapsed (false). Defaults to false. */
|
|
56
|
+
readonly defaultOpen?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export declare function AddonScopedSettingsForm({ trpc, addonId, cap, scope, nodeId, title, unavailableText, disabled, onAfterChange, refreshToken, sectionIds, bare, collapsible, defaultOpen }: AddonScopedSettingsFormProps): JSX.Element | null;
|
|
59
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
import { type ConfigField, type DeviceStepConfig, type PipelineAddonSchema } from "@dominevo/types";
|
|
3
|
+
import { type RootModelInfo } from "./root-model-source";
|
|
4
|
+
/**
|
|
5
|
+
* A step's node-local fields: the catalog schema minus the knobs the CLUSTER
|
|
6
|
+
* owns (`clusterStepSettingFieldsFor`). Those still exist on the schema so the
|
|
7
|
+
* runner can hydrate `child.settings`, but writing them per node or per camera
|
|
8
|
+
* would be a second store the overlay silently ignores.
|
|
9
|
+
*/
|
|
10
|
+
export declare function stepLocalFields(addon: PipelineAddonSchema): readonly ConfigField[];
|
|
11
|
+
/**
|
|
12
|
+
* The model a step's settings are read and written for — what a model-bound
|
|
13
|
+
* field (D738) binds to. While the ROOT supplies the step's fine label (D741),
|
|
14
|
+
* that is the root model: the step's threshold then gates the root's label, on
|
|
15
|
+
* the root's score scale. Otherwise the step's own model: its pin, else the
|
|
16
|
+
* model the row really runs (`effectiveModelId` — the device's hardware-aware
|
|
17
|
+
* default when unpinned), else the step's flat catalog default.
|
|
18
|
+
*/
|
|
19
|
+
export declare function settingsModelIdFor(addon: PipelineAddonSchema, modelId: string | undefined, settings: Readonly<Record<string, unknown>> | undefined, rootModel: RootModelInfo | undefined): string;
|
|
20
|
+
/**
|
|
21
|
+
* Shown in place of the model picker while the root model supplies the step:
|
|
22
|
+
* the step's own model is kept, not changed, for when the root cannot.
|
|
23
|
+
*/
|
|
24
|
+
export declare function RootSuppliedModelNote({ rootModel, stepModelId }: {
|
|
25
|
+
readonly rootModel: RootModelInfo;
|
|
26
|
+
readonly stepModelId: string | undefined;
|
|
27
|
+
}): JSX.Element | null;
|
|
28
|
+
export interface AgentStepEditorProps {
|
|
29
|
+
readonly addon: PipelineAddonSchema;
|
|
30
|
+
/** The accelerator's step config — the controlled value (D927: the model's own place). */
|
|
31
|
+
readonly agentDefault: DeviceStepConfig;
|
|
32
|
+
readonly onChangeAgentConfig?: (next: DeviceStepConfig) => void;
|
|
33
|
+
readonly engineFormat: string;
|
|
34
|
+
/**
|
|
35
|
+
* The model this step would ACTUALLY run when nothing is explicitly pinned —
|
|
36
|
+
* the tail of the effective-model chain (detector row: device.defaultModelId;
|
|
37
|
+
* else the step's catalog format-default). Used ONLY as the picker's DISPLAY
|
|
38
|
+
* seed so an un-pinned row pre-selects the model it runs — it is NEVER
|
|
39
|
+
* written into the draft, so opening + saving an un-pinned row still leaves
|
|
40
|
+
* it inheriting.
|
|
41
|
+
*/
|
|
42
|
+
readonly effectiveModelId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ROOT detection model this accelerator runs (D730). When it can supply
|
|
45
|
+
* the edited step, the editor offers "Use the root model"; absent ⇒ no offer.
|
|
46
|
+
*/
|
|
47
|
+
readonly rootModel?: RootModelInfo;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* AgentStepEditor — one step on ONE accelerator: its model and its settings,
|
|
51
|
+
* as a single node-level layer. Model Studio's "settings for this installed
|
|
52
|
+
* model" dialog uses it. The pipeline pages use the step matrix's panel, which lays
|
|
53
|
+
* the same parts out across accelerators and layers (D754/D757); the settings
|
|
54
|
+
* form here is that panel's `LayeredSettingsForm` with one layer.
|
|
55
|
+
*/
|
|
56
|
+
export declare function AgentStepEditor({ addon, agentDefault, onChangeAgentConfig, engineFormat, effectiveModelId, rootModel }: AgentStepEditorProps): JSX.Element | null;
|