@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,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom IDB keyval storage creator. Right now this exists solely as a more convenient way to use idb-keyval with a custom db name.
|
|
3
|
+
* It also automatically prefixes the provided name with `theatrejs-` to avoid conflicts with other libraries.
|
|
4
|
+
*
|
|
5
|
+
* @param name - The name of the database
|
|
6
|
+
* @returns An object with the same methods as idb-keyval, but with a custom database name
|
|
7
|
+
*/
|
|
8
|
+
export declare const createStore: (name: string) => {
|
|
9
|
+
set: (key: string, value: any) => Promise<void>;
|
|
10
|
+
get: <T = any>(key: string) => Promise<T | undefined>;
|
|
11
|
+
del: (key: string) => Promise<void>;
|
|
12
|
+
keys: <T_1 extends IDBValidKey>() => Promise<T_1[]>;
|
|
13
|
+
entries: <KeyType_1 extends IDBValidKey, ValueType = any>() => Promise<[KeyType_1, ValueType][]>;
|
|
14
|
+
values: <T_2 = any>() => Promise<T_2[]>;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=IDBStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDBStorage.d.ts","sourceRoot":"","sources":["../../../../studio/src/IDBStorage.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,SAAU,MAAM;eAIzB,MAAM,SAAS,GAAG;wBACT,MAAM;eACf,MAAM;;;;CAMpB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as idb from 'idb-keyval';
|
|
2
|
+
/**
|
|
3
|
+
* Custom IDB keyval storage creator. Right now this exists solely as a more convenient way to use idb-keyval with a custom db name.
|
|
4
|
+
* It also automatically prefixes the provided name with `theatrejs-` to avoid conflicts with other libraries.
|
|
5
|
+
*
|
|
6
|
+
* @param name - The name of the database
|
|
7
|
+
* @returns An object with the same methods as idb-keyval, but with a custom database name
|
|
8
|
+
*/
|
|
9
|
+
export const createStore = (name) => {
|
|
10
|
+
const customStore = idb.createStore(`theatrejs-${name}`, 'default-store');
|
|
11
|
+
return {
|
|
12
|
+
set: (key, value) => idb.set(key, value, customStore),
|
|
13
|
+
get: (key) => idb.get(key, customStore),
|
|
14
|
+
del: (key) => idb.del(key, customStore),
|
|
15
|
+
keys: () => idb.keys(customStore),
|
|
16
|
+
entries: () => idb.entries(customStore),
|
|
17
|
+
values: () => idb.values(customStore),
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PaneInstanceId } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
2
|
+
import type { StrictRecord } from '@tomorrowevening/theatre-shared/utils/types';
|
|
3
|
+
import type { Studio } from './Studio';
|
|
4
|
+
import type { PaneInstance } from './TheatreStudio';
|
|
5
|
+
export default class PaneManager {
|
|
6
|
+
private readonly _studio;
|
|
7
|
+
private readonly _cache;
|
|
8
|
+
constructor(_studio: Studio);
|
|
9
|
+
private _instantiatePanesAsTheyComeIn;
|
|
10
|
+
private _getAllPanes;
|
|
11
|
+
get allPanesD(): import("@tomorrowevening/theatre-dataverse").Prism<StrictRecord<PaneInstanceId, PaneInstance<string>>>;
|
|
12
|
+
createPane<PaneClass extends string>(paneClass: PaneClass): PaneInstance<PaneClass>;
|
|
13
|
+
destroyPane(instanceId: PaneInstanceId): void;
|
|
14
|
+
bringPaneToFront(instanceId: PaneInstanceId): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=PaneManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaneManager.d.ts","sourceRoot":"","sources":["../../../../studio/src/PaneManager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,2CAA2C,CAAA;AAE7E,OAAO,KAAK,EAAkB,YAAY,EAAC,MAAM,6CAA6C,CAAA;AAC9F,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAA;AAEjD,MAAM,CAAC,OAAO,OAAO,WAAW;IAGlB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAFpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;gBAEd,OAAO,EAAE,MAAM;IAI5C,OAAO,CAAC,6BAA6B;IAOrC,OAAO,CAAC,YAAY;IAwCpB,IAAI,SAAS,2GAEZ;IAED,UAAU,CAAC,SAAS,SAAS,MAAM,EACjC,SAAS,EAAE,SAAS,GACnB,YAAY,CAAC,SAAS,CAAC;IA+C1B,WAAW,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;IAqB7C,gBAAgB,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;CAanD"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { prism, val } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import SimpleCache from '@tomorrowevening/theatre-shared/utils/SimpleCache';
|
|
3
|
+
export default class PaneManager {
|
|
4
|
+
_studio;
|
|
5
|
+
_cache = new SimpleCache();
|
|
6
|
+
constructor(_studio) {
|
|
7
|
+
this._studio = _studio;
|
|
8
|
+
this._instantiatePanesAsTheyComeIn();
|
|
9
|
+
}
|
|
10
|
+
_instantiatePanesAsTheyComeIn() {
|
|
11
|
+
const allPanesD = this._getAllPanes();
|
|
12
|
+
allPanesD.onStale(() => {
|
|
13
|
+
allPanesD.getValue();
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
_getAllPanes() {
|
|
17
|
+
return this._cache.get('_getAllPanels()', () => prism(() => {
|
|
18
|
+
const core = val(this._studio.coreP);
|
|
19
|
+
if (!core)
|
|
20
|
+
return {};
|
|
21
|
+
const instanceDescriptors = val(this._studio.atomP.historic.panelInstanceDesceriptors);
|
|
22
|
+
const paneClasses = val(this._studio.atomP.ephemeral.extensions.paneClasses);
|
|
23
|
+
const instances = {};
|
|
24
|
+
for (const instanceDescriptor of Object.values(instanceDescriptors)) {
|
|
25
|
+
if (!instanceDescriptor)
|
|
26
|
+
continue;
|
|
27
|
+
const panelClass = paneClasses[instanceDescriptor.paneClass];
|
|
28
|
+
if (!panelClass)
|
|
29
|
+
continue;
|
|
30
|
+
const { instanceId } = instanceDescriptor;
|
|
31
|
+
const { extensionId, classDefinition: definition } = panelClass;
|
|
32
|
+
const instance = prism.memo(`instance-${instanceDescriptor.instanceId}`, () => {
|
|
33
|
+
const inst = {
|
|
34
|
+
extensionId,
|
|
35
|
+
instanceId,
|
|
36
|
+
definition,
|
|
37
|
+
};
|
|
38
|
+
return inst;
|
|
39
|
+
}, [definition]);
|
|
40
|
+
instances[instanceId] = instance;
|
|
41
|
+
}
|
|
42
|
+
return instances;
|
|
43
|
+
}));
|
|
44
|
+
}
|
|
45
|
+
get allPanesD() {
|
|
46
|
+
return this._getAllPanes();
|
|
47
|
+
}
|
|
48
|
+
createPane(paneClass) {
|
|
49
|
+
const core = this._studio.core;
|
|
50
|
+
if (!core) {
|
|
51
|
+
throw new Error(`Can't create a pane because @tomorrowevening/theatre-core is not yet loaded`);
|
|
52
|
+
}
|
|
53
|
+
const extensionId = val(this._studio.atomP.ephemeral.extensions.paneClasses[paneClass]
|
|
54
|
+
.extensionId);
|
|
55
|
+
const allPaneInstances = val(this._studio.atomP.historic.panelInstanceDesceriptors);
|
|
56
|
+
let instanceId;
|
|
57
|
+
for (let i = 1; i < 1000; i++) {
|
|
58
|
+
instanceId = `${paneClass} #${i}`;
|
|
59
|
+
if (!allPaneInstances[instanceId])
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
if (!extensionId) {
|
|
63
|
+
throw new Error(`Pane class "${paneClass}" is not registered.`);
|
|
64
|
+
}
|
|
65
|
+
this._studio.transaction(({ drafts }) => {
|
|
66
|
+
drafts.historic.panelInstanceDesceriptors[instanceId] = {
|
|
67
|
+
instanceId,
|
|
68
|
+
paneClass,
|
|
69
|
+
};
|
|
70
|
+
// Add to focus order (bring new pane to front)
|
|
71
|
+
if (!drafts.historic.paneFocusOrder) {
|
|
72
|
+
drafts.historic.paneFocusOrder = [];
|
|
73
|
+
}
|
|
74
|
+
const focusOrder = drafts.historic.paneFocusOrder;
|
|
75
|
+
const existingIndex = focusOrder.indexOf(instanceId);
|
|
76
|
+
if (existingIndex !== -1) {
|
|
77
|
+
focusOrder.splice(existingIndex, 1);
|
|
78
|
+
}
|
|
79
|
+
focusOrder.push(instanceId);
|
|
80
|
+
});
|
|
81
|
+
return this._getAllPanes().getValue()[instanceId];
|
|
82
|
+
}
|
|
83
|
+
destroyPane(instanceId) {
|
|
84
|
+
const core = this._studio.core;
|
|
85
|
+
if (!core) {
|
|
86
|
+
throw new Error(`Can't do this yet because @tomorrowevening/theatre-core is not yet loaded`);
|
|
87
|
+
}
|
|
88
|
+
this._studio.transaction(({ drafts }) => {
|
|
89
|
+
delete drafts.historic.panelInstanceDesceriptors[instanceId];
|
|
90
|
+
// Remove from focus order
|
|
91
|
+
if (drafts.historic.paneFocusOrder) {
|
|
92
|
+
const index = drafts.historic.paneFocusOrder.indexOf(instanceId);
|
|
93
|
+
if (index !== -1) {
|
|
94
|
+
drafts.historic.paneFocusOrder.splice(index, 1);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
bringPaneToFront(instanceId) {
|
|
100
|
+
this._studio.transaction(({ drafts }) => {
|
|
101
|
+
if (!drafts.historic.paneFocusOrder) {
|
|
102
|
+
drafts.historic.paneFocusOrder = [];
|
|
103
|
+
}
|
|
104
|
+
const focusOrder = drafts.historic.paneFocusOrder;
|
|
105
|
+
const existingIndex = focusOrder.indexOf(instanceId);
|
|
106
|
+
if (existingIndex !== -1) {
|
|
107
|
+
focusOrder.splice(existingIndex, 1);
|
|
108
|
+
}
|
|
109
|
+
focusOrder.push(instanceId);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
}
|
package/dist/Scrub.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { Pointer } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import type { Studio } from './Studio';
|
|
3
|
+
/**
|
|
4
|
+
* The scrub API is a simple construct for changing values in Theatre.js in a history-compatible way.
|
|
5
|
+
* Primarily, it can be used to create a series of value changes using a temp transaction without
|
|
6
|
+
* creating multiple transactions.
|
|
7
|
+
*
|
|
8
|
+
* The name is inspired by the activity of "scrubbing" the value of an input through clicking and
|
|
9
|
+
* dragging left and right. But, the API is not limited to chaning a single prop's value.
|
|
10
|
+
*
|
|
11
|
+
* For now, using the {@link IScrubApi.set} will result in changing the values where the
|
|
12
|
+
* playhead is (the `sequence.position`).
|
|
13
|
+
*/
|
|
14
|
+
export interface IScrubApi {
|
|
15
|
+
/**
|
|
16
|
+
* Set the value of a prop by its pointer. If the prop is sequenced, the value
|
|
17
|
+
* will be a keyframe at the current playhead position (`sequence.position`).
|
|
18
|
+
*
|
|
19
|
+
* @param pointer - A Pointer, like object.props
|
|
20
|
+
* @param value - The value to override the existing value. This is treated as a deep partial value.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* Usage:
|
|
24
|
+
* ```ts
|
|
25
|
+
* const obj = sheet.object("box", {x: 0, y: 0})
|
|
26
|
+
* const scrub = studio.scrub()
|
|
27
|
+
* scrub.capture(({set}) => {
|
|
28
|
+
* // set a specific prop's value
|
|
29
|
+
* set(obj.props.x, 10) // New value is {x: 10, y: 0}
|
|
30
|
+
* // values are set partially
|
|
31
|
+
* set(obj.props, {y: 11}) // New value is {x: 10, y: 11}
|
|
32
|
+
*
|
|
33
|
+
* // this will error, as there is no such prop as 'z'
|
|
34
|
+
* set(obj.props.z, 10)
|
|
35
|
+
* })
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
set<T>(pointer: Pointer<T>, value: T): void;
|
|
39
|
+
}
|
|
40
|
+
export interface IScrub {
|
|
41
|
+
/**
|
|
42
|
+
* Clears all the ops in the scrub, but keeps the scrub open so you can call
|
|
43
|
+
* `scrub.capture()` again.
|
|
44
|
+
*/
|
|
45
|
+
reset(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Commits the scrub and creates a single undo level.
|
|
48
|
+
*/
|
|
49
|
+
commit(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Captures operations for the scrub.
|
|
52
|
+
*
|
|
53
|
+
* Note that running `scrub.capture()` multiple times means all the older
|
|
54
|
+
* calls of `scrub.capture()` will be reset.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* Usage:
|
|
58
|
+
* ```ts
|
|
59
|
+
* scrub.capture(({set}) => {
|
|
60
|
+
* set(obj.props.x, 10) // set the value of obj.props.x to 10
|
|
61
|
+
* })
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
capture(fn: (api: IScrubApi) => void): void;
|
|
65
|
+
/**
|
|
66
|
+
* Clears the ops of the scrub and destroys it. After calling this,
|
|
67
|
+
* you won't be able to call `scrub.capture()` anymore.
|
|
68
|
+
*/
|
|
69
|
+
discard(): void;
|
|
70
|
+
}
|
|
71
|
+
export default class Scrub implements IScrub {
|
|
72
|
+
private readonly _studio;
|
|
73
|
+
private readonly _id;
|
|
74
|
+
private _state;
|
|
75
|
+
get status(): "Captured" | "Ready" | "Committed" | "Discarded";
|
|
76
|
+
constructor(_studio: Studio);
|
|
77
|
+
reset(): void;
|
|
78
|
+
commit(): void;
|
|
79
|
+
capture(fn: (api: IScrubApi) => void): void;
|
|
80
|
+
private _capture;
|
|
81
|
+
discard(): void;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=Scrub.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scrub.d.ts","sourceRoot":"","sources":["../../../../studio/src/Scrub.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,oCAAoC,CAAA;AAE/D,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAkBpC;;;;;;;;;;GAUG;AACH,MAAM,WAAW,SAAS;IACxB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAA;CAC5C;AAED,MAAM,WAAW,MAAM;IACrB;;;OAGG;IACH,KAAK,IAAI,IAAI,CAAA;IACb;;OAEG;IACH,MAAM,IAAI,IAAI,CAAA;IACd;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,GAAG,IAAI,CAAA;IAE3C;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAA;CAChB;AAED,MAAM,CAAC,OAAO,OAAO,KAAM,YAAW,MAAM;IAS9B,OAAO,CAAC,QAAQ,CAAC,OAAO;IARpC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAQ;IAC5B,OAAO,CAAC,MAAM,CAAyB;IAGvC,IAAI,MAAM,qDAET;gBAE4B,OAAO,EAAE,MAAM;IAI5C,KAAK,IAAI,IAAI;IAgBb,MAAM,IAAI,IAAI;IAiBd,OAAO,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,GAAG,IAAI;IAiC3C,OAAO,CAAC,QAAQ;IA0DhB,OAAO,IAAI,IAAI;CAehB"}
|
package/dist/Scrub.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import forEachPropDeep from '@tomorrowevening/theatre-shared/utils/forEachDeep';
|
|
2
|
+
import { getPointerParts } from '@tomorrowevening/theatre-dataverse';
|
|
3
|
+
import { isSheetObject } from '@tomorrowevening/theatre-shared/instanceTypes';
|
|
4
|
+
let lastScrubIdAsNumber = 0;
|
|
5
|
+
export default class Scrub {
|
|
6
|
+
_studio;
|
|
7
|
+
_id;
|
|
8
|
+
_state = { type: 'Ready' };
|
|
9
|
+
// private readonly _scrubApi: IScrubApi
|
|
10
|
+
get status() {
|
|
11
|
+
return this._state.type;
|
|
12
|
+
}
|
|
13
|
+
constructor(_studio) {
|
|
14
|
+
this._studio = _studio;
|
|
15
|
+
this._id = String(lastScrubIdAsNumber++);
|
|
16
|
+
}
|
|
17
|
+
reset() {
|
|
18
|
+
const { _state: state } = this;
|
|
19
|
+
if (state.type === 'Ready') {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
else if (state.type === 'Captured') {
|
|
23
|
+
this._state = { type: 'Ready' };
|
|
24
|
+
state.transaction.discard();
|
|
25
|
+
state.flagsTransaction.discard();
|
|
26
|
+
}
|
|
27
|
+
else if (state.type === 'Committed') {
|
|
28
|
+
throw new Error(`This scrub is already committed and can't be reset.`);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
throw new Error(`This scrub is already discarded and can't be reset.`);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
commit() {
|
|
35
|
+
const { _state: state } = this;
|
|
36
|
+
if (state.type === 'Captured') {
|
|
37
|
+
state.transaction.commit();
|
|
38
|
+
state.flagsTransaction.discard();
|
|
39
|
+
this._state = { type: 'Committed' };
|
|
40
|
+
}
|
|
41
|
+
else if (state.type === 'Ready') {
|
|
42
|
+
console.warn(`Scrub is empty. Nothing to commit.`);
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
else if (state.type === 'Committed') {
|
|
46
|
+
throw new Error(`This scrub is already committed.`);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
throw new Error(`This scrub is already discarded and can't be comitted.`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
capture(fn) {
|
|
53
|
+
if (this._state.type === 'Captured') {
|
|
54
|
+
this.reset();
|
|
55
|
+
}
|
|
56
|
+
if (this._state.type === 'Ready') {
|
|
57
|
+
let errored = true;
|
|
58
|
+
try {
|
|
59
|
+
this._state = { type: 'Captured', ...this._capture(fn) };
|
|
60
|
+
errored = false;
|
|
61
|
+
}
|
|
62
|
+
finally {
|
|
63
|
+
if (errored) {
|
|
64
|
+
console.error(`This scrub's callback threw an error. We're undo-ing all of the changes made by this scrub, and marking it as discarded.`);
|
|
65
|
+
this._state = { type: 'Discarded' };
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
if (this._state.type === 'Committed') {
|
|
71
|
+
throw new Error(`This scrub is already committed and cannot capture again. ` +
|
|
72
|
+
`If you wish to capture more, you can start a new studio.scrub() or do so before scrub.commit()`);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
throw new Error(`This scrub is already discarded and cannot capture again. ` +
|
|
76
|
+
`If you wish to capture more, you can start a new studio.scrub() or do so before scrub.discard()`);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
_capture(fn) {
|
|
81
|
+
const sets = [];
|
|
82
|
+
const transaction = this._studio.tempTransaction((transactionApi) => {
|
|
83
|
+
let running = true;
|
|
84
|
+
const api = {
|
|
85
|
+
set: (pointer, value) => {
|
|
86
|
+
if (!running) {
|
|
87
|
+
throw new Error(`You seem to have called the scrub api after scrub.capture()`);
|
|
88
|
+
}
|
|
89
|
+
const { root, path } = getPointerParts(pointer);
|
|
90
|
+
if (!isSheetObject(root)) {
|
|
91
|
+
throw new Error(`We can only scrub props of Sheet Objects for now`);
|
|
92
|
+
}
|
|
93
|
+
transactionApi.set(pointer, value);
|
|
94
|
+
sets.push(pointer);
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
try {
|
|
98
|
+
fn(api);
|
|
99
|
+
}
|
|
100
|
+
finally {
|
|
101
|
+
running = false;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
const flagsTransaction = this._studio.tempTransaction(({ stateEditors }) => {
|
|
105
|
+
sets.forEach((pointer) => {
|
|
106
|
+
const { root, path } = getPointerParts(pointer);
|
|
107
|
+
if (!isSheetObject(root)) {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const defaultValueOfProp = root.template.getDefaultsAtPointer(pointer);
|
|
111
|
+
forEachPropDeep(defaultValueOfProp, (val, pathToProp) => {
|
|
112
|
+
stateEditors.studio.ephemeral.projects.stateByProjectId.stateBySheetId.stateByObjectKey.propsBeingScrubbed.flag({ ...root.address, pathToProp });
|
|
113
|
+
}, path);
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
return { transaction, flagsTransaction };
|
|
117
|
+
}
|
|
118
|
+
discard() {
|
|
119
|
+
const { _state: state } = this;
|
|
120
|
+
if (state.type === 'Captured' || state.type === 'Ready') {
|
|
121
|
+
if (state.type === 'Captured') {
|
|
122
|
+
state.transaction.discard();
|
|
123
|
+
state.flagsTransaction.discard();
|
|
124
|
+
}
|
|
125
|
+
this._state = { type: 'Discarded' };
|
|
126
|
+
}
|
|
127
|
+
else if (state.type === 'Committed') {
|
|
128
|
+
throw new Error(`This scrub is already committed and can't be discarded.`);
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
throw new Error(`This scrub is already discarded`);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
package/dist/Studio.d.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import Scrub from '@tomorrowevening/theatre-studio/Scrub';
|
|
2
|
+
import type { StudioHistoricState } from '@tomorrowevening/theatre-studio/store/types/historic';
|
|
3
|
+
import UI from '@tomorrowevening/theatre-studio/UI/UI';
|
|
4
|
+
import type { Pointer, Ticker } from '@tomorrowevening/theatre-dataverse';
|
|
5
|
+
import { PointerProxy } from '@tomorrowevening/theatre-dataverse';
|
|
6
|
+
import type { CommitOrDiscard, ITransactionPrivateApi } from './StudioStore/StudioStore';
|
|
7
|
+
import type { IExtension, IStudio } from './TheatreStudio';
|
|
8
|
+
import type Project from '@tomorrowevening/theatre-core/projects/Project';
|
|
9
|
+
import type { CoreBits } from '@tomorrowevening/theatre-core/CoreBundle';
|
|
10
|
+
import type { IProject, ISheet } from '@tomorrowevening/theatre-core';
|
|
11
|
+
import PaneManager from './PaneManager';
|
|
12
|
+
import type * as _coreExports from '@tomorrowevening/theatre-core/coreExports';
|
|
13
|
+
import type { OnDiskState } from '@tomorrowevening/theatre-core/projects/store/storeTypes';
|
|
14
|
+
import type { ProjectId } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
15
|
+
export type CoreExports = typeof _coreExports;
|
|
16
|
+
export declare class Studio {
|
|
17
|
+
readonly ui: UI;
|
|
18
|
+
readonly publicApi: IStudio;
|
|
19
|
+
readonly address: {
|
|
20
|
+
studioId: string;
|
|
21
|
+
};
|
|
22
|
+
readonly _projectsProxy: PointerProxy<Record<ProjectId, Project>>;
|
|
23
|
+
readonly projectsP: Pointer<Record<ProjectId, Project>>;
|
|
24
|
+
private readonly _store;
|
|
25
|
+
private _corePrivateApi;
|
|
26
|
+
private readonly _cache;
|
|
27
|
+
readonly paneManager: PaneManager;
|
|
28
|
+
/**
|
|
29
|
+
* An atom holding the exports of '\@tomorrowevening/theatre-core'. Will be undefined if '\@tomorrowevening/theatre-core' is never imported
|
|
30
|
+
*/
|
|
31
|
+
private _coreAtom;
|
|
32
|
+
/**
|
|
33
|
+
* A Deferred that will resolve once studio is initialized (and its state is read from storage)
|
|
34
|
+
*/
|
|
35
|
+
private readonly _initializedDeferred;
|
|
36
|
+
/**
|
|
37
|
+
* Tracks whether studio.initialize() is called.
|
|
38
|
+
*/
|
|
39
|
+
private _initializeFnCalled;
|
|
40
|
+
/**
|
|
41
|
+
* Will be set to true if studio.initialize() isn't called after 100ms.
|
|
42
|
+
*/
|
|
43
|
+
private _didWarnAboutNotInitializing;
|
|
44
|
+
/**
|
|
45
|
+
* This will be set as soon as `@tomorrowevening/theatre-core` registers itself on `@tomorrowevening/theatre-studio`
|
|
46
|
+
*/
|
|
47
|
+
private _coreBits;
|
|
48
|
+
get ticker(): Ticker;
|
|
49
|
+
private _rafDriver;
|
|
50
|
+
get atomP(): Pointer<import("./store").FullStudioState>;
|
|
51
|
+
constructor();
|
|
52
|
+
initialize(opts?: Parameters<IStudio['initialize']>[0]): Promise<void>;
|
|
53
|
+
get initialized(): Promise<void>;
|
|
54
|
+
_attachToIncomingProjects(): void;
|
|
55
|
+
setCoreBits(coreBits: CoreBits): void;
|
|
56
|
+
private _setProjectsP;
|
|
57
|
+
scrub(): Scrub;
|
|
58
|
+
tempTransaction(fn: (api: ITransactionPrivateApi) => void): CommitOrDiscard;
|
|
59
|
+
transaction(fn: (api: ITransactionPrivateApi) => void): void;
|
|
60
|
+
__dev_startHistoryFromScratch(newHistoricPart: StudioHistoricState): void;
|
|
61
|
+
get corePrivateAPI(): typeof import("../../core/src/privateAPIs").privateAPI | undefined;
|
|
62
|
+
get core(): typeof _coreExports | undefined;
|
|
63
|
+
get coreP(): Pointer<typeof _coreExports | undefined>;
|
|
64
|
+
extend(extension: IExtension, opts?: {
|
|
65
|
+
__experimental_reconfigure?: boolean;
|
|
66
|
+
}): void;
|
|
67
|
+
getStudioProject(core: CoreExports): IProject;
|
|
68
|
+
getExtensionSheet(extensionId: string, core: CoreExports): ISheet;
|
|
69
|
+
undo(): void;
|
|
70
|
+
redo(): void;
|
|
71
|
+
createContentOfSaveFile(projectId: string): OnDiskState;
|
|
72
|
+
/** A function that returns a promise to an object containing asset storage methods for a project to be used by studio. */
|
|
73
|
+
createAssetStorage(project: Project, baseUrl?: string): Promise<{
|
|
74
|
+
getAssetUrl: (assetId: string) => string;
|
|
75
|
+
createAsset: (asset: File) => Promise<string | null>;
|
|
76
|
+
}>;
|
|
77
|
+
clearPersistentStorage(persistenceKey?: string): void;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=Studio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Studio.d.ts","sourceRoot":"","sources":["../../../../studio/src/Studio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,uCAAuC,CAAA;AACzD,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,sDAAsD,CAAA;AAC7F,OAAO,EAAE,MAAM,uCAAuC,CAAA;AACtD,OAAO,KAAK,EAAC,OAAO,EAAE,MAAM,EAAC,MAAM,oCAAoC,CAAA;AACvE,OAAO,EAAO,YAAY,EAAiB,MAAM,oCAAoC,CAAA;AACrF,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAA;AAGxD,OAAO,KAAK,OAAO,MAAM,gDAAgD,CAAA;AACzE,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,0CAA0C,CAAA;AAEtE,OAAO,KAAK,EAAC,QAAQ,EAAE,MAAM,EAAC,MAAM,+BAA+B,CAAA;AACnE,OAAO,WAAW,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,KAAK,YAAY,MAAM,2CAA2C,CAAA;AAC9E,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,yDAAyD,CAAA;AAGxF,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,2CAA2C,CAAA;AAUxE,MAAM,MAAM,WAAW,GAAG,OAAO,YAAY,CAAA;AA8B7C,qBAAa,MAAM;IACjB,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAA;IAGf,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,OAAO,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAA;IACpC,QAAQ,CAAC,cAAc,EAAE,YAAY,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CACzB;IAExC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAC1B;IAE7B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,eAAe,CAAoC;IAE3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,SAAS,CAAqC;IAEtD;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAA0B;IAC/D;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAQ;IACnC;;OAEG;IACH,OAAO,CAAC,4BAA4B,CAAQ;IAE5C;;OAEG;IACH,OAAO,CAAC,SAAS,CAAsB;IAEvC,IAAI,MAAM,IAAI,MAAM,CAOnB;IAED,OAAO,CAAC,UAAU,CAAiC;IAEnD,IAAI,KAAK,+CAER;;IAsBK,UAAU,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IAyE5D,IAAI,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAE/B;IAED,yBAAyB;IAgBzB,WAAW,CAAC,QAAQ,EAAE,QAAQ;IAO9B,OAAO,CAAC,aAAa;IAIrB,KAAK;IAIL,eAAe,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,sBAAsB,KAAK,IAAI,GAAG,eAAe;IAI3E,WAAW,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,sBAAsB,KAAK,IAAI,GAAG,IAAI;IAI5D,6BAA6B,CAAC,eAAe,EAAE,mBAAmB;IAIlE,IAAI,cAAc,uEAEjB;IAED,IAAI,IAAI,oCAEP;IAED,IAAI,KAAK,6CAER;IAED,MAAM,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE;QAAC,0BAA0B,CAAC,EAAE,OAAO,CAAA;KAAC;IA8E3E,gBAAgB,CAAC,IAAI,EAAE,WAAW,GAAG,QAAQ;IAI7C,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,MAAM;IAMjE,IAAI;IAIJ,IAAI;IAIJ,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW;IAIvD,0HAA0H;IACpH,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM;+BA4FhC,MAAM;6BAKF,IAAI;;IA6EnC,sBAAsB,CAAC,cAAc,SAA0B;CAGhE"}
|