@camstack/ui-library 0.1.58 → 0.2.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/dist/composites/addon-global-settings-form.d.ts +1 -1
- package/dist/composites/agent-step-editor.d.ts +1 -1
- package/dist/composites/app-shell/app-shell.d.ts +1 -1
- package/dist/composites/app-shell/sidebar-item.d.ts +1 -1
- package/dist/composites/app-shell/sidebar.d.ts +1 -1
- package/dist/composites/audio-classification-list.d.ts +1 -1
- package/dist/composites/audio-level-waveform.d.ts +1 -1
- package/dist/composites/audio-waveform.d.ts +1 -1
- package/dist/composites/battery-badge.d.ts +1 -1
- package/dist/composites/breadcrumb.d.ts +2 -1
- package/dist/composites/camera-stream-player.d.ts +33 -1
- package/dist/composites/cap-settings/AutotrackSection.d.ts +1 -1
- package/dist/composites/cap-settings/ConsumablesPanel.d.ts +1 -1
- package/dist/composites/cap-settings/CoverageTrack.d.ts +1 -1
- package/dist/composites/cap-settings/EventBucketStrip.d.ts +1 -1
- package/dist/composites/cap-settings/EventHeatmap.d.ts +1 -1
- package/dist/composites/cap-settings/MaskShapeCanvas.d.ts +1 -1
- package/dist/composites/cap-settings/MotionZonesSettings.d.ts +1 -1
- package/dist/composites/cap-settings/PrivacyMaskSettings.d.ts +1 -1
- package/dist/composites/cap-settings/PtzPanel.d.ts +1 -1
- package/dist/composites/cap-settings/RecordingPanel.d.ts +1 -1
- package/dist/composites/cap-settings/RecordingRulesEditor.d.ts +1 -1
- package/dist/composites/cap-settings/RecordingSettings.d.ts +1 -1
- package/dist/composites/cap-settings/RecordingTimeline.d.ts +1 -1
- package/dist/composites/cap-settings/ScheduleBandsEditor.d.ts +7 -0
- package/dist/composites/cap-settings/TimelineControls.d.ts +1 -1
- package/dist/composites/cap-settings/event-thumb.d.ts +3 -3
- package/dist/composites/cap-settings/recording-config-form.d.ts +30 -1
- package/dist/composites/code-block.d.ts +1 -1
- package/dist/composites/config-form-builder.d.ts +1 -1
- package/dist/composites/config-form-field.d.ts +3 -3
- package/dist/composites/confirm-action-button.d.ts +1 -1
- package/dist/composites/confirm-dialog.d.ts +1 -1
- package/dist/composites/data-table/data-table-header.d.ts +1 -1
- package/dist/composites/data-table/data-table-pagination.d.ts +1 -1
- package/dist/composites/data-table/data-table-row.d.ts +1 -1
- package/dist/composites/data-table/data-table.d.ts +1 -1
- package/dist/composites/data-table.d.ts +1 -1
- package/dist/composites/detection-canvas.d.ts +1 -1
- package/dist/composites/detection-overlay.d.ts +1 -1
- package/dist/composites/detection-result-tree.d.ts +1 -1
- package/dist/composites/dev-shell.d.ts +1 -1
- package/dist/composites/device-activity-panel.d.ts +1 -1
- package/dist/composites/device-card.d.ts +1 -1
- package/dist/composites/device-controls/brightness-panel.d.ts +1 -1
- package/dist/composites/device-controls/climate-panel.d.ts +1 -1
- package/dist/composites/device-controls/control-panel.d.ts +1 -1
- package/dist/composites/device-controls/cover-hero-card.d.ts +1 -1
- package/dist/composites/device-controls/fan-hero-card.d.ts +1 -1
- package/dist/composites/device-controls/fan-panel.d.ts +1 -1
- package/dist/composites/device-controls/humidifier-control.d.ts +1 -1
- package/dist/composites/device-controls/index.d.ts +5 -5
- package/dist/composites/device-controls/light-hero-card.d.ts +1 -1
- package/dist/composites/device-controls/lock-hero-card.d.ts +1 -1
- package/dist/composites/device-controls/lock-panel.d.ts +1 -1
- package/dist/composites/device-controls/media-player-hero-card.d.ts +1 -1
- package/dist/composites/device-controls/media-player-panel.d.ts +1 -1
- package/dist/composites/device-controls/panel-controls.d.ts +8 -8
- package/dist/composites/device-controls/popover-row-action.d.ts +1 -1
- package/dist/composites/device-controls/radial-gauge.d.ts +1 -1
- package/dist/composites/device-controls/thermostat-hero-card.d.ts +1 -1
- package/dist/composites/device-controls/valve-control.d.ts +1 -1
- package/dist/composites/device-controls/water-heater-control.d.ts +1 -1
- package/dist/composites/device-export-panel.d.ts +1 -1
- package/dist/composites/device-grid.d.ts +1 -1
- package/dist/composites/device-item/actions.d.ts +1 -1
- package/dist/composites/device-item/children-accordion.d.ts +1 -1
- package/dist/composites/device-item/reboot-quick-action.d.ts +1 -1
- package/dist/composites/device-list/icon-action.d.ts +1 -1
- package/dist/composites/device-list/index.d.ts +2 -2
- package/dist/composites/device-list/multi-select.d.ts +1 -1
- package/dist/composites/device-list/type-filter.d.ts +1 -1
- package/dist/composites/discovery-panel.d.ts +1 -1
- package/dist/composites/doorbell-recent-panel.d.ts +1 -1
- package/dist/composites/empty-state.d.ts +1 -1
- package/dist/composites/error-box.d.ts +1 -1
- package/dist/composites/event-stream.d.ts +2 -2
- package/dist/composites/filter-bar.d.ts +1 -1
- package/dist/composites/form-field.d.ts +1 -1
- package/dist/composites/hls-video.d.ts +1 -1
- package/dist/composites/image-selector.d.ts +1 -1
- package/dist/composites/index.d.ts +4 -4
- package/dist/composites/inference-config-selector.d.ts +1 -1
- package/dist/composites/kebab-menu.d.ts +1 -1
- package/dist/composites/key-value-list.d.ts +1 -1
- package/dist/composites/log-stream.d.ts +2 -2
- package/dist/composites/login-form.d.ts +1 -1
- package/dist/composites/node-picker.d.ts +1 -1
- package/dist/composites/page-header.d.ts +1 -1
- package/dist/composites/phase-icon.d.ts +1 -1
- package/dist/composites/pipeline-builder.d.ts +1 -1
- package/dist/composites/pipeline-runtime-selector.d.ts +1 -1
- package/dist/composites/pipeline-step.d.ts +3 -3
- package/dist/composites/pipeline-tree-matrix.d.ts +1 -1
- package/dist/composites/provider-badge.d.ts +1 -1
- package/dist/composites/ptz-overlay.d.ts +1 -1
- package/dist/composites/qr-code.d.ts +1 -1
- package/dist/composites/response-log.d.ts +1 -1
- package/dist/composites/scope-picker.d.ts +1 -1
- package/dist/composites/slide-over-panel.d.ts +1 -1
- package/dist/composites/snapshot-button.d.ts +1 -1
- package/dist/composites/stat-card.d.ts +1 -1
- package/dist/composites/state-values-stream.d.ts +1 -1
- package/dist/composites/status-badge.d.ts +1 -1
- package/dist/composites/step-timings.d.ts +1 -1
- package/dist/composites/step-tree-master.d.ts +1 -1
- package/dist/composites/stream-panel.d.ts +1 -1
- package/dist/composites/timezone-selector.d.ts +1 -1
- package/dist/composites/version-badge.d.ts +2 -2
- package/dist/composites/widget-panel.d.ts +2 -2
- package/dist/contexts/custom-field-renderers.d.ts +1 -1
- package/dist/contexts/device-context.d.ts +1 -1
- package/dist/contexts/player-overlays.d.ts +1 -1
- package/dist/contexts/system-context.d.ts +1 -1
- package/dist/contexts/vod-playback.d.ts +1 -1
- package/dist/contexts/widget-registry.d.ts +1 -1
- package/dist/contexts/zone-editing.d.ts +1 -1
- package/dist/generated/system-hooks.d.ts +56 -0
- package/dist/hooks/index.d.ts +2 -2
- package/dist/index.cjs +2757 -366
- package/dist/index.js +2730 -366
- package/dist/primitives/bottom-sheet.d.ts +1 -1
- package/dist/primitives/collapsible-card.d.ts +1 -1
- package/dist/primitives/dialog.d.ts +6 -6
- package/dist/primitives/dropdown.d.ts +3 -3
- package/dist/primitives/floating-panel.d.ts +1 -1
- package/dist/primitives/mobile-drawer.d.ts +1 -1
- package/dist/primitives/popover.d.ts +3 -3
- package/dist/primitives/tabs.d.ts +4 -4
- package/dist/primitives/tooltip.d.ts +3 -3
- package/dist/theme/index.cjs +0 -3
- package/dist/theme/index.js +0 -2
- package/dist/theme/theme-provider.d.ts +1 -1
- package/package.json +11 -5
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/theme/index.cjs.map +0 -1
- package/dist/theme/index.js.map +0 -1
|
@@ -14,4 +14,4 @@ import { DeviceControlProps } from './control-registry';
|
|
|
14
14
|
*
|
|
15
15
|
* Cap-gated: returns null when the device has no climateControl cap.
|
|
16
16
|
*/
|
|
17
|
-
export declare function ThermostatHeroCard({ trpc, deviceId, features: _features, optimistic }: DeviceControlProps): ReactNode;
|
|
17
|
+
export declare function ThermostatHeroCard({ trpc, deviceId, features: _features, optimistic, }: DeviceControlProps): ReactNode;
|
|
@@ -43,4 +43,4 @@ export declare function valveGraphicTint(state: ValveState | undefined): ValveGr
|
|
|
43
43
|
* interactive setPosition surface is gated on `DeviceFeature.ValvePositionable`.
|
|
44
44
|
* Only hides when the device truly has no valve cap.
|
|
45
45
|
*/
|
|
46
|
-
export declare function ValveHeroCard({ trpc, deviceId, features, optimistic }: DeviceControlProps): ReactNode;
|
|
46
|
+
export declare function ValveHeroCard({ trpc, deviceId, features, optimistic, }: DeviceControlProps): ReactNode;
|
|
@@ -28,7 +28,7 @@ export declare function waterHeaterPhase(operationMode: string | null, currentTe
|
|
|
28
28
|
* WaterHeaterInlineControl — compact current→target readout + mode hint
|
|
29
29
|
* for a device-list row. Must NOT blow out the row width.
|
|
30
30
|
*/
|
|
31
|
-
export declare function WaterHeaterInlineControl({ trpc, deviceId, optimistic }: DeviceControlProps): ReactNode;
|
|
31
|
+
export declare function WaterHeaterInlineControl({ trpc, deviceId, optimistic, }: DeviceControlProps): ReactNode;
|
|
32
32
|
/**
|
|
33
33
|
* WaterHeaterHeroCard — full control surface for the device-detail hero.
|
|
34
34
|
*
|
|
@@ -20,4 +20,4 @@ export interface DeviceExportPanelProps {
|
|
|
20
20
|
* Generic device-export panel. Addon-agnostic — only the `device-export`
|
|
21
21
|
* cap drives it.
|
|
22
22
|
*/
|
|
23
|
-
export declare function DeviceExportPanel({ addonId, trpc, onOpenDevice }: DeviceExportPanelProps): ReactElement;
|
|
23
|
+
export declare function DeviceExportPanel({ addonId, trpc, onOpenDevice, }: DeviceExportPanelProps): ReactElement;
|
|
@@ -9,4 +9,4 @@ export interface DeviceGridProps {
|
|
|
9
9
|
/** Additional CSS classes */
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function DeviceGrid({ children, minCardWidth, gap, className
|
|
12
|
+
export declare function DeviceGrid({ children, minCardWidth, gap, className }: DeviceGridProps): import("react").JSX.Element;
|
|
@@ -17,4 +17,4 @@ export interface DeviceItemActionsProps {
|
|
|
17
17
|
*/
|
|
18
18
|
readonly controlPlacement?: ControlPlacement;
|
|
19
19
|
}
|
|
20
|
-
export declare function DeviceItemActions({ trpc, device, controlPlacement }: DeviceItemActionsProps): ReactNode;
|
|
20
|
+
export declare function DeviceItemActions({ trpc, device, controlPlacement, }: DeviceItemActionsProps): ReactNode;
|
|
@@ -7,5 +7,5 @@ interface ChildrenAccordionProps {
|
|
|
7
7
|
readonly adoptedChildren: readonly DeviceItemDevice[];
|
|
8
8
|
readonly onNavigate: (id: number) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare function ChildrenAccordion({ trpc, accessoryChildren, adoptedChildren, onNavigate }: ChildrenAccordionProps): ReactNode;
|
|
10
|
+
export declare function ChildrenAccordion({ trpc, accessoryChildren, adoptedChildren, onNavigate, }: ChildrenAccordionProps): ReactNode;
|
|
11
11
|
export {};
|
|
@@ -6,4 +6,4 @@ export interface RebootQuickActionProps {
|
|
|
6
6
|
/** Device display name — woven into the confirm-modal body. */
|
|
7
7
|
readonly deviceName: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function RebootQuickAction({ trpc, deviceId, deviceName }: RebootQuickActionProps): ReactNode;
|
|
9
|
+
export declare function RebootQuickAction({ trpc, deviceId, deviceName, }: RebootQuickActionProps): ReactNode;
|
|
@@ -14,4 +14,4 @@ export interface IconActionProps {
|
|
|
14
14
|
*/
|
|
15
15
|
readonly danger?: boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare function IconAction({ icon: Icon, label, onClick, danger }: IconActionProps): ReactNode;
|
|
17
|
+
export declare function IconAction({ icon: Icon, label, onClick, danger, }: IconActionProps): ReactNode;
|
|
@@ -3,13 +3,13 @@ import { DeviceListDeviceProps } from './device-mode';
|
|
|
3
3
|
import { DeviceListGenericProps } from './generic-mode';
|
|
4
4
|
export { countableDevices } from './group';
|
|
5
5
|
export { fuzzyMatch, normalizeForSearch } from './fuzzy-match';
|
|
6
|
-
export { DEVICE_COLUMNS, columnsForContext, COLUMN_PRIORITY, COLUMN_BREAKPOINT_CLASS } from './columns';
|
|
6
|
+
export { DEVICE_COLUMNS, columnsForContext, COLUMN_PRIORITY, COLUMN_BREAKPOINT_CLASS, } from './columns';
|
|
7
7
|
export type { DeviceColumnId, TableContext } from './columns';
|
|
8
8
|
export { nextSort, sortRows } from './sort';
|
|
9
9
|
export type { DeviceSort, SortDirection, SortableColumnId } from './sort';
|
|
10
10
|
export { hardwareLabel, metadataEntries, metadataString } from './hardware';
|
|
11
11
|
export { IconAction, type IconActionProps } from './icon-action';
|
|
12
|
-
export type { DeviceListAddonOption, DeviceListDeviceProps, DeviceListBatchActions } from './device-mode';
|
|
12
|
+
export type { DeviceListAddonOption, DeviceListDeviceProps, DeviceListBatchActions, } from './device-mode';
|
|
13
13
|
export type { DeviceListColumn, DeviceListGenericProps } from './generic-mode';
|
|
14
14
|
/**
|
|
15
15
|
* Default registry-device list, or a generic render-prop list (`mode:'generic'`).
|
|
@@ -19,4 +19,4 @@ export interface MultiSelectDropdownProps {
|
|
|
19
19
|
* horizontal room the container has. Shared by the device list's generic-mode
|
|
20
20
|
* type filter and any other multi-select needs.
|
|
21
21
|
*/
|
|
22
|
-
export declare function MultiSelectDropdown({ label, options, selected, onChange }: MultiSelectDropdownProps): ReactNode;
|
|
22
|
+
export declare function MultiSelectDropdown({ label, options, selected, onChange, }: MultiSelectDropdownProps): ReactNode;
|
|
@@ -16,4 +16,4 @@ export interface ResponsiveTypeFilterProps {
|
|
|
16
16
|
* One component for every list consumer, so the filter looks and behaves the
|
|
17
17
|
* same everywhere and only the FORM changes with available room.
|
|
18
18
|
*/
|
|
19
|
-
export declare function ResponsiveTypeFilter({ label, options, selected, onChange }: ResponsiveTypeFilterProps): ReactNode;
|
|
19
|
+
export declare function ResponsiveTypeFilter({ label, options, selected, onChange, }: ResponsiveTypeFilterProps): ReactNode;
|
|
@@ -22,5 +22,5 @@ interface DiscoveryPanelProps {
|
|
|
22
22
|
*/
|
|
23
23
|
readonly onOpenChild?: (childDeviceId: number) => void;
|
|
24
24
|
}
|
|
25
|
-
export declare function DiscoveryPanel({ deviceId, className, onOpenChild }: DiscoveryPanelProps): React.ReactElement;
|
|
25
|
+
export declare function DiscoveryPanel({ deviceId, className, onOpenChild, }: DiscoveryPanelProps): React.ReactElement;
|
|
26
26
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface DoorbellRecentPanelProps {
|
|
|
7
7
|
readonly latestIsFresh?: boolean;
|
|
8
8
|
readonly className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function DoorbellRecentPanel({ history, limit, latestIsFresh, className, }: DoorbellRecentPanelProps): import("react
|
|
10
|
+
export declare function DoorbellRecentPanel({ history, limit, latestIsFresh, className, }: DoorbellRecentPanelProps): import("react").JSX.Element | null;
|
|
@@ -7,4 +7,4 @@ export interface EmptyStateProps {
|
|
|
7
7
|
action?: ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function EmptyState({ icon: Icon, title, description, action, className
|
|
10
|
+
export declare function EmptyState({ icon: Icon, title, description, action, className }: EmptyStateProps): import("react").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export interface ErrorBoxProps {
|
|
|
16
16
|
variant?: ErrorBoxVariant;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare function ErrorBox({ message, title, onRetry, action, variant, className, }: ErrorBoxProps): import("react
|
|
19
|
+
export declare function ErrorBox({ message, title, onRetry, action, variant, className, }: ErrorBoxProps): import("react").JSX.Element;
|
|
@@ -40,9 +40,9 @@ export interface EventStreamProps {
|
|
|
40
40
|
readonly onClose?: () => void;
|
|
41
41
|
readonly className?: string;
|
|
42
42
|
}
|
|
43
|
-
export declare function EventStream({ agentId, addonId, deviceId, defaultCategories, categories: legacyCategories, category: propsCategory, maxHeight, limit, showCategoryFilter, showFilters: _showFilters, liveBuffer: externalBuffer, onClose, className, }: EventStreamProps): import("react
|
|
43
|
+
export declare function EventStream({ agentId, addonId, deviceId, defaultCategories, categories: legacyCategories, category: propsCategory, maxHeight, limit, showCategoryFilter, showFilters: _showFilters, liveBuffer: externalBuffer, onClose, className, }: EventStreamProps): import("react").JSX.Element;
|
|
44
44
|
export interface FloatingEventStreamProps extends EventStreamProps {
|
|
45
45
|
readonly position?: 'bottom' | 'overlay';
|
|
46
46
|
}
|
|
47
|
-
export declare function FloatingEventStream({ position, className, ...props }: FloatingEventStreamProps): import("react
|
|
47
|
+
export declare function FloatingEventStream({ position, className, ...props }: FloatingEventStreamProps): import("react").JSX.Element;
|
|
48
48
|
export {};
|
|
@@ -25,4 +25,4 @@ export interface FilterBarProps {
|
|
|
25
25
|
onChange: (values: Record<string, unknown>) => void;
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
export declare function FilterBar({ filters, values, onChange, className }: FilterBarProps): import("react
|
|
28
|
+
export declare function FilterBar({ filters, values, onChange, className }: FilterBarProps): import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export interface FormFieldProps {
|
|
|
8
8
|
orientation?: 'vertical' | 'horizontal';
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare function FormField({ label, description, error, required, children, orientation, className, }: FormFieldProps): import("react
|
|
11
|
+
export declare function FormField({ label, description, error, required, children, orientation, className, }: FormFieldProps): import("react").JSX.Element;
|
|
@@ -23,4 +23,4 @@ export interface HlsVideoProps {
|
|
|
23
23
|
*/
|
|
24
24
|
readonly selectedLevel?: number;
|
|
25
25
|
}
|
|
26
|
-
export declare function HlsVideo({ url, authToken, posterUrl, autoPlay, className, onQualityOptions, selectedLevel }: HlsVideoProps): import("react
|
|
26
|
+
export declare function HlsVideo({ url, authToken, posterUrl, autoPlay, className, onQualityOptions, selectedLevel, }: HlsVideoProps): import("react").JSX.Element;
|
|
@@ -22,4 +22,4 @@ export interface ImageSelectorProps {
|
|
|
22
22
|
/** Override the upload button label. Default: `Upload...`. */
|
|
23
23
|
readonly uploadLabel?: string;
|
|
24
24
|
}
|
|
25
|
-
export declare function ImageSelector({ images, selectedFilename, uploadedName, onSelect, onUpload, className, accept, uploadLabel, }: ImageSelectorProps): import("react
|
|
25
|
+
export declare function ImageSelector({ images, selectedFilename, uploadedName, onSelect, onUpload, className, accept, uploadLabel, }: ImageSelectorProps): import("react").JSX.Element;
|
|
@@ -49,13 +49,13 @@ export type { StepTimingsProps } from './step-timings';
|
|
|
49
49
|
export { ImageSelector } from './image-selector';
|
|
50
50
|
export type { ImageSelectorProps, ReferenceImage } from './image-selector';
|
|
51
51
|
export { InferenceConfigSelector } from './inference-config-selector';
|
|
52
|
-
export type { InferenceConfigSelectorProps, InferenceBackendOption, InferenceModelOption, InferenceAgentOption } from './inference-config-selector';
|
|
52
|
+
export type { InferenceConfigSelectorProps, InferenceBackendOption, InferenceModelOption, InferenceAgentOption, } from './inference-config-selector';
|
|
53
53
|
export type { AddonPageProps } from './addon-page-props';
|
|
54
54
|
export { mountAddonPage } from './mount-addon-page';
|
|
55
55
|
export type { MountAddonPageOptions } from './mount-addon-page';
|
|
56
56
|
export { ConfigFormBuilder } from './config-form-builder';
|
|
57
57
|
export type { TranslationFn } from './config-form-builder';
|
|
58
|
-
export { ConfigFormField, NodeSelectField, NodeMultiSelectField, isFieldVisible } from './config-form-field';
|
|
58
|
+
export { ConfigFormField, NodeSelectField, NodeMultiSelectField, isFieldVisible, } from './config-form-field';
|
|
59
59
|
export { TimezoneSelector, TIMEZONES, findTimezone } from './timezone-selector';
|
|
60
60
|
export type { TimezoneSelectorProps, Timezone, TimezoneDstRule, Weekday } from './timezone-selector';
|
|
61
61
|
export { AddonGlobalSettingsForm } from './addon-global-settings-form';
|
|
@@ -63,7 +63,7 @@ export type { ProbeState } from './config-form-field';
|
|
|
63
63
|
export { DetectionOverlay } from './detection-overlay';
|
|
64
64
|
export type { DetectionOverlayProps } from './detection-overlay';
|
|
65
65
|
export { CameraStreamPlayer } from './camera-stream-player';
|
|
66
|
-
export type { CameraStreamPlayerProps, PlayerConnectionState, SignalingResult, ClientStreamHints } from './camera-stream-player';
|
|
66
|
+
export type { CameraStreamPlayerProps, PlayerConnectionState, PlayerWebrtcTarget, SignalingResult, ClientOfferResult, ClientStreamHints, SessionSignalingState, } from './camera-stream-player';
|
|
67
67
|
export { StreamPanel } from './stream-panel';
|
|
68
68
|
export type { StreamPanelProps, StreamChoice, StreamStats } from './stream-panel';
|
|
69
69
|
export { HlsVideo } from './hls-video';
|
|
@@ -118,6 +118,6 @@ export { WidgetSlot } from './widget-slot';
|
|
|
118
118
|
export type { WidgetSlotProps } from './widget-slot';
|
|
119
119
|
export { ScopePicker, validateScopes } from './scope-picker';
|
|
120
120
|
export type { ScopeAccess } from './scope-picker';
|
|
121
|
-
export { PtzPanel, ConsumablesPanel, AutotrackSection, MotionZonesSettings, MaskShapeCanvas, RecordingPanel } from './cap-settings';
|
|
121
|
+
export { PtzPanel, ConsumablesPanel, AutotrackSection, MotionZonesSettings, MaskShapeCanvas, RecordingPanel, } from './cap-settings';
|
|
122
122
|
export type { CapSettingsComponentProps, MaskShapeItem, MaskShapeCanvasProps } from './cap-settings';
|
|
123
123
|
export * from './widget-panel.js';
|
|
@@ -41,4 +41,4 @@ export interface InferenceConfigSelectorProps {
|
|
|
41
41
|
/** Show agent selector (default: false) */
|
|
42
42
|
readonly showAgent?: boolean;
|
|
43
43
|
}
|
|
44
|
-
export declare function InferenceConfigSelector({ runtime, backend, modelId, agentId, runtimes, backends, models, agents, onRuntimeChange, onBackendChange, onModelChange, onAgentChange, layout, className, showAgent, }: InferenceConfigSelectorProps): import("react
|
|
44
|
+
export declare function InferenceConfigSelector({ runtime, backend, modelId, agentId, runtimes, backends, models, agents, onRuntimeChange, onBackendChange, onModelChange, onAgentChange, layout, className, showAgent, }: InferenceConfigSelectorProps): import("react").JSX.Element;
|
|
@@ -36,4 +36,4 @@ export interface KebabMenuProps {
|
|
|
36
36
|
/** Tooltip text on the trigger (defaults to "More actions"). */
|
|
37
37
|
readonly title?: string;
|
|
38
38
|
}
|
|
39
|
-
export declare function KebabMenu({ items, header, triggerClassName, title }: KebabMenuProps): import("react
|
|
39
|
+
export declare function KebabMenu({ items, header, triggerClassName, title, }: KebabMenuProps): import("react").JSX.Element | null;
|
|
@@ -6,4 +6,4 @@ export interface KeyValueListProps {
|
|
|
6
6
|
}[];
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function KeyValueList({ items, className }: KeyValueListProps): import("react
|
|
9
|
+
export declare function KeyValueList({ items, className }: KeyValueListProps): import("react").JSX.Element;
|
|
@@ -59,10 +59,10 @@ export interface LogStreamProps {
|
|
|
59
59
|
readonly onClose?: () => void;
|
|
60
60
|
readonly className?: string;
|
|
61
61
|
}
|
|
62
|
-
export declare function LogStream({ agentId: propsAgentId, addonId: propsAddonId, deviceId: propsDeviceId, containerDeviceId: propsContainerDeviceId, integrationId: propsIntegrationId, requestId: propsRequestId, level: initialLevel, maxHeight, showScope, showFilters, limit, liveBuffer: externalBuffer, onClose, className, }: LogStreamProps): import("react
|
|
62
|
+
export declare function LogStream({ agentId: propsAgentId, addonId: propsAddonId, deviceId: propsDeviceId, containerDeviceId: propsContainerDeviceId, integrationId: propsIntegrationId, requestId: propsRequestId, level: initialLevel, maxHeight, showScope, showFilters, limit, liveBuffer: externalBuffer, onClose, className, }: LogStreamProps): import("react").JSX.Element;
|
|
63
63
|
export interface FloatingLogStreamProps extends LogStreamProps {
|
|
64
64
|
/** Position: 'bottom' anchors to parent bottom, 'overlay' is absolute positioned. */
|
|
65
65
|
readonly position?: 'bottom' | 'overlay';
|
|
66
66
|
}
|
|
67
|
-
export declare function FloatingLogStream({ position, className, ...props }: FloatingLogStreamProps): import("react
|
|
67
|
+
export declare function FloatingLogStream({ position, className, ...props }: FloatingLogStreamProps): import("react").JSX.Element;
|
|
68
68
|
export {};
|
|
@@ -5,4 +5,4 @@ export interface LoginFormProps {
|
|
|
5
5
|
error?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function LoginForm({ onLogin, serverUrl, logoSrc, error: externalError, className, }: LoginFormProps): import("react
|
|
8
|
+
export declare function LoginForm({ onLogin, serverUrl, logoSrc, error: externalError, className, }: LoginFormProps): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface NodePickerProps {
|
|
|
12
12
|
*/
|
|
13
13
|
readonly alwaysShow?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export declare function NodePicker({ selectedNodeId, onSelect, label, hideIcon, alwaysShow, }: NodePickerProps): import("react
|
|
15
|
+
export declare function NodePicker({ selectedNodeId, onSelect, label, hideIcon, alwaysShow, }: NodePickerProps): import("react").JSX.Element | null;
|
|
@@ -5,4 +5,4 @@ export interface PageHeaderProps {
|
|
|
5
5
|
actions?: ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function PageHeader({ title, subtitle, actions, className }: PageHeaderProps): import("react
|
|
8
|
+
export declare function PageHeader({ title, subtitle, actions, className }: PageHeaderProps): import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import { LucideProps } from 'lucide-react';
|
|
|
2
2
|
export interface PhaseIconProps extends LucideProps {
|
|
3
3
|
readonly phase: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function PhaseIcon({ phase, ...props }: PhaseIconProps): import("react
|
|
5
|
+
export declare function PhaseIcon({ phase, ...props }: PhaseIconProps): import("react").JSX.Element;
|
|
@@ -40,4 +40,4 @@ export interface PipelineBuilderProps {
|
|
|
40
40
|
*/
|
|
41
41
|
readonly hideModelAndSettings?: boolean;
|
|
42
42
|
}
|
|
43
|
-
export declare function PipelineBuilder({ schema, steps, onChange, templates, selectedTemplateId, onSelectTemplate, onSaveTemplate, onUpdateTemplate, onDeleteTemplate, readOnly, excludeAddons, hideTemplates, showOnlyEnabled, showSlotLabels, toggleMode, overrides, onOverrideChange, inheritedEnabledByAddon, hideModelAndSettings, }: PipelineBuilderProps): import("react
|
|
43
|
+
export declare function PipelineBuilder({ schema, steps, onChange, templates, selectedTemplateId, onSelectTemplate, onSaveTemplate, onUpdateTemplate, onDeleteTemplate, readOnly, excludeAddons, hideTemplates, showOnlyEnabled, showSlotLabels, toggleMode, overrides, onOverrideChange, inheritedEnabledByAddon, hideModelAndSettings, }: PipelineBuilderProps): import("react").JSX.Element;
|
|
@@ -12,5 +12,5 @@ interface PipelineRuntimeSelectorProps {
|
|
|
12
12
|
readonly value: string;
|
|
13
13
|
readonly onChange: (value: string) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function PipelineRuntimeSelector({ options, value, onChange }: PipelineRuntimeSelectorProps): import("react
|
|
15
|
+
export declare function PipelineRuntimeSelector({ options, value, onChange, }: PipelineRuntimeSelectorProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -55,11 +55,11 @@ export interface PipelineStepProps {
|
|
|
55
55
|
*/
|
|
56
56
|
readonly hideModelAndSettings?: boolean;
|
|
57
57
|
}
|
|
58
|
-
export declare function PipelineStep({ step, schema, allSchemas: _allSchemas, depth: _depth, onChange, onDelete: _onDelete, readOnly, toggleMode, overrideState, onOverrideChange, inheritedEnabled, hideModelAndSettings, }: PipelineStepProps): import("react
|
|
59
|
-
export declare function ConfigSchemaField({ field, allFields, step, disabled, onChange }: {
|
|
58
|
+
export declare function PipelineStep({ step, schema, allSchemas: _allSchemas, depth: _depth, onChange, onDelete: _onDelete, readOnly, toggleMode, overrideState, onOverrideChange, inheritedEnabled, hideModelAndSettings, }: PipelineStepProps): import("react").JSX.Element;
|
|
59
|
+
export declare function ConfigSchemaField({ field, allFields, step, disabled, onChange, }: {
|
|
60
60
|
field: ConfigField;
|
|
61
61
|
allFields: readonly ConfigField[];
|
|
62
62
|
step: PipelineStepDisplayConfig;
|
|
63
63
|
disabled: boolean;
|
|
64
64
|
onChange: (updated: PipelineStepDisplayConfig) => void;
|
|
65
|
-
}): import("react
|
|
65
|
+
}): import("react").JSX.Element | null;
|
|
@@ -28,4 +28,4 @@ export interface PipelineTreeMatrixProps {
|
|
|
28
28
|
*/
|
|
29
29
|
readonly onToggleEnabled?: (addonId: string, next: boolean) => void;
|
|
30
30
|
}
|
|
31
|
-
export declare function PipelineTreeMatrix({ tree, agents, getCellState, onCellClick, selectedCell, onToggleEnabled, }: PipelineTreeMatrixProps): import("react
|
|
31
|
+
export declare function PipelineTreeMatrix({ tree, agents, getCellState, onCellClick, selectedCell, onToggleEnabled, }: PipelineTreeMatrixProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface ProviderBadgeProps {
|
|
|
4
4
|
showLabel?: boolean;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function ProviderBadge({ provider, showLabel, className
|
|
7
|
+
export declare function ProviderBadge({ provider, showLabel, className }: ProviderBadgeProps): import("react").JSX.Element;
|
|
@@ -17,4 +17,4 @@ export interface PTZOverlayProps {
|
|
|
17
17
|
readonly showHome?: boolean;
|
|
18
18
|
readonly className?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare function PTZOverlay({ controls, mode, showPresets, showZoom, showHome, className, }: PTZOverlayProps): import("react
|
|
20
|
+
export declare function PTZOverlay({ controls, mode, showPresets, showZoom, showHome, className, }: PTZOverlayProps): import("react").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export interface QrCodeProps {
|
|
|
9
9
|
/** Accessible label for the generated QR. */
|
|
10
10
|
readonly alt?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function QrCode({ value, size, className, alt }: QrCodeProps): ReactElement | null;
|
|
12
|
+
export declare function QrCode({ value, size, className, alt, }: QrCodeProps): ReactElement | null;
|
|
@@ -6,4 +6,4 @@ export interface ResponseLogProps {
|
|
|
6
6
|
/**
|
|
7
7
|
* Expandable log box showing the raw JSON response from a pipeline run.
|
|
8
8
|
*/
|
|
9
|
-
export declare function ResponseLog({ data, label, className }: ResponseLogProps): import("react
|
|
9
|
+
export declare function ResponseLog({ data, label, className }: ResponseLogProps): import("react").JSX.Element | null;
|
|
@@ -14,7 +14,7 @@ interface ScopePickerProps {
|
|
|
14
14
|
/** Optional empty-state CTA when `value.length === 0`. */
|
|
15
15
|
readonly emptyHint?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export declare function ScopePicker({ value, onChange, clampToParent, emptyHint }: ScopePickerProps): React.ReactElement;
|
|
17
|
+
export declare function ScopePicker({ value, onChange, clampToParent, emptyHint, }: ScopePickerProps): React.ReactElement;
|
|
18
18
|
/**
|
|
19
19
|
* Validation helper. The wire schema (`TokenScopeSchema`) requires every
|
|
20
20
|
* scope to carry a non-empty target/targets and `access.length >= 1`.
|
|
@@ -8,4 +8,4 @@ export interface SlideOverPanelProps {
|
|
|
8
8
|
readonly children: ReactNode;
|
|
9
9
|
readonly widthClass?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare function SlideOverPanel({ open, onClose, title, subtitle, footer, children, widthClass, }: SlideOverPanelProps): import("react
|
|
11
|
+
export declare function SlideOverPanel({ open, onClose, title, subtitle, footer, children, widthClass, }: SlideOverPanelProps): import("react").JSX.Element | null;
|
|
@@ -21,5 +21,5 @@ export interface SnapshotButtonProps {
|
|
|
21
21
|
readonly size?: 'sm' | 'md';
|
|
22
22
|
readonly className?: string;
|
|
23
23
|
}
|
|
24
|
-
export declare function SnapshotButton({ trpc, deviceId, deviceName, size, className, }: SnapshotButtonProps): import("react
|
|
24
|
+
export declare function SnapshotButton({ trpc, deviceId, deviceName, size, className, }: SnapshotButtonProps): import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface StatCardProps {
|
|
|
7
7
|
};
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function StatCard({ value, label, trend, className }: StatCardProps): import("react
|
|
10
|
+
export declare function StatCard({ value, label, trend, className }: StatCardProps): import("react").JSX.Element;
|
|
@@ -23,4 +23,4 @@ export interface StateValuesStreamProps {
|
|
|
23
23
|
readonly onClose?: () => void;
|
|
24
24
|
readonly className?: string;
|
|
25
25
|
}
|
|
26
|
-
export declare function StateValuesStream({ deviceId, defaultCaps, maxHeight, onClose, className, }: StateValuesStreamProps): import("react
|
|
26
|
+
export declare function StateValuesStream({ deviceId, defaultCaps, maxHeight, onClose, className, }: StateValuesStreamProps): import("react").JSX.Element;
|
|
@@ -6,5 +6,5 @@ export interface StatusBadgeProps {
|
|
|
6
6
|
size?: 'sm' | 'md';
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function StatusBadge({ status, showDot, showLabel, size, className, }: StatusBadgeProps): import("react
|
|
9
|
+
export declare function StatusBadge({ status, showDot, showLabel, size, className, }: StatusBadgeProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -6,4 +6,4 @@ export interface StepTimingsProps {
|
|
|
6
6
|
readonly totalMs?: number;
|
|
7
7
|
readonly className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function StepTimings({ timings, totalMs, className }: StepTimingsProps): import("react
|
|
9
|
+
export declare function StepTimings({ timings, totalMs, className }: StepTimingsProps): import("react").JSX.Element | null;
|
|
@@ -18,7 +18,7 @@ export interface StepTreeMasterProps {
|
|
|
18
18
|
}[]>>;
|
|
19
19
|
readonly className?: string;
|
|
20
20
|
}
|
|
21
|
-
export declare function StepTreeMaster({ tree, selectedAddonId, onSelect, agentDots, className, }: StepTreeMasterProps): import("react
|
|
21
|
+
export declare function StepTreeMaster({ tree, selectedAddonId, onSelect, agentDots, className, }: StepTreeMasterProps): import("react").JSX.Element;
|
|
22
22
|
/**
|
|
23
23
|
* Helper: build a StepTreeNode[] from a `PipelineSchema` by chaining on
|
|
24
24
|
* `inputClasses` ⇔ `outputClasses` compatibility. Mirrors the orchestrator
|
|
@@ -191,4 +191,4 @@ export interface StreamPanelProps {
|
|
|
191
191
|
readonly chromeless?: boolean;
|
|
192
192
|
readonly className?: string;
|
|
193
193
|
}
|
|
194
|
-
export declare function StreamPanel({ serverUrl, createSession, sendAnswer, handleOffer, getIceServers, addIceCandidate, getIceCandidates, closeSession, getSessionState, playbackUrl, playbackAuthToken, onExitPlayback, posterUrl, streams, activeStreamId: controlledStreamId, onStreamChange, deviceName, phase, pipelineMetrics, detections, defaultShowDetections, defaultShowMotion, streamStats, autoPlay, showPlayStop, snapshotSrc, snapshotLoading, onRefreshSnapshot, showStreamStats, children, extraOverlay, ptzAvailable, ptzShown, ptzOverlay, onPtzToggle, intercomAvailable, intercomShown, onIntercomToggle, chromeless, className, }: StreamPanelProps): import("react
|
|
194
|
+
export declare function StreamPanel({ serverUrl, createSession, sendAnswer, handleOffer, getIceServers, addIceCandidate, getIceCandidates, closeSession, getSessionState, playbackUrl, playbackAuthToken, onExitPlayback, posterUrl, streams, activeStreamId: controlledStreamId, onStreamChange, deviceName, phase, pipelineMetrics, detections, defaultShowDetections, defaultShowMotion, streamStats, autoPlay, showPlayStop, snapshotSrc, snapshotLoading, onRefreshSnapshot, showStreamStats, children, extraOverlay, ptzAvailable, ptzShown, ptzOverlay, onPtzToggle, intercomAvailable, intercomShown, onIntercomToggle, chromeless, className, }: StreamPanelProps): import("react").JSX.Element;
|
|
@@ -15,4 +15,4 @@ export interface TimezoneSelectorProps {
|
|
|
15
15
|
* chosen zone (each option carries its standard offset + DST rule),
|
|
16
16
|
* so there is no separate DST control.
|
|
17
17
|
*/
|
|
18
|
-
export declare function TimezoneSelector({ value, onChange, disabled }: TimezoneSelectorProps): import("react
|
|
18
|
+
export declare function TimezoneSelector({ value, onChange, disabled }: TimezoneSelectorProps): import("react").JSX.Element;
|
|
@@ -11,7 +11,7 @@ export interface SemanticBadgeProps {
|
|
|
11
11
|
* General-purpose badge with semantic color variants.
|
|
12
12
|
* Solid background with dark text for maximum contrast.
|
|
13
13
|
*/
|
|
14
|
-
export declare function SemanticBadge({ children, variant, mono, className }: SemanticBadgeProps):
|
|
14
|
+
export declare function SemanticBadge({ children, variant, mono, className, }: SemanticBadgeProps): React.JSX.Element;
|
|
15
15
|
export interface VersionBadgeProps {
|
|
16
16
|
version: string;
|
|
17
17
|
preRelease?: boolean;
|
|
@@ -21,4 +21,4 @@ export interface VersionBadgeProps {
|
|
|
21
21
|
* Version badge — auto-detects pre-release versions.
|
|
22
22
|
* Stable = success (green), Pre-release = warning (amber).
|
|
23
23
|
*/
|
|
24
|
-
export declare function VersionBadge({ version, preRelease, className }: VersionBadgeProps):
|
|
24
|
+
export declare function VersionBadge({ version, preRelease, className }: VersionBadgeProps): React.JSX.Element;
|
|
@@ -15,7 +15,7 @@ interface WidgetPanelProps {
|
|
|
15
15
|
readonly bodyClassName?: string;
|
|
16
16
|
readonly children: ReactNode;
|
|
17
17
|
}
|
|
18
|
-
export declare function WidgetPanel({ title, icon, headerRight, collapsible, defaultOpen, bodyClassName, children, }: WidgetPanelProps): import("react
|
|
18
|
+
export declare function WidgetPanel({ title, icon, headerRight, collapsible, defaultOpen, bodyClassName, children, }: WidgetPanelProps): import("react").JSX.Element;
|
|
19
19
|
interface WidgetMetricCardProps {
|
|
20
20
|
readonly label: string;
|
|
21
21
|
readonly icon?: ReactNode;
|
|
@@ -24,5 +24,5 @@ interface WidgetMetricCardProps {
|
|
|
24
24
|
/** Optional sub-line under the value (e.g. "3 segment ranges"). */
|
|
25
25
|
readonly footer?: ReactNode;
|
|
26
26
|
}
|
|
27
|
-
export declare function WidgetMetricCard({ label, icon, children, footer }: WidgetMetricCardProps): import("react
|
|
27
|
+
export declare function WidgetMetricCard({ label, icon, children, footer }: WidgetMetricCardProps): import("react").JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -17,7 +17,7 @@ export interface CustomFieldRenderersProviderProps {
|
|
|
17
17
|
readonly renderers: CustomFieldRendererMap;
|
|
18
18
|
readonly children: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export declare function CustomFieldRenderersProvider({ renderers, children, }: CustomFieldRenderersProviderProps): import("react
|
|
20
|
+
export declare function CustomFieldRenderersProvider({ renderers, children, }: CustomFieldRenderersProviderProps): import("react").JSX.Element;
|
|
21
21
|
/**
|
|
22
22
|
* Look up a registered renderer by `field.type`. Returns null when no
|
|
23
23
|
* renderer is registered — caller falls back to its built-in handling
|
|
@@ -13,7 +13,7 @@ export interface DeviceContextProviderProps {
|
|
|
13
13
|
readonly device?: DeviceSnapshot;
|
|
14
14
|
readonly children: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare function DeviceContextProvider({ deviceId, device, children }: DeviceContextProviderProps): import("react
|
|
16
|
+
export declare function DeviceContextProvider({ deviceId, device, children }: DeviceContextProviderProps): import("react").JSX.Element;
|
|
17
17
|
/** @returns the device id of the current page subtree, or null if outside any provider. */
|
|
18
18
|
export declare function useDeviceId(): number | null;
|
|
19
19
|
/** @returns the cached device snapshot, or null when no snapshot is provided. */
|
|
@@ -33,7 +33,7 @@ export interface PlayerToolbarButton {
|
|
|
33
33
|
export interface PlayerOverlaysProviderProps {
|
|
34
34
|
readonly children: ReactNode;
|
|
35
35
|
}
|
|
36
|
-
export declare function PlayerOverlaysProvider({ children }: PlayerOverlaysProviderProps): import("react
|
|
36
|
+
export declare function PlayerOverlaysProvider({ children }: PlayerOverlaysProviderProps): import("react").JSX.Element;
|
|
37
37
|
/** Snapshot of registered layers ordered by `order` (asc, ties resolved
|
|
38
38
|
* by insertion order of the underlying Map). Returns `[]` outside a
|
|
39
39
|
* provider. */
|
|
@@ -4,7 +4,7 @@ export interface SystemProviderProps {
|
|
|
4
4
|
readonly system: System;
|
|
5
5
|
readonly children: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare function SystemProvider({ system, children }: SystemProviderProps): import("react
|
|
7
|
+
export declare function SystemProvider({ system, children }: SystemProviderProps): import("react").JSX.Element;
|
|
8
8
|
/**
|
|
9
9
|
* Read the active `System` instance from the surrounding `<SystemProvider>`.
|
|
10
10
|
* Throws when no provider is mounted — every hook in this directory
|
|
@@ -12,6 +12,6 @@ export interface VodPlaybackContextValue {
|
|
|
12
12
|
}
|
|
13
13
|
export declare function VodPlaybackProvider({ children }: {
|
|
14
14
|
readonly children: ReactNode;
|
|
15
|
-
}): import("react
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
16
|
/** @returns the VOD playback controller (inert no-op outside a provider). */
|
|
17
17
|
export declare function useVodPlayback(): VodPlaybackContextValue;
|
|
@@ -91,7 +91,7 @@ export declare function loadRemoteBundle(remoteName: string, exposedModule: stri
|
|
|
91
91
|
export interface WidgetRegistryProviderProps {
|
|
92
92
|
readonly children: ReactNode;
|
|
93
93
|
}
|
|
94
|
-
export declare function WidgetRegistryProvider({ children }: WidgetRegistryProviderProps): import("react
|
|
94
|
+
export declare function WidgetRegistryProvider({ children }: WidgetRegistryProviderProps): import("react").JSX.Element;
|
|
95
95
|
/**
|
|
96
96
|
* Returns the registered widget component, `null` while loading, or
|
|
97
97
|
* `undefined` if unknown.
|
|
@@ -51,7 +51,7 @@ interface ZoneEditingContextValue extends ZoneEditingState, ZoneEditingActions {
|
|
|
51
51
|
export interface ZoneEditingProviderProps {
|
|
52
52
|
readonly children: ReactNode;
|
|
53
53
|
}
|
|
54
|
-
export declare function ZoneEditingProvider({ children }: ZoneEditingProviderProps): import("react
|
|
54
|
+
export declare function ZoneEditingProvider({ children }: ZoneEditingProviderProps): import("react").JSX.Element;
|
|
55
55
|
/** Read + drive the zone-editing state. Returns `null` outside a
|
|
56
56
|
* provider so callers that mount in pages without zones (e.g. a
|
|
57
57
|
* shared hero on a non-camera device) can no-op gracefully. */
|