@tomorrowevening/theatre-studio 1.0.4 → 1.0.6
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/IDBStorage.d.ts +16 -0
- package/dist/IDBStorage.d.ts.map +1 -0
- package/dist/PaneManager.d.ts +16 -0
- package/dist/PaneManager.d.ts.map +1 -0
- package/dist/Scrub.d.ts +83 -0
- package/dist/Scrub.d.ts.map +1 -0
- package/dist/Studio.d.ts +79 -0
- package/dist/Studio.d.ts.map +1 -0
- package/dist/StudioBundle.d.ts +10 -0
- package/dist/StudioBundle.d.ts.map +1 -0
- package/dist/StudioStore/StudioStore.d.ts +46 -0
- package/dist/StudioStore/StudioStore.d.ts.map +1 -0
- package/dist/StudioStore/createTransactionPrivateApi.d.ts +3 -0
- package/dist/StudioStore/createTransactionPrivateApi.d.ts.map +1 -0
- package/dist/StudioStore/generateDiskStateRevision.d.ts +2 -0
- package/dist/StudioStore/generateDiskStateRevision.d.ts.map +1 -0
- package/dist/StudioStore/persistStateOfStudio.d.ts +5 -0
- package/dist/StudioStore/persistStateOfStudio.d.ts.map +1 -0
- package/dist/TheatreStudio.d.ts +426 -0
- package/dist/TheatreStudio.d.ts.map +1 -0
- package/dist/UI/UI.d.ts +14 -0
- package/dist/UI/UI.d.ts.map +1 -0
- package/dist/UI/UINonSSRBits.d.ts +10 -0
- package/dist/UI/UINonSSRBits.d.ts.map +1 -0
- package/dist/UIRoot/PanelsRoot.d.ts +4 -0
- package/dist/UIRoot/PanelsRoot.d.ts.map +1 -0
- package/dist/UIRoot/PointerCapturing.d.ts +46 -0
- package/dist/UIRoot/PointerCapturing.d.ts.map +1 -0
- package/dist/UIRoot/ProvideTheme.d.ts +6 -0
- package/dist/UIRoot/ProvideTheme.d.ts.map +1 -0
- package/dist/UIRoot/UIRoot.d.ts +5 -0
- package/dist/UIRoot/UIRoot.d.ts.map +1 -0
- package/dist/UIRoot/useKeyboardShortcuts.d.ts +7 -0
- package/dist/UIRoot/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/checkForUpdates.d.ts +2 -0
- package/dist/checkForUpdates.d.ts.map +1 -0
- package/dist/css.d.ts +39 -0
- package/dist/css.d.ts.map +1 -0
- package/dist/getStudio.d.ts +7 -0
- package/dist/getStudio.d.ts.map +1 -0
- package/dist/index.d.ts +6 -9
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/notify.d.ts +12 -0
- package/dist/notify.d.ts.map +1 -0
- package/dist/panels/BasePanel/BasePanel.d.ts +35 -0
- package/dist/panels/BasePanel/BasePanel.d.ts.map +1 -0
- package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts +8 -0
- package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelDragZone.d.ts +4 -0
- package/dist/panels/BasePanel/PanelDragZone.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelResizeHandle.d.ts +7 -0
- package/dist/panels/BasePanel/PanelResizeHandle.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelResizers.d.ts +4 -0
- package/dist/panels/BasePanel/PanelResizers.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelWrapper.d.ts +4 -0
- package/dist/panels/BasePanel/PanelWrapper.d.ts.map +1 -0
- package/dist/panels/BasePanel/common.d.ts +15 -0
- package/dist/panels/BasePanel/common.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DetailPanel.d.ts +6 -0
- package/dist/panels/DetailPanel/DetailPanel.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailCompoundPropEditor.d.ts +14 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailCompoundPropEditor.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailSimplePropEditor.d.ts +20 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailSimplePropEditor.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/SingleRowPropEditor.d.ts +14 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/SingleRowPropEditor.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/getDetailRowHighlightBackground.d.ts +5 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/getDetailRowHighlightBackground.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/rowIndentationFormulaCSS.d.ts +2 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/rowIndentationFormulaCSS.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail.d.ts +26 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail.d.ts.map +1 -0
- package/dist/panels/DetailPanel/EmptyState.d.ts +4 -0
- package/dist/panels/DetailPanel/EmptyState.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ObjectDetails.d.ts +8 -0
- package/dist/panels/DetailPanel/ObjectDetails.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ProjectDetails/StateConflictRow.d.ts +7 -0
- package/dist/panels/DetailPanel/ProjectDetails/StateConflictRow.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ProjectDetails.d.ts +7 -0
- package/dist/panels/DetailPanel/ProjectDetails.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/BaseItem.d.ts +18 -0
- package/dist/panels/OutlinePanel/BaseItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectItem.d.ts +8 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectsList.d.ts +11 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectsList.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/OutlinePanel.d.ts +5 -0
- package/dist/panels/OutlinePanel/OutlinePanel.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectListItem.d.ts +8 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectListItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectsList.d.ts +4 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectsList.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetInstanceItem.d.ts +7 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetInstanceItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetItem.d.ts +8 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetsList.d.ts +8 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetsList.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts +11 -0
- package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/DopeSheet.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/DopeSheet.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/AnyCompositeRow.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/AnyCompositeRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/Left.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/Left.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PropWithChildrenRow.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PropWithChildrenRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetObjectRow.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetObjectRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetRow.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/usePropHighlightMouseEnter.d.ts +4 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/usePropHighlightMouseEnter.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeConnector.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeConnector.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.d.ts +44 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.d.ts +2 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.d.ts +23 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack.d.ts +19 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/BasicKeyframedTrack.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/BasicKeyframedTrack.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/BasicKeyframeConnector.d.ts +6 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/BasicKeyframeConnector.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.d.ts +12 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/EasingOption.d.ts +15 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/EasingOption.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/SVGCurveSegment.d.ts +9 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/SVGCurveSegment.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/colors.d.ts +4 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/colors.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/shared.d.ts +43 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/shared.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useFreezableMemo.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useFreezableMemo.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useUIOptionGrid.d.ts +32 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useUIOptionGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/DeterminePropEditorForSingleKeyframe.d.ts +17 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/DeterminePropEditorForSingleKeyframe.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeEditor.d.ts +19 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover.d.ts +29 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.d.ts +18 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetBackground.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetBackground.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetSelectionView.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetSelectionView.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/FocusRangeCurtains.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/FocusRangeCurtains.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/HorizontallyScrollableArea.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/HorizontallyScrollableArea.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget.d.ts +36 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthEditorPopover.d.ts +12 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthIndicator.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthIndicator.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PrimitivePropRow.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PrimitivePropRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PropWithChildrenRow.d.ts +11 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PropWithChildrenRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Right.d.ts +9 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Right.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Row.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Row.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetObjectRow.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetObjectRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetRow.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes.d.ts +58 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine.d.ts +20 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/selections.d.ts +82 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/selections.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/setCollapsedSheetObjectOrCompoundProp.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/setCollapsedSheetObjectOrCompoundProp.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/FrameGrid.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/FrameGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/StampsGrid.d.ts +15 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/StampsGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/createGrid.d.ts +23 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/createGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts +52 -0
- package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/BasicKeyframedTrack.d.ts +25 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/BasicKeyframedTrack.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/Curve.d.ts +14 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/Curve.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/CurveHandle.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/CurveHandle.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotNonScalar.d.ts +9 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotNonScalar.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotScalar.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotScalar.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorNonScalarDash.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorNonScalarDash.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.d.ts +27 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/GraphEditor.d.ts +28 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/GraphEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/PrimitivePropGraph.d.ts +16 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/PrimitivePropGraph.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnap.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnap.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnapHitZoneUI.d.ts +18 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnapHitZoneUI.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeStrip.d.ts +32 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeStrip.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeThumb.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeThumb.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeZone.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeZone.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FrameStamp.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FrameStamp.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/HorizontalScrollbar.d.ts +11 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/HorizontalScrollbar.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerDot.d.ts +11 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerEditorPopover.d.ts +14 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/Markers.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/Markers.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Playhead.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Playhead.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/PlayheadPositionPopover.d.ts +12 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/PlayheadPositionPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/RightOverlay.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/RightOverlay.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/TopStrip.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/TopStrip.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts +15 -0
- package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts +19 -0
- package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/layout/layout.d.ts +146 -0
- package/dist/panels/SequenceEditorPanel/layout/layout.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/layout/tree.d.ts +71 -0
- package/dist/panels/SequenceEditorPanel/layout/tree.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts.map +1 -0
- package/dist/propEditors/DefaultValueIndicator.d.ts +12 -0
- package/dist/propEditors/DefaultValueIndicator.d.ts.map +1 -0
- package/dist/propEditors/NextPrevKeyframeCursors.d.ts +29 -0
- package/dist/propEditors/NextPrevKeyframeCursors.d.ts.map +1 -0
- package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts +9 -0
- package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/FilePropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/FilePropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts +10 -0
- package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/ImagePropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/ImagePropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/StringPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/StringPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts +10 -0
- package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts.map +1 -0
- package/dist/propEditors/useEditingToolsForCompoundProp.d.ts +27 -0
- package/dist/propEditors/useEditingToolsForCompoundProp.d.ts.map +1 -0
- package/dist/propEditors/useEditingToolsForSimpleProp.d.ts +47 -0
- package/dist/propEditors/useEditingToolsForSimpleProp.d.ts.map +1 -0
- package/dist/propEditors/utils/IEditingTools.d.ts +9 -0
- package/dist/propEditors/utils/IEditingTools.d.ts.map +1 -0
- package/dist/propEditors/utils/PropConfigForType.d.ts +5 -0
- package/dist/propEditors/utils/PropConfigForType.d.ts.map +1 -0
- package/dist/propEditors/utils/getPropTypeByPointer.d.ts +19 -0
- package/dist/propEditors/utils/getPropTypeByPointer.d.ts.map +1 -0
- package/dist/propEditors/utils/propNameTextCSS.d.ts +5 -0
- package/dist/propEditors/utils/propNameTextCSS.d.ts.map +1 -0
- package/dist/selectors.d.ts +13 -0
- package/dist/selectors.d.ts.map +1 -0
- package/dist/store/index.d.ts +210 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/stateEditors.d.ts +300 -0
- package/dist/store/stateEditors.d.ts.map +1 -0
- package/dist/store/types/ahistoric.d.ts +79 -0
- package/dist/store/types/ahistoric.d.ts.map +1 -0
- package/dist/store/types/ephemeral.d.ts +53 -0
- package/dist/store/types/ephemeral.d.ts.map +1 -0
- package/dist/store/types/historic.d.ts +104 -0
- package/dist/store/types/historic.d.ts.map +1 -0
- package/dist/store/types/index.d.ts +25 -0
- package/dist/store/types/index.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/Toolset.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/Toolset.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/tools/ExtensionFlyoutMenu.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/tools/ExtensionFlyoutMenu.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/tools/IconButton.d.ts +8 -0
- package/dist/toolbars/ExtensionToolbar/tools/IconButton.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/tools/Switch.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/tools/Switch.d.ts.map +1 -0
- package/dist/toolbars/GlobalToolbar.d.ts +4 -0
- package/dist/toolbars/GlobalToolbar.d.ts.map +1 -0
- package/dist/toolbars/MoreMenu/MoreMenu.d.ts +4 -0
- package/dist/toolbars/MoreMenu/MoreMenu.d.ts.map +1 -0
- package/dist/toolbars/PinButton.d.ts +12 -0
- package/dist/toolbars/PinButton.d.ts.map +1 -0
- package/dist/uiComponents/DetailPanelButton.d.ts +5 -0
- package/dist/uiComponents/DetailPanelButton.d.ts.map +1 -0
- package/dist/uiComponents/PointerEventsHandler.d.ts +31 -0
- package/dist/uiComponents/PointerEventsHandler.d.ts.map +1 -0
- package/dist/uiComponents/Popover/ArrowContext.d.ts +4 -0
- package/dist/uiComponents/Popover/ArrowContext.d.ts.map +1 -0
- package/dist/uiComponents/Popover/BasicPopover.d.ts +9 -0
- package/dist/uiComponents/Popover/BasicPopover.d.ts.map +1 -0
- package/dist/uiComponents/Popover/BasicTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/BasicTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/ErrorTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/ErrorTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/MinimalTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/MinimalTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/PopoverArrow.d.ts +8 -0
- package/dist/uiComponents/Popover/PopoverArrow.d.ts.map +1 -0
- package/dist/uiComponents/Popover/TooltipContext.d.ts +7 -0
- package/dist/uiComponents/Popover/TooltipContext.d.ts.map +1 -0
- package/dist/uiComponents/Popover/TooltipWrapper.d.ts +21 -0
- package/dist/uiComponents/Popover/TooltipWrapper.d.ts.map +1 -0
- package/dist/uiComponents/Popover/usePopover.d.ts +29 -0
- package/dist/uiComponents/Popover/usePopover.d.ts.map +1 -0
- package/dist/uiComponents/Popover/useTooltip.d.ts +14 -0
- package/dist/uiComponents/Popover/useTooltip.d.ts.map +1 -0
- package/dist/uiComponents/RoomToClick.d.ts +6 -0
- package/dist/uiComponents/RoomToClick.d.ts.map +1 -0
- package/dist/uiComponents/SVGIcon.d.ts +8 -0
- package/dist/uiComponents/SVGIcon.d.ts.map +1 -0
- package/dist/uiComponents/ShowMousePosition.d.ts +4 -0
- package/dist/uiComponents/ShowMousePosition.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/EditingProvider.d.ts +15 -0
- package/dist/uiComponents/colorPicker/components/EditingProvider.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/RgbaColorPicker.d.ts +3 -0
- package/dist/uiComponents/colorPicker/components/RgbaColorPicker.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Alpha.d.ts +11 -0
- package/dist/uiComponents/colorPicker/components/common/Alpha.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/AlphaColorPicker.d.ts +7 -0
- package/dist/uiComponents/colorPicker/components/common/AlphaColorPicker.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Hue.d.ts +11 -0
- package/dist/uiComponents/colorPicker/components/common/Hue.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Interactive.d.ts +13 -0
- package/dist/uiComponents/colorPicker/components/common/Interactive.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Pointer.d.ts +10 -0
- package/dist/uiComponents/colorPicker/components/common/Pointer.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Saturation.d.ts +12 -0
- package/dist/uiComponents/colorPicker/components/common/Saturation.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/hooks/useColorManipulation.d.ts +3 -0
- package/dist/uiComponents/colorPicker/hooks/useColorManipulation.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/hooks/useEventCallback.d.ts +2 -0
- package/dist/uiComponents/colorPicker/hooks/useEventCallback.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/dist/uiComponents/colorPicker/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/index.d.ts +3 -0
- package/dist/uiComponents/colorPicker/index.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/types.d.ts +47 -0
- package/dist/uiComponents/colorPicker/types.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/clamp.d.ts +2 -0
- package/dist/uiComponents/colorPicker/utils/clamp.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/compare.d.ts +5 -0
- package/dist/uiComponents/colorPicker/utils/compare.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/convert.d.ts +27 -0
- package/dist/uiComponents/colorPicker/utils/convert.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/round.d.ts +2 -0
- package/dist/uiComponents/colorPicker/utils/round.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/validate.d.ts +2 -0
- package/dist/uiComponents/colorPicker/utils/validate.d.ts.map +1 -0
- package/dist/uiComponents/createCursorLock.d.ts +2 -0
- package/dist/uiComponents/createCursorLock.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicCheckbox.d.ts +5 -0
- package/dist/uiComponents/form/BasicCheckbox.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicNumberInput.d.ts +26 -0
- package/dist/uiComponents/form/BasicNumberInput.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicSelect.d.ts +10 -0
- package/dist/uiComponents/form/BasicSelect.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicStringInput.d.ts +19 -0
- package/dist/uiComponents/form/BasicStringInput.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicSwitch.d.ts +9 -0
- package/dist/uiComponents/form/BasicSwitch.d.ts.map +1 -0
- package/dist/uiComponents/icons/AddImage.d.ts +4 -0
- package/dist/uiComponents/icons/AddImage.d.ts.map +1 -0
- package/dist/uiComponents/icons/ArrowClockwise.d.ts +4 -0
- package/dist/uiComponents/icons/ArrowClockwise.d.ts.map +1 -0
- package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts +4 -0
- package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts.map +1 -0
- package/dist/uiComponents/icons/Bell.d.ts +4 -0
- package/dist/uiComponents/icons/Bell.d.ts.map +1 -0
- package/dist/uiComponents/icons/Camera.d.ts +4 -0
- package/dist/uiComponents/icons/Camera.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronDown.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronDown.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronLeft.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronLeft.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronRight.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronRight.d.ts.map +1 -0
- package/dist/uiComponents/icons/Cube.d.ts +4 -0
- package/dist/uiComponents/icons/Cube.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeFull.d.ts +4 -0
- package/dist/uiComponents/icons/CubeFull.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeHalf.d.ts +4 -0
- package/dist/uiComponents/icons/CubeHalf.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeRendered.d.ts +4 -0
- package/dist/uiComponents/icons/CubeRendered.d.ts.map +1 -0
- package/dist/uiComponents/icons/Details.d.ts +4 -0
- package/dist/uiComponents/icons/Details.d.ts.map +1 -0
- package/dist/uiComponents/icons/DoubleChevronLeft.d.ts +4 -0
- package/dist/uiComponents/icons/DoubleChevronLeft.d.ts.map +1 -0
- package/dist/uiComponents/icons/DoubleChevronRight.d.ts +4 -0
- package/dist/uiComponents/icons/DoubleChevronRight.d.ts.map +1 -0
- package/dist/uiComponents/icons/Ellipsis.d.ts +4 -0
- package/dist/uiComponents/icons/Ellipsis.d.ts.map +1 -0
- package/dist/uiComponents/icons/EllipsisFill.d.ts +4 -0
- package/dist/uiComponents/icons/EllipsisFill.d.ts.map +1 -0
- package/dist/uiComponents/icons/GlobeSimple.d.ts +4 -0
- package/dist/uiComponents/icons/GlobeSimple.d.ts.map +1 -0
- package/dist/uiComponents/icons/Outline.d.ts +4 -0
- package/dist/uiComponents/icons/Outline.d.ts.map +1 -0
- package/dist/uiComponents/icons/Package.d.ts +4 -0
- package/dist/uiComponents/icons/Package.d.ts.map +1 -0
- package/dist/uiComponents/icons/Resize.d.ts +4 -0
- package/dist/uiComponents/icons/Resize.d.ts.map +1 -0
- package/dist/uiComponents/icons/Trash.d.ts +4 -0
- package/dist/uiComponents/icons/Trash.d.ts.map +1 -0
- package/dist/uiComponents/icons/index.d.ts +21 -0
- package/dist/uiComponents/icons/index.d.ts.map +1 -0
- package/dist/uiComponents/isSafari.d.ts +2 -0
- package/dist/uiComponents/isSafari.d.ts.map +1 -0
- package/dist/uiComponents/onPointerOutside.d.ts +6 -0
- package/dist/uiComponents/onPointerOutside.d.ts.map +1 -0
- package/dist/uiComponents/selects/BasicSelect.d.ts +15 -0
- package/dist/uiComponents/selects/BasicSelect.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.d.ts +16 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.d.ts +27 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/Item.d.ts +10 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/Item.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts +11 -0
- package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts +13 -0
- package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts +16 -0
- package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts +4 -0
- package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts +15 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts +3 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts.map +1 -0
- package/dist/uiComponents/useBoundingClientRect.d.ts +2 -0
- package/dist/uiComponents/useBoundingClientRect.d.ts.map +1 -0
- package/dist/uiComponents/useDebugRefreshEvery.d.ts +9 -0
- package/dist/uiComponents/useDebugRefreshEvery.d.ts.map +1 -0
- package/dist/uiComponents/useDrag.d.ts +76 -0
- package/dist/uiComponents/useDrag.d.ts.map +1 -0
- package/dist/uiComponents/useHotspot.d.ts +2 -0
- package/dist/uiComponents/useHotspot.d.ts.map +1 -0
- package/dist/uiComponents/useHover.d.ts +2 -0
- package/dist/uiComponents/useHover.d.ts.map +1 -0
- package/dist/uiComponents/useHoverWithoutDescendants.d.ts +5 -0
- package/dist/uiComponents/useHoverWithoutDescendants.d.ts.map +1 -0
- package/dist/uiComponents/useKeyDown.d.ts +3 -0
- package/dist/uiComponents/useKeyDown.d.ts.map +1 -0
- package/dist/uiComponents/useKeyDownCallback.d.ts +7 -0
- package/dist/uiComponents/useKeyDownCallback.d.ts.map +1 -0
- package/dist/uiComponents/useLockSet.d.ts +5 -0
- package/dist/uiComponents/useLockSet.d.ts.map +1 -0
- package/dist/uiComponents/useLogger.d.ts +7 -0
- package/dist/uiComponents/useLogger.d.ts.map +1 -0
- package/dist/uiComponents/useOnClickOutside.d.ts +2 -0
- package/dist/uiComponents/useOnClickOutside.d.ts.map +1 -0
- package/dist/uiComponents/useOnKeyDown.d.ts +2 -0
- package/dist/uiComponents/useOnKeyDown.d.ts.map +1 -0
- package/dist/uiComponents/usePresence.d.ts +30 -0
- package/dist/uiComponents/usePresence.d.ts.map +1 -0
- package/dist/uiComponents/useValToAtom.d.ts +3 -0
- package/dist/uiComponents/useValToAtom.d.ts.map +1 -0
- package/dist/utils/absoluteDims.d.ts +3 -0
- package/dist/utils/absoluteDims.d.ts.map +1 -0
- package/dist/utils/contextualWebComponents.d.ts +5 -0
- package/dist/utils/contextualWebComponents.d.ts.map +1 -0
- package/dist/utils/copyToClipboard.d.ts +2 -0
- package/dist/utils/copyToClipboard.d.ts.map +1 -0
- package/dist/utils/derive-utils.d.ts +21 -0
- package/dist/utils/derive-utils.d.ts.map +1 -0
- package/dist/utils/devStringify.d.ts +7 -0
- package/dist/utils/devStringify.d.ts.map +1 -0
- package/dist/utils/invariant.d.ts +35 -0
- package/dist/utils/invariant.d.ts.map +1 -0
- package/dist/utils/isMac.d.ts +2 -0
- package/dist/utils/isMac.d.ts.map +1 -0
- package/dist/utils/keyboardUtils.d.ts +9 -0
- package/dist/utils/keyboardUtils.d.ts.map +1 -0
- package/dist/utils/mousePositionD.d.ts +6 -0
- package/dist/utils/mousePositionD.d.ts.map +1 -0
- package/dist/utils/redux/actionCreator.d.ts +49 -0
- package/dist/utils/redux/actionCreator.d.ts.map +1 -0
- package/dist/utils/redux/actionCreator.test.d.ts +2 -0
- package/dist/utils/redux/actionCreator.test.d.ts.map +1 -0
- package/dist/utils/redux/actionReducersBundle.d.ts +18 -0
- package/dist/utils/redux/actionReducersBundle.d.ts.map +1 -0
- package/dist/utils/redux/atomFromReduxStore.d.ts +4 -0
- package/dist/utils/redux/atomFromReduxStore.d.ts.map +1 -0
- package/dist/utils/redux/configureStore.d.ts +9 -0
- package/dist/utils/redux/configureStore.d.ts.map +1 -0
- package/dist/utils/redux/pointerFriendlySelector.d.ts +10 -0
- package/dist/utils/redux/pointerFriendlySelector.d.ts.map +1 -0
- package/dist/utils/redux/withHistory/withBatchActions.d.ts +19 -0
- package/dist/utils/redux/withHistory/withBatchActions.d.ts.map +1 -0
- package/dist/utils/redux/withHistory/withHistory.d.ts +127 -0
- package/dist/utils/redux/withHistory/withHistory.d.ts.map +1 -0
- package/dist/utils/renderInPortalInContext.d.ts +7 -0
- package/dist/utils/renderInPortalInContext.d.ts.map +1 -0
- package/dist/utils/selectClosestHTMLAncestor.d.ts +5 -0
- package/dist/utils/selectClosestHTMLAncestor.d.ts.map +1 -0
- package/dist/utils/tightJsonStringify.d.ts +23 -0
- package/dist/utils/tightJsonStringify.d.ts.map +1 -0
- package/dist/utils/tightJsonStringify.test.d.ts +2 -0
- package/dist/utils/tightJsonStringify.test.d.ts.map +1 -0
- package/dist/utils/useRefAndState.d.ts +18 -0
- package/dist/utils/useRefAndState.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/index.mjs +0 -105
- package/dist/index.mjs.map +0 -7
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ElementType } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { $FixMe } from '@tomorrowevening/theatre-shared/utils/types';
|
|
4
|
+
type MenuItem = {
|
|
5
|
+
label: string | ElementType;
|
|
6
|
+
callback?: (e: React.MouseEvent) => void;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const BaseMenu: React.FC<{
|
|
10
|
+
items: MenuItem[];
|
|
11
|
+
ref?: $FixMe;
|
|
12
|
+
displayName?: string;
|
|
13
|
+
onRequestClose: () => void;
|
|
14
|
+
}>;
|
|
15
|
+
export default BaseMenu;
|
|
16
|
+
//# sourceMappingURL=BaseMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseMenu.d.ts","sourceRoot":"","sources":["../../../../../../../studio/src/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,6CAA6C,CAAA;AAiCvE,KAAK,QAAQ,GAAG;IACd,KAAK,EAAE,MAAM,GAAG,WAAW,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAElB,CAAA;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IACvB,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,IAAI,CAAA;CAC3B,CAqBC,CAAA;AAEF,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ElementType } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export type IContextMenuItemCustomNodeRenderFn = (controls: {
|
|
4
|
+
closeMenu(): void;
|
|
5
|
+
}) => React.ReactChild;
|
|
6
|
+
export type IContextMenuItem = {
|
|
7
|
+
label: string | ElementType;
|
|
8
|
+
callback?: (e: React.MouseEvent) => void;
|
|
9
|
+
enabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export type IContextMenuItemsValue = IContextMenuItem[] | (() => IContextMenuItem[]);
|
|
12
|
+
export type ContextMenuProps = {
|
|
13
|
+
items: IContextMenuItemsValue;
|
|
14
|
+
displayName?: string;
|
|
15
|
+
clickPoint: {
|
|
16
|
+
clientX: number;
|
|
17
|
+
clientY: number;
|
|
18
|
+
};
|
|
19
|
+
onRequestClose: () => void;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* TODO let's make sure that triggering a context menu would close
|
|
23
|
+
* the other open context menu (if one _is_ open).
|
|
24
|
+
*/
|
|
25
|
+
declare const ContextMenu: React.FC<ContextMenuProps>;
|
|
26
|
+
export default ContextMenu;
|
|
27
|
+
//# sourceMappingURL=ContextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../../studio/src/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAkC,MAAM,OAAO,CAAA;AAatD,MAAM,MAAM,kCAAkC,GAAG,CAAC,QAAQ,EAAE;IAC1D,SAAS,IAAI,IAAI,CAAA;CAClB,KAAK,KAAK,CAAC,UAAU,CAAA;AAEtB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,GAAG,WAAW,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAElB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAC9B,gBAAgB,EAAE,GAClB,CAAC,MAAM,gBAAgB,EAAE,CAAC,CAAA;AAE9B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,sBAAsB,CAAA;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,cAAc,EAAE,MAAM,IAAI,CAAA;CAC3B,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoF3C,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ElementType } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare const height = 26;
|
|
4
|
+
declare const Item: React.FC<{
|
|
5
|
+
label: string | ElementType;
|
|
6
|
+
onClick: (e: React.MouseEvent) => void;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
export default Item;
|
|
10
|
+
//# sourceMappingURL=Item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../studio/src/uiComponents/simpleContextMenu/ContextMenu/Item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,MAAM,KAAK,CAAA;AAgCxB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,WAAW,CAAA;IAC3B,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IACtC,OAAO,EAAE,OAAO,CAAA;CACjB,CAYA,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { VoidFn } from '@tomorrowevening/theatre-shared/utils/types';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { IContextMenuItemsValue, IContextMenuItem } from './ContextMenu/ContextMenu';
|
|
4
|
+
import type { IRequestContextMenuOptions } from './useRequestContextMenu';
|
|
5
|
+
export type { IContextMenuItemsValue, IContextMenuItem, IRequestContextMenuOptions, };
|
|
6
|
+
export default function useContextMenu(target: HTMLElement | SVGElement | null, opts: IRequestContextMenuOptions & {
|
|
7
|
+
menuItems: IContextMenuItemsValue;
|
|
8
|
+
displayName?: string;
|
|
9
|
+
onOpen?: () => void;
|
|
10
|
+
}): [node: React.ReactNode, close: VoidFn, isOpen: boolean];
|
|
11
|
+
//# sourceMappingURL=useContextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/uiComponents/simpleContextMenu/useContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,6CAA6C,CAAA;AACvE,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,yBAAyB,CAAA;AAIvE,YAAY,EACV,sBAAsB,EACtB,gBAAgB,EAChB,0BAA0B,GAC3B,CAAA;AAID,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,MAAM,EAAE,WAAW,GAAG,UAAU,GAAG,IAAI,EACvC,IAAI,EAAE,0BAA0B,GAAG;IACjC,SAAS,EAAE,sBAAsB,CAAA;IACjC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CACpB,GACA,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CA4BzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type IState = {
|
|
2
|
+
isOpen: true;
|
|
3
|
+
event: MouseEvent;
|
|
4
|
+
} | {
|
|
5
|
+
isOpen: false;
|
|
6
|
+
};
|
|
7
|
+
type CloseMenuFn = () => void;
|
|
8
|
+
export type IRequestContextMenuOptions = {
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const useRequestContextMenu: (target: HTMLElement | SVGElement | null, opts: IRequestContextMenuOptions) => [state: IState, close: CloseMenuFn];
|
|
12
|
+
export default useRequestContextMenu;
|
|
13
|
+
//# sourceMappingURL=useRequestContextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRequestContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/uiComponents/simpleContextMenu/useRequestContextMenu.ts"],"names":[],"mappings":"AAGA,KAAK,MAAM,GAAG;IAAC,MAAM,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAC,GAAG;IAAC,MAAM,EAAE,KAAK,CAAA;CAAC,CAAA;AAEjE,KAAK,WAAW,GAAG,MAAM,IAAI,CAAA;AAE7B,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,QAAA,MAAM,qBAAqB,WACjB,WAAW,GAAG,UAAU,GAAG,IAAI,QACjC,0BAA0B,wCAuBjC,CAAA;AAED,eAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ToolbarDropdownSelect: React.FC<{
|
|
3
|
+
value: string;
|
|
4
|
+
options: Array<{
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
icon: React.ReactElement;
|
|
8
|
+
}>;
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
label: (cur: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}) => string;
|
|
14
|
+
}>;
|
|
15
|
+
export default ToolbarDropdownSelect;
|
|
16
|
+
//# sourceMappingURL=ToolbarDropdownSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarDropdownSelect.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/uiComponents/toolbar/ToolbarDropdownSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,KAAK,CAAC,YAAY,CAAA;KAAC,CAAC,CAAA;IACxE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,KAAK,EAAE,CAAC,GAAG,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,KAAK,MAAM,CAAA;CACvD,CAEA,CAAA;AAED,eAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarIconButton.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/uiComponents/toolbar/ToolbarIconButton.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS,uEA0DrB,CAAA;AAED,QAAA,MAAM,iBAAiB,EAAE,OAAO,SAcZ,CAAA;AAEpB,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { IconType } from 'react-icons';
|
|
4
|
+
interface Props<Option> {
|
|
5
|
+
value: Option;
|
|
6
|
+
onChange: (value: Option) => void;
|
|
7
|
+
options: {
|
|
8
|
+
value: Option;
|
|
9
|
+
label: string;
|
|
10
|
+
icon: ReactElement<IconType>;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
declare const ToolbarSwitchSelect: <Option extends string | number>({ value: valueOfSwitch, onChange, options, }: Props<Option>) => React.JSX.Element;
|
|
14
|
+
export default ToolbarSwitchSelect;
|
|
15
|
+
//# sourceMappingURL=ToolbarSwitchSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarSwitchSelect.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/uiComponents/toolbar/ToolbarSwitchSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;AAiCzC,UAAU,KAAK,CAAC,MAAM;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAA;KAC7B,EAAE,CAAA;CACJ;AAED,QAAA,MAAM,mBAAmB,oHAmBxB,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarSwitchSelectContainer.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/uiComponents/toolbar/ToolbarSwitchSelectContainer.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS,wJAKd,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBoundingClientRect.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useBoundingClientRect.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,IAAI,EAAE,OAAO,GAAG,IAAI,GACnB,IAAI,GAAG,OAAO,CAchB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Little utility hook that refreshes a react element every `ms` milliseconds. Use
|
|
3
|
+
* it to debug whether the props of the element, or the return values of its hooks
|
|
4
|
+
* are getting properly updated.
|
|
5
|
+
*
|
|
6
|
+
* @param ms - interval in milliseconds
|
|
7
|
+
*/
|
|
8
|
+
export default function useDebugRefreshEvery(ms?: number): void;
|
|
9
|
+
//# sourceMappingURL=useDebugRefreshEvery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebugRefreshEvery.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useDebugRefreshEvery.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,GAAE,MAAY,QAY5D"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare enum MouseButton {
|
|
2
|
+
Left = 0,
|
|
3
|
+
Middle = 1
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* dx, dy: delta x/y from the start of the drag
|
|
7
|
+
*
|
|
8
|
+
* Total movement since the start of the drag. This is commonly used with something like "drag keyframe" or "drag handle",
|
|
9
|
+
* where you might be dragging an item around in the UI.
|
|
10
|
+
* @param totalDragDeltaX - x moved total
|
|
11
|
+
* @param totalDragDeltaY - y moved total
|
|
12
|
+
*
|
|
13
|
+
* Movement from the last event / on drag call. This is commonly used with something like "prop nudge".
|
|
14
|
+
* @param dxFromLastEvent - x moved since last event
|
|
15
|
+
* @param dyFromLastEvent - y moved since last event
|
|
16
|
+
*/
|
|
17
|
+
type OnDragCallback = (totalDragDeltaX: number, totalDragDeltaY: number, event: MouseEvent, dxFromLastEvent: number, dyFromLastEvent: number) => void;
|
|
18
|
+
type OnClickCallback = (mouseUpEvent: MouseEvent) => void;
|
|
19
|
+
type OnDragEndCallback = (dragHappened: boolean, event?: MouseEvent) => void;
|
|
20
|
+
export type UseDragOpts = {
|
|
21
|
+
/**
|
|
22
|
+
* Provide a name for the thing wanting to use the drag helper.
|
|
23
|
+
* This can show up in various errors and potential debug logs to help narrow down.
|
|
24
|
+
*/
|
|
25
|
+
debugName: string;
|
|
26
|
+
/**
|
|
27
|
+
* Setting it to true will disable the listeners.
|
|
28
|
+
*/
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Setting it to true will allow the mouse down events to propagate up
|
|
32
|
+
*/
|
|
33
|
+
dontBlockMouseDown?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Tells the browser to take control of the mouse pointer so that
|
|
36
|
+
* the user can drag endlessly in any direction without hitting the
|
|
37
|
+
* side of their screen.
|
|
38
|
+
*
|
|
39
|
+
* Note: that if we detect that the browser is
|
|
40
|
+
* safari then pointer lock is not used because the pointer lock
|
|
41
|
+
* banner annoyingly shifts the entire page down.
|
|
42
|
+
*
|
|
43
|
+
* ref: https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API
|
|
44
|
+
*/
|
|
45
|
+
shouldPointerLock?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The css cursor property during the gesture will be locked to this value
|
|
48
|
+
*/
|
|
49
|
+
lockCSSCursorTo?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Called at the start of the gesture. Mind you, that this would be called, even
|
|
52
|
+
* if the user is just clicking (and not dragging). However, if the gesture turns
|
|
53
|
+
* out to be a click, then `onDragEnd(false)` will be called. Otherwise,
|
|
54
|
+
* a series of `onDrag(dx, dy, event)` events will be called, and the
|
|
55
|
+
* gesture will end with `onDragEnd(true)`.
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* @returns
|
|
59
|
+
* onDragStart can be undefined, in which case, we always handle useDrag,
|
|
60
|
+
* but when defined, we can allow the handler to return false to indicate ignore this dragging
|
|
61
|
+
*/
|
|
62
|
+
onDragStart: (event: MouseEvent) => false | {
|
|
63
|
+
/**
|
|
64
|
+
* Called at the end of the drag gesture.
|
|
65
|
+
* `dragHappened` will be `true` if the user actually moved the pointer
|
|
66
|
+
* (if onDrag isn't called, then this will be false becuase the user hasn't moved the pointer)
|
|
67
|
+
*/
|
|
68
|
+
onDragEnd?: OnDragEndCallback;
|
|
69
|
+
onDrag: OnDragCallback;
|
|
70
|
+
onClick?: OnClickCallback;
|
|
71
|
+
};
|
|
72
|
+
buttons?: [MouseButton] | [MouseButton, MouseButton] | [MouseButton | MouseButton | MouseButton];
|
|
73
|
+
};
|
|
74
|
+
export default function useDrag(target: HTMLElement | SVGElement | undefined | null, opts: UseDragOpts): [isDragging: boolean];
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=useDrag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrag.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useDrag.ts"],"names":[],"mappings":"AASA,oBAAY,WAAW;IACrB,IAAI,IAAI;IACR,MAAM,IAAI;CAGX;AAED;;;;;;;;;;;GAWG;AACH,KAAK,cAAc,GAAG,CACpB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,KAAK,EAAE,UAAU,EACjB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,KACpB,IAAI,CAAA;AAET,KAAK,eAAe,GAAG,CAAC,YAAY,EAAE,UAAU,KAAK,IAAI,CAAA;AAEzD,KAAK,iBAAiB,GAAG,CAAC,YAAY,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;AAE5E,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;;;;;;;;;OAUG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;;;;;;;;OAWG;IACH,WAAW,EAAE,CAAC,KAAK,EAAE,UAAU,KAC3B,KAAK,GACL;QACE;;;;WAIG;QACH,SAAS,CAAC,EAAE,iBAAiB,CAAA;QAC7B,MAAM,EAAE,cAAc,CAAA;QACtB,OAAO,CAAC,EAAE,eAAe,CAAA;KAC1B,CAAA;IAGL,OAAO,CAAC,EACJ,CAAC,WAAW,CAAC,GACb,CAAC,WAAW,EAAE,WAAW,CAAC,GAC1B,CAAC,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC,CAAA;CAC9C,CAAA;AAqDD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,MAAM,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,IAAI,EACnD,IAAI,EAAE,WAAW,GAChB,CAAC,UAAU,EAAE,OAAO,CAAC,CAiNvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHotspot.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useHotspot.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,WAqCxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useHover.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAC9B,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACrC,OAAO,CAwBT"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A react hook that returns true if the pointer is hovering over the target element and not its descendants
|
|
3
|
+
*/
|
|
4
|
+
export default function useHoverWithoutDescendants(target: HTMLElement | null | undefined): boolean;
|
|
5
|
+
//# sourceMappingURL=useHoverWithoutDescendants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHoverWithoutDescendants.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useHoverWithoutDescendants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAChD,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACrC,OAAO,CA+BT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyDown.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useKeyDown.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AAErD,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,KAAK,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAC9C,OAAO,CAMT"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type AcceptableCombo = 'Shift' | 'Meta' | 'Control' | 'Alt';
|
|
2
|
+
export default function useKeyDownCallback(combo: AcceptableCombo, listener: (opts: {
|
|
3
|
+
down: boolean;
|
|
4
|
+
event: KeyboardEvent | undefined;
|
|
5
|
+
}) => void): void;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=useKeyDownCallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyDownCallback.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useKeyDownCallback.tsx"],"names":[],"mappings":"AAEA,KAAK,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,KAAK,CAAA;AAE3D,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,CAAC,IAAI,EAAE;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,aAAa,GAAG,SAAS,CAAA;CAAC,KAAK,IAAI,QA8B5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLockSet.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useLockSet.ts"],"names":[],"mappings":"AAEA,KAAK,MAAM,GAAG,MAAM,IAAI,CAAA;AAExB,KAAK,OAAO,GAAG,MAAM,MAAM,CAAA;AAE3B,MAAM,CAAC,OAAO,UAAU,UAAU,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAe1E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ILogger } from '@tomorrowevening/theatre-shared/logger';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare function ProvideLogger(props: React.PropsWithChildren<{
|
|
4
|
+
logger: ILogger;
|
|
5
|
+
}>): React.JSX.Element;
|
|
6
|
+
export declare function useLogger(name?: string, key?: number | string): ILogger;
|
|
7
|
+
//# sourceMappingURL=useLogger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLogger.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useLogger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,wCAAwC,CAAA;AACnE,OAAO,KAA4B,MAAM,OAAO,CAAA;AAGhD,wBAAgB,aAAa,CAC3B,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAC,CAAC,qBAOlD;AAED,wBAAgB,SAAS,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,WAS7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOnClickOutside.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useOnClickOutside.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,SAAS,EAAE,OAAO,GAAG,IAAI,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,EAC9C,SAAS,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,EAClC,OAAO,CAAC,EAAE,OAAO,QA8BlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOnKeyDown.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useOnKeyDown.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,aAAa,KAAK,IAAI,QAUzE"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { StudioSheetItemKey } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/** To mean the presence value */
|
|
4
|
+
export declare enum PresenceFlag {
|
|
5
|
+
/** Self is hovered or what represents "self" is being hovered */
|
|
6
|
+
Primary = 2,
|
|
7
|
+
/** Related item is hovered */
|
|
8
|
+
Secondary = 1
|
|
9
|
+
}
|
|
10
|
+
type FlagRelationConfig = {
|
|
11
|
+
affects: StudioSheetItemKey;
|
|
12
|
+
/** adds this flag to affects */
|
|
13
|
+
flag: PresenceFlag;
|
|
14
|
+
};
|
|
15
|
+
type InternalPresenceContext = {
|
|
16
|
+
usePresenceFlag(itemKey: StudioSheetItemKey | undefined): PresenceFlag | undefined;
|
|
17
|
+
setUserHover(itemKey: StudioSheetItemKey | undefined): void;
|
|
18
|
+
addRelatedFlags(itemKey: StudioSheetItemKey, config: Array<FlagRelationConfig>): () => void;
|
|
19
|
+
};
|
|
20
|
+
export declare function ProvidePresenceRoot({ children }: React.PropsWithChildren<{}>): React.FunctionComponentElement<React.ProviderProps<InternalPresenceContext>>;
|
|
21
|
+
export default function usePresence(key: StudioSheetItemKey | undefined): {
|
|
22
|
+
attrs: {
|
|
23
|
+
[attr: `data-${string}`]: string;
|
|
24
|
+
};
|
|
25
|
+
flag: PresenceFlag | undefined;
|
|
26
|
+
useRelations(getRelations: () => Array<FlagRelationConfig>, deps: any[]): void;
|
|
27
|
+
};
|
|
28
|
+
export declare function usePresenceListenersOnRootElement(target: HTMLElement | null | undefined): void;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=usePresence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePresence.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/usePresence.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,2CAA2C,CAAA;AAEjF,OAAO,KAAgB,MAAM,OAAO,CAAA;AASpC,iCAAiC;AACjC,oBAAY,YAAY;IACtB,iEAAiE;IACjE,OAAO,IAAI;IACX,8BAA8B;IAC9B,SAAS,IAAI;CAGd;AAoGD,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,kBAAkB,CAAA;IAC3B,gCAAgC;IAChC,IAAI,EAAE,YAAY,CAAA;CACnB,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,eAAe,CACb,OAAO,EAAE,kBAAkB,GAAG,SAAS,GACtC,YAAY,GAAG,SAAS,CAAA;IAC3B,YAAY,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI,CAAA;IAC3D,eAAe,CACb,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAChC,MAAM,IAAI,CAAA;CACd,CAAA;AAKD,wBAAgB,mBAAmB,CAAC,EAAC,QAAQ,EAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC,gFAO1E;AAID,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,GAAG,EAAE,kBAAkB,GAAG,SAAS,GAAG;IACxE,KAAK,EAAE;QAAC,CAAC,IAAI,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,CAAA;KAAC,CAAA;IACzC,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;IAC9B,YAAY,CAAC,YAAY,EAAE,MAAM,KAAK,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAA;CAC/E,CAeA;AAED,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,QA8CvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useValToAtom.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useValToAtom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,oCAAoC,CAAA;AAGvD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAUvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"absoluteDims.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/absoluteDims.tsx"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,eAAO,MAAM,YAAY,MAAO,MAAM,uBAKrC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export declare function registerContextualWebComponent<Props>(ReactComponent: React.ComponentType<Props>, componentName: string, propKeys: {
|
|
3
|
+
[propKey in keyof Props]: 'string';
|
|
4
|
+
}): void;
|
|
5
|
+
//# sourceMappingURL=contextualWebComponents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextualWebComponents.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/contextualWebComponents.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,wBAAgB,8BAA8B,CAAC,KAAK,EAClD,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,EAC1C,aAAa,EAAE,MAAM,EAErB,QAAQ,EAAE;KAAE,OAAO,IAAI,MAAM,KAAK,GAAG,QAAQ;CAAC,GAC7C,IAAI,CAgDN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyToClipboard.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/copyToClipboard.ts"],"names":[],"mappings":"AAAA,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAyBpE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Prism, Pointer } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export type $<T> = Prism<T> | Pointer<T>;
|
|
4
|
+
/** This is only used for type checking to make sure the APIs are used properly */
|
|
5
|
+
interface TSErrors<M> extends Error {
|
|
6
|
+
}
|
|
7
|
+
type ReactDeriver<Props extends {}> = (props: {
|
|
8
|
+
[P in keyof Props]: Props[P] extends Prism<infer _> ? TSErrors<"Can't both use Derivation properties while wrapping with deriver"> : Props[P] | Prism<Props[P]>;
|
|
9
|
+
}) => React.ReactElement | null;
|
|
10
|
+
/**
|
|
11
|
+
* Wrap up the component to enable it to take derivable properties.
|
|
12
|
+
* Invoked similarly to `React.memo`.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* This is an experimental interface for wrapping components in a version
|
|
16
|
+
* which allows you to pass in derivations for any of the properties that
|
|
17
|
+
* previously took only values.
|
|
18
|
+
*/
|
|
19
|
+
export declare function deriver<Props extends {}>(Component: React.ComponentType<Props>): ReactDeriver<Omit<Props, keyof JSX.IntrinsicAttributes>>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=derive-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"derive-utils.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/derive-utils.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,KAAK,EAAE,OAAO,EAAC,MAAM,oCAAoC,CAAA;AAGtE,OAAO,KAAwB,MAAM,OAAO,CAAA;AAS5C,MAAM,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;AAwBxC,kFAAkF;AAClF,UAAU,QAAQ,CAAC,CAAC,CAAE,SAAQ,KAAK;CAAG;AAEtC,KAAK,YAAY,CAAC,KAAK,SAAS,EAAE,IAAI,CACpC,KAAK,EAAE;KACJ,CAAC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GAC/C,QAAQ,CAAC,kEAAkE,CAAC,GAC5E,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;CAC/B,KACE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;AAE9B;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,KAAK,SAAS,EAAE,EACtC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,GACpC,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,mBAAmB,CAAC,CAAC,CA4C1D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stringifies any value given. If an object is given and `indentJSON` is true,
|
|
3
|
+
* then a developer-readable, command line friendly (not too spaced out, but with
|
|
4
|
+
* enough whitespace to be readable).
|
|
5
|
+
*/
|
|
6
|
+
export declare function devStringify(input: any, indentJSON?: boolean): string;
|
|
7
|
+
//# sourceMappingURL=devStringify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devStringify.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/devStringify.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,GAAE,OAAc,GAAG,MAAM,CAY3E"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type AllowedMessageTypes = string | number | object;
|
|
2
|
+
/**
|
|
3
|
+
* invariants are like `expect` from jest or another testing library but
|
|
4
|
+
* for use in implementations and not just tests. If the `condition` passed
|
|
5
|
+
* to `invariant` is falsy then `message`, and optionally `found`, are thrown as a
|
|
6
|
+
* {@link InvariantError} which has a developer-readable and command line friendly
|
|
7
|
+
* stack trace and error message.
|
|
8
|
+
*/
|
|
9
|
+
export declare function invariant(shouldBeTruthy: any, message: (() => AllowedMessageTypes) | AllowedMessageTypes, butFoundInstead?: any): asserts shouldBeTruthy;
|
|
10
|
+
/**
|
|
11
|
+
* Throws an error message with a developer-readable and command line friendly
|
|
12
|
+
* string of the argument `butFoundInstead`.
|
|
13
|
+
*
|
|
14
|
+
* Also see {@link invariant}, which accepts a condition.
|
|
15
|
+
*/
|
|
16
|
+
export declare function invariantThrow(message: (() => AllowedMessageTypes) | AllowedMessageTypes, butFoundInstead?: any): never;
|
|
17
|
+
/**
|
|
18
|
+
* Enable exhaustive checking
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* function a(x: 'a' | 'b') {
|
|
23
|
+
* if (x === 'a') {
|
|
24
|
+
*
|
|
25
|
+
* } else if (x === 'b') {
|
|
26
|
+
*
|
|
27
|
+
* } else {
|
|
28
|
+
* invariantUnreachable(x)
|
|
29
|
+
* }
|
|
30
|
+
* }
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare function invariantUnreachable(x: never): never;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=invariant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/invariant.ts"],"names":[],"mappings":"AAEA,KAAK,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAEnD;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,cAAc,EAAE,GAAG,EACnB,OAAO,EAAE,CAAC,MAAM,mBAAmB,CAAC,GAAG,mBAAmB,EAC1D,eAAe,CAAC,EAAE,GAAG,GACpB,OAAO,CAAC,cAAc,CASxB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,CAAC,MAAM,mBAAmB,CAAC,GAAG,mBAAmB,EAC1D,eAAe,CAAC,EAAE,GAAG,GACpB,KAAK,CASP;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK,CAKpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isMac.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/isMac.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,SAEoC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* On mac, it checks Cmd, on windows, ctrl
|
|
3
|
+
*/
|
|
4
|
+
export declare const cmdIsDown: (e: KeyboardEvent | MouseEvent) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* On mac, it checks for ctrl, on windows, Win
|
|
7
|
+
*/
|
|
8
|
+
export declare const ctrlIsDown: (e: KeyboardEvent | MouseEvent) => boolean;
|
|
9
|
+
//# sourceMappingURL=keyboardUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboardUtils.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/keyboardUtils.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,SAAS,MAAO,aAAa,GAAG,UAAU,YAMtD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,MAAO,aAAa,GAAG,UAAU,YAMvD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mousePositionD.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/mousePositionD.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,QAAA,MAAM,cAAc,uEAkBlB,CAAA;AAEF,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { $IntentionalAny } from '@tomorrowevening/theatre-shared/utils/types';
|
|
2
|
+
interface Transformer<Input extends $IntentionalAny, Output extends $IntentionalAny> {
|
|
3
|
+
(input: Input): Output;
|
|
4
|
+
}
|
|
5
|
+
type SubString<T> = T extends string ? (string extends T ? never : T) : never;
|
|
6
|
+
interface ActionCreatorCreator {
|
|
7
|
+
<ActionType extends string, Payload, Input>(actionType: SubString<ActionType>, transformer: Transformer<Input, Payload>): {
|
|
8
|
+
(input: Input): {
|
|
9
|
+
type: SubString<ActionType>;
|
|
10
|
+
payload: Payload;
|
|
11
|
+
};
|
|
12
|
+
type: SubString<ActionType>;
|
|
13
|
+
ActionType: {
|
|
14
|
+
type: SubString<ActionType>;
|
|
15
|
+
payload: Payload;
|
|
16
|
+
};
|
|
17
|
+
is: (o: $IntentionalAny) => o is {
|
|
18
|
+
type: SubString<ActionType>;
|
|
19
|
+
payload: Payload;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
<ActionType extends string>(actionType: SubString<ActionType>): {
|
|
23
|
+
<Payload>(payload: Payload): {
|
|
24
|
+
type: SubString<ActionType>;
|
|
25
|
+
payload: Payload;
|
|
26
|
+
};
|
|
27
|
+
(): {
|
|
28
|
+
type: SubString<ActionType>;
|
|
29
|
+
payload: void;
|
|
30
|
+
};
|
|
31
|
+
type: SubString<ActionType>;
|
|
32
|
+
ActionType: {
|
|
33
|
+
type: SubString<ActionType>;
|
|
34
|
+
payload: unknown;
|
|
35
|
+
};
|
|
36
|
+
is: (o: unknown) => o is {
|
|
37
|
+
type: SubString<ActionType>;
|
|
38
|
+
payload: unknown;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* This is basically the same as `{createAction}` from 'redux-actions',
|
|
44
|
+
* only that you can query the type of the action from the resulting
|
|
45
|
+
* action creator.
|
|
46
|
+
*/
|
|
47
|
+
declare const actionCreator: ActionCreatorCreator;
|
|
48
|
+
export default actionCreator;
|
|
49
|
+
//# sourceMappingURL=actionCreator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionCreator.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/utils/redux/actionCreator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,6CAA6C,CAAA;AAMhF,UAAU,WAAW,CACnB,KAAK,SAAS,eAAe,EAC7B,MAAM,SAAS,eAAe;IAE9B,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAA;CACvB;AAED,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,CAAC,MAAM,SAAS,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC,GAAG,KAAK,CAAA;AAE7E,UAAU,oBAAoB;IAC5B,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,EAAE,KAAK,EACxC,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC,EACjC,WAAW,EAAE,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,GACvC;QACD,CAAC,KAAK,EAAE,KAAK,GAAG;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC/D,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;QAC3B,UAAU,EAAE;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC3D,EAAE,EAAE,CACF,CAAC,EAAE,eAAe,KACf,CAAC,IAAI;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;KAC1D,CAAA;IAED,CAAC,UAAU,SAAS,MAAM,EAAE,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG;QAC9D,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC5E,IAAI;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,IAAI,CAAA;SAAC,CAAA;QAChD,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;QAC3B,UAAU,EAAE;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC3D,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,CAAC,IAAI;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;KACzE,CAAA;CACF;AAED;;;;GAIG;AACH,QAAA,MAAM,aAAa,EAAE,oBAapB,CAAA;AAED,eAAe,aAAa,CAAA"}
|