@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,187 @@
|
|
|
1
|
+
import { val } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import React, { useMemo, useRef } from 'react';
|
|
3
|
+
import { ConnectorLine } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine';
|
|
4
|
+
import { AggregateKeyframePositionIsSelected } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack';
|
|
5
|
+
import usePopover from '@tomorrowevening/theatre-studio/uiComponents/Popover/usePopover';
|
|
6
|
+
import useRefAndState from '@tomorrowevening/theatre-studio/utils/useRefAndState';
|
|
7
|
+
import getStudio from '@tomorrowevening/theatre-studio/getStudio';
|
|
8
|
+
import useDrag from '@tomorrowevening/theatre-studio/uiComponents/useDrag';
|
|
9
|
+
import CurveEditorPopover from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover';
|
|
10
|
+
import { useAggregateKeyframeEditorUtils } from './useAggregateKeyframeEditorUtils';
|
|
11
|
+
import styled from 'styled-components';
|
|
12
|
+
import BasicPopover from '@tomorrowevening/theatre-studio/uiComponents/Popover/BasicPopover';
|
|
13
|
+
import { copyableKeyframesFromSelection, keyframesWithPaths, } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections';
|
|
14
|
+
import useContextMenu from '@tomorrowevening/theatre-studio/uiComponents/simpleContextMenu/useContextMenu';
|
|
15
|
+
import { commonRootOfPathsToProps } from '@tomorrowevening/theatre-shared/utils/addresses';
|
|
16
|
+
const POPOVER_MARGIN_PX = 5;
|
|
17
|
+
const EasingPopoverWrapper = styled(BasicPopover) `
|
|
18
|
+
--popover-outer-stroke: transparent;
|
|
19
|
+
--popover-inner-stroke: rgba(26, 28, 30, 0.97);
|
|
20
|
+
`;
|
|
21
|
+
export const AggregateCurveEditorPopover = React.forwardRef((props, ref) => {
|
|
22
|
+
const { allConnections } = useAggregateKeyframeEditorUtils(props);
|
|
23
|
+
return (React.createElement(EasingPopoverWrapper, { showPopoverEdgeTriangle: false,
|
|
24
|
+
// @ts-ignore @todo
|
|
25
|
+
ref: ref },
|
|
26
|
+
React.createElement(CurveEditorPopover, { curveConnection: allConnections[0], additionalConnections: allConnections, onRequestClose: props.closePopover })));
|
|
27
|
+
});
|
|
28
|
+
export const AggregateKeyframeConnector = (props) => {
|
|
29
|
+
const [nodeRef, node] = useRefAndState(null);
|
|
30
|
+
const { editorProps } = props;
|
|
31
|
+
const [contextMenu] = useConnectorContextMenu(props, node);
|
|
32
|
+
const [isDragging] = useDragKeyframe(node, props.editorProps);
|
|
33
|
+
const { node: popoverNode, toggle: togglePopover, close: closePopover, } = usePopover(() => {
|
|
34
|
+
const rightDims = val(editorProps.layoutP.rightDims);
|
|
35
|
+
return {
|
|
36
|
+
debugName: 'Connector',
|
|
37
|
+
constraints: {
|
|
38
|
+
minX: rightDims.screenX + POPOVER_MARGIN_PX,
|
|
39
|
+
maxX: rightDims.screenX + rightDims.width - POPOVER_MARGIN_PX,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}, () => {
|
|
43
|
+
return (React.createElement(AggregateCurveEditorPopover, { ...editorProps, closePopover: closePopover }));
|
|
44
|
+
});
|
|
45
|
+
const { connected, isAggregateEditingInCurvePopover } = props.utils;
|
|
46
|
+
// We don't want to interrupt an existing drag, so in order to persist the dragged
|
|
47
|
+
// html node, we just set the connector length to 0, but we don't remove it yet.
|
|
48
|
+
return connected || isDragging ? (React.createElement(React.Fragment, null,
|
|
49
|
+
React.createElement(ConnectorLine, { ref: nodeRef, connectorLengthInUnitSpace: connected ? connected.length : 0, isSelected: connected ? connected.selected : false, isPopoverOpen: isAggregateEditingInCurvePopover, openPopover: (e) => {
|
|
50
|
+
if (node)
|
|
51
|
+
togglePopover(e, node);
|
|
52
|
+
} }),
|
|
53
|
+
popoverNode,
|
|
54
|
+
contextMenu)) : (React.createElement(React.Fragment, null));
|
|
55
|
+
};
|
|
56
|
+
function useDragKeyframe(node, editorProps) {
|
|
57
|
+
const propsRef = useRef(editorProps);
|
|
58
|
+
propsRef.current = editorProps;
|
|
59
|
+
const gestureHandlers = useMemo(() => {
|
|
60
|
+
return {
|
|
61
|
+
debugName: 'useDragKeyframe',
|
|
62
|
+
lockCSSCursorTo: 'ew-resize',
|
|
63
|
+
onDragStart(event) {
|
|
64
|
+
const props = propsRef.current;
|
|
65
|
+
let tempTransaction;
|
|
66
|
+
const keyframes = props.aggregateKeyframes[props.index].keyframes;
|
|
67
|
+
const { selection, viewModel } = props;
|
|
68
|
+
const address = viewModel.type === 'sheet'
|
|
69
|
+
? viewModel.sheet.address
|
|
70
|
+
: viewModel.sheetObject.address;
|
|
71
|
+
if (selection &&
|
|
72
|
+
props.aggregateKeyframes[props.index].selected ===
|
|
73
|
+
AggregateKeyframePositionIsSelected.AllSelected) {
|
|
74
|
+
return selection
|
|
75
|
+
.getDragHandlers({
|
|
76
|
+
...address,
|
|
77
|
+
domNode: node,
|
|
78
|
+
positionAtStartOfDrag: props.aggregateKeyframes[props.index].position,
|
|
79
|
+
})
|
|
80
|
+
.onDragStart(event);
|
|
81
|
+
}
|
|
82
|
+
const propsAtStartOfDrag = props;
|
|
83
|
+
const sequence = val(propsAtStartOfDrag.layoutP.sheet).getSequence();
|
|
84
|
+
const toUnitSpace = val(propsAtStartOfDrag.layoutP.scaledSpace.toUnitSpace);
|
|
85
|
+
return {
|
|
86
|
+
onDrag(dx, dy, event) {
|
|
87
|
+
const delta = toUnitSpace(dx);
|
|
88
|
+
if (tempTransaction) {
|
|
89
|
+
tempTransaction.discard();
|
|
90
|
+
tempTransaction = undefined;
|
|
91
|
+
}
|
|
92
|
+
tempTransaction = getStudio().tempTransaction(({ stateEditors }) => {
|
|
93
|
+
for (const keyframe of keyframes) {
|
|
94
|
+
stateEditors.coreByProject.historic.sheetsById.sequence.transformKeyframes({
|
|
95
|
+
...keyframe.track.sheetObject.address,
|
|
96
|
+
trackId: keyframe.track.id,
|
|
97
|
+
keyframeIds: [
|
|
98
|
+
keyframe.kf.id,
|
|
99
|
+
keyframe.track.data.keyframes[keyframe.track.data.keyframes.indexOf(keyframe.kf) + 1].id,
|
|
100
|
+
],
|
|
101
|
+
translate: delta,
|
|
102
|
+
scale: 1,
|
|
103
|
+
origin: 0,
|
|
104
|
+
snappingFunction: sequence.closestGridPosition,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
},
|
|
109
|
+
onDragEnd(dragHappened) {
|
|
110
|
+
if (dragHappened) {
|
|
111
|
+
if (tempTransaction) {
|
|
112
|
+
tempTransaction.commit();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
if (tempTransaction) {
|
|
117
|
+
tempTransaction.discard();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
};
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
}, []);
|
|
125
|
+
return useDrag(node, gestureHandlers);
|
|
126
|
+
}
|
|
127
|
+
function useConnectorContextMenu(props, node) {
|
|
128
|
+
return useContextMenu(node, {
|
|
129
|
+
displayName: 'Aggregate Tween',
|
|
130
|
+
menuItems: () => {
|
|
131
|
+
// see AGGREGATE_COPY_PASTE.md for explanation of this
|
|
132
|
+
// code that makes some keyframes with paths for copying
|
|
133
|
+
// to clipboard
|
|
134
|
+
const kfs = props.utils.allConnections.reduce((acc, con) => acc.concat(keyframesWithPaths({
|
|
135
|
+
...con,
|
|
136
|
+
keyframeIds: [con.left.id, con.right.id],
|
|
137
|
+
}) ?? []), []);
|
|
138
|
+
const commonPath = commonRootOfPathsToProps(kfs.map((kf) => kf.pathToProp));
|
|
139
|
+
const keyframesWithCommonRootPath = kfs.map(({ keyframe, pathToProp }) => ({
|
|
140
|
+
keyframe,
|
|
141
|
+
pathToProp: pathToProp.slice(commonPath.length),
|
|
142
|
+
}));
|
|
143
|
+
const viewModel = props.editorProps.viewModel;
|
|
144
|
+
const address = viewModel.type === 'sheet'
|
|
145
|
+
? viewModel.sheet.address
|
|
146
|
+
: viewModel.sheetObject.address;
|
|
147
|
+
return [
|
|
148
|
+
{
|
|
149
|
+
label: 'Copy',
|
|
150
|
+
callback: () => {
|
|
151
|
+
if (props.editorProps.selection) {
|
|
152
|
+
const copyableKeyframes = copyableKeyframesFromSelection(address.projectId, address.sheetId, props.editorProps.selection);
|
|
153
|
+
getStudio().transaction((api) => {
|
|
154
|
+
api.stateEditors.studio.ahistoric.setClipboardKeyframes(copyableKeyframes);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
getStudio().transaction((api) => {
|
|
159
|
+
api.stateEditors.studio.ahistoric.setClipboardKeyframes(keyframesWithCommonRootPath);
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
label: 'Delete',
|
|
166
|
+
callback: () => {
|
|
167
|
+
if (props.editorProps.selection) {
|
|
168
|
+
props.editorProps.selection.delete();
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
getStudio().transaction(({ stateEditors }) => {
|
|
172
|
+
for (const con of props.utils.allConnections) {
|
|
173
|
+
stateEditors.coreByProject.historic.sheetsById.sequence.deleteKeyframes({
|
|
174
|
+
...address,
|
|
175
|
+
objectKey: con.objectKey,
|
|
176
|
+
keyframeIds: [con.left.id, con.right.id],
|
|
177
|
+
trackId: con.trackId,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
];
|
|
185
|
+
},
|
|
186
|
+
});
|
|
187
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IAggregateKeyframeEditorProps } from './AggregateKeyframeEditor';
|
|
3
|
+
import type { IAggregateKeyframeEditorUtils } from './useAggregateKeyframeEditorUtils';
|
|
4
|
+
type IAggregateKeyframeDotProps = {
|
|
5
|
+
editorProps: IAggregateKeyframeEditorProps;
|
|
6
|
+
utils: IAggregateKeyframeEditorUtils;
|
|
7
|
+
};
|
|
8
|
+
export declare function AggregateKeyframeDot(props: React.PropsWithChildren<IAggregateKeyframeDotProps>): React.JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=AggregateKeyframeDot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregateKeyframeDot.d.ts","sourceRoot":"","sources":["../../../../../../../../../../studio/src/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,2BAA2B,CAAA;AAC5E,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,mCAAmC,CAAA;AAuBpF,KAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,6BAA6B,CAAA;IAC1C,KAAK,EAAE,6BAA6B,CAAA;CACrC,CAAA;AA4DD,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,qBAyD3D"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import useRefAndState from '@tomorrowevening/theatre-studio/utils/useRefAndState';
|
|
3
|
+
import usePresence, { PresenceFlag, } from '@tomorrowevening/theatre-studio/uiComponents/usePresence';
|
|
4
|
+
import useContextMenu from '@tomorrowevening/theatre-studio/uiComponents/simpleContextMenu/useContextMenu';
|
|
5
|
+
import { AggregateKeyframeVisualDot, HitZone } from './AggregateKeyframeVisualDot';
|
|
6
|
+
import getStudio from '@tomorrowevening/theatre-studio/getStudio';
|
|
7
|
+
import { copyableKeyframesFromSelection, keyframesWithPaths, } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections';
|
|
8
|
+
import { commonRootOfPathsToProps } from '@tomorrowevening/theatre-shared/utils/addresses';
|
|
9
|
+
import DopeSnap from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/RightOverlay/DopeSnap';
|
|
10
|
+
import { useKeyframeInlineEditorPopover } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover';
|
|
11
|
+
const isOptionsTreeNodeNotNull = (a) => a !== null;
|
|
12
|
+
function sheetObjectBuild(viewModel, keyframes) {
|
|
13
|
+
const children = viewModel.children
|
|
14
|
+
.map((a) => a.type === 'propWithChildren'
|
|
15
|
+
? propWithChildrenBuild(a, keyframes)
|
|
16
|
+
: primitivePropBuild(a, keyframes))
|
|
17
|
+
.filter(isOptionsTreeNodeNotNull);
|
|
18
|
+
if (children.length === 0)
|
|
19
|
+
return null;
|
|
20
|
+
return {
|
|
21
|
+
type: 'sheetObject',
|
|
22
|
+
sheetObject: viewModel.sheetObject,
|
|
23
|
+
children,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function propWithChildrenBuild(viewModel, keyframes) {
|
|
27
|
+
const children = viewModel.children
|
|
28
|
+
.map((a) => a.type === 'propWithChildren'
|
|
29
|
+
? propWithChildrenBuild(a, keyframes)
|
|
30
|
+
: primitivePropBuild(a, keyframes))
|
|
31
|
+
.filter(isOptionsTreeNodeNotNull);
|
|
32
|
+
if (children.length === 0)
|
|
33
|
+
return null;
|
|
34
|
+
return {
|
|
35
|
+
type: 'propWithChildren',
|
|
36
|
+
pathToProp: viewModel.pathToProp,
|
|
37
|
+
propConfig: viewModel.propConf,
|
|
38
|
+
children,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function primitivePropBuild(viewModelLeaf, keyframes) {
|
|
42
|
+
const keyframe = keyframes.find((kf) => kf.track.id === viewModelLeaf.trackId);
|
|
43
|
+
if (!keyframe)
|
|
44
|
+
return null;
|
|
45
|
+
return {
|
|
46
|
+
type: 'primitiveProp',
|
|
47
|
+
keyframe: keyframe.kf,
|
|
48
|
+
pathToProp: viewModelLeaf.pathToProp,
|
|
49
|
+
propConfig: viewModelLeaf.propConf,
|
|
50
|
+
sheetObject: viewModelLeaf.sheetObject,
|
|
51
|
+
trackId: viewModelLeaf.trackId,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function AggregateKeyframeDot(props) {
|
|
55
|
+
const { cur } = props.utils;
|
|
56
|
+
const inlineEditorPopover = useKeyframeInlineEditorPopover(props.editorProps.viewModel.type === 'sheet'
|
|
57
|
+
? null
|
|
58
|
+
: props.editorProps.viewModel.type === 'sheetObject'
|
|
59
|
+
? sheetObjectBuild(props.editorProps.viewModel, cur.keyframes)
|
|
60
|
+
?.children ?? null
|
|
61
|
+
: propWithChildrenBuild(props.editorProps.viewModel, cur.keyframes)
|
|
62
|
+
?.children ?? null);
|
|
63
|
+
const presence = usePresence(props.utils.itemKey);
|
|
64
|
+
presence.useRelations(() => cur.keyframes.map((kf) => ({
|
|
65
|
+
affects: kf.itemKey,
|
|
66
|
+
flag: PresenceFlag.Primary,
|
|
67
|
+
})), [
|
|
68
|
+
// Hmm: Is this a valid fix for the changing size of the useEffect's dependency array?
|
|
69
|
+
// also: does it work properly with selections?
|
|
70
|
+
cur.keyframes
|
|
71
|
+
.map((keyframeWithTrack) => keyframeWithTrack.track.id)
|
|
72
|
+
.join('-'),
|
|
73
|
+
]);
|
|
74
|
+
const [ref, node] = useRefAndState(null);
|
|
75
|
+
const [contextMenu] = useAggregateKeyframeContextMenu(props, node);
|
|
76
|
+
return (React.createElement(React.Fragment, null,
|
|
77
|
+
React.createElement(HitZone, { ref: ref, ...presence.attrs, ...DopeSnap.includePositionSnapAttrs(cur.position), onClick: (e) => props.editorProps.viewModel.type !== 'sheet'
|
|
78
|
+
? inlineEditorPopover.open(e, ref.current)
|
|
79
|
+
: null }),
|
|
80
|
+
React.createElement(AggregateKeyframeVisualDot, { flag: presence.flag, isAllHere: cur.allHere, isSelected: cur.selected }),
|
|
81
|
+
contextMenu,
|
|
82
|
+
inlineEditorPopover.node));
|
|
83
|
+
}
|
|
84
|
+
function useAggregateKeyframeContextMenu(props, target) {
|
|
85
|
+
return useContextMenu(target, {
|
|
86
|
+
displayName: 'Aggregate Keyframe',
|
|
87
|
+
menuItems: () => {
|
|
88
|
+
const viewModel = props.editorProps.viewModel;
|
|
89
|
+
const selection = props.editorProps.selection;
|
|
90
|
+
return [
|
|
91
|
+
{
|
|
92
|
+
label: selection ? 'Copy (selection)' : 'Copy',
|
|
93
|
+
callback: () => {
|
|
94
|
+
// see AGGREGATE_COPY_PASTE.md for explanation of this
|
|
95
|
+
// code that makes some keyframes with paths for copying
|
|
96
|
+
// to clipboard
|
|
97
|
+
if (selection) {
|
|
98
|
+
const { projectId, sheetId } = viewModel.type === 'sheet'
|
|
99
|
+
? viewModel.sheet.address
|
|
100
|
+
: viewModel.sheetObject.address;
|
|
101
|
+
const copyableKeyframes = copyableKeyframesFromSelection(projectId, sheetId, selection);
|
|
102
|
+
getStudio().transaction((api) => {
|
|
103
|
+
api.stateEditors.studio.ahistoric.setClipboardKeyframes(copyableKeyframes);
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
const kfs = props.utils.cur.keyframes.flatMap((kfWithTrack) => keyframesWithPaths({
|
|
108
|
+
...kfWithTrack.track.sheetObject.address,
|
|
109
|
+
trackId: kfWithTrack.track.id,
|
|
110
|
+
keyframeIds: [kfWithTrack.kf.id],
|
|
111
|
+
}) ?? []);
|
|
112
|
+
const basePathRelativeToSheet = viewModel.type === 'sheet'
|
|
113
|
+
? []
|
|
114
|
+
: viewModel.type === 'sheetObject'
|
|
115
|
+
? [viewModel.sheetObject.address.objectKey]
|
|
116
|
+
: viewModel.type === 'propWithChildren'
|
|
117
|
+
? [
|
|
118
|
+
viewModel.sheetObject.address.objectKey,
|
|
119
|
+
...viewModel.pathToProp,
|
|
120
|
+
]
|
|
121
|
+
: []; // should be unreachable unless new viewModel/leaf types are added
|
|
122
|
+
const commonPath = commonRootOfPathsToProps([
|
|
123
|
+
basePathRelativeToSheet,
|
|
124
|
+
...kfs.map((kf) => kf.pathToProp),
|
|
125
|
+
]);
|
|
126
|
+
const keyframesWithCommonRootPath = kfs.map(({ keyframe, pathToProp }) => ({
|
|
127
|
+
keyframe,
|
|
128
|
+
pathToProp: pathToProp.slice(commonPath.length),
|
|
129
|
+
}));
|
|
130
|
+
getStudio().transaction((api) => {
|
|
131
|
+
api.stateEditors.studio.ahistoric.setClipboardKeyframes(keyframesWithCommonRootPath);
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
label: selection ? 'Delete (selection)' : 'Delete',
|
|
138
|
+
callback: () => {
|
|
139
|
+
if (selection) {
|
|
140
|
+
selection.delete();
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
getStudio().transaction(({ stateEditors }) => {
|
|
144
|
+
for (const kfWithTrack of props.utils.cur.keyframes) {
|
|
145
|
+
stateEditors.coreByProject.historic.sheetsById.sequence.deleteKeyframes({
|
|
146
|
+
...kfWithTrack.track.sheetObject.address,
|
|
147
|
+
keyframeIds: [kfWithTrack.kf.id],
|
|
148
|
+
trackId: kfWithTrack.track.id,
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
];
|
|
156
|
+
},
|
|
157
|
+
});
|
|
158
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Keyframe } from '@tomorrowevening/theatre-core/projects/store/types/SheetState_Historic';
|
|
2
|
+
import type { DopeSheetSelection, SequenceEditorPanelLayout } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/layout/layout';
|
|
3
|
+
import type { SequenceEditorTree_PropWithChildren, SequenceEditorTree_Sheet, SequenceEditorTree_SheetObject } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/layout/tree';
|
|
4
|
+
import type { Pointer } from '@tomorrowevening/theatre-dataverse';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { SequenceTrackId } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
7
|
+
import type { AggregateKeyframePositionIsSelected } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack';
|
|
8
|
+
import type { KeyframeWithTrack } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes';
|
|
9
|
+
import type { SheetObjectAddress } from '@tomorrowevening/theatre-shared/utils/addresses';
|
|
10
|
+
export type IAggregateKeyframesAtPosition = {
|
|
11
|
+
position: number;
|
|
12
|
+
/** all tracks have a keyframe for this position (otherwise, false means 'partial') */
|
|
13
|
+
allHere: boolean;
|
|
14
|
+
selected: AggregateKeyframePositionIsSelected | undefined;
|
|
15
|
+
keyframes: KeyframeWithTrack[];
|
|
16
|
+
};
|
|
17
|
+
export type AggregatedKeyframeConnection = SheetObjectAddress & {
|
|
18
|
+
trackId: SequenceTrackId;
|
|
19
|
+
left: Keyframe;
|
|
20
|
+
right: Keyframe;
|
|
21
|
+
};
|
|
22
|
+
export type IAggregateKeyframeEditorProps = {
|
|
23
|
+
index: number;
|
|
24
|
+
aggregateKeyframes: IAggregateKeyframesAtPosition[];
|
|
25
|
+
layoutP: Pointer<SequenceEditorPanelLayout>;
|
|
26
|
+
viewModel: SequenceEditorTree_PropWithChildren | SequenceEditorTree_SheetObject | SequenceEditorTree_Sheet;
|
|
27
|
+
selection: undefined | DopeSheetSelection;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* TODO we're spending a lot of cycles on each render of each aggreagte keyframes.
|
|
31
|
+
*
|
|
32
|
+
* Each keyframe node is doing O(N) operations, N being the number of underlying
|
|
33
|
+
* keyframes it represetns.
|
|
34
|
+
*
|
|
35
|
+
* The biggest example is the `isConnectionEditingInCurvePopover()` call which is run
|
|
36
|
+
* for every underlying keyframe, every time this component is rendered.
|
|
37
|
+
*
|
|
38
|
+
* We can optimize this away by doing all of this work _once_ when a curve editor popover
|
|
39
|
+
* is open. This would require having some kind of stable identity for each aggregate row.
|
|
40
|
+
* Let's defer that work until other interactive keyframe editing PRs are merged in.
|
|
41
|
+
*/
|
|
42
|
+
declare const AggregateKeyframeEditor: React.VFC<IAggregateKeyframeEditorProps>;
|
|
43
|
+
export default AggregateKeyframeEditor;
|
|
44
|
+
//# sourceMappingURL=AggregateKeyframeEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregateKeyframeEditor.d.ts","sourceRoot":"","sources":["../../../../../../../../../../studio/src/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,wEAAwE,CAAA;AACpG,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,0EAA0E,CAAA;AACjF,OAAO,KAAK,EACV,mCAAmC,EACnC,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,wEAAwE,CAAA;AAC/E,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,oCAAoC,CAAA;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAA;AAC9E,OAAO,KAAK,EAAC,mCAAmC,EAAC,MAAM,4HAA4H,CAAA;AACnL,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,sGAAsG,CAAA;AAC3I,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iDAAiD,CAAA;AASvF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,EAAE,MAAM,CAAA;IAChB,sFAAsF;IACtF,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,mCAAmC,GAAG,SAAS,CAAA;IACzD,SAAS,EAAE,iBAAiB,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,kBAAkB,GAAG;IAC9D,OAAO,EAAE,eAAe,CAAA;IACxB,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,QAAQ,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,EAAE,6BAA6B,EAAE,CAAA;IACnD,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;IAC3C,SAAS,EACL,mCAAmC,GACnC,8BAA8B,GAC9B,wBAAwB,CAAA;IAC5B,SAAS,EAAE,SAAS,GAAG,kBAAkB,CAAA;CAC1C,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,GAAG,CAAC,6BAA6B,CAkBlE,CAAA;AAEJ,eAAe,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { val } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import { AggregateKeyframeConnector } from './AggregateKeyframeConnector';
|
|
5
|
+
import { useAggregateKeyframeEditorUtils } from './useAggregateKeyframeEditorUtils';
|
|
6
|
+
import { AggregateKeyframeDot } from './AggregateKeyframeDot';
|
|
7
|
+
const AggregateKeyframeEditorContainer = styled.div `
|
|
8
|
+
position: absolute;
|
|
9
|
+
`;
|
|
10
|
+
/**
|
|
11
|
+
* TODO we're spending a lot of cycles on each render of each aggreagte keyframes.
|
|
12
|
+
*
|
|
13
|
+
* Each keyframe node is doing O(N) operations, N being the number of underlying
|
|
14
|
+
* keyframes it represetns.
|
|
15
|
+
*
|
|
16
|
+
* The biggest example is the `isConnectionEditingInCurvePopover()` call which is run
|
|
17
|
+
* for every underlying keyframe, every time this component is rendered.
|
|
18
|
+
*
|
|
19
|
+
* We can optimize this away by doing all of this work _once_ when a curve editor popover
|
|
20
|
+
* is open. This would require having some kind of stable identity for each aggregate row.
|
|
21
|
+
* Let's defer that work until other interactive keyframe editing PRs are merged in.
|
|
22
|
+
*/
|
|
23
|
+
const AggregateKeyframeEditor = React.memo((props) => {
|
|
24
|
+
const utils = useAggregateKeyframeEditorUtils(props);
|
|
25
|
+
return (React.createElement(AggregateKeyframeEditorContainer, { style: {
|
|
26
|
+
top: `${props.viewModel.nodeHeight / 2}px`,
|
|
27
|
+
left: `calc(${val(props.layoutP.scaledSpace.leftPadding)}px + calc(var(--unitSpaceToScaledSpaceMultiplier) * ${utils.cur.position}px))`,
|
|
28
|
+
} },
|
|
29
|
+
React.createElement(AggregateKeyframeDot, { editorProps: props, utils: utils }),
|
|
30
|
+
React.createElement(AggregateKeyframeConnector, { editorProps: props, utils: utils })));
|
|
31
|
+
});
|
|
32
|
+
export default AggregateKeyframeEditor;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AggregateKeyframePositionIsSelected } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack';
|
|
3
|
+
import { PresenceFlag } from '@tomorrowevening/theatre-studio/uiComponents/usePresence';
|
|
4
|
+
export declare const HitZone: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare function AggregateKeyframeVisualDot(props: {
|
|
6
|
+
flag: PresenceFlag | undefined;
|
|
7
|
+
isSelected: AggregateKeyframePositionIsSelected | undefined;
|
|
8
|
+
isAllHere: boolean;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=AggregateKeyframeVisualDot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregateKeyframeVisualDot.d.ts","sourceRoot":"","sources":["../../../../../../../../../../studio/src/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,mCAAmC,EAAC,MAAM,4HAA4H,CAAA;AAC9K,OAAO,EAAC,YAAY,EAAC,MAAM,0DAA0D,CAAA;AAiBrF,eAAO,MAAM,OAAO,oEAenB,CAAA;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE;IAChD,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;IAC9B,UAAU,EAAE,mCAAmC,GAAG,SAAS,CAAA;IAC3D,SAAS,EAAE,OAAO,CAAA;CACnB,qBAeA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AggregateKeyframePositionIsSelected } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack';
|
|
3
|
+
import { PresenceFlag } from '@tomorrowevening/theatre-studio/uiComponents/usePresence';
|
|
4
|
+
import styled from 'styled-components';
|
|
5
|
+
import { absoluteDims } from '@tomorrowevening/theatre-studio/utils/absoluteDims';
|
|
6
|
+
import { pointerEventsAutoInNormalMode } from '@tomorrowevening/theatre-studio/css';
|
|
7
|
+
const DOT_SIZE_PX = 16;
|
|
8
|
+
const DOT_HOVER_SIZE_PX = DOT_SIZE_PX + 2;
|
|
9
|
+
/** The keyframe diamond ◆ */
|
|
10
|
+
const DotContainer = styled.div `
|
|
11
|
+
position: absolute;
|
|
12
|
+
${absoluteDims(DOT_SIZE_PX)}
|
|
13
|
+
z-index: 1;
|
|
14
|
+
`;
|
|
15
|
+
// hmm kinda weird to organize like this (exporting `HitZone`). Maybe there's a way to re-use
|
|
16
|
+
// this interpolation of `DotContainer` using something like extended components or something.
|
|
17
|
+
export const HitZone = styled.div `
|
|
18
|
+
z-index: 2;
|
|
19
|
+
cursor: ew-resize;
|
|
20
|
+
|
|
21
|
+
position: absolute;
|
|
22
|
+
${absoluteDims(12)};
|
|
23
|
+
${pointerEventsAutoInNormalMode};
|
|
24
|
+
|
|
25
|
+
&:hover
|
|
26
|
+
+ ${DotContainer},
|
|
27
|
+
#pointer-root.draggingPositionInSequenceEditor
|
|
28
|
+
&:hover
|
|
29
|
+
+ ${DotContainer} {
|
|
30
|
+
${absoluteDims(DOT_HOVER_SIZE_PX)}
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
export function AggregateKeyframeVisualDot(props) {
|
|
34
|
+
const theme = {
|
|
35
|
+
isSelected: props.isSelected,
|
|
36
|
+
flag: props.flag,
|
|
37
|
+
};
|
|
38
|
+
return (React.createElement(DotContainer, null, props.isAllHere ? (React.createElement(AggregateDotAllHereSvg, { ...theme })) : (React.createElement(AggregateDotSomeHereSvg, { ...theme }))));
|
|
39
|
+
}
|
|
40
|
+
const SELECTED_COLOR = '#F2C95C';
|
|
41
|
+
const DEFAULT_PRIMARY_COLOR = '#40AAA4';
|
|
42
|
+
const DEFAULT_SECONDARY_COLOR = '#45747C';
|
|
43
|
+
const selectionColorAll = (theme) => theme.isSelected === AggregateKeyframePositionIsSelected.AllSelected
|
|
44
|
+
? SELECTED_COLOR
|
|
45
|
+
: theme.isSelected ===
|
|
46
|
+
AggregateKeyframePositionIsSelected.AtLeastOneUnselected
|
|
47
|
+
? DEFAULT_PRIMARY_COLOR
|
|
48
|
+
: DEFAULT_SECONDARY_COLOR;
|
|
49
|
+
const selectionColorSome = (theme) => theme.isSelected === AggregateKeyframePositionIsSelected.AllSelected
|
|
50
|
+
? SELECTED_COLOR
|
|
51
|
+
: theme.isSelected ===
|
|
52
|
+
AggregateKeyframePositionIsSelected.AtLeastOneUnselected
|
|
53
|
+
? DEFAULT_PRIMARY_COLOR
|
|
54
|
+
: DEFAULT_SECONDARY_COLOR;
|
|
55
|
+
const AggregateDotAllHereSvg = (theme) => (React.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
56
|
+
React.createElement("rect", { x: "4.46443", y: "10.0078", width: "5", height: "5", transform: "rotate(-45 4.46443 10.0078)", fill: "#212327" // background knockout fill
|
|
57
|
+
, stroke: selectionColorSome(theme) }),
|
|
58
|
+
React.createElement("rect", { x: "3.75732", y: "6.01953", width: "6", height: "6", transform: "rotate(-45 3.75732 6.01953)", fill: selectionColorAll(theme), stroke: theme.flag === PresenceFlag.Primary ? 'white' : undefined, strokeWidth: theme.flag === PresenceFlag.Primary ? '2px' : undefined })));
|
|
59
|
+
// when the aggregate keyframes are sparse across tracks at this position
|
|
60
|
+
const AggregateDotSomeHereSvg = (theme) => (React.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
61
|
+
React.createElement("rect", { x: "4.46443", y: "8", width: "5", height: "5", transform: "rotate(-45 4.46443 8)", fill: "#23262B", stroke: theme.flag === PresenceFlag.Primary ? 'white' : selectionColorAll(theme), strokeWidth: theme.flag === PresenceFlag.Primary ? '2px' : undefined })));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iif.d.ts","sourceRoot":"","sources":["../../../../../../../../../../studio/src/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.tsx"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,CAAC,CAAC,SAAS,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAE7D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IAggregateKeyframeEditorProps } from './AggregateKeyframeEditor';
|
|
2
|
+
export type IAggregateKeyframeEditorUtils = ReturnType<typeof useAggregateKeyframeEditorUtils>;
|
|
3
|
+
export declare function useAggregateKeyframeEditorUtils(props: Pick<IAggregateKeyframeEditorProps, 'index' | 'aggregateKeyframes' | 'selection' | 'viewModel'>): {
|
|
4
|
+
itemKey: import("@tomorrowevening/theatre-shared/utils/ids").StudioSheetItemKey;
|
|
5
|
+
cur: import("./AggregateKeyframeEditor").IAggregateKeyframesAtPosition;
|
|
6
|
+
connected: {
|
|
7
|
+
length: number;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
} | null;
|
|
10
|
+
isAggregateEditingInCurvePopover: boolean;
|
|
11
|
+
allConnections: import("@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections").KeyframeConnectionWithAddress[];
|
|
12
|
+
};
|
|
13
|
+
export declare function getAggregateKeyframeEditorUtilsPrismFn(props: Pick<IAggregateKeyframeEditorProps, 'index' | 'aggregateKeyframes' | 'selection' | 'viewModel'>): () => {
|
|
14
|
+
itemKey: import("@tomorrowevening/theatre-shared/utils/ids").StudioSheetItemKey;
|
|
15
|
+
cur: import("./AggregateKeyframeEditor").IAggregateKeyframesAtPosition;
|
|
16
|
+
connected: {
|
|
17
|
+
length: number;
|
|
18
|
+
selected: boolean;
|
|
19
|
+
} | null;
|
|
20
|
+
isAggregateEditingInCurvePopover: boolean;
|
|
21
|
+
allConnections: import("@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections").KeyframeConnectionWithAddress[];
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=useAggregateKeyframeEditorUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAggregateKeyframeEditorUtils.d.ts","sourceRoot":"","sources":["../../../../../../../../../../studio/src/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,6BAA6B,EAE9B,MAAM,2BAA2B,CAAA;AAGlC,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,+BAA+B,CACvC,CAAA;AAID,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,IAAI,CACT,6BAA6B,EAC7B,OAAO,GAAG,oBAAoB,GAAG,WAAW,GAAG,WAAW,CAC3D;;;;;;;;;EAUF;AAID,wBAAgB,sCAAsC,CACpD,KAAK,EAAE,IAAI,CACT,6BAA6B,EAC7B,OAAO,GAAG,oBAAoB,GAAG,WAAW,GAAG,WAAW,CAC3D;;;;;;;;;EAoFF"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { prism } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import { createStudioSheetItemKey } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
3
|
+
import { AggregateKeyframePositionIsSelected } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack';
|
|
4
|
+
import { isConnectionEditingInCurvePopover } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover';
|
|
5
|
+
import { usePrism } from '@tomorrowevening/theatre-react';
|
|
6
|
+
import { selectedKeyframeConnections } from '@tomorrowevening/theatre-studio/panels/SequenceEditorPanel/DopeSheet/selections';
|
|
7
|
+
import { iif } from './iif';
|
|
8
|
+
// I think this was pulled out for performance
|
|
9
|
+
// 1/10: Not sure this is properly split up
|
|
10
|
+
export function useAggregateKeyframeEditorUtils(props) {
|
|
11
|
+
const { index, aggregateKeyframes, selection } = props;
|
|
12
|
+
return usePrism(getAggregateKeyframeEditorUtilsPrismFn(props), [
|
|
13
|
+
index,
|
|
14
|
+
aggregateKeyframes,
|
|
15
|
+
selection,
|
|
16
|
+
props.viewModel,
|
|
17
|
+
]);
|
|
18
|
+
}
|
|
19
|
+
// I think this was pulled out for performance
|
|
20
|
+
// 1/10: Not sure this is properly split up
|
|
21
|
+
export function getAggregateKeyframeEditorUtilsPrismFn(props) {
|
|
22
|
+
const { index, aggregateKeyframes, selection } = props;
|
|
23
|
+
const { projectId, sheetId } = props.viewModel.type === 'sheet'
|
|
24
|
+
? props.viewModel.sheet.address
|
|
25
|
+
: props.viewModel.sheetObject.address;
|
|
26
|
+
return () => {
|
|
27
|
+
const cur = aggregateKeyframes[index];
|
|
28
|
+
const next = aggregateKeyframes[index + 1];
|
|
29
|
+
const curAndNextAggregateKeyframesMatch = next &&
|
|
30
|
+
cur.keyframes.length === next.keyframes.length &&
|
|
31
|
+
cur.keyframes.every(({ track }, ind) => next.keyframes[ind].track === track);
|
|
32
|
+
const connected = curAndNextAggregateKeyframesMatch
|
|
33
|
+
? {
|
|
34
|
+
length: next.position - cur.position,
|
|
35
|
+
selected: cur.selected === AggregateKeyframePositionIsSelected.AllSelected &&
|
|
36
|
+
next.selected === AggregateKeyframePositionIsSelected.AllSelected,
|
|
37
|
+
}
|
|
38
|
+
: null;
|
|
39
|
+
const aggregatedConnections = !connected
|
|
40
|
+
? []
|
|
41
|
+
: cur.keyframes.map(({ kf, track }, i) => ({
|
|
42
|
+
...track.sheetObject.address,
|
|
43
|
+
trackId: track.id,
|
|
44
|
+
left: kf,
|
|
45
|
+
right: next.keyframes[i].kf,
|
|
46
|
+
}));
|
|
47
|
+
const allConnections = iif(() => {
|
|
48
|
+
const selectedConnections = prism
|
|
49
|
+
.memo('selectedConnections', () => selectedKeyframeConnections(projectId, sheetId, selection), [projectId, sheetId, selection])
|
|
50
|
+
.getValue();
|
|
51
|
+
return [...aggregatedConnections, ...selectedConnections];
|
|
52
|
+
});
|
|
53
|
+
const isAggregateEditingInCurvePopover = aggregatedConnections.every((con) => isConnectionEditingInCurvePopover(con));
|
|
54
|
+
const itemKey = prism.memo('itemKey', () => {
|
|
55
|
+
if (props.viewModel.type === 'sheet') {
|
|
56
|
+
return createStudioSheetItemKey.forSheetAggregateKeyframe(props.viewModel.sheet, cur.position);
|
|
57
|
+
}
|
|
58
|
+
else if (props.viewModel.type === 'sheetObject') {
|
|
59
|
+
return createStudioSheetItemKey.forSheetObjectAggregateKeyframe(props.viewModel.sheetObject, cur.position);
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
return createStudioSheetItemKey.forCompoundPropAggregateKeyframe(props.viewModel.sheetObject, props.viewModel.pathToProp, cur.position);
|
|
63
|
+
}
|
|
64
|
+
}, [props.viewModel, cur.position]);
|
|
65
|
+
return {
|
|
66
|
+
itemKey,
|
|
67
|
+
cur,
|
|
68
|
+
connected,
|
|
69
|
+
isAggregateEditingInCurvePopover,
|
|
70
|
+
allConnections,
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}
|