@tomorrowevening/theatre-studio 1.0.4 → 1.0.5
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/IDBStorage.js +19 -0
- package/dist/PaneManager.d.ts +16 -0
- package/dist/PaneManager.d.ts.map +1 -0
- package/dist/PaneManager.js +112 -0
- package/dist/Scrub.d.ts +83 -0
- package/dist/Scrub.d.ts.map +1 -0
- package/dist/Scrub.js +134 -0
- package/dist/Studio.d.ts +79 -0
- package/dist/Studio.d.ts.map +1 -0
- package/dist/Studio.js +405 -0
- package/dist/StudioBundle.d.ts +10 -0
- package/dist/StudioBundle.d.ts.map +1 -0
- package/dist/StudioBundle.js +21 -0
- package/dist/StudioStore/StudioStore.d.ts +46 -0
- package/dist/StudioStore/StudioStore.d.ts.map +1 -0
- package/dist/StudioStore/StudioStore.js +163 -0
- package/dist/StudioStore/createTransactionPrivateApi.d.ts +3 -0
- package/dist/StudioStore/createTransactionPrivateApi.d.ts.map +1 -0
- package/dist/StudioStore/createTransactionPrivateApi.js +204 -0
- package/dist/StudioStore/generateDiskStateRevision.d.ts +2 -0
- package/dist/StudioStore/generateDiskStateRevision.d.ts.map +1 -0
- package/dist/StudioStore/generateDiskStateRevision.js +4 -0
- package/dist/StudioStore/persistStateOfStudio.d.ts +5 -0
- package/dist/StudioStore/persistStateOfStudio.d.ts.map +1 -0
- package/dist/StudioStore/persistStateOfStudio.js +61 -0
- package/dist/TheatreStudio.d.ts +426 -0
- package/dist/TheatreStudio.d.ts.map +1 -0
- package/dist/TheatreStudio.js +154 -0
- package/dist/UI/UI.d.ts +14 -0
- package/dist/UI/UI.d.ts.map +1 -0
- package/dist/UI/UI.js +65 -0
- package/dist/UI/UINonSSRBits.d.ts +10 -0
- package/dist/UI/UINonSSRBits.d.ts.map +1 -0
- package/dist/UI/UINonSSRBits.js +60 -0
- package/dist/UIRoot/PanelsRoot.d.ts +4 -0
- package/dist/UIRoot/PanelsRoot.d.ts.map +1 -0
- package/dist/UIRoot/PanelsRoot.js +19 -0
- package/dist/UIRoot/PointerCapturing.d.ts +46 -0
- package/dist/UIRoot/PointerCapturing.d.ts.map +1 -0
- package/dist/UIRoot/PointerCapturing.js +96 -0
- package/dist/UIRoot/ProvideTheme.d.ts +6 -0
- package/dist/UIRoot/ProvideTheme.d.ts.map +1 -0
- package/dist/UIRoot/ProvideTheme.js +9 -0
- package/dist/UIRoot/UIRoot.d.ts +5 -0
- package/dist/UIRoot/UIRoot.d.ts.map +1 -0
- package/dist/UIRoot/UIRoot.js +79 -0
- package/dist/UIRoot/useKeyboardShortcuts.d.ts +7 -0
- package/dist/UIRoot/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/UIRoot/useKeyboardShortcuts.js +158 -0
- package/dist/checkForUpdates.d.ts +2 -0
- package/dist/checkForUpdates.d.ts.map +1 -0
- package/dist/checkForUpdates.js +86 -0
- package/dist/css.d.ts +39 -0
- package/dist/css.d.ts.map +1 -0
- package/dist/css.js +116 -0
- package/dist/getStudio.d.ts +7 -0
- package/dist/getStudio.d.ts.map +1 -0
- package/dist/getStudio.js +10 -0
- package/dist/index.d.ts +6 -9
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +56 -105
- package/dist/notify.d.ts +12 -0
- package/dist/notify.d.ts.map +1 -0
- package/dist/notify.js +328 -0
- package/dist/panels/BasePanel/BasePanel.d.ts +35 -0
- package/dist/panels/BasePanel/BasePanel.d.ts.map +1 -0
- package/dist/panels/BasePanel/BasePanel.js +74 -0
- package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts +8 -0
- package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts.map +1 -0
- package/dist/panels/BasePanel/ExtensionPaneWrapper.js +138 -0
- package/dist/panels/BasePanel/PanelDragZone.d.ts +4 -0
- package/dist/panels/BasePanel/PanelDragZone.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelDragZone.js +88 -0
- package/dist/panels/BasePanel/PanelResizeHandle.d.ts +7 -0
- package/dist/panels/BasePanel/PanelResizeHandle.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelResizeHandle.js +184 -0
- package/dist/panels/BasePanel/PanelResizers.d.ts +4 -0
- package/dist/panels/BasePanel/PanelResizers.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelResizers.js +14 -0
- package/dist/panels/BasePanel/PanelWrapper.d.ts +4 -0
- package/dist/panels/BasePanel/PanelWrapper.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelWrapper.js +34 -0
- package/dist/panels/BasePanel/common.d.ts +15 -0
- package/dist/panels/BasePanel/common.d.ts.map +1 -0
- package/dist/panels/BasePanel/common.js +52 -0
- package/dist/panels/DetailPanel/DetailPanel.d.ts +6 -0
- package/dist/panels/DetailPanel/DetailPanel.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DetailPanel.js +146 -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/DetailCompoundPropEditor.js +169 -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/DetailSimplePropEditor.js +22 -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/SingleRowPropEditor.js +89 -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/getDetailRowHighlightBackground.js +7 -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/rowIndentationFormulaCSS.js +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/DeterminePropEditorForDetail.js +28 -0
- package/dist/panels/DetailPanel/EmptyState.d.ts +4 -0
- package/dist/panels/DetailPanel/EmptyState.d.ts.map +1 -0
- package/dist/panels/DetailPanel/EmptyState.js +36 -0
- package/dist/panels/DetailPanel/ObjectDetails.d.ts +8 -0
- package/dist/panels/DetailPanel/ObjectDetails.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ObjectDetails.js +52 -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/StateConflictRow.js +86 -0
- package/dist/panels/DetailPanel/ProjectDetails.d.ts +7 -0
- package/dist/panels/DetailPanel/ProjectDetails.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ProjectDetails.js +98 -0
- package/dist/panels/OutlinePanel/BaseItem.d.ts +18 -0
- package/dist/panels/OutlinePanel/BaseItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/BaseItem.js +136 -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/ObjectItem.js +14 -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/ObjectsList/ObjectsList.js +85 -0
- package/dist/panels/OutlinePanel/OutlinePanel.d.ts +5 -0
- package/dist/panels/OutlinePanel/OutlinePanel.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/OutlinePanel.js +73 -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/ProjectListItem.js +38 -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/ProjectsList/ProjectsList.js +22 -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/SheetInstanceItem.js +36 -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/SheetItem.js +23 -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/SheetsList/SheetsList.js +15 -0
- package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts +11 -0
- package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/outlinePanelUtils.js +23 -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/DopeSheet.js +21 -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/AnyCompositeRow.js +74 -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/Left.js +25 -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/PrimitivePropRow.js +97 -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/PropWithChildrenRow.js +15 -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/SheetObjectRow.js +19 -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/SheetRow.js +20 -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/Left/usePropHighlightMouseEnter.js +33 -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/AggregateKeyframeConnector.js +187 -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/AggregateKeyframeDot.js +158 -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/AggregateKeyframeEditor.js +32 -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/AggregateKeyframeVisualDot.js +61 -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/iif.js +3 -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/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.js +73 -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/AggregatedKeyframeTrack/AggregatedKeyframeTrack.js +407 -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/BasicKeyframedTrack.js +108 -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/BasicKeyframeConnector.js +185 -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/CurveEditorPopover.js +397 -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/CurveSegmentEditor.js +136 -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/EasingOption.js +52 -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/SVGCurveSegment.js +43 -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/colors.js +3 -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/shared.js +84 -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/useFreezableMemo.js +16 -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/CurveEditorPopover/useUIOptionGrid.js +82 -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/DeterminePropEditorForSingleKeyframe.js +93 -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/SingleKeyframeDot.js +254 -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/SingleKeyframeEditor.js +22 -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/useSingleKeyframeInlineEditorPopover.js +11 -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/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.js +43 -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/DopeSheetBackground.js +24 -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/DopeSheetSelectionView.js +272 -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/FocusRangeCurtains.js +88 -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/HorizontallyScrollableArea.js +215 -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/KeyframeSnapTarget.js +55 -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/LengthEditorPopover.js +69 -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/LengthIndicator/LengthIndicator.js +217 -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/PrimitivePropRow.js +25 -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/PropWithChildrenRow.js +18 -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/Right.js +30 -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/Row.js +50 -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/SheetObjectRow.js +14 -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/SheetRow.js +14 -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/collectAggregateKeyframes.js +92 -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/Right/keyframeRowUI/ConnectorLine.js +62 -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/selections.js +149 -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/DopeSheet/setCollapsedSheetObjectOrCompoundProp.js +10 -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/FrameGrid.js +92 -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/StampsGrid.js +99 -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/FrameGrid/createGrid.js +49 -0
- package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts +52 -0
- package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.js +189 -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/BasicKeyframedTrack.js +91 -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/Curve.js +87 -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/CurveHandle.js +186 -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/GraphEditorDotNonScalar.js +162 -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/GraphEditorDotScalar.js +209 -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/GraphEditorNonScalarDash.js +23 -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/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.js +30 -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/GraphEditor.js +73 -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/GraphEditor/PrimitivePropGraph.js +20 -0
- package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditorToggle.js +59 -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/DopeSnap.js +36 -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/DopeSnapHitZoneUI.js +57 -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/FocusRangeStrip.js +233 -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/FocusRangeThumb.js +217 -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/FocusRangeZone/FocusRangeZone.js +181 -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/FrameStamp.js +65 -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/HorizontalScrollbar.js +235 -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/MarkerDot.js +184 -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/MarkerEditorPopover.js +65 -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/Markers/Markers.js +13 -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/Playhead.js +265 -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/PlayheadPositionPopover.js +64 -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/RightOverlay.js +35 -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/RightOverlay/TopStrip.js +31 -0
- package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts +15 -0
- package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.js +179 -0
- package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts +19 -0
- package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.js +42 -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/layout.js +166 -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/layout/tree.js +139 -0
- package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.js +58 -0
- package/dist/propEditors/DefaultValueIndicator.d.ts +12 -0
- package/dist/propEditors/DefaultValueIndicator.d.ts.map +1 -0
- package/dist/propEditors/DefaultValueIndicator.js +64 -0
- package/dist/propEditors/NextPrevKeyframeCursors.d.ts +29 -0
- package/dist/propEditors/NextPrevKeyframeCursors.d.ts.map +1 -0
- package/dist/propEditors/NextPrevKeyframeCursors.js +135 -0
- package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts +9 -0
- package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts.map +1 -0
- package/dist/propEditors/getNearbyKeyframesOfTrack.js +46 -0
- package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/BooleanPropEditor.js +17 -0
- package/dist/propEditors/simpleEditors/FilePropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/FilePropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/FilePropEditor.js +118 -0
- package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts +10 -0
- package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.js +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/ImagePropEditor.js +126 -0
- package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/NumberPropEditor.js +9 -0
- package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/RgbaPropEditor.js +73 -0
- package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/StringLiteralPropEditor.js +10 -0
- package/dist/propEditors/simpleEditors/StringPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/StringPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/StringPropEditor.js +6 -0
- package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts +10 -0
- package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/simplePropEditorByPropType.js +16 -0
- package/dist/propEditors/useEditingToolsForCompoundProp.d.ts +27 -0
- package/dist/propEditors/useEditingToolsForCompoundProp.d.ts.map +1 -0
- package/dist/propEditors/useEditingToolsForCompoundProp.js +228 -0
- package/dist/propEditors/useEditingToolsForSimpleProp.d.ts +47 -0
- package/dist/propEditors/useEditingToolsForSimpleProp.d.ts.map +1 -0
- package/dist/propEditors/useEditingToolsForSimpleProp.js +229 -0
- package/dist/propEditors/utils/IEditingTools.d.ts +9 -0
- package/dist/propEditors/utils/IEditingTools.d.ts.map +1 -0
- package/dist/propEditors/utils/IEditingTools.js +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/PropConfigForType.js +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/getPropTypeByPointer.js +48 -0
- package/dist/propEditors/utils/propNameTextCSS.d.ts +5 -0
- package/dist/propEditors/utils/propNameTextCSS.d.ts.map +1 -0
- package/dist/propEditors/utils/propNameTextCSS.js +7 -0
- package/dist/selectors.d.ts +13 -0
- package/dist/selectors.d.ts.map +1 -0
- package/dist/selectors.js +63 -0
- package/dist/store/index.d.ts +210 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +184 -0
- package/dist/store/stateEditors.d.ts +300 -0
- package/dist/store/stateEditors.d.ts.map +1 -0
- package/dist/store/stateEditors.js +774 -0
- package/dist/store/types/ahistoric.d.ts +79 -0
- package/dist/store/types/ahistoric.d.ts.map +1 -0
- package/dist/store/types/ahistoric.js +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/ephemeral.js +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/historic.js +1 -0
- package/dist/store/types/index.d.ts +25 -0
- package/dist/store/types/index.d.ts.map +1 -0
- package/dist/store/types/index.js +3 -0
- package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.js +51 -0
- package/dist/toolbars/ExtensionToolbar/Toolset.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/Toolset.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/Toolset.js +27 -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/ExtensionFlyoutMenu.js +51 -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/IconButton.js +16 -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/ExtensionToolbar/tools/Switch.js +20 -0
- package/dist/toolbars/GlobalToolbar.d.ts +4 -0
- package/dist/toolbars/GlobalToolbar.d.ts.map +1 -0
- package/dist/toolbars/GlobalToolbar.js +142 -0
- package/dist/toolbars/MoreMenu/MoreMenu.d.ts +4 -0
- package/dist/toolbars/MoreMenu/MoreMenu.d.ts.map +1 -0
- package/dist/toolbars/MoreMenu/MoreMenu.js +133 -0
- package/dist/toolbars/PinButton.d.ts +12 -0
- package/dist/toolbars/PinButton.d.ts.map +1 -0
- package/dist/toolbars/PinButton.js +26 -0
- package/dist/uiComponents/DetailPanelButton.d.ts +5 -0
- package/dist/uiComponents/DetailPanelButton.d.ts.map +1 -0
- package/dist/uiComponents/DetailPanelButton.js +21 -0
- package/dist/uiComponents/PointerEventsHandler.d.ts +31 -0
- package/dist/uiComponents/PointerEventsHandler.d.ts.map +1 -0
- package/dist/uiComponents/PointerEventsHandler.js +80 -0
- package/dist/uiComponents/Popover/ArrowContext.d.ts +4 -0
- package/dist/uiComponents/Popover/ArrowContext.d.ts.map +1 -0
- package/dist/uiComponents/Popover/ArrowContext.js +3 -0
- package/dist/uiComponents/Popover/BasicPopover.d.ts +9 -0
- package/dist/uiComponents/Popover/BasicPopover.d.ts.map +1 -0
- package/dist/uiComponents/Popover/BasicPopover.js +35 -0
- package/dist/uiComponents/Popover/BasicTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/BasicTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/BasicTooltip.js +10 -0
- package/dist/uiComponents/Popover/ErrorTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/ErrorTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/ErrorTooltip.js +9 -0
- package/dist/uiComponents/Popover/MinimalTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/MinimalTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/MinimalTooltip.js +6 -0
- package/dist/uiComponents/Popover/PopoverArrow.d.ts +8 -0
- package/dist/uiComponents/Popover/PopoverArrow.d.ts.map +1 -0
- package/dist/uiComponents/Popover/PopoverArrow.js +38 -0
- package/dist/uiComponents/Popover/TooltipContext.d.ts +7 -0
- package/dist/uiComponents/Popover/TooltipContext.d.ts.map +1 -0
- package/dist/uiComponents/Popover/TooltipContext.js +46 -0
- package/dist/uiComponents/Popover/TooltipWrapper.d.ts +21 -0
- package/dist/uiComponents/Popover/TooltipWrapper.d.ts.map +1 -0
- package/dist/uiComponents/Popover/TooltipWrapper.js +103 -0
- package/dist/uiComponents/Popover/usePopover.d.ts +29 -0
- package/dist/uiComponents/Popover/usePopover.d.ts.map +1 -0
- package/dist/uiComponents/Popover/usePopover.js +132 -0
- package/dist/uiComponents/Popover/useTooltip.d.ts +14 -0
- package/dist/uiComponents/Popover/useTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/useTooltip.js +33 -0
- package/dist/uiComponents/RoomToClick.d.ts +6 -0
- package/dist/uiComponents/RoomToClick.d.ts.map +1 -0
- package/dist/uiComponents/RoomToClick.js +10 -0
- package/dist/uiComponents/SVGIcon.d.ts +8 -0
- package/dist/uiComponents/SVGIcon.d.ts.map +1 -0
- package/dist/uiComponents/SVGIcon.js +19 -0
- package/dist/uiComponents/ShowMousePosition.d.ts +4 -0
- package/dist/uiComponents/ShowMousePosition.d.ts.map +1 -0
- package/dist/uiComponents/ShowMousePosition.js +30 -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/EditingProvider.js +15 -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/RgbaColorPicker.js +31 -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/Alpha.js +54 -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/AlphaColorPicker.js +28 -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/Hue.js +41 -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/Interactive.js +142 -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/Pointer.js +39 -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/components/common/Saturation.js +44 -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/useColorManipulation.js +77 -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/useEventCallback.js +10 -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/hooks/useIsomorphicLayoutEffect.js +5 -0
- package/dist/uiComponents/colorPicker/index.d.ts +3 -0
- package/dist/uiComponents/colorPicker/index.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/index.js +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/types.js +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/clamp.js +6 -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/compare.js +25 -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/convert.js +165 -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/round.js +3 -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/colorPicker/utils/validate.js +10 -0
- package/dist/uiComponents/createCursorLock.d.ts +2 -0
- package/dist/uiComponents/createCursorLock.d.ts.map +1 -0
- package/dist/uiComponents/createCursorLock.js +2 -0
- package/dist/uiComponents/form/BasicCheckbox.d.ts +5 -0
- package/dist/uiComponents/form/BasicCheckbox.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicCheckbox.js +5 -0
- package/dist/uiComponents/form/BasicNumberInput.d.ts +26 -0
- package/dist/uiComponents/form/BasicNumberInput.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicNumberInput.js +261 -0
- package/dist/uiComponents/form/BasicSelect.d.ts +10 -0
- package/dist/uiComponents/form/BasicSelect.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicSelect.js +58 -0
- package/dist/uiComponents/form/BasicStringInput.d.ts +19 -0
- package/dist/uiComponents/form/BasicStringInput.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicStringInput.js +151 -0
- package/dist/uiComponents/form/BasicSwitch.d.ts +9 -0
- package/dist/uiComponents/form/BasicSwitch.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicSwitch.js +60 -0
- package/dist/uiComponents/icons/AddImage.d.ts +4 -0
- package/dist/uiComponents/icons/AddImage.d.ts.map +1 -0
- package/dist/uiComponents/icons/AddImage.js +6 -0
- package/dist/uiComponents/icons/ArrowClockwise.d.ts +4 -0
- package/dist/uiComponents/icons/ArrowClockwise.d.ts.map +1 -0
- package/dist/uiComponents/icons/ArrowClockwise.js +6 -0
- package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts +4 -0
- package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts.map +1 -0
- package/dist/uiComponents/icons/ArrowsOutCardinal.js +6 -0
- package/dist/uiComponents/icons/Bell.d.ts +4 -0
- package/dist/uiComponents/icons/Bell.d.ts.map +1 -0
- package/dist/uiComponents/icons/Bell.js +6 -0
- package/dist/uiComponents/icons/Camera.d.ts +4 -0
- package/dist/uiComponents/icons/Camera.d.ts.map +1 -0
- package/dist/uiComponents/icons/Camera.js +7 -0
- package/dist/uiComponents/icons/ChevronDown.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronDown.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronDown.js +6 -0
- package/dist/uiComponents/icons/ChevronLeft.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronLeft.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronLeft.js +6 -0
- package/dist/uiComponents/icons/ChevronRight.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronRight.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronRight.js +6 -0
- package/dist/uiComponents/icons/Cube.d.ts +4 -0
- package/dist/uiComponents/icons/Cube.d.ts.map +1 -0
- package/dist/uiComponents/icons/Cube.js +6 -0
- package/dist/uiComponents/icons/CubeFull.d.ts +4 -0
- package/dist/uiComponents/icons/CubeFull.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeFull.js +6 -0
- package/dist/uiComponents/icons/CubeHalf.d.ts +4 -0
- package/dist/uiComponents/icons/CubeHalf.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeHalf.js +6 -0
- package/dist/uiComponents/icons/CubeRendered.d.ts +4 -0
- package/dist/uiComponents/icons/CubeRendered.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeRendered.js +7 -0
- package/dist/uiComponents/icons/Details.d.ts +4 -0
- package/dist/uiComponents/icons/Details.d.ts.map +1 -0
- package/dist/uiComponents/icons/Details.js +6 -0
- package/dist/uiComponents/icons/DoubleChevronLeft.d.ts +4 -0
- package/dist/uiComponents/icons/DoubleChevronLeft.d.ts.map +1 -0
- package/dist/uiComponents/icons/DoubleChevronLeft.js +6 -0
- package/dist/uiComponents/icons/DoubleChevronRight.d.ts +4 -0
- package/dist/uiComponents/icons/DoubleChevronRight.d.ts.map +1 -0
- package/dist/uiComponents/icons/DoubleChevronRight.js +6 -0
- package/dist/uiComponents/icons/Ellipsis.d.ts +4 -0
- package/dist/uiComponents/icons/Ellipsis.d.ts.map +1 -0
- package/dist/uiComponents/icons/Ellipsis.js +6 -0
- package/dist/uiComponents/icons/EllipsisFill.d.ts +4 -0
- package/dist/uiComponents/icons/EllipsisFill.d.ts.map +1 -0
- package/dist/uiComponents/icons/EllipsisFill.js +6 -0
- package/dist/uiComponents/icons/GlobeSimple.d.ts +4 -0
- package/dist/uiComponents/icons/GlobeSimple.d.ts.map +1 -0
- package/dist/uiComponents/icons/GlobeSimple.js +6 -0
- package/dist/uiComponents/icons/Outline.d.ts +4 -0
- package/dist/uiComponents/icons/Outline.d.ts.map +1 -0
- package/dist/uiComponents/icons/Outline.js +6 -0
- package/dist/uiComponents/icons/Package.d.ts +4 -0
- package/dist/uiComponents/icons/Package.d.ts.map +1 -0
- package/dist/uiComponents/icons/Package.js +6 -0
- package/dist/uiComponents/icons/Resize.d.ts +4 -0
- package/dist/uiComponents/icons/Resize.d.ts.map +1 -0
- package/dist/uiComponents/icons/Resize.js +7 -0
- package/dist/uiComponents/icons/Trash.d.ts +4 -0
- package/dist/uiComponents/icons/Trash.d.ts.map +1 -0
- package/dist/uiComponents/icons/Trash.js +6 -0
- package/dist/uiComponents/icons/index.d.ts +21 -0
- package/dist/uiComponents/icons/index.d.ts.map +1 -0
- package/dist/uiComponents/icons/index.js +20 -0
- package/dist/uiComponents/isSafari.d.ts +2 -0
- package/dist/uiComponents/isSafari.d.ts.map +1 -0
- package/dist/uiComponents/isSafari.js +2 -0
- package/dist/uiComponents/onPointerOutside.d.ts +6 -0
- package/dist/uiComponents/onPointerOutside.d.ts.map +1 -0
- package/dist/uiComponents/onPointerOutside.js +19 -0
- package/dist/uiComponents/selects/BasicSelect.d.ts +15 -0
- package/dist/uiComponents/selects/BasicSelect.d.ts.map +1 -0
- package/dist/uiComponents/selects/BasicSelect.js +24 -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/BaseMenu.js +40 -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/ContextMenu.js +87 -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/ContextMenu/Item.js +37 -0
- package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts +11 -0
- package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/useContextMenu.js +20 -0
- package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts +13 -0
- package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.js +22 -0
- package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts +16 -0
- package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarDropdownSelect.js +7 -0
- package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts +4 -0
- package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarIconButton.js +74 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts +15 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelect.js +12 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts +3 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.js +9 -0
- package/dist/uiComponents/useBoundingClientRect.d.ts +2 -0
- package/dist/uiComponents/useBoundingClientRect.d.ts.map +1 -0
- package/dist/uiComponents/useBoundingClientRect.js +13 -0
- package/dist/uiComponents/useDebugRefreshEvery.d.ts +9 -0
- package/dist/uiComponents/useDebugRefreshEvery.d.ts.map +1 -0
- package/dist/uiComponents/useDebugRefreshEvery.js +19 -0
- package/dist/uiComponents/useDrag.d.ts +76 -0
- package/dist/uiComponents/useDrag.d.ts.map +1 -0
- package/dist/uiComponents/useDrag.js +199 -0
- package/dist/uiComponents/useHotspot.d.ts +2 -0
- package/dist/uiComponents/useHotspot.d.ts.map +1 -0
- package/dist/uiComponents/useHotspot.js +30 -0
- package/dist/uiComponents/useHover.d.ts +2 -0
- package/dist/uiComponents/useHover.d.ts.map +1 -0
- package/dist/uiComponents/useHover.js +23 -0
- package/dist/uiComponents/useHoverWithoutDescendants.d.ts +5 -0
- package/dist/uiComponents/useHoverWithoutDescendants.d.ts.map +1 -0
- package/dist/uiComponents/useHoverWithoutDescendants.js +33 -0
- package/dist/uiComponents/useKeyDown.d.ts +3 -0
- package/dist/uiComponents/useKeyDown.d.ts.map +1 -0
- package/dist/uiComponents/useKeyDown.js +9 -0
- package/dist/uiComponents/useKeyDownCallback.d.ts +7 -0
- package/dist/uiComponents/useKeyDownCallback.d.ts.map +1 -0
- package/dist/uiComponents/useKeyDownCallback.js +28 -0
- package/dist/uiComponents/useLockSet.d.ts +5 -0
- package/dist/uiComponents/useLockSet.d.ts.map +1 -0
- package/dist/uiComponents/useLockSet.js +17 -0
- package/dist/uiComponents/useLogger.d.ts +7 -0
- package/dist/uiComponents/useLogger.d.ts.map +1 -0
- package/dist/uiComponents/useLogger.js +16 -0
- package/dist/uiComponents/useOnClickOutside.d.ts +2 -0
- package/dist/uiComponents/useOnClickOutside.d.ts.map +1 -0
- package/dist/uiComponents/useOnClickOutside.js +25 -0
- package/dist/uiComponents/useOnKeyDown.d.ts +2 -0
- package/dist/uiComponents/useOnKeyDown.d.ts.map +1 -0
- package/dist/uiComponents/useOnKeyDown.js +12 -0
- package/dist/uiComponents/usePresence.d.ts +30 -0
- package/dist/uiComponents/usePresence.d.ts.map +1 -0
- package/dist/uiComponents/usePresence.js +156 -0
- package/dist/uiComponents/useValToAtom.d.ts +3 -0
- package/dist/uiComponents/useValToAtom.d.ts.map +1 -0
- package/dist/uiComponents/useValToAtom.js +11 -0
- package/dist/utils/absoluteDims.d.ts +3 -0
- package/dist/utils/absoluteDims.d.ts.map +1 -0
- package/dist/utils/absoluteDims.js +7 -0
- package/dist/utils/contextualWebComponents.d.ts +5 -0
- package/dist/utils/contextualWebComponents.d.ts.map +1 -0
- package/dist/utils/contextualWebComponents.js +44 -0
- package/dist/utils/copyToClipboard.d.ts +2 -0
- package/dist/utils/copyToClipboard.d.ts.map +1 -0
- package/dist/utils/copyToClipboard.js +28 -0
- package/dist/utils/derive-utils.d.ts +21 -0
- package/dist/utils/derive-utils.d.ts.map +1 -0
- package/dist/utils/derive-utils.js +61 -0
- package/dist/utils/devStringify.d.ts +7 -0
- package/dist/utils/devStringify.d.ts.map +1 -0
- package/dist/utils/devStringify.js +20 -0
- package/dist/utils/invariant.d.ts +35 -0
- package/dist/utils/invariant.d.ts.map +1 -0
- package/dist/utils/invariant.js +79 -0
- package/dist/utils/isMac.d.ts +2 -0
- package/dist/utils/isMac.d.ts.map +1 -0
- package/dist/utils/isMac.js +2 -0
- package/dist/utils/keyboardUtils.d.ts +9 -0
- package/dist/utils/keyboardUtils.d.ts.map +1 -0
- package/dist/utils/keyboardUtils.js +23 -0
- package/dist/utils/mousePositionD.d.ts +6 -0
- package/dist/utils/mousePositionD.d.ts.map +1 -0
- package/dist/utils/mousePositionD.js +18 -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.js +15 -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/actionCreator.test.js +35 -0
- package/dist/utils/redux/actionReducersBundle.d.ts +18 -0
- package/dist/utils/redux/actionReducersBundle.d.ts.map +1 -0
- package/dist/utils/redux/actionReducersBundle.js +18 -0
- package/dist/utils/redux/atomFromReduxStore.d.ts +4 -0
- package/dist/utils/redux/atomFromReduxStore.d.ts.map +1 -0
- package/dist/utils/redux/atomFromReduxStore.js +11 -0
- package/dist/utils/redux/configureStore.d.ts +9 -0
- package/dist/utils/redux/configureStore.d.ts.map +1 -0
- package/dist/utils/redux/configureStore.js +18 -0
- package/dist/utils/redux/pointerFriendlySelector.d.ts +10 -0
- package/dist/utils/redux/pointerFriendlySelector.d.ts.map +1 -0
- package/dist/utils/redux/pointerFriendlySelector.js +8 -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/withBatchActions.js +13 -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/redux/withHistory/withHistory.js +157 -0
- package/dist/utils/renderInPortalInContext.d.ts +7 -0
- package/dist/utils/renderInPortalInContext.d.ts.map +1 -0
- package/dist/utils/renderInPortalInContext.js +38 -0
- package/dist/utils/selectClosestHTMLAncestor.d.ts +5 -0
- package/dist/utils/selectClosestHTMLAncestor.d.ts.map +1 -0
- package/dist/utils/selectClosestHTMLAncestor.js +13 -0
- package/dist/utils/tightJsonStringify.d.ts +23 -0
- package/dist/utils/tightJsonStringify.d.ts.map +1 -0
- package/dist/utils/tightJsonStringify.js +27 -0
- package/dist/utils/tightJsonStringify.test.d.ts +2 -0
- package/dist/utils/tightJsonStringify.test.d.ts.map +1 -0
- package/dist/utils/tightJsonStringify.test.js +25 -0
- package/dist/utils/useRefAndState.d.ts +18 -0
- package/dist/utils/useRefAndState.d.ts.map +1 -0
- package/dist/utils/useRefAndState.js +32 -0
- package/package.json +1 -1
- package/dist/index.mjs +0 -105
- package/dist/index.mjs.map +0 -7
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import getStudio from '@tomorrowevening/theatre-studio/getStudio';
|
|
2
|
+
import useContextMenu from '@tomorrowevening/theatre-studio/uiComponents/simpleContextMenu/useContextMenu';
|
|
3
|
+
import useDrag from '@tomorrowevening/theatre-studio/uiComponents/useDrag';
|
|
4
|
+
import useRefAndState from '@tomorrowevening/theatre-studio/utils/useRefAndState';
|
|
5
|
+
import { val } from '@tomorrowevening/theatre-dataverse';
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { useMemo, useRef } from 'react';
|
|
8
|
+
import usePopover from '@tomorrowevening/theatre-studio/uiComponents/Popover/usePopover';
|
|
9
|
+
import BasicPopover from '@tomorrowevening/theatre-studio/uiComponents/Popover/BasicPopover';
|
|
10
|
+
import CurveEditorPopover, { isConnectionEditingInCurvePopover, } from './CurveEditorPopover/CurveEditorPopover';
|
|
11
|
+
import { ConnectorLine } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine';
|
|
12
|
+
import { COLOR_POPOVER_BACK } from './CurveEditorPopover/colors';
|
|
13
|
+
import { usePrism } from '@tomorrowevening/theatre-react';
|
|
14
|
+
import { copyableKeyframesFromSelection } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections';
|
|
15
|
+
import { selectedKeyframeConnections } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections';
|
|
16
|
+
import styled from 'styled-components';
|
|
17
|
+
const POPOVER_MARGIN = 5;
|
|
18
|
+
const EasingPopover = styled(BasicPopover) `
|
|
19
|
+
--popover-outer-stroke: transparent;
|
|
20
|
+
--popover-inner-stroke: ${COLOR_POPOVER_BACK};
|
|
21
|
+
`;
|
|
22
|
+
const BasicKeyframeConnector = (props) => {
|
|
23
|
+
const { index, track } = props;
|
|
24
|
+
const cur = track.data.keyframes[index];
|
|
25
|
+
const next = track.data.keyframes[index + 1];
|
|
26
|
+
const [nodeRef, node] = useRefAndState(null);
|
|
27
|
+
const { node: popoverNode, toggle: togglePopover, close: closePopover, } = usePopover(() => {
|
|
28
|
+
const rightDims = val(props.layoutP.rightDims);
|
|
29
|
+
return {
|
|
30
|
+
debugName: 'Connector',
|
|
31
|
+
constraints: {
|
|
32
|
+
minX: rightDims.screenX + POPOVER_MARGIN,
|
|
33
|
+
maxX: rightDims.screenX + rightDims.width - POPOVER_MARGIN,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
}, () => React.createElement(SingleCurveEditorPopover, { ...props, closePopover: closePopover }));
|
|
37
|
+
const [contextMenu] = useConnectorContextMenu(props, node, cur, next);
|
|
38
|
+
useDragKeyframe(node, props);
|
|
39
|
+
const connectorLengthInUnitSpace = next.position - cur.position;
|
|
40
|
+
const isInCurveEditorPopoverSelection = usePrism(() => isConnectionEditingInCurvePopover({
|
|
41
|
+
...props.leaf.sheetObject.address,
|
|
42
|
+
trackId: props.leaf.trackId,
|
|
43
|
+
left: cur,
|
|
44
|
+
right: next,
|
|
45
|
+
}), [props.leaf.sheetObject.address, props.leaf.trackId, cur, next]);
|
|
46
|
+
const themeValues = {
|
|
47
|
+
isPopoverOpen: isInCurveEditorPopoverSelection,
|
|
48
|
+
isSelected: props.selection !== undefined,
|
|
49
|
+
};
|
|
50
|
+
return (React.createElement(React.Fragment, null,
|
|
51
|
+
React.createElement(ConnectorLine, { ref: nodeRef, connectorLengthInUnitSpace: connectorLengthInUnitSpace, ...themeValues, openPopover: (e) => {
|
|
52
|
+
if (node)
|
|
53
|
+
togglePopover(e, node);
|
|
54
|
+
} }, popoverNode),
|
|
55
|
+
contextMenu));
|
|
56
|
+
};
|
|
57
|
+
export default BasicKeyframeConnector;
|
|
58
|
+
const SingleCurveEditorPopover = React.forwardRef((props, ref) => {
|
|
59
|
+
const { index, track: { data: trackData }, selection, } = props;
|
|
60
|
+
const cur = trackData.keyframes[index];
|
|
61
|
+
const next = trackData.keyframes[index + 1];
|
|
62
|
+
const trackId = props.leaf.trackId;
|
|
63
|
+
const address = props.leaf.sheetObject.address;
|
|
64
|
+
const selectedConnections = usePrism(() => selectedKeyframeConnections(address.projectId, address.sheetId, selection).getValue(), [address, selection]);
|
|
65
|
+
const curveConnection = {
|
|
66
|
+
left: cur,
|
|
67
|
+
right: next,
|
|
68
|
+
trackId,
|
|
69
|
+
...address,
|
|
70
|
+
};
|
|
71
|
+
return (React.createElement(EasingPopover, { showPopoverEdgeTriangle: false,
|
|
72
|
+
// @ts-ignore @todo
|
|
73
|
+
ref: ref },
|
|
74
|
+
React.createElement(CurveEditorPopover, { curveConnection: curveConnection, additionalConnections: selectedConnections, onRequestClose: props.closePopover })));
|
|
75
|
+
});
|
|
76
|
+
function useDragKeyframe(node, props) {
|
|
77
|
+
const propsRef = useRef(props);
|
|
78
|
+
propsRef.current = props;
|
|
79
|
+
const gestureHandlers = useMemo(() => {
|
|
80
|
+
return {
|
|
81
|
+
debugName: 'useDragKeyframe',
|
|
82
|
+
lockCSSCursorTo: 'ew-resize',
|
|
83
|
+
onDragStart(event) {
|
|
84
|
+
const props = propsRef.current;
|
|
85
|
+
let tempTransaction;
|
|
86
|
+
if (props.selection) {
|
|
87
|
+
const { selection, leaf } = props;
|
|
88
|
+
const { sheetObject } = leaf;
|
|
89
|
+
return selection
|
|
90
|
+
.getDragHandlers({
|
|
91
|
+
...sheetObject.address,
|
|
92
|
+
domNode: node,
|
|
93
|
+
positionAtStartOfDrag: props.track.data.keyframes[props.index].position,
|
|
94
|
+
})
|
|
95
|
+
.onDragStart(event);
|
|
96
|
+
}
|
|
97
|
+
const propsAtStartOfDrag = props;
|
|
98
|
+
const sequence = val(propsAtStartOfDrag.layoutP.sheet).getSequence();
|
|
99
|
+
const toUnitSpace = val(propsAtStartOfDrag.layoutP.scaledSpace.toUnitSpace);
|
|
100
|
+
return {
|
|
101
|
+
onDrag(dx, dy, event) {
|
|
102
|
+
const delta = toUnitSpace(dx);
|
|
103
|
+
if (tempTransaction) {
|
|
104
|
+
tempTransaction.discard();
|
|
105
|
+
tempTransaction = undefined;
|
|
106
|
+
}
|
|
107
|
+
tempTransaction = getStudio().tempTransaction(({ stateEditors }) => {
|
|
108
|
+
stateEditors.coreByProject.historic.sheetsById.sequence.transformKeyframes({
|
|
109
|
+
...propsAtStartOfDrag.leaf.sheetObject.address,
|
|
110
|
+
trackId: propsAtStartOfDrag.leaf.trackId,
|
|
111
|
+
keyframeIds: [
|
|
112
|
+
propsAtStartOfDrag.keyframe.id,
|
|
113
|
+
propsAtStartOfDrag.track.data.keyframes[propsAtStartOfDrag.index + 1].id,
|
|
114
|
+
],
|
|
115
|
+
translate: delta,
|
|
116
|
+
scale: 1,
|
|
117
|
+
origin: 0,
|
|
118
|
+
snappingFunction: sequence.closestGridPosition,
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
},
|
|
122
|
+
onDragEnd(dragHappened) {
|
|
123
|
+
if (dragHappened) {
|
|
124
|
+
if (tempTransaction) {
|
|
125
|
+
tempTransaction.commit();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
if (tempTransaction) {
|
|
130
|
+
tempTransaction.discard();
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
}, []);
|
|
138
|
+
useDrag(node, gestureHandlers);
|
|
139
|
+
}
|
|
140
|
+
function useConnectorContextMenu(props, node, cur, next) {
|
|
141
|
+
// TODO?: props.selection is undefined if only one of the connected keyframes is selected
|
|
142
|
+
return useContextMenu(node, {
|
|
143
|
+
displayName: 'Tween',
|
|
144
|
+
menuItems: () => {
|
|
145
|
+
const copyableKeyframes = copyableKeyframesFromSelection(props.leaf.sheetObject.address.projectId, props.leaf.sheetObject.address.sheetId, props.selection);
|
|
146
|
+
return [
|
|
147
|
+
{
|
|
148
|
+
label: copyableKeyframes.length > 0 ? 'Copy (selection)' : 'Copy',
|
|
149
|
+
callback: () => {
|
|
150
|
+
if (copyableKeyframes.length > 0) {
|
|
151
|
+
getStudio().transaction((api) => {
|
|
152
|
+
api.stateEditors.studio.ahistoric.setClipboardKeyframes(copyableKeyframes);
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
getStudio().transaction((api) => {
|
|
157
|
+
api.stateEditors.studio.ahistoric.setClipboardKeyframes([
|
|
158
|
+
{ keyframe: cur, pathToProp: props.leaf.pathToProp },
|
|
159
|
+
{ keyframe: next, pathToProp: props.leaf.pathToProp },
|
|
160
|
+
]);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
label: props.selection ? 'Delete (selection)' : 'Delete',
|
|
167
|
+
callback: () => {
|
|
168
|
+
if (props.selection) {
|
|
169
|
+
props.selection.delete();
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
getStudio().transaction(({ stateEditors }) => {
|
|
173
|
+
stateEditors.coreByProject.historic.sheetsById.sequence.deleteKeyframes({
|
|
174
|
+
...props.leaf.sheetObject.address,
|
|
175
|
+
keyframeIds: [cur.id, next.id],
|
|
176
|
+
trackId: props.leaf.trackId,
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
];
|
|
183
|
+
},
|
|
184
|
+
});
|
|
185
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { KeyframeConnectionWithAddress } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections';
|
|
3
|
+
type ICurveEditorPopoverProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Called when user hits enter/escape
|
|
6
|
+
*/
|
|
7
|
+
onRequestClose: (reason: string) => void;
|
|
8
|
+
curveConnection: KeyframeConnectionWithAddress;
|
|
9
|
+
additionalConnections: Array<KeyframeConnectionWithAddress>;
|
|
10
|
+
};
|
|
11
|
+
declare const CurveEditorPopover: React.VFC<ICurveEditorPopoverProps>;
|
|
12
|
+
export default CurveEditorPopover;
|
|
13
|
+
/**
|
|
14
|
+
* n mod m without negative results e.g. `mod(-1,5) = 4` contrasted with `-1 % 5 = -1`.
|
|
15
|
+
*
|
|
16
|
+
* ref: https://web.archive.org/web/20090717035140if_/javascript.about.com/od/problemsolving/a/modulobug.htm
|
|
17
|
+
*/
|
|
18
|
+
export declare function mod(n: number, m: number): number;
|
|
19
|
+
declare const isCurveEditorOpenD: import("@tomorrowevening/theatre-dataverse").Prism<boolean>, isConnectionEditingInCurvePopover: (con: KeyframeConnectionWithAddress) => boolean;
|
|
20
|
+
export { isCurveEditorOpenD, isConnectionEditingInCurvePopover };
|
|
21
|
+
//# sourceMappingURL=CurveEditorPopover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurveEditorPopover.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAMN,MAAM,OAAO,CAAA;AAkBd,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,iFAAiF,CAAA;AA+FlI,KAAK,wBAAwB,GAAG;IAC9B;;OAEG;IACH,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAExC,eAAe,EAAE,6BAA6B,CAAA;IAC9C,qBAAqB,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAA;CAC5D,CAAA;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,GAAG,CAAC,wBAAwB,CAmR3D,CAAA;AAED,eAAe,kBAAkB,CAAA;AAkGjC;;;;GAIG;AACH,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAEvC;AAoBD,QAAA,MAAO,kBAAkB,+DAAE,iCAAiC,QAkBf,6BAA6B,YAUpE,CAAA;AAEN,OAAO,EAAC,kBAAkB,EAAE,iCAAiC,EAAC,CAAA"}
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import { Atom, prism } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import React, { useEffect, useLayoutEffect, useMemo, useRef, useState, } from 'react';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import fuzzy from 'fuzzy';
|
|
5
|
+
import getStudio from '@tomorrowevening/theatre-studio/getStudio';
|
|
6
|
+
import CurveSegmentEditor from './CurveSegmentEditor';
|
|
7
|
+
import EasingOption from './EasingOption';
|
|
8
|
+
import { cssCubicBezierArgsFromHandles, handlesFromCssCubicBezierArgs, EASING_PRESETS, areEasingsSimilar, } from './shared';
|
|
9
|
+
import { COLOR_BASE, COLOR_POPOVER_BACK } from './colors';
|
|
10
|
+
import useRefAndState from '@tomorrowevening/theatre-studio/utils/useRefAndState';
|
|
11
|
+
import { useUIOptionGrid, Outcome } from './useUIOptionGrid';
|
|
12
|
+
const PRESET_COLUMNS = 3;
|
|
13
|
+
const PRESET_SIZE = 53;
|
|
14
|
+
const APPROX_TOOLTIP_HEIGHT = 25;
|
|
15
|
+
const Grid = styled.div `
|
|
16
|
+
background: ${COLOR_POPOVER_BACK};
|
|
17
|
+
display: grid;
|
|
18
|
+
grid-template-areas:
|
|
19
|
+
'search tween'
|
|
20
|
+
'presets tween';
|
|
21
|
+
grid-template-rows: 32px 1fr;
|
|
22
|
+
grid-template-columns: ${PRESET_COLUMNS * PRESET_SIZE}px 120px;
|
|
23
|
+
gap: 1px;
|
|
24
|
+
height: 120px;
|
|
25
|
+
`;
|
|
26
|
+
const OptionsContainer = styled.div `
|
|
27
|
+
overflow: auto;
|
|
28
|
+
grid-area: presets;
|
|
29
|
+
|
|
30
|
+
display: grid;
|
|
31
|
+
grid-template-columns: repeat(${PRESET_COLUMNS}, 1fr);
|
|
32
|
+
grid-auto-rows: min-content;
|
|
33
|
+
gap: 1px;
|
|
34
|
+
|
|
35
|
+
overflow-y: scroll;
|
|
36
|
+
scrollbar-width: none; /* Firefox */
|
|
37
|
+
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
38
|
+
&::-webkit-scrollbar {
|
|
39
|
+
/* WebKit */
|
|
40
|
+
width: 0;
|
|
41
|
+
height: 0;
|
|
42
|
+
}
|
|
43
|
+
`;
|
|
44
|
+
const SearchBox = styled.input.attrs({ type: 'text' }) `
|
|
45
|
+
background-color: ${COLOR_BASE};
|
|
46
|
+
border: none;
|
|
47
|
+
border-radius: 2px;
|
|
48
|
+
color: rgba(255, 255, 255, 0.8);
|
|
49
|
+
padding: 6px;
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
outline: none;
|
|
52
|
+
cursor: text;
|
|
53
|
+
text-align: left;
|
|
54
|
+
width: 100%;
|
|
55
|
+
height: 100%;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
|
|
58
|
+
grid-area: search;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
background-color: #212121;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:focus {
|
|
65
|
+
background-color: rgba(16, 16, 16, 0.26);
|
|
66
|
+
outline: 1px solid rgba(0, 0, 0, 0.35);
|
|
67
|
+
}
|
|
68
|
+
`;
|
|
69
|
+
const CurveEditorContainer = styled.div `
|
|
70
|
+
grid-area: tween;
|
|
71
|
+
background: ${COLOR_BASE};
|
|
72
|
+
`;
|
|
73
|
+
const NoResultsFoundContainer = styled.div `
|
|
74
|
+
grid-column: 1 / 4;
|
|
75
|
+
padding: 6px;
|
|
76
|
+
color: #888888;
|
|
77
|
+
`;
|
|
78
|
+
/**
|
|
79
|
+
* Tracking for what kinds of events are allowed to change the input's value.
|
|
80
|
+
*/
|
|
81
|
+
var TextInputMode;
|
|
82
|
+
(function (TextInputMode) {
|
|
83
|
+
/**
|
|
84
|
+
* Initial mode, don't try to override the value.
|
|
85
|
+
*/
|
|
86
|
+
TextInputMode[TextInputMode["init"] = 0] = "init";
|
|
87
|
+
/**
|
|
88
|
+
* In `user` mode, the text input field does not update when the curve
|
|
89
|
+
* changes so that the user's search is preserved.
|
|
90
|
+
*/
|
|
91
|
+
TextInputMode[TextInputMode["user"] = 1] = "user";
|
|
92
|
+
/**
|
|
93
|
+
* In `auto` mode, the text input field is continually updated to
|
|
94
|
+
* a CSS cubic bezier args string to reflect the state of the curve.
|
|
95
|
+
*/
|
|
96
|
+
TextInputMode[TextInputMode["auto"] = 2] = "auto";
|
|
97
|
+
TextInputMode[TextInputMode["multipleValues"] = 3] = "multipleValues";
|
|
98
|
+
})(TextInputMode || (TextInputMode = {}));
|
|
99
|
+
const CurveEditorPopover = (props) => {
|
|
100
|
+
const allConnections = useMemo(() => [props.curveConnection, ...props.additionalConnections], [props.curveConnection, ...props.additionalConnections]);
|
|
101
|
+
////// `tempTransaction` //////
|
|
102
|
+
/*
|
|
103
|
+
* `tempTransaction` is used for all edits in this popover. The transaction
|
|
104
|
+
* is discared if the user presses escape, otherwise it is committed when the
|
|
105
|
+
* popover closes.
|
|
106
|
+
*/
|
|
107
|
+
const tempTransaction = useRef(null);
|
|
108
|
+
useEffect(() => {
|
|
109
|
+
const unlock = getLock(allConnections);
|
|
110
|
+
// Clean-up function, called when this React component unmounts.
|
|
111
|
+
// When it unmounts, we want to commit edits that are outstanding
|
|
112
|
+
return () => {
|
|
113
|
+
unlock();
|
|
114
|
+
tempTransaction.current?.commit();
|
|
115
|
+
};
|
|
116
|
+
}, [tempTransaction]);
|
|
117
|
+
////// Keyframe and trackdata //////
|
|
118
|
+
const easing = [
|
|
119
|
+
props.curveConnection.left.handles[2],
|
|
120
|
+
props.curveConnection.left.handles[3],
|
|
121
|
+
props.curveConnection.right.handles[0],
|
|
122
|
+
props.curveConnection.right.handles[1],
|
|
123
|
+
];
|
|
124
|
+
////// Text input data and reactivity //////
|
|
125
|
+
const inputRef = useRef(null);
|
|
126
|
+
// Select the easing string on popover open for quick copy&paste
|
|
127
|
+
useLayoutEffect(() => {
|
|
128
|
+
inputRef.current?.select();
|
|
129
|
+
inputRef.current?.focus();
|
|
130
|
+
}, [inputRef.current]);
|
|
131
|
+
const [inputValue, setInputValue] = useState(cssCubicBezierArgsFromHandles(easing));
|
|
132
|
+
const onInputChange = (e) => {
|
|
133
|
+
if (e === undefined)
|
|
134
|
+
return;
|
|
135
|
+
setTextInputMode(TextInputMode.user);
|
|
136
|
+
setInputValue(e.target.value);
|
|
137
|
+
const maybeHandles = handlesFromCssCubicBezierArgs(e.target.value);
|
|
138
|
+
if (maybeHandles)
|
|
139
|
+
setEdit(e.target.value);
|
|
140
|
+
};
|
|
141
|
+
const onSearchKeyDown = (e) => {
|
|
142
|
+
setTextInputMode(TextInputMode.user);
|
|
143
|
+
// Prevent scrolling on arrow key press
|
|
144
|
+
if (e.key === 'ArrowDown' || e.key === 'ArrowUp')
|
|
145
|
+
e.preventDefault();
|
|
146
|
+
if (e.key === 'ArrowDown') {
|
|
147
|
+
grid.focusFirstItem();
|
|
148
|
+
optionsRef.current[displayedPresets[0].label]?.current?.focus();
|
|
149
|
+
}
|
|
150
|
+
else if (e.key === 'Escape') {
|
|
151
|
+
discardTempValue(tempTransaction);
|
|
152
|
+
props.onRequestClose('key Escape');
|
|
153
|
+
}
|
|
154
|
+
else if (e.key === 'Enter') {
|
|
155
|
+
props.onRequestClose('key Enter');
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
const [textInputMode, setTextInputMode] = useState(TextInputMode.init);
|
|
159
|
+
useEffect(() => {
|
|
160
|
+
if (textInputMode === TextInputMode.auto) {
|
|
161
|
+
setInputValue(cssCubicBezierArgsFromHandles(easing));
|
|
162
|
+
}
|
|
163
|
+
else if (textInputMode === TextInputMode.multipleValues) {
|
|
164
|
+
if (inputValue !== '')
|
|
165
|
+
setInputValue('');
|
|
166
|
+
}
|
|
167
|
+
}, allConnections);
|
|
168
|
+
// `edit` keeps track of the current edited state of the curve.
|
|
169
|
+
const [edit, setEdit] = useState(cssCubicBezierArgsFromHandles(easing));
|
|
170
|
+
// `preview` is used when hovering over a curve to preview it.
|
|
171
|
+
const [preview, setPreview] = useState(null);
|
|
172
|
+
// When `preview` or `edit` change, use the `tempTransaction` to change the
|
|
173
|
+
// curve in Theate's data.
|
|
174
|
+
useEffect(() => {
|
|
175
|
+
if (textInputMode !== TextInputMode.init &&
|
|
176
|
+
textInputMode !== TextInputMode.multipleValues)
|
|
177
|
+
setTempValue(tempTransaction, allConnections, preview ?? edit ?? '');
|
|
178
|
+
}, [preview, edit, textInputMode]);
|
|
179
|
+
////// selection stuff //////
|
|
180
|
+
if (allConnections.some(areConnectedKeyframesTheSameAs(props.curveConnection)) &&
|
|
181
|
+
textInputMode === TextInputMode.init) {
|
|
182
|
+
setTextInputMode(TextInputMode.multipleValues);
|
|
183
|
+
}
|
|
184
|
+
////// Curve editing reactivity //////
|
|
185
|
+
const onCurveChange = (newHandles) => {
|
|
186
|
+
setTextInputMode(TextInputMode.auto);
|
|
187
|
+
const value = cssCubicBezierArgsFromHandles(newHandles);
|
|
188
|
+
setInputValue(value);
|
|
189
|
+
setEdit(value);
|
|
190
|
+
// ensure that the text input is selected when curve is changing.
|
|
191
|
+
inputRef.current?.select();
|
|
192
|
+
inputRef.current?.focus();
|
|
193
|
+
};
|
|
194
|
+
const onCancelCurveChange = () => { };
|
|
195
|
+
////// Preset reactivity //////
|
|
196
|
+
const displayedPresets = useMemo(() => {
|
|
197
|
+
const isInputValueAQuery = /^[A-Za-z]/.test(inputValue);
|
|
198
|
+
if (isInputValueAQuery) {
|
|
199
|
+
return fuzzy
|
|
200
|
+
.filter(inputValue, EASING_PRESETS, {
|
|
201
|
+
extract: (el) => el.label,
|
|
202
|
+
})
|
|
203
|
+
.map((result) => result.original);
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
return EASING_PRESETS;
|
|
207
|
+
}
|
|
208
|
+
}, [inputValue]);
|
|
209
|
+
// Use the first preset in the search when the displayed presets change
|
|
210
|
+
useEffect(() => {
|
|
211
|
+
if (textInputMode === TextInputMode.user && displayedPresets[0])
|
|
212
|
+
setEdit(displayedPresets[0].value);
|
|
213
|
+
}, [displayedPresets]);
|
|
214
|
+
////// Option grid specification and reactivity //////
|
|
215
|
+
const onEasingOptionKeydown = (e) => {
|
|
216
|
+
if (e.key === 'Escape') {
|
|
217
|
+
discardTempValue(tempTransaction);
|
|
218
|
+
props.onRequestClose('key Escape');
|
|
219
|
+
e.stopPropagation();
|
|
220
|
+
}
|
|
221
|
+
else if (e.key === 'Enter') {
|
|
222
|
+
props.onRequestClose('key Enter');
|
|
223
|
+
e.stopPropagation();
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
const onEasingOptionMouseOver = (item) => {
|
|
227
|
+
// Set the `textInputMode` to `auto` if it was `init` before
|
|
228
|
+
// to enable the easing previews
|
|
229
|
+
if (textInputMode === TextInputMode.init)
|
|
230
|
+
setTextInputMode(TextInputMode.auto);
|
|
231
|
+
setPreview(item.value);
|
|
232
|
+
};
|
|
233
|
+
const onEasingOptionMouseOut = () => setPreview(null);
|
|
234
|
+
const onSelectEasingOption = (item) => {
|
|
235
|
+
setTempValue(tempTransaction, allConnections, item.value);
|
|
236
|
+
props.onRequestClose('selected easing option');
|
|
237
|
+
return Outcome.Handled;
|
|
238
|
+
};
|
|
239
|
+
// A map to store all html elements corresponding to easing options
|
|
240
|
+
const optionsRef = useRef(EASING_PRESETS.reduce((acc, curr) => {
|
|
241
|
+
acc[curr.label] = { current: null };
|
|
242
|
+
return acc;
|
|
243
|
+
}, {}));
|
|
244
|
+
const [optionsContainerRef, optionsContainer] = useRefAndState(null);
|
|
245
|
+
// Keep track of option container scroll position
|
|
246
|
+
const [optionsScrollPosition, setOptionsScrollPosition] = useState(0);
|
|
247
|
+
useEffect(() => {
|
|
248
|
+
const listener = () => {
|
|
249
|
+
setOptionsScrollPosition(optionsContainer?.scrollTop ?? 0);
|
|
250
|
+
};
|
|
251
|
+
optionsContainer?.addEventListener('scroll', listener);
|
|
252
|
+
return () => optionsContainer?.removeEventListener('scroll', listener);
|
|
253
|
+
}, [optionsContainer]);
|
|
254
|
+
const grid = useUIOptionGrid({
|
|
255
|
+
items: displayedPresets,
|
|
256
|
+
uiColumns: 3,
|
|
257
|
+
onSelectItem: onSelectEasingOption,
|
|
258
|
+
canVerticleExit(exitSide) {
|
|
259
|
+
if (exitSide === 'top') {
|
|
260
|
+
inputRef.current?.select();
|
|
261
|
+
inputRef.current?.focus();
|
|
262
|
+
return Outcome.Handled;
|
|
263
|
+
}
|
|
264
|
+
return Outcome.Passthrough;
|
|
265
|
+
},
|
|
266
|
+
renderItem: ({ item: preset, select }) => (React.createElement(EasingOption, { key: preset.label, easing: preset, tabIndex: 0, onKeyDown: onEasingOptionKeydown, ref: optionsRef.current[preset.label], onMouseOver: () => onEasingOptionMouseOver(preset), onMouseOut: onEasingOptionMouseOut, onClick: select, tooltipPlacement: (optionsRef.current[preset.label].current?.offsetTop ?? 0) -
|
|
267
|
+
(optionsScrollPosition ?? 0) <
|
|
268
|
+
PRESET_SIZE + APPROX_TOOLTIP_HEIGHT
|
|
269
|
+
? 'bottom'
|
|
270
|
+
: 'top', isSelected: areEasingsSimilar(easing, handlesFromCssCubicBezierArgs(preset.value)) })),
|
|
271
|
+
});
|
|
272
|
+
// When the user navigates highlight between presets, focus the preset el and set the
|
|
273
|
+
// easing data to match the highlighted preset
|
|
274
|
+
useLayoutEffect(() => {
|
|
275
|
+
if (grid.currentSelection !== null &&
|
|
276
|
+
document.activeElement !== inputRef.current // prevents taking focus away from input
|
|
277
|
+
) {
|
|
278
|
+
const maybePresetEl = optionsRef.current?.[grid.currentSelection.label]?.current;
|
|
279
|
+
maybePresetEl?.focus();
|
|
280
|
+
setEdit(grid.currentSelection.value);
|
|
281
|
+
const isInputValueAQuery = /^[A-Za-z]/.test(inputValue);
|
|
282
|
+
if (!isInputValueAQuery) {
|
|
283
|
+
setInputValue(grid.currentSelection.value);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}, [grid.currentSelection]);
|
|
287
|
+
return (React.createElement(Grid, null,
|
|
288
|
+
React.createElement(SearchBox, { value: inputValue, placeholder: textInputMode === TextInputMode.multipleValues
|
|
289
|
+
? 'Multiple easings selected'
|
|
290
|
+
: 'Search presets...', onPaste: setTimeoutFunction(onInputChange), onChange: onInputChange, ref: inputRef, onKeyDown: onSearchKeyDown }),
|
|
291
|
+
React.createElement(OptionsContainer, { ref: optionsContainerRef, onKeyDown: (evt) => grid.onParentEltKeyDown(evt) },
|
|
292
|
+
grid.gridItems,
|
|
293
|
+
grid.gridItems.length === 0 ? (React.createElement(NoResultsFoundContainer, null, "No results found")) : undefined),
|
|
294
|
+
React.createElement(CurveEditorContainer, { onClick: () => inputRef.current?.focus() },
|
|
295
|
+
React.createElement(CurveSegmentEditor, { curveConnection: props.curveConnection, backgroundConnections: props.additionalConnections, onCurveChange: onCurveChange, onCancelCurveChange: onCancelCurveChange }))));
|
|
296
|
+
};
|
|
297
|
+
export default CurveEditorPopover;
|
|
298
|
+
function setTempValue(tempTransaction, keyframeConnections, newCurveCssCubicBezier) {
|
|
299
|
+
tempTransaction.current?.discard();
|
|
300
|
+
tempTransaction.current = null;
|
|
301
|
+
const handles = handlesFromCssCubicBezierArgs(newCurveCssCubicBezier);
|
|
302
|
+
if (handles === null) {
|
|
303
|
+
tempTransaction.current = transactionSetHold(keyframeConnections);
|
|
304
|
+
}
|
|
305
|
+
else {
|
|
306
|
+
tempTransaction.current = transactionSetCubicBezier(keyframeConnections, handles);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
function discardTempValue(tempTransaction) {
|
|
310
|
+
tempTransaction.current?.discard();
|
|
311
|
+
tempTransaction.current = null;
|
|
312
|
+
}
|
|
313
|
+
function transactionSetCubicBezier(keyframeConnections, handles) {
|
|
314
|
+
return getStudio().tempTransaction(({ stateEditors }) => {
|
|
315
|
+
const { setHandlesForKeyframe, setKeyframeType: setKeyframeType } = stateEditors.coreByProject.historic.sheetsById.sequence;
|
|
316
|
+
for (const { projectId, sheetId, objectKey, trackId, left, right, } of keyframeConnections) {
|
|
317
|
+
setHandlesForKeyframe({
|
|
318
|
+
projectId,
|
|
319
|
+
sheetId,
|
|
320
|
+
objectKey,
|
|
321
|
+
trackId,
|
|
322
|
+
keyframeId: left.id,
|
|
323
|
+
start: [handles[0], handles[1]],
|
|
324
|
+
});
|
|
325
|
+
setHandlesForKeyframe({
|
|
326
|
+
projectId,
|
|
327
|
+
sheetId,
|
|
328
|
+
objectKey,
|
|
329
|
+
trackId,
|
|
330
|
+
keyframeId: right.id,
|
|
331
|
+
end: [handles[2], handles[3]],
|
|
332
|
+
});
|
|
333
|
+
setKeyframeType({
|
|
334
|
+
projectId,
|
|
335
|
+
sheetId,
|
|
336
|
+
objectKey,
|
|
337
|
+
trackId,
|
|
338
|
+
keyframeId: left.id,
|
|
339
|
+
keyframeType: 'bezier',
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
function transactionSetHold(keyframeConnections) {
|
|
345
|
+
return getStudio().tempTransaction(({ stateEditors }) => {
|
|
346
|
+
const { setKeyframeType: setKeyframeType } = stateEditors.coreByProject.historic.sheetsById.sequence;
|
|
347
|
+
for (const { projectId, sheetId, objectKey, trackId, left, } of keyframeConnections) {
|
|
348
|
+
setKeyframeType({
|
|
349
|
+
projectId,
|
|
350
|
+
sheetId,
|
|
351
|
+
objectKey,
|
|
352
|
+
trackId,
|
|
353
|
+
keyframeId: left.id,
|
|
354
|
+
keyframeType: 'hold',
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* n mod m without negative results e.g. `mod(-1,5) = 4` contrasted with `-1 % 5 = -1`.
|
|
361
|
+
*
|
|
362
|
+
* ref: https://web.archive.org/web/20090717035140if_/javascript.about.com/od/problemsolving/a/modulobug.htm
|
|
363
|
+
*/
|
|
364
|
+
export function mod(n, m) {
|
|
365
|
+
return ((n % m) + m) % m;
|
|
366
|
+
}
|
|
367
|
+
function setTimeoutFunction(f, timeout) {
|
|
368
|
+
return () => setTimeout(f, timeout);
|
|
369
|
+
}
|
|
370
|
+
function areConnectedKeyframesTheSameAs({ left: left1, right: right1, }) {
|
|
371
|
+
return ({ left: left2, right: right2 }) => left1.handles[2] !== left2.handles[2] ||
|
|
372
|
+
left1.handles[3] !== left2.handles[3] ||
|
|
373
|
+
right1.handles[0] !== right2.handles[0] ||
|
|
374
|
+
right1.handles[1] !== right2.handles[1];
|
|
375
|
+
}
|
|
376
|
+
const { isCurveEditorOpenD, isConnectionEditingInCurvePopover, getLock } = (() => {
|
|
377
|
+
const connectionsInCurvePopoverEdit = new Atom([]);
|
|
378
|
+
return {
|
|
379
|
+
getLock(connections) {
|
|
380
|
+
connectionsInCurvePopoverEdit.set(connections);
|
|
381
|
+
return function unlock() {
|
|
382
|
+
connectionsInCurvePopoverEdit.set([]);
|
|
383
|
+
};
|
|
384
|
+
},
|
|
385
|
+
isCurveEditorOpenD: prism(() => {
|
|
386
|
+
return connectionsInCurvePopoverEdit.prism.getValue().length > 0;
|
|
387
|
+
}),
|
|
388
|
+
// must be run in a prism
|
|
389
|
+
isConnectionEditingInCurvePopover(con) {
|
|
390
|
+
prism.ensurePrism();
|
|
391
|
+
return connectionsInCurvePopoverEdit.prism
|
|
392
|
+
.getValue()
|
|
393
|
+
.some(({ left, right }) => con.left.id === left.id && con.right.id === right.id);
|
|
394
|
+
},
|
|
395
|
+
};
|
|
396
|
+
})();
|
|
397
|
+
export { isCurveEditorOpenD, isConnectionEditingInCurvePopover };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CubicBezierHandles } from './shared';
|
|
3
|
+
import type { KeyframeConnectionWithAddress } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections';
|
|
4
|
+
type ICurveSegmentEditorProps = {
|
|
5
|
+
onCurveChange: (newHandles: CubicBezierHandles) => void;
|
|
6
|
+
onCancelCurveChange: () => void;
|
|
7
|
+
curveConnection: KeyframeConnectionWithAddress;
|
|
8
|
+
backgroundConnections: Array<KeyframeConnectionWithAddress>;
|
|
9
|
+
};
|
|
10
|
+
declare const CurveSegmentEditor: React.VFC<ICurveSegmentEditorProps>;
|
|
11
|
+
export default CurveSegmentEditor;
|
|
12
|
+
//# sourceMappingURL=CurveSegmentEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurveSegmentEditor.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,UAAU,CAAA;AAGhD,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,iFAAiF,CAAA;AAqDlI,KAAK,wBAAwB,GAAG;IAC9B,aAAa,EAAE,CAAC,UAAU,EAAE,kBAAkB,KAAK,IAAI,CAAA;IACvD,mBAAmB,EAAE,MAAM,IAAI,CAAA;IAC/B,eAAe,EAAE,6BAA6B,CAAA;IAC9C,qBAAqB,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAA;CAC5D,CAAA;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,GAAG,CAAC,wBAAwB,CAgP3D,CAAA;AACD,eAAe,kBAAkB,CAAA"}
|