@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,42 @@
|
|
|
1
|
+
import noop from '@tomorrowevening/theatre-shared/utils/noop';
|
|
2
|
+
import React, { createContext, useCallback, useContext, useRef } from 'react';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import { zIndexes } from './SequenceEditorPanel';
|
|
5
|
+
const Container = styled.div `
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
overflow-x: hidden;
|
|
12
|
+
overflow-y: scroll;
|
|
13
|
+
z-index: ${() => zIndexes.scrollableArea};
|
|
14
|
+
|
|
15
|
+
&::-webkit-scrollbar {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
scrollbar-width: none;
|
|
20
|
+
`;
|
|
21
|
+
const ctx = createContext(noop);
|
|
22
|
+
/**
|
|
23
|
+
* See {@link VerticalScrollContainer} and references for how to use this.
|
|
24
|
+
*/
|
|
25
|
+
export const useReceiveVerticalWheelEvent = () => useContext(ctx);
|
|
26
|
+
/**
|
|
27
|
+
* This is used in the sequence editor where we block wheel events to handle
|
|
28
|
+
* pan/zoom on the time axis. The issue this solves, is that when blocking those
|
|
29
|
+
* wheel events, we prevent the vertical scroll events from being fired. This container
|
|
30
|
+
* comes with a context and a hook (see {@link useReceiveVerticalWheelEvent}) that allows
|
|
31
|
+
* the code that traps the wheel events to pass them to the vertical scroller root, which
|
|
32
|
+
* we then use to manually dispatch scroll events.
|
|
33
|
+
*/
|
|
34
|
+
const VerticalScrollContainer = (props) => {
|
|
35
|
+
const ref = useRef(null);
|
|
36
|
+
const receiveVerticalWheelEvent = useCallback((event) => {
|
|
37
|
+
ref.current.scrollBy(0, event.deltaY);
|
|
38
|
+
}, []);
|
|
39
|
+
return (React.createElement(ctx.Provider, { value: receiveVerticalWheelEvent },
|
|
40
|
+
React.createElement(Container, { ref: ref }, props.children)));
|
|
41
|
+
};
|
|
42
|
+
export default VerticalScrollContainer;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import type Sheet from '@tomorrowevening/theatre-core/sheets/Sheet';
|
|
2
|
+
import type useDrag from '@tomorrowevening/theatre-studio/uiComponents/useDrag';
|
|
3
|
+
import type { SheetAddress } from '@tomorrowevening/theatre-shared/utils/addresses';
|
|
4
|
+
import type { IRange, PositionInScreenSpace, StrictRecord } from '@tomorrowevening/theatre-shared/utils/types';
|
|
5
|
+
import type { Prism, Pointer } from '@tomorrowevening/theatre-dataverse';
|
|
6
|
+
import { Atom } from '@tomorrowevening/theatre-dataverse';
|
|
7
|
+
import type { SequenceEditorTree } from './tree';
|
|
8
|
+
import type { KeyframeId, ObjectAddressKey, SequenceTrackId } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
9
|
+
type DimsOfPanelPart = {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
/**
|
|
13
|
+
* In absolute pixels, relative to getBoundingClientRect()
|
|
14
|
+
*/
|
|
15
|
+
screenX: PositionInScreenSpace;
|
|
16
|
+
/**
|
|
17
|
+
* In absolute pixels, relative to getBoundingClientRect()
|
|
18
|
+
*/
|
|
19
|
+
screenY: PositionInScreenSpace;
|
|
20
|
+
};
|
|
21
|
+
export type PanelDims = {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
widthWithoutBorder: number;
|
|
25
|
+
heightWithoutBorder: number;
|
|
26
|
+
screenX: PositionInScreenSpace;
|
|
27
|
+
screenY: PositionInScreenSpace;
|
|
28
|
+
};
|
|
29
|
+
export type DopeSheetSelection = {
|
|
30
|
+
type: 'DopeSheetSelection';
|
|
31
|
+
byObjectKey: StrictRecord<ObjectAddressKey, {
|
|
32
|
+
byTrackId: StrictRecord<SequenceTrackId, {
|
|
33
|
+
byKeyframeId: StrictRecord<KeyframeId, true>;
|
|
34
|
+
}>;
|
|
35
|
+
}>;
|
|
36
|
+
getDragHandlers(origin: SheetAddress & {
|
|
37
|
+
positionAtStartOfDrag: number;
|
|
38
|
+
domNode: Element;
|
|
39
|
+
}): Omit<Parameters<typeof useDrag>[1], 'onClick'>;
|
|
40
|
+
delete(): void;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* In order to lay out the playhead and the keyframes on the sequence editor,
|
|
45
|
+
* we map their position to different spaces based on the zoom and scroll.
|
|
46
|
+
*
|
|
47
|
+
* These spaces are called `unitSpace`, `scaledSpace`, and `clippedSpace`.
|
|
48
|
+
*
|
|
49
|
+
* * `unitSpace` is the space the sequence is in. So, `5 seconds` in unitSpace
|
|
50
|
+
* would equal `5`.
|
|
51
|
+
*
|
|
52
|
+
* * `scaledSpace` basically takes into account zoom level, but not scroll.
|
|
53
|
+
*
|
|
54
|
+
* * `clippedSpace` is just like `scaledSpace`, but also accounts for scroll.
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
* 2 seconds ─┐ #
|
|
58
|
+
* ▼ # 2 seconds would represent as `2` in unitSpace
|
|
59
|
+
* `unitSpace` 00 01 02 03 04 05 # regardless of zoom or scroll.
|
|
60
|
+
* | #
|
|
61
|
+
* ─────────────────────────────────────┼───────────────────────────────────────────────────────────────────────
|
|
62
|
+
* | #
|
|
63
|
+
* ▼ # If zoom=1, then scaledSpace acts the same as
|
|
64
|
+
* `scaledSpace` 00 01 02 03 04 05 # unitSpace.
|
|
65
|
+
* (zoom=1) | #
|
|
66
|
+
* ─────────────────────────────────────┼───────────────────────────────────────────────────────────────────────
|
|
67
|
+
* ┌─────┘ #
|
|
68
|
+
* ▼ | # We're zoomed out (zoom=0.5), so 2 seconds
|
|
69
|
+
* `scaledSpace` 00 01 02 03 04 05 06 07 08 09 10 # falls on the position of 1 second (2 * 0.5 = 1).
|
|
70
|
+
* (zoom=0.5) | | #
|
|
71
|
+
* ───────────────────────────────┼─────┼───────────────────────────────────────────────────────────────────────
|
|
72
|
+
* └─────┼───────────┐ #
|
|
73
|
+
* | ▼ # We're zoomed in (zoom=2), so 2 seconds
|
|
74
|
+
* `scaledSpace` 00 01 02 # falls on the position of 4 seconds (2 * 2 = 4).
|
|
75
|
+
* (zoom=2) | | #
|
|
76
|
+
* ─────────────────────────────────────┼───────────┼───────────────────────────────────────────────────────────
|
|
77
|
+
* ┌───────────┘ #
|
|
78
|
+
* │ # With no zoom or scroll, clippedSpace is
|
|
79
|
+
* `clippedSpace` ▼ # just like unitSpace.
|
|
80
|
+
* (zoom=1, scroll=0) 00 01 02 03 04 05 #
|
|
81
|
+
* ─────────────────────────────────────┼───────────────────────────────────────────────────────────────────────
|
|
82
|
+
* | #
|
|
83
|
+
* ┌─────┘ # No zoom, but we're scrolled in by 1 seconds,
|
|
84
|
+
* `clippedSpace` ▼ | # so everything shifts 1s back.
|
|
85
|
+
* (zoom=1, scroll=1) 01 02 03 04 05 06 #
|
|
86
|
+
* ────────────────────────────────┼────┼───────────────────────────────────────────────────────────────────────
|
|
87
|
+
* └────┐ #
|
|
88
|
+
* ▼ # Zoomed in 2x with 1s of scroll.
|
|
89
|
+
* `clippedSpace` (zoom=2, 01 02 03 #
|
|
90
|
+
* scroll=1) #
|
|
91
|
+
* ─────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
export type SequenceEditorPanelLayout = {
|
|
95
|
+
sheet: Sheet;
|
|
96
|
+
tree: SequenceEditorTree;
|
|
97
|
+
panelDims: PanelDims;
|
|
98
|
+
leftDims: DimsOfPanelPart;
|
|
99
|
+
rightDims: DimsOfPanelPart;
|
|
100
|
+
dopeSheetDims: DimsOfPanelPart;
|
|
101
|
+
graphEditorDims: DimsOfPanelPart & {
|
|
102
|
+
isAvailable: boolean;
|
|
103
|
+
isOpen: boolean;
|
|
104
|
+
padding: {
|
|
105
|
+
top: number;
|
|
106
|
+
bottom: number;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
horizontalScrollbarDims: {
|
|
110
|
+
bottom: number;
|
|
111
|
+
};
|
|
112
|
+
graphEditorVerticalSpace: {
|
|
113
|
+
space: number;
|
|
114
|
+
fromExtremumSpace(e: number): number;
|
|
115
|
+
toExtremumSpace(e: number): number;
|
|
116
|
+
};
|
|
117
|
+
seeker: {
|
|
118
|
+
isSeeking: boolean;
|
|
119
|
+
setIsSeeking: (isSeeking: boolean) => void;
|
|
120
|
+
};
|
|
121
|
+
unitSpace: {};
|
|
122
|
+
scaledSpace: {
|
|
123
|
+
/**
|
|
124
|
+
* TODO - scaledSpace with and without leftPadding are two different spaces. See if we can divide them so
|
|
125
|
+
*/
|
|
126
|
+
leftPadding: number;
|
|
127
|
+
fromUnitSpace(u: number): number;
|
|
128
|
+
toUnitSpace(s: number): number;
|
|
129
|
+
};
|
|
130
|
+
clippedSpace: {
|
|
131
|
+
/**
|
|
132
|
+
* The width of the visible area of the sequence (pretty much the right side of the panel)
|
|
133
|
+
*/
|
|
134
|
+
width: number;
|
|
135
|
+
fromUnitSpace(u: number): number;
|
|
136
|
+
toUnitSpace(c: number): number;
|
|
137
|
+
range: IRange;
|
|
138
|
+
setRange(range: IRange): void;
|
|
139
|
+
};
|
|
140
|
+
selectionAtom: Atom<{
|
|
141
|
+
current?: DopeSheetSelection;
|
|
142
|
+
}>;
|
|
143
|
+
};
|
|
144
|
+
export declare function sequenceEditorPanelLayout(sheet: Sheet, panelDimsP: Pointer<PanelDims>): Prism<Pointer<SequenceEditorPanelLayout>>;
|
|
145
|
+
export {};
|
|
146
|
+
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../../../../studio/src/panels/SequenceEditorPanel/layout/layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4CAA4C,CAAA;AAEnE,OAAO,KAAK,OAAO,MAAM,sDAAsD,CAAA;AAC/E,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iDAAiD,CAAA;AAEjF,OAAO,KAAK,EACV,MAAM,EACN,qBAAqB,EACrB,YAAY,EACb,MAAM,6CAA6C,CAAA;AAEpD,OAAO,KAAK,EAAC,KAAK,EAAE,OAAO,EAAC,MAAM,oCAAoC,CAAA;AACtE,OAAO,EAAC,IAAI,EAAa,MAAM,oCAAoC,CAAA;AACnE,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,QAAQ,CAAA;AAG9C,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,eAAe,EAChB,MAAM,2CAA2C,CAAA;AAGlD,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,OAAO,EAAE,qBAAqB,CAAA;IAC9B;;OAEG;IACH,OAAO,EAAE,qBAAqB,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,kBAAkB,EAAE,MAAM,CAAA;IAC1B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,OAAO,EAAE,qBAAqB,CAAA;IAC9B,OAAO,EAAE,qBAAqB,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,oBAAoB,CAAA;IAC1B,WAAW,EAAE,YAAY,CACvB,gBAAgB,EAChB;QACE,SAAS,EAAE,YAAY,CACrB,eAAe,EACf;YACE,YAAY,EAAE,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;SAC7C,CACF,CAAA;KACF,CACF,CAAA;IACD,eAAe,CACb,MAAM,EAAE,YAAY,GAAG;QACrB,qBAAqB,EAAE,MAAM,CAAA;QAC7B,OAAO,EAAE,OAAO,CAAA;KACjB,GACA,IAAI,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAA;IACjD,MAAM,IAAI,IAAI,CAAA;CACf,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,KAAK,CAAA;IACZ,IAAI,EAAE,kBAAkB,CAAA;IACxB,SAAS,EAAE,SAAS,CAAA;IACpB,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,eAAe,CAAA;IAC1B,aAAa,EAAE,eAAe,CAAA;IAC9B,eAAe,EAAE,eAAe,GAAG;QACjC,WAAW,EAAE,OAAO,CAAA;QACpB,MAAM,EAAE,OAAO,CAAA;QACf,OAAO,EAAE;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAC,CAAA;KACvC,CAAA;IACD,uBAAuB,EAAE;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,CAAA;IACzC,wBAAwB,EAAE;QACxB,KAAK,EAAE,MAAM,CAAA;QACb,iBAAiB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QACpC,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KACnC,CAAA;IACD,MAAM,EAAE;QACN,SAAS,EAAE,OAAO,CAAA;QAClB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;KAC3C,CAAA;IACD,SAAS,EAAE,EAAE,CAAA;IACb,WAAW,EAAE;QACX;;WAEG;QACH,WAAW,EAAE,MAAM,CAAA;QACnB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QAChC,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAC/B,CAAA;IACD,YAAY,EAAE;QACZ;;WAEG;QACH,KAAK,EAAE,MAAM,CAAA;QACb,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QAChC,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QAC9B,KAAK,EAAE,MAAM,CAAA;QACb,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;KAC9B,CAAA;IAED,aAAa,EAAE,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,kBAAkB,CAAA;KAAC,CAAC,CAAA;CACpD,CAAA;AAaD,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,OAAO,CAAC,SAAS,CAAC,GAC7B,KAAK,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CA4O3C"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import getStudio from '@tomorrowevening/theatre-studio/getStudio';
|
|
2
|
+
import subPrism from '@tomorrowevening/theatre-shared/utils/subPrism';
|
|
3
|
+
import { valToAtom } from '@tomorrowevening/theatre-shared/utils/valToAtom';
|
|
4
|
+
import { Atom, prism, val } from '@tomorrowevening/theatre-dataverse';
|
|
5
|
+
import { calculateSequenceEditorTree } from './tree';
|
|
6
|
+
import { clamp } from 'lodash-es';
|
|
7
|
+
// type UnitSpaceProression = number
|
|
8
|
+
// type ClippedSpaceProgression = number
|
|
9
|
+
/**
|
|
10
|
+
* This means the left side of the panel is 20% of its width, and the
|
|
11
|
+
* right side is 80%
|
|
12
|
+
*/
|
|
13
|
+
const panelSplitRatio = 0.2;
|
|
14
|
+
const initialClippedSpaceRange = { start: 0, end: 10 };
|
|
15
|
+
export function sequenceEditorPanelLayout(sheet, panelDimsP) {
|
|
16
|
+
const studio = getStudio();
|
|
17
|
+
const ahistoricStateP = studio.atomP.ahistoric.projects.stateByProjectId[sheet.address.projectId]
|
|
18
|
+
.stateBySheetId[sheet.address.sheetId];
|
|
19
|
+
const historicStateP = studio.atomP.historic.projects.stateByProjectId[sheet.address.projectId]
|
|
20
|
+
.stateBySheetId[sheet.address.sheetId];
|
|
21
|
+
return prism(() => {
|
|
22
|
+
const tree = subPrism('tree', () => calculateSequenceEditorTree(sheet, studio), []);
|
|
23
|
+
const panelDims = val(panelDimsP);
|
|
24
|
+
const graphEditorState = val(studio.atomP.historic.panels.sequenceEditor.graphEditor);
|
|
25
|
+
const selectedPropsByObject = val(historicStateP.sequenceEditor.selectedPropsByObject);
|
|
26
|
+
const graphEditorAvailable = !!selectedPropsByObject && Object.keys(selectedPropsByObject).length > 0;
|
|
27
|
+
const { leftDims, rightDims, graphEditorDims, dopeSheetDims, horizontalScrollbarDims, } = prism.memo('leftDims', () => {
|
|
28
|
+
const leftDims = {
|
|
29
|
+
width: Math.floor(panelDims.width * panelSplitRatio),
|
|
30
|
+
height: panelDims.height,
|
|
31
|
+
screenX: panelDims.screenX,
|
|
32
|
+
screenY: panelDims.screenY,
|
|
33
|
+
};
|
|
34
|
+
const rightDims = {
|
|
35
|
+
width: panelDims.width - leftDims.width,
|
|
36
|
+
height: panelDims.height,
|
|
37
|
+
screenX: (panelDims.screenX +
|
|
38
|
+
leftDims.width),
|
|
39
|
+
screenY: panelDims.screenY,
|
|
40
|
+
};
|
|
41
|
+
const graphEditorOpen = graphEditorAvailable && graphEditorState?.isOpen === true;
|
|
42
|
+
const graphEditorHeight = Math.floor((graphEditorOpen
|
|
43
|
+
? clamp(graphEditorState?.height ?? 0.5, 0.1, 0.7)
|
|
44
|
+
: 0) * panelDims.heightWithoutBorder);
|
|
45
|
+
const bottomHeight = 0 + graphEditorHeight;
|
|
46
|
+
const dopeSheetHeight = panelDims.height - bottomHeight;
|
|
47
|
+
const dopeSheetDims = {
|
|
48
|
+
width: panelDims.width,
|
|
49
|
+
height: dopeSheetHeight,
|
|
50
|
+
screenX: panelDims.screenX,
|
|
51
|
+
screenY: panelDims.screenY,
|
|
52
|
+
};
|
|
53
|
+
// const graphEditorHeight = panelDims.height - dopeSheetDims.height
|
|
54
|
+
const graphEditorDims = {
|
|
55
|
+
isAvailable: graphEditorAvailable,
|
|
56
|
+
isOpen: graphEditorOpen,
|
|
57
|
+
width: rightDims.width,
|
|
58
|
+
height: graphEditorHeight,
|
|
59
|
+
screenX: panelDims.screenX,
|
|
60
|
+
screenY: panelDims.screenY + dopeSheetHeight,
|
|
61
|
+
padding: {
|
|
62
|
+
top: 20,
|
|
63
|
+
bottom: 20,
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
const horizontalScrollbarDims = {
|
|
67
|
+
bottom: graphEditorOpen ? 0 : 0,
|
|
68
|
+
};
|
|
69
|
+
return {
|
|
70
|
+
leftDims,
|
|
71
|
+
rightDims,
|
|
72
|
+
graphEditorDims,
|
|
73
|
+
dopeSheetDims,
|
|
74
|
+
horizontalScrollbarDims,
|
|
75
|
+
};
|
|
76
|
+
}, [panelDims, graphEditorState, graphEditorAvailable]);
|
|
77
|
+
const graphEditorVerticalSpace = prism.memo('graphEditorVerticalSpace', () => {
|
|
78
|
+
const space = graphEditorDims.height -
|
|
79
|
+
graphEditorDims.padding.top -
|
|
80
|
+
graphEditorDims.padding.bottom;
|
|
81
|
+
return {
|
|
82
|
+
space,
|
|
83
|
+
fromExtremumSpace(ex) {
|
|
84
|
+
return ex * space;
|
|
85
|
+
},
|
|
86
|
+
toExtremumSpace(s) {
|
|
87
|
+
return s / space;
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
}, [graphEditorDims]);
|
|
91
|
+
const [isSeeking, setIsSeeking] = prism.state('isSeeking', false);
|
|
92
|
+
const seeker = {
|
|
93
|
+
isSeeking,
|
|
94
|
+
setIsSeeking,
|
|
95
|
+
};
|
|
96
|
+
const unitSpace = {};
|
|
97
|
+
const clippedSpaceRange = val(ahistoricStateP.sequence.clippedSpaceRange) ??
|
|
98
|
+
initialClippedSpaceRange;
|
|
99
|
+
const scaledSpace = prism.memo('scaledSpace', () => {
|
|
100
|
+
const unitsShownInClippedSpace = clippedSpaceRange.end - clippedSpaceRange.start;
|
|
101
|
+
const pixelsShownInClippedSpace = rightDims.width;
|
|
102
|
+
const unitToPixelRatio = unitsShownInClippedSpace / pixelsShownInClippedSpace;
|
|
103
|
+
const pixelToUnitRatio = pixelsShownInClippedSpace / unitsShownInClippedSpace;
|
|
104
|
+
return {
|
|
105
|
+
fromUnitSpace(u) {
|
|
106
|
+
return u * pixelToUnitRatio;
|
|
107
|
+
},
|
|
108
|
+
toUnitSpace(s) {
|
|
109
|
+
return s * unitToPixelRatio;
|
|
110
|
+
},
|
|
111
|
+
leftPadding: 10,
|
|
112
|
+
};
|
|
113
|
+
}, [clippedSpaceRange, rightDims.width]);
|
|
114
|
+
const setClippedSpaceRange = prism.memo('setClippedSpaceRange', () => {
|
|
115
|
+
return function setClippedSpaceRange(_range) {
|
|
116
|
+
studio.transaction(({ stateEditors }) => {
|
|
117
|
+
const range = { ..._range };
|
|
118
|
+
if (range.end <= range.start) {
|
|
119
|
+
range.end = range.start + 1;
|
|
120
|
+
}
|
|
121
|
+
if (range.start < 0) {
|
|
122
|
+
const length = range.end - range.start;
|
|
123
|
+
range.start = 0;
|
|
124
|
+
range.end = length;
|
|
125
|
+
}
|
|
126
|
+
stateEditors.studio.ahistoric.projects.stateByProjectId.stateBySheetId.sequence.clippedSpaceRange.set({ ...sheet.address, range });
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
}, []);
|
|
130
|
+
const clippedSpace = prism.memo('clippedSpace', () => {
|
|
131
|
+
return {
|
|
132
|
+
range: clippedSpaceRange,
|
|
133
|
+
width: rightDims.width,
|
|
134
|
+
fromUnitSpace(u) {
|
|
135
|
+
return (scaledSpace.fromUnitSpace(u - clippedSpaceRange.start) +
|
|
136
|
+
scaledSpace.leftPadding);
|
|
137
|
+
},
|
|
138
|
+
toUnitSpace(c) {
|
|
139
|
+
return (scaledSpace.toUnitSpace(c - scaledSpace.leftPadding) +
|
|
140
|
+
clippedSpaceRange.start);
|
|
141
|
+
},
|
|
142
|
+
setRange: setClippedSpaceRange,
|
|
143
|
+
};
|
|
144
|
+
}, [clippedSpaceRange, rightDims.width, scaledSpace, setClippedSpaceRange]);
|
|
145
|
+
const selectionAtom = prism.memo('selection.current', () => {
|
|
146
|
+
return new Atom({});
|
|
147
|
+
}, []);
|
|
148
|
+
const finalAtom = valToAtom('finalAtom', {
|
|
149
|
+
sheet,
|
|
150
|
+
tree,
|
|
151
|
+
panelDims,
|
|
152
|
+
leftDims,
|
|
153
|
+
rightDims,
|
|
154
|
+
dopeSheetDims,
|
|
155
|
+
horizontalScrollbarDims,
|
|
156
|
+
seeker,
|
|
157
|
+
unitSpace,
|
|
158
|
+
scaledSpace,
|
|
159
|
+
clippedSpace,
|
|
160
|
+
graphEditorDims,
|
|
161
|
+
graphEditorVerticalSpace,
|
|
162
|
+
selectionAtom,
|
|
163
|
+
});
|
|
164
|
+
return finalAtom.pointer;
|
|
165
|
+
});
|
|
166
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { PropTypeConfig_AllSimples, PropTypeConfig_Compound } from '@tomorrowevening/theatre-core/propTypes';
|
|
2
|
+
import type SheetObject from '@tomorrowevening/theatre-core/sheetObjects/SheetObject';
|
|
3
|
+
import type { IPropPathToTrackIdTree } from '@tomorrowevening/theatre-core/sheetObjects/SheetObjectTemplate';
|
|
4
|
+
import type Sheet from '@tomorrowevening/theatre-core/sheets/Sheet';
|
|
5
|
+
import type { PathToProp } from '@tomorrowevening/theatre-shared/utils/addresses';
|
|
6
|
+
import type { SequenceTrackId, StudioSheetItemKey } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
7
|
+
import type { Studio } from '@tomorrowevening/theatre-studio/Studio';
|
|
8
|
+
import type { UnknownValidCompoundProps } from '@tomorrowevening/theatre-core/propTypes/internals';
|
|
9
|
+
/**
|
|
10
|
+
* Base "view model" for each row with common
|
|
11
|
+
* required information such as row heights & depth.
|
|
12
|
+
*/
|
|
13
|
+
export type SequenceEditorTree_Row<TypeName extends string> = {
|
|
14
|
+
/** type of this row, e.g. `"sheet"` or `"sheetObject"` */
|
|
15
|
+
type: TypeName;
|
|
16
|
+
/** Height of just the row in pixels */
|
|
17
|
+
nodeHeight: number;
|
|
18
|
+
/** Height of the row + height with children in pixels */
|
|
19
|
+
heightIncludingChildren: number;
|
|
20
|
+
/** Visual indentation */
|
|
21
|
+
depth: number;
|
|
22
|
+
/** A convenient studio sheet localized identifier for managing presence and ephemeral visual effects. */
|
|
23
|
+
sheetItemKey: StudioSheetItemKey;
|
|
24
|
+
/**
|
|
25
|
+
* This is a part of the tree, but it is not rendered at all,
|
|
26
|
+
* and it doesn't contribute to height.
|
|
27
|
+
*
|
|
28
|
+
* In the future, if we have a filtering mechanism like "show only position props",
|
|
29
|
+
* this would not be the place to make false, that node should just not be included
|
|
30
|
+
* in the tree at all, so it doesn't affect aggregate keyframes.
|
|
31
|
+
*/
|
|
32
|
+
shouldRender: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Distance in pixels from the top of this row to the row container's top
|
|
35
|
+
* This can be used to help figure out what's being box selected (marquee).
|
|
36
|
+
*/
|
|
37
|
+
top: number;
|
|
38
|
+
/** Row number (e.g. for correctly styling even / odd alternating styles) */
|
|
39
|
+
n: number;
|
|
40
|
+
};
|
|
41
|
+
export type SequenceEditorTree = SequenceEditorTree_Sheet;
|
|
42
|
+
export type SequenceEditorTree_Sheet = SequenceEditorTree_Row<'sheet'> & {
|
|
43
|
+
sheet: Sheet;
|
|
44
|
+
isCollapsed: boolean;
|
|
45
|
+
children: SequenceEditorTree_SheetObject[];
|
|
46
|
+
};
|
|
47
|
+
export type SequenceEditorTree_SheetObject = SequenceEditorTree_Row<'sheetObject'> & {
|
|
48
|
+
isCollapsed: boolean;
|
|
49
|
+
sheetObject: SheetObject;
|
|
50
|
+
children: Array<SequenceEditorTree_PropWithChildren | SequenceEditorTree_PrimitiveProp>;
|
|
51
|
+
};
|
|
52
|
+
export type SequenceEditorTree_PropWithChildren = SequenceEditorTree_Row<'propWithChildren'> & {
|
|
53
|
+
isCollapsed: boolean;
|
|
54
|
+
sheetObject: SheetObject;
|
|
55
|
+
propConf: PropTypeConfig_Compound<UnknownValidCompoundProps>;
|
|
56
|
+
pathToProp: PathToProp;
|
|
57
|
+
children: Array<SequenceEditorTree_PropWithChildren | SequenceEditorTree_PrimitiveProp>;
|
|
58
|
+
trackMapping: IPropPathToTrackIdTree;
|
|
59
|
+
};
|
|
60
|
+
export type SequenceEditorTree_PrimitiveProp = SequenceEditorTree_Row<'primitiveProp'> & {
|
|
61
|
+
sheetObject: SheetObject;
|
|
62
|
+
pathToProp: PathToProp;
|
|
63
|
+
trackId: SequenceTrackId;
|
|
64
|
+
propConf: PropTypeConfig_AllSimples;
|
|
65
|
+
};
|
|
66
|
+
export type SequenceEditorTree_AllRowTypes = SequenceEditorTree_Sheet | SequenceEditorTree_SheetObject | SequenceEditorTree_PropWithChildren | SequenceEditorTree_PrimitiveProp;
|
|
67
|
+
/**
|
|
68
|
+
* Must run inside prism()
|
|
69
|
+
*/
|
|
70
|
+
export declare const calculateSequenceEditorTree: (sheet: Sheet, studio: Studio) => SequenceEditorTree;
|
|
71
|
+
//# sourceMappingURL=tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../../../../studio/src/panels/SequenceEditorPanel/layout/tree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,yCAAyC,CAAA;AAChD,OAAO,KAAK,WAAW,MAAM,wDAAwD,CAAA;AACrF,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,gEAAgE,CAAA;AAC1G,OAAO,KAAK,KAAK,MAAM,4CAA4C,CAAA;AACnE,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,iDAAiD,CAAA;AAC/E,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EACnB,MAAM,2CAA2C,CAAA;AAMlD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,wCAAwC,CAAA;AAClE,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,mDAAmD,CAAA;AAEhG;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,QAAQ,SAAS,MAAM,IAAI;IAC5D,0DAA0D;IAC1D,IAAI,EAAE,QAAQ,CAAA;IACd,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,yDAAyD;IACzD,uBAAuB,EAAE,MAAM,CAAA;IAE/B,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,yGAAyG;IACzG,YAAY,EAAE,kBAAkB,CAAA;IAChC;;;;;;;OAOG;IACH,YAAY,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAA;IACX,4EAA4E;IAC5E,CAAC,EAAE,MAAM,CAAA;CACV,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,CAAA;AAEzD,MAAM,MAAM,wBAAwB,GAAG,sBAAsB,CAAC,OAAO,CAAC,GAAG;IACvE,KAAK,EAAE,KAAK,CAAA;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,8BAA8B,EAAE,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,8BAA8B,GACxC,sBAAsB,CAAC,aAAa,CAAC,GAAG;IACtC,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,EAAE,KAAK,CACb,mCAAmC,GAAG,gCAAgC,CACvE,CAAA;CACF,CAAA;AAEH,MAAM,MAAM,mCAAmC,GAC7C,sBAAsB,CAAC,kBAAkB,CAAC,GAAG;IAC3C,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,EAAE,uBAAuB,CAAC,yBAAyB,CAAC,CAAA;IAC5D,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,KAAK,CACb,mCAAmC,GAAG,gCAAgC,CACvE,CAAA;IACD,YAAY,EAAE,sBAAsB,CAAA;CACrC,CAAA;AAEH,MAAM,MAAM,gCAAgC,GAC1C,sBAAsB,CAAC,eAAe,CAAC,GAAG;IACxC,WAAW,EAAE,WAAW,CAAA;IACxB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,yBAAyB,CAAA;CACpC,CAAA;AAEH,MAAM,MAAM,8BAA8B,GACtC,wBAAwB,GACxB,8BAA8B,GAC9B,mCAAmC,GACnC,gCAAgC,CAAA;AAIpC;;GAEG;AACH,eAAO,MAAM,2BAA2B,UAC/B,KAAK,UACJ,MAAM,KACb,kBAgQF,CAAA"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { createStudioSheetItemKey } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
2
|
+
import { prism, val, pointerToPrism } from '@tomorrowevening/theatre-dataverse';
|
|
3
|
+
import logger from '@tomorrowevening/theatre-shared/logger';
|
|
4
|
+
import { titleBarHeight } from '@tomorrowevening/theatre-studio/panels/BasePanel/common';
|
|
5
|
+
const HEIGHT_OF_ANY_TITLE = 28;
|
|
6
|
+
/**
|
|
7
|
+
* Must run inside prism()
|
|
8
|
+
*/
|
|
9
|
+
export const calculateSequenceEditorTree = (sheet, studio) => {
|
|
10
|
+
prism.ensurePrism();
|
|
11
|
+
const rootShouldRender = true;
|
|
12
|
+
let topSoFar = titleBarHeight + (rootShouldRender ? HEIGHT_OF_ANY_TITLE : 0);
|
|
13
|
+
let nSoFar = 0;
|
|
14
|
+
const collapsableItemSetP = studio.atomP.ahistoric.projects.stateByProjectId[sheet.address.projectId]
|
|
15
|
+
.stateBySheetId[sheet.address.sheetId].sequence.collapsableItems;
|
|
16
|
+
const isCollapsedP = collapsableItemSetP.byId[createStudioSheetItemKey.forSheet()].isCollapsed;
|
|
17
|
+
const isCollapsed = pointerToPrism(isCollapsedP).getValue() ?? false;
|
|
18
|
+
const tree = {
|
|
19
|
+
type: 'sheet',
|
|
20
|
+
isCollapsed,
|
|
21
|
+
sheet,
|
|
22
|
+
children: [],
|
|
23
|
+
sheetItemKey: createStudioSheetItemKey.forSheet(),
|
|
24
|
+
shouldRender: rootShouldRender,
|
|
25
|
+
top: titleBarHeight,
|
|
26
|
+
depth: 0,
|
|
27
|
+
n: nSoFar,
|
|
28
|
+
nodeHeight: rootShouldRender ? HEIGHT_OF_ANY_TITLE : 0,
|
|
29
|
+
heightIncludingChildren: -1, // calculated below
|
|
30
|
+
};
|
|
31
|
+
if (rootShouldRender) {
|
|
32
|
+
nSoFar += 1;
|
|
33
|
+
}
|
|
34
|
+
for (const sheetObject of Object.values(val(sheet.objectsP))) {
|
|
35
|
+
if (sheetObject) {
|
|
36
|
+
addObject(sheetObject, tree.children, tree.depth + 1, rootShouldRender && !isCollapsed);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
tree.heightIncludingChildren = topSoFar - tree.top;
|
|
40
|
+
function addObject(sheetObject, arrayOfChildren, level, shouldRender) {
|
|
41
|
+
const trackSetups = val(sheetObject.template.getMapOfValidSequenceTracks_forStudio());
|
|
42
|
+
const objectConfig = val(sheetObject.template.configPointer);
|
|
43
|
+
if (Object.keys(trackSetups).length === 0)
|
|
44
|
+
return;
|
|
45
|
+
const isCollapsedP = collapsableItemSetP.byId[createStudioSheetItemKey.forSheetObject(sheetObject)].isCollapsed;
|
|
46
|
+
const isCollapsed = pointerToPrism(isCollapsedP).getValue() ?? false;
|
|
47
|
+
const row = {
|
|
48
|
+
type: 'sheetObject',
|
|
49
|
+
isCollapsed,
|
|
50
|
+
sheetItemKey: createStudioSheetItemKey.forSheetObject(sheetObject),
|
|
51
|
+
shouldRender,
|
|
52
|
+
top: topSoFar,
|
|
53
|
+
children: [],
|
|
54
|
+
depth: level,
|
|
55
|
+
n: nSoFar,
|
|
56
|
+
sheetObject: sheetObject,
|
|
57
|
+
nodeHeight: shouldRender ? HEIGHT_OF_ANY_TITLE : 0,
|
|
58
|
+
heightIncludingChildren: -1, // calculated below
|
|
59
|
+
};
|
|
60
|
+
arrayOfChildren.push(row);
|
|
61
|
+
if (shouldRender) {
|
|
62
|
+
nSoFar += 1;
|
|
63
|
+
// As we add rows to the tree, top to bottom, we accumulate the pixel
|
|
64
|
+
// distance to the top of the tree from the bottom of the current row:
|
|
65
|
+
topSoFar += row.nodeHeight;
|
|
66
|
+
}
|
|
67
|
+
addProps(sheetObject, trackSetups, [], objectConfig, row.children, level + 1, shouldRender && !isCollapsed);
|
|
68
|
+
row.heightIncludingChildren = topSoFar - row.top;
|
|
69
|
+
}
|
|
70
|
+
function addProps(sheetObject, trackSetups, pathSoFar, parentPropConfig, arrayOfChildren, level, shouldRender) {
|
|
71
|
+
for (const [propKey, setupOrSetups] of Object.entries(trackSetups)) {
|
|
72
|
+
const propConfig = parentPropConfig.props[propKey];
|
|
73
|
+
addProp(sheetObject, setupOrSetups, [...pathSoFar, propKey], propConfig, arrayOfChildren, level, shouldRender);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function addProp(sheetObject, trackIdOrMapping, pathToProp, conf, arrayOfChildren, level, shouldRender) {
|
|
77
|
+
if (conf.type === 'compound') {
|
|
78
|
+
const trackMapping = trackIdOrMapping;
|
|
79
|
+
addProp_compound(sheetObject, trackMapping, conf, pathToProp, conf, arrayOfChildren, level, shouldRender);
|
|
80
|
+
}
|
|
81
|
+
else if (conf.type === 'enum') {
|
|
82
|
+
logger.warn('Prop type enum is not yet supported in the sequence editor');
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const trackId = trackIdOrMapping;
|
|
86
|
+
addProp_primitive(sheetObject, trackId, pathToProp, conf, arrayOfChildren, level, shouldRender);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function addProp_compound(sheetObject, trackMapping, propConf, pathToProp, conf, arrayOfChildren, level, shouldRender) {
|
|
90
|
+
const isCollapsedP = collapsableItemSetP.byId[createStudioSheetItemKey.forSheetObjectProp(sheetObject, pathToProp)].isCollapsed;
|
|
91
|
+
const isCollapsed = pointerToPrism(isCollapsedP).getValue() ?? false;
|
|
92
|
+
const row = {
|
|
93
|
+
type: 'propWithChildren',
|
|
94
|
+
isCollapsed,
|
|
95
|
+
propConf,
|
|
96
|
+
pathToProp,
|
|
97
|
+
sheetItemKey: createStudioSheetItemKey.forSheetObjectProp(sheetObject, pathToProp),
|
|
98
|
+
sheetObject: sheetObject,
|
|
99
|
+
shouldRender,
|
|
100
|
+
top: topSoFar,
|
|
101
|
+
children: [],
|
|
102
|
+
nodeHeight: shouldRender ? HEIGHT_OF_ANY_TITLE : 0,
|
|
103
|
+
heightIncludingChildren: -1,
|
|
104
|
+
depth: level,
|
|
105
|
+
trackMapping,
|
|
106
|
+
n: nSoFar,
|
|
107
|
+
};
|
|
108
|
+
arrayOfChildren.push(row);
|
|
109
|
+
if (shouldRender) {
|
|
110
|
+
topSoFar += row.nodeHeight;
|
|
111
|
+
nSoFar += 1;
|
|
112
|
+
}
|
|
113
|
+
addProps(sheetObject, trackMapping, pathToProp, conf, row.children, level + 1,
|
|
114
|
+
// collapsed shouldn't render child props
|
|
115
|
+
shouldRender && !isCollapsed);
|
|
116
|
+
// }
|
|
117
|
+
row.heightIncludingChildren = topSoFar - row.top;
|
|
118
|
+
}
|
|
119
|
+
function addProp_primitive(sheetObject, trackId, pathToProp, propConf, arrayOfChildren, level, shouldRender) {
|
|
120
|
+
const row = {
|
|
121
|
+
type: 'primitiveProp',
|
|
122
|
+
propConf: propConf,
|
|
123
|
+
depth: level,
|
|
124
|
+
sheetItemKey: createStudioSheetItemKey.forSheetObjectProp(sheetObject, pathToProp),
|
|
125
|
+
sheetObject: sheetObject,
|
|
126
|
+
pathToProp,
|
|
127
|
+
shouldRender,
|
|
128
|
+
top: topSoFar,
|
|
129
|
+
nodeHeight: shouldRender ? HEIGHT_OF_ANY_TITLE : 0,
|
|
130
|
+
heightIncludingChildren: shouldRender ? HEIGHT_OF_ANY_TITLE : 0,
|
|
131
|
+
trackId,
|
|
132
|
+
n: nSoFar,
|
|
133
|
+
};
|
|
134
|
+
arrayOfChildren.push(row);
|
|
135
|
+
nSoFar += 1;
|
|
136
|
+
topSoFar += row.nodeHeight;
|
|
137
|
+
}
|
|
138
|
+
return tree;
|
|
139
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Prism } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import type { PropAddress, WithoutSheetInstance } from '@tomorrowevening/theatre-shared/utils/addresses';
|
|
3
|
+
import type { VoidFn } from '@tomorrowevening/theatre-shared/utils/types';
|
|
4
|
+
/** constant global manager */
|
|
5
|
+
export declare const whatPropIsHighlighted: {
|
|
6
|
+
replaceLock(address: WithoutSheetInstance<PropAddress>, cleanup: VoidFn): () => void;
|
|
7
|
+
getIsPropHighlightedD(address: WithoutSheetInstance<PropAddress>): Prism<PropHighlighted>;
|
|
8
|
+
};
|
|
9
|
+
export type PropHighlighted = 'self' | 'descendent' | null;
|
|
10
|
+
//# sourceMappingURL=whatPropIsHighlighted.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatPropIsHighlighted.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/panels/SequenceEditorPanel/whatPropIsHighlighted.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,oCAAoC,CAAA;AAI7D,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,iDAAiD,CAAA;AAGxD,OAAO,KAAK,EAAkB,MAAM,EAAC,MAAM,6CAA6C,CAAA;AAGxF,8BAA8B;AAC9B,eAAO,MAAM,qBAAqB;yBAsBT,qBAAqB,WAAW,CAAC,WAAW,MAAM;mCAsB5D,qBAAqB,WAAW,CAAC,GACzC,MAAM,eAAe,CAAC;CA7C0C,CAAA;AAEvE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,YAAY,GAAG,IAAI,CAAA"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { val } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import { Atom } from '@tomorrowevening/theatre-dataverse';
|
|
3
|
+
import { prism } from '@tomorrowevening/theatre-dataverse';
|
|
4
|
+
import pointerDeep from '@tomorrowevening/theatre-shared/utils/pointerDeep';
|
|
5
|
+
import lodashSet from 'lodash-es/set';
|
|
6
|
+
/** constant global manager */
|
|
7
|
+
export const whatPropIsHighlighted = createWhatPropIsHighlightedState();
|
|
8
|
+
function createWhatPropIsHighlightedState() {
|
|
9
|
+
let lastLockId = 0;
|
|
10
|
+
const whatIsHighlighted = new Atom({ hasLock: false });
|
|
11
|
+
return {
|
|
12
|
+
replaceLock(address, cleanup) {
|
|
13
|
+
const lockId = lastLockId++;
|
|
14
|
+
const existingState = whatIsHighlighted.get();
|
|
15
|
+
if (existingState.hasLock)
|
|
16
|
+
existingState.cleanup();
|
|
17
|
+
whatIsHighlighted.set({
|
|
18
|
+
hasLock: true,
|
|
19
|
+
lockId,
|
|
20
|
+
cleanup,
|
|
21
|
+
deepPath: arrayToDeepObject(addressToArray(address)),
|
|
22
|
+
});
|
|
23
|
+
return function unlock() {
|
|
24
|
+
const curr = whatIsHighlighted.get();
|
|
25
|
+
if (curr.hasLock && curr.lockId === lockId) {
|
|
26
|
+
curr.cleanup();
|
|
27
|
+
whatIsHighlighted.set({ hasLock: false });
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
getIsPropHighlightedD(address) {
|
|
32
|
+
const highlightedP = pointerDeep(whatIsHighlighted.pointer.deepPath, addressToArray(address));
|
|
33
|
+
return prism(() => {
|
|
34
|
+
const value = val(highlightedP);
|
|
35
|
+
return value === true
|
|
36
|
+
? 'self'
|
|
37
|
+
: // obj continues deep path prop from here
|
|
38
|
+
value
|
|
39
|
+
? 'descendent'
|
|
40
|
+
: // some other prop or no lock
|
|
41
|
+
null;
|
|
42
|
+
});
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function addressToArray(address) {
|
|
47
|
+
return [
|
|
48
|
+
address.projectId,
|
|
49
|
+
address.sheetId,
|
|
50
|
+
address.objectKey,
|
|
51
|
+
...address.pathToProp,
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
function arrayToDeepObject(arr) {
|
|
55
|
+
const obj = {};
|
|
56
|
+
lodashSet(obj, arr, true);
|
|
57
|
+
return obj;
|
|
58
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PathToProp } from '@tomorrowevening/theatre-shared/utils/addresses';
|
|
3
|
+
import type SheetObject from '@tomorrowevening/theatre-core/sheetObjects/SheetObject';
|
|
4
|
+
import type { PropTypeConfig } from '@tomorrowevening/theatre-core/propTypes';
|
|
5
|
+
declare const DefaultOrStaticValueIndicator: React.FC<{
|
|
6
|
+
hasStaticOverride: boolean;
|
|
7
|
+
pathToProp: PathToProp;
|
|
8
|
+
obj: SheetObject;
|
|
9
|
+
propConfig: PropTypeConfig;
|
|
10
|
+
}>;
|
|
11
|
+
export default DefaultOrStaticValueIndicator;
|
|
12
|
+
//# sourceMappingURL=DefaultValueIndicator.d.ts.map
|