@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
package/dist/Studio.js
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import Scrub from '@tomorrowevening/theatre-studio/Scrub';
|
|
2
|
+
import UI from '@tomorrowevening/theatre-studio/UI/UI';
|
|
3
|
+
import { Atom, PointerProxy, pointerToPrism } from '@tomorrowevening/theatre-dataverse';
|
|
4
|
+
import StudioStore from './StudioStore/StudioStore';
|
|
5
|
+
import TheatreStudio from './TheatreStudio';
|
|
6
|
+
import { nanoid } from 'nanoid/non-secure';
|
|
7
|
+
import SimpleCache from '@tomorrowevening/theatre-shared/utils/SimpleCache';
|
|
8
|
+
import PaneManager from './PaneManager';
|
|
9
|
+
import { defer } from '@tomorrowevening/theatre-shared/utils/defer';
|
|
10
|
+
import checkForUpdates from './checkForUpdates';
|
|
11
|
+
import shallowEqual from 'shallowequal';
|
|
12
|
+
import { createStore } from './IDBStorage';
|
|
13
|
+
import { getAllPossibleAssetIDs } from '@tomorrowevening/theatre-shared/utils/assets';
|
|
14
|
+
import { notify } from './notify';
|
|
15
|
+
const DEFAULT_PERSISTENCE_KEY = 'theatre-0.4';
|
|
16
|
+
const STUDIO_NOT_INITIALIZED_MESSAGE = `You seem to have imported '@tomorrowevening/theatre-studio' but haven't initialized it. You can initialize the studio by:
|
|
17
|
+
\`\`\`
|
|
18
|
+
import studio from '@tomorrowevening/theatre-studio'
|
|
19
|
+
studio.initialize()
|
|
20
|
+
\`\`\`
|
|
21
|
+
|
|
22
|
+
* If you didn't mean to import '@tomorrowevening/theatre-studio', this means that your bundler is not tree-shaking it. This is most likely a bundler misconfiguration.
|
|
23
|
+
|
|
24
|
+
* If you meant to import '@tomorrowevening/theatre-studio' without showing its UI, you can do that by running:
|
|
25
|
+
|
|
26
|
+
\`\`\`
|
|
27
|
+
import studio from '@tomorrowevening/theatre-studio'
|
|
28
|
+
studio.initialize()
|
|
29
|
+
studio.ui.hide()
|
|
30
|
+
\`\`\`
|
|
31
|
+
`;
|
|
32
|
+
const STUDIO_INITIALIZED_LATE_MSG = `You seem to have imported '@tomorrowevening/theatre-studio' but called \`studio.initialize()\` after some delay.
|
|
33
|
+
Theatre.js projects remain in pending mode (won't play their sequences) until the studio is initialized, so you should place the \`studio.initialize()\` line right after the import line:
|
|
34
|
+
|
|
35
|
+
\`\`\`
|
|
36
|
+
import studio from '@tomorrowevening/theatre-studio'
|
|
37
|
+
// ... and other imports
|
|
38
|
+
|
|
39
|
+
studio.initialize()
|
|
40
|
+
\`\`\`
|
|
41
|
+
`;
|
|
42
|
+
export class Studio {
|
|
43
|
+
ui;
|
|
44
|
+
// this._uiInitDeferred.promise will resolve once this._ui is set
|
|
45
|
+
publicApi;
|
|
46
|
+
address;
|
|
47
|
+
_projectsProxy = new PointerProxy(new Atom({}).pointer);
|
|
48
|
+
projectsP = this._projectsProxy.pointer;
|
|
49
|
+
_store = new StudioStore();
|
|
50
|
+
_corePrivateApi;
|
|
51
|
+
_cache = new SimpleCache();
|
|
52
|
+
paneManager;
|
|
53
|
+
/**
|
|
54
|
+
* An atom holding the exports of '\@tomorrowevening/theatre-core'. Will be undefined if '\@tomorrowevening/theatre-core' is never imported
|
|
55
|
+
*/
|
|
56
|
+
_coreAtom = new Atom({});
|
|
57
|
+
/**
|
|
58
|
+
* A Deferred that will resolve once studio is initialized (and its state is read from storage)
|
|
59
|
+
*/
|
|
60
|
+
_initializedDeferred = defer();
|
|
61
|
+
/**
|
|
62
|
+
* Tracks whether studio.initialize() is called.
|
|
63
|
+
*/
|
|
64
|
+
_initializeFnCalled = false;
|
|
65
|
+
/**
|
|
66
|
+
* Will be set to true if studio.initialize() isn't called after 100ms.
|
|
67
|
+
*/
|
|
68
|
+
_didWarnAboutNotInitializing = false;
|
|
69
|
+
/**
|
|
70
|
+
* This will be set as soon as `@tomorrowevening/theatre-core` registers itself on `@tomorrowevening/theatre-studio`
|
|
71
|
+
*/
|
|
72
|
+
_coreBits;
|
|
73
|
+
get ticker() {
|
|
74
|
+
if (!this._rafDriver) {
|
|
75
|
+
throw new Error('`studio.ticker` was read before studio.initialize() was called.');
|
|
76
|
+
}
|
|
77
|
+
return this._rafDriver.ticker;
|
|
78
|
+
}
|
|
79
|
+
_rafDriver;
|
|
80
|
+
get atomP() {
|
|
81
|
+
return this._store.atomP;
|
|
82
|
+
}
|
|
83
|
+
constructor() {
|
|
84
|
+
this.address = { studioId: nanoid(10) };
|
|
85
|
+
this.publicApi = new TheatreStudio(this);
|
|
86
|
+
this.ui = new UI(this);
|
|
87
|
+
this._attachToIncomingProjects();
|
|
88
|
+
this.paneManager = new PaneManager(this);
|
|
89
|
+
// check whether studio.initialize() is called, but only if we're in the browser
|
|
90
|
+
if (typeof window !== 'undefined') {
|
|
91
|
+
setTimeout(() => {
|
|
92
|
+
if (!this._initializeFnCalled) {
|
|
93
|
+
console.error(STUDIO_NOT_INITIALIZED_MESSAGE);
|
|
94
|
+
this._didWarnAboutNotInitializing = true;
|
|
95
|
+
}
|
|
96
|
+
}, 100);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
async initialize(opts) {
|
|
100
|
+
if (!this._coreBits) {
|
|
101
|
+
throw new Error(`You seem to have imported \`@tomorrowevening/theatre-studio\` without importing \`@tomorrowevening/theatre-core\`. Make sure to include an import of \`@tomorrowevening/theatre-core\` before calling \`studio.initializer()\`.`);
|
|
102
|
+
}
|
|
103
|
+
if (this._initializeFnCalled) {
|
|
104
|
+
return this._initializedDeferred.promise;
|
|
105
|
+
}
|
|
106
|
+
this._initializeFnCalled = true;
|
|
107
|
+
if (this._didWarnAboutNotInitializing) {
|
|
108
|
+
console.warn(STUDIO_INITIALIZED_LATE_MSG);
|
|
109
|
+
}
|
|
110
|
+
const storeOpts = {
|
|
111
|
+
persistenceKey: DEFAULT_PERSISTENCE_KEY,
|
|
112
|
+
usePersistentStorage: true,
|
|
113
|
+
};
|
|
114
|
+
if (typeof opts?.persistenceKey === 'string') {
|
|
115
|
+
storeOpts.persistenceKey = opts.persistenceKey;
|
|
116
|
+
}
|
|
117
|
+
if (opts?.usePersistentStorage === false || typeof window === 'undefined') {
|
|
118
|
+
storeOpts.usePersistentStorage = false;
|
|
119
|
+
}
|
|
120
|
+
if (opts?.__experimental_rafDriver) {
|
|
121
|
+
if (opts.__experimental_rafDriver.type !== 'Theatre_RafDriver_PublicAPI') {
|
|
122
|
+
throw new Error('parameter `rafDriver` in `studio.initialize({__experimental_rafDriver})` must be either be undefined, or the return type of core.createRafDriver()');
|
|
123
|
+
}
|
|
124
|
+
const rafDriverPrivateApi = this._coreBits.privateAPI(opts.__experimental_rafDriver);
|
|
125
|
+
if (!rafDriverPrivateApi) {
|
|
126
|
+
// TODO - need to educate the user about this edge case
|
|
127
|
+
throw new Error('parameter `rafDriver` in `studio.initialize({__experimental_rafDriver})` seems to come from a different version of `@tomorrowevening/theatre-core` than the version that is attached to `@tomorrowevening/theatre-studio`');
|
|
128
|
+
}
|
|
129
|
+
this._rafDriver = rafDriverPrivateApi;
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
this._rafDriver = this._coreBits.getCoreRafDriver();
|
|
133
|
+
}
|
|
134
|
+
try {
|
|
135
|
+
await this._store.initialize(storeOpts);
|
|
136
|
+
}
|
|
137
|
+
catch (e) {
|
|
138
|
+
this._initializedDeferred.reject(e);
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {
|
|
142
|
+
await this.ui.ready;
|
|
143
|
+
}
|
|
144
|
+
this._initializedDeferred.resolve();
|
|
145
|
+
if (process.env.NODE_ENV !== 'test') {
|
|
146
|
+
this.ui.render();
|
|
147
|
+
checkForUpdates().catch((err) => {
|
|
148
|
+
console.error(err);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
get initialized() {
|
|
153
|
+
return this._initializedDeferred.promise;
|
|
154
|
+
}
|
|
155
|
+
_attachToIncomingProjects() {
|
|
156
|
+
const projectsD = pointerToPrism(this.projectsP);
|
|
157
|
+
const attachToProjects = (projects) => {
|
|
158
|
+
for (const project of Object.values(projects)) {
|
|
159
|
+
if (!project.isAttachedToStudio) {
|
|
160
|
+
project.attachToStudio(this);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
projectsD.onStale(() => {
|
|
165
|
+
attachToProjects(projectsD.getValue());
|
|
166
|
+
});
|
|
167
|
+
attachToProjects(projectsD.getValue());
|
|
168
|
+
}
|
|
169
|
+
setCoreBits(coreBits) {
|
|
170
|
+
this._coreBits = coreBits;
|
|
171
|
+
this._corePrivateApi = coreBits.privateAPI;
|
|
172
|
+
this._coreAtom.setByPointer((p) => p.core, coreBits.coreExports);
|
|
173
|
+
this._setProjectsP(coreBits.projectsP);
|
|
174
|
+
}
|
|
175
|
+
_setProjectsP(projectsP) {
|
|
176
|
+
this._projectsProxy.setPointer(projectsP);
|
|
177
|
+
}
|
|
178
|
+
scrub() {
|
|
179
|
+
return new Scrub(this);
|
|
180
|
+
}
|
|
181
|
+
tempTransaction(fn) {
|
|
182
|
+
return this._store.tempTransaction(fn);
|
|
183
|
+
}
|
|
184
|
+
transaction(fn) {
|
|
185
|
+
return this.tempTransaction(fn).commit();
|
|
186
|
+
}
|
|
187
|
+
__dev_startHistoryFromScratch(newHistoricPart) {
|
|
188
|
+
return this._store.__dev_startHistoryFromScratch(newHistoricPart);
|
|
189
|
+
}
|
|
190
|
+
get corePrivateAPI() {
|
|
191
|
+
return this._corePrivateApi;
|
|
192
|
+
}
|
|
193
|
+
get core() {
|
|
194
|
+
return this._coreAtom.get().core;
|
|
195
|
+
}
|
|
196
|
+
get coreP() {
|
|
197
|
+
return this._coreAtom.pointer.core;
|
|
198
|
+
}
|
|
199
|
+
extend(extension, opts) {
|
|
200
|
+
if (!extension || typeof extension !== 'object') {
|
|
201
|
+
throw new Error(`Extensions must be JS objects`);
|
|
202
|
+
}
|
|
203
|
+
if (typeof extension.id !== 'string') {
|
|
204
|
+
throw new Error(`extension.id must be a string`);
|
|
205
|
+
}
|
|
206
|
+
const reconfigure = opts?.__experimental_reconfigure === true;
|
|
207
|
+
const extensionId = extension.id;
|
|
208
|
+
const prevExtension = this._store.getState().ephemeral.extensions.byId[extensionId];
|
|
209
|
+
if (prevExtension) {
|
|
210
|
+
if (reconfigure) {
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
if (extension === prevExtension ||
|
|
214
|
+
shallowEqual(extension, prevExtension)) {
|
|
215
|
+
// probably running studio.extend() several times because of hot reload.
|
|
216
|
+
// as long as it's the same extension, we can safely ignore.
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
throw new Error(`Extension id "${extension.id}" is already defined. If you mean to re-configure the extension, do it like this: studio.extend(extension, {__experimental_reconfigure: true})})`);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
this.transaction(({ drafts }) => {
|
|
223
|
+
drafts.ephemeral.extensions.byId[extension.id] = extension;
|
|
224
|
+
const allPaneClasses = drafts.ephemeral.extensions.paneClasses;
|
|
225
|
+
if (reconfigure && prevExtension) {
|
|
226
|
+
// remove all pane classes that were set by the previous version of the extension
|
|
227
|
+
prevExtension.panes?.forEach((classDefinition) => {
|
|
228
|
+
delete allPaneClasses[classDefinition.class];
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
// if the extension defines pane classes, add them to the list of all pane classes
|
|
232
|
+
extension.panes?.forEach((classDefinition) => {
|
|
233
|
+
if (typeof classDefinition.class !== 'string') {
|
|
234
|
+
throw new Error(`pane.class must be a string`);
|
|
235
|
+
}
|
|
236
|
+
if (classDefinition.class.length < 3) {
|
|
237
|
+
throw new Error(`pane.class should be a string with 3 or more characters`);
|
|
238
|
+
}
|
|
239
|
+
const existing = allPaneClasses[classDefinition.class];
|
|
240
|
+
if (existing) {
|
|
241
|
+
if (reconfigure && existing.extensionId === extension.id) {
|
|
242
|
+
// well this should never happen because we already deleted the pane class above
|
|
243
|
+
console.warn(`Pane class "${classDefinition.class}" already exists. This is a bug in Theatre.js. Please report it at https://github.com/theatre-js/theatre/issues/new`);
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
throw new Error(`Pane class "${classDefinition.class}" already exists and is supplied by extension ${existing}`);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
allPaneClasses[classDefinition.class] = {
|
|
250
|
+
extensionId: extension.id,
|
|
251
|
+
classDefinition: classDefinition,
|
|
252
|
+
};
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
getStudioProject(core) {
|
|
257
|
+
return this._cache.get('getStudioProject', () => core.getProject('Studio'));
|
|
258
|
+
}
|
|
259
|
+
getExtensionSheet(extensionId, core) {
|
|
260
|
+
return this._cache.get('extensionSheet-' + extensionId, () => this.getStudioProject(core).sheet('Extension ' + extensionId));
|
|
261
|
+
}
|
|
262
|
+
undo() {
|
|
263
|
+
this._store.undo();
|
|
264
|
+
}
|
|
265
|
+
redo() {
|
|
266
|
+
this._store.redo();
|
|
267
|
+
}
|
|
268
|
+
createContentOfSaveFile(projectId) {
|
|
269
|
+
return this._store.createContentOfSaveFile(projectId);
|
|
270
|
+
}
|
|
271
|
+
/** A function that returns a promise to an object containing asset storage methods for a project to be used by studio. */
|
|
272
|
+
async createAssetStorage(project, baseUrl) {
|
|
273
|
+
// in SSR we bail out and return a dummy asset manager
|
|
274
|
+
if (typeof window === 'undefined') {
|
|
275
|
+
return {
|
|
276
|
+
getAssetUrl: () => '',
|
|
277
|
+
createAsset: () => Promise.resolve(null),
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
// Check for support.
|
|
281
|
+
if (!('indexedDB' in window)) {
|
|
282
|
+
if (process.env.NODE_ENV !== 'test')
|
|
283
|
+
console.log("This browser doesn't support IndexedDB.");
|
|
284
|
+
return {
|
|
285
|
+
getAssetUrl: (assetId) => {
|
|
286
|
+
throw new Error(`IndexedDB is required by the default asset manager, but it's not supported by this browser. To use assets, please provide your own asset manager to the project config.`);
|
|
287
|
+
},
|
|
288
|
+
createAsset: (asset) => {
|
|
289
|
+
throw new Error(`IndexedDB is required by the default asset manager, but it's not supported by this browser. To use assets, please provide your own asset manager to the project config.`);
|
|
290
|
+
},
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
const idb = createStore(`${project.address.projectId}-assets`);
|
|
294
|
+
// get all possible asset ids referenced by either static props or keyframes
|
|
295
|
+
const possibleAssetIDs = getAllPossibleAssetIDs(project);
|
|
296
|
+
// Clean up assets not referenced by the project. We can only do this at the start because otherwise
|
|
297
|
+
// we'd break undo/redo.
|
|
298
|
+
const idbKeys = await idb.keys();
|
|
299
|
+
await Promise.all(idbKeys.map(async (key) => {
|
|
300
|
+
if (!possibleAssetIDs.includes(key)) {
|
|
301
|
+
await idb.del(key);
|
|
302
|
+
}
|
|
303
|
+
}));
|
|
304
|
+
// Clean up idb entries exported to disk
|
|
305
|
+
await Promise.all(idbKeys.map(async (key) => {
|
|
306
|
+
const assetUrl = `${baseUrl}/${key}`;
|
|
307
|
+
try {
|
|
308
|
+
const response = await fetch(assetUrl, { method: 'HEAD' });
|
|
309
|
+
if (response.ok) {
|
|
310
|
+
await idb.del(key);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
catch (e) {
|
|
314
|
+
notify.error('Failed to access assets', `Failed to access assets at ${project.config.assets?.baseUrl ?? '/'}. This is likely due to a CORS issue.`);
|
|
315
|
+
}
|
|
316
|
+
}));
|
|
317
|
+
// A map for caching the assets outside of the db. We also need this to be able to retrieve idb asset urls synchronously.
|
|
318
|
+
const assetsMap = new Map(await idb.entries());
|
|
319
|
+
// A map for caching the object urls created from idb assets.
|
|
320
|
+
const urlCache = new Map();
|
|
321
|
+
/** Gets idb aset url from asset blob */
|
|
322
|
+
const getUrlForAsset = (asset) => {
|
|
323
|
+
if (urlCache.has(asset)) {
|
|
324
|
+
return urlCache.get(asset);
|
|
325
|
+
}
|
|
326
|
+
else {
|
|
327
|
+
const url = URL.createObjectURL(asset);
|
|
328
|
+
urlCache.set(asset, url);
|
|
329
|
+
return url;
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
/** Gets idb asset url from id */
|
|
333
|
+
const getUrlForId = (assetId) => {
|
|
334
|
+
const asset = assetsMap.get(assetId);
|
|
335
|
+
if (!asset) {
|
|
336
|
+
throw new Error(`Asset with id ${assetId} not found`);
|
|
337
|
+
}
|
|
338
|
+
return getUrlForAsset(asset);
|
|
339
|
+
};
|
|
340
|
+
return {
|
|
341
|
+
getAssetUrl: (assetId) => {
|
|
342
|
+
return assetsMap.has(assetId)
|
|
343
|
+
? getUrlForId(assetId)
|
|
344
|
+
: `${baseUrl}/${assetId}`;
|
|
345
|
+
},
|
|
346
|
+
createAsset: async (asset) => {
|
|
347
|
+
const existingIDs = getAllPossibleAssetIDs(project);
|
|
348
|
+
let sameSame = false;
|
|
349
|
+
if (existingIDs.includes(asset.name)) {
|
|
350
|
+
let existingAsset;
|
|
351
|
+
try {
|
|
352
|
+
existingAsset =
|
|
353
|
+
assetsMap.get(asset.name) ??
|
|
354
|
+
(await fetch(`${baseUrl}/${asset.name}`).then((r) => r.ok ? r.blob() : undefined));
|
|
355
|
+
}
|
|
356
|
+
catch (e) {
|
|
357
|
+
notify.error('Failed to access assets', `Failed to access assets at ${project.config.assets?.baseUrl ?? '/'}. This is likely due to a CORS issue.`);
|
|
358
|
+
return Promise.resolve(null);
|
|
359
|
+
}
|
|
360
|
+
if (existingAsset) {
|
|
361
|
+
const blobCompare = (await import('blob-compare')).default;
|
|
362
|
+
// @ts-ignore
|
|
363
|
+
sameSame = await blobCompare.isEqual(asset, existingAsset);
|
|
364
|
+
// if same same, we do nothing
|
|
365
|
+
if (sameSame) {
|
|
366
|
+
return asset.name;
|
|
367
|
+
// if different, we ask the user to pls rename
|
|
368
|
+
}
|
|
369
|
+
else {
|
|
370
|
+
/** Initiates rename using a dialog. Returns a boolean indicating if the rename was succesful. */
|
|
371
|
+
const renameAsset = (text) => {
|
|
372
|
+
const newAssetName = prompt(text, asset.name);
|
|
373
|
+
if (newAssetName === null) {
|
|
374
|
+
// asset creation canceled
|
|
375
|
+
return false;
|
|
376
|
+
}
|
|
377
|
+
else if (newAssetName === '') {
|
|
378
|
+
return renameAsset('Asset name cannot be empty. Please choose a different file name for this asset.');
|
|
379
|
+
}
|
|
380
|
+
else if (existingIDs.includes(newAssetName)) {
|
|
381
|
+
console.log(existingIDs);
|
|
382
|
+
return renameAsset('An asset with this name already exists. Please choose a different file name for this asset.');
|
|
383
|
+
}
|
|
384
|
+
// rename asset
|
|
385
|
+
asset = new File([asset], newAssetName, { type: asset.type });
|
|
386
|
+
return true;
|
|
387
|
+
};
|
|
388
|
+
// rename asset returns false if the user cancels the rename
|
|
389
|
+
const success = renameAsset('An asset with this name already exists. Please choose a different file name for this asset.');
|
|
390
|
+
if (!success) {
|
|
391
|
+
return null;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
assetsMap.set(asset.name, asset);
|
|
397
|
+
await idb.set(asset.name, asset);
|
|
398
|
+
return asset.name;
|
|
399
|
+
},
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
clearPersistentStorage(persistenceKey = DEFAULT_PERSISTENCE_KEY) {
|
|
403
|
+
this._store.__experimental_clearPersistentStorage(persistenceKey);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type CoreBundle from '@tomorrowevening/theatre-core/CoreBundle';
|
|
2
|
+
import type { Studio } from './Studio';
|
|
3
|
+
export default class StudioBundle {
|
|
4
|
+
private readonly _studio;
|
|
5
|
+
private _coreBundle;
|
|
6
|
+
constructor(_studio: Studio);
|
|
7
|
+
get type(): 'Theatre_StudioBundle';
|
|
8
|
+
registerCoreBundle(coreBundle: CoreBundle): void;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=StudioBundle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StudioBundle.d.ts","sourceRoot":"","sources":["../../../../studio/src/StudioBundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,0CAA0C,CAAA;AAEtE,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAEpC,MAAM,CAAC,OAAO,OAAO,YAAY;IAEnB,OAAO,CAAC,QAAQ,CAAC,OAAO;IADpC,OAAO,CAAC,WAAW,CAAwB;gBACd,OAAO,EAAE,MAAM;IAC5C,IAAI,IAAI,IAAI,sBAAsB,CAEjC;IAED,kBAAkB,CAAC,UAAU,EAAE,UAAU;CAe1C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default class StudioBundle {
|
|
2
|
+
_studio;
|
|
3
|
+
_coreBundle;
|
|
4
|
+
constructor(_studio) {
|
|
5
|
+
this._studio = _studio;
|
|
6
|
+
}
|
|
7
|
+
get type() {
|
|
8
|
+
return 'Theatre_StudioBundle';
|
|
9
|
+
}
|
|
10
|
+
registerCoreBundle(coreBundle) {
|
|
11
|
+
if (this._coreBundle) {
|
|
12
|
+
throw new Error(`StudioBundle.coreBundle is already registered. This is a bug.`);
|
|
13
|
+
}
|
|
14
|
+
this._coreBundle = coreBundle;
|
|
15
|
+
let coreBits;
|
|
16
|
+
coreBundle.getBitsForStudio(this._studio, (bits) => {
|
|
17
|
+
coreBits = bits;
|
|
18
|
+
});
|
|
19
|
+
this._studio.setCoreBits(coreBits);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { FullStudioState } from '@tomorrowevening/theatre-studio/store';
|
|
2
|
+
import type { IStateEditors } from '@tomorrowevening/theatre-studio/store/stateEditors';
|
|
3
|
+
import type { StudioAhistoricState, StudioEphemeralState, StudioHistoricState } from '@tomorrowevening/theatre-studio/store/types';
|
|
4
|
+
import type { VoidFn } from '@tomorrowevening/theatre-shared/utils/types';
|
|
5
|
+
import type { Pointer } from '@tomorrowevening/theatre-dataverse';
|
|
6
|
+
import type { Draft } from 'immer';
|
|
7
|
+
import type { OnDiskState } from '@tomorrowevening/theatre-core/projects/store/storeTypes';
|
|
8
|
+
import type { ProjectId } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
9
|
+
export type Drafts = {
|
|
10
|
+
historic: Draft<StudioHistoricState>;
|
|
11
|
+
ahistoric: Draft<StudioAhistoricState>;
|
|
12
|
+
ephemeral: Draft<StudioEphemeralState>;
|
|
13
|
+
};
|
|
14
|
+
export interface ITransactionPrivateApi {
|
|
15
|
+
set<T>(pointer: Pointer<T>, value: T): void;
|
|
16
|
+
unset<T>(pointer: Pointer<T>): void;
|
|
17
|
+
drafts: Drafts;
|
|
18
|
+
stateEditors: IStateEditors;
|
|
19
|
+
}
|
|
20
|
+
export type CommitOrDiscard = {
|
|
21
|
+
commit: VoidFn;
|
|
22
|
+
discard: VoidFn;
|
|
23
|
+
};
|
|
24
|
+
export default class StudioStore {
|
|
25
|
+
private readonly _reduxStore;
|
|
26
|
+
private readonly _atom;
|
|
27
|
+
readonly atomP: Pointer<FullStudioState>;
|
|
28
|
+
constructor();
|
|
29
|
+
initialize(opts: {
|
|
30
|
+
persistenceKey: string;
|
|
31
|
+
usePersistentStorage: boolean;
|
|
32
|
+
}): Promise<void>;
|
|
33
|
+
getState(): FullStudioState;
|
|
34
|
+
__experimental_clearPersistentStorage(persistenceKey: string): FullStudioState;
|
|
35
|
+
/**
|
|
36
|
+
* This method causes the store to start the history from scratch. This is useful
|
|
37
|
+
* for testing and development where you want to explicitly provide a state to the
|
|
38
|
+
* store.
|
|
39
|
+
*/
|
|
40
|
+
__dev_startHistoryFromScratch(newHistoricPart: StudioHistoricState): void;
|
|
41
|
+
tempTransaction(fn: (api: ITransactionPrivateApi) => void): CommitOrDiscard;
|
|
42
|
+
undo(): void;
|
|
43
|
+
redo(): void;
|
|
44
|
+
createContentOfSaveFile(projectId: ProjectId): OnDiskState;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=StudioStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StudioStore.d.ts","sourceRoot":"","sources":["../../../../../studio/src/StudioStore/StudioStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAA;AAM1E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAA;AAErF,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,6CAA6C,CAAA;AAKpD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,6CAA6C,CAAA;AACvE,OAAO,KAAK,EAAO,OAAO,EAAC,MAAM,oCAAoC,CAAA;AACrE,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,OAAO,CAAA;AAOhC,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,yDAAyD,CAAA;AAKxF,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,2CAA2C,CAAA;AAExE,MAAM,MAAM,MAAM,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAA;IACpC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAA;IACtC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAA;CACvC,CAAA;AAED,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAA;IAC3C,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,aAAa,CAAA;CAC5B;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwB;IACpD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAC7C,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,CAAA;;IAWxC,UAAU,CAAC,IAAI,EAAE;QACf,cAAc,EAAE,MAAM,CAAA;QACtB,oBAAoB,EAAE,OAAO,CAAA;KAC9B,GAAG,OAAO,CAAC,IAAI,CAAC;IAuBjB,QAAQ,IAAI,eAAe;IAI3B,qCAAqC,CACnC,cAAc,EAAE,MAAM,GACrB,eAAe;IAKlB;;;;OAIG;IACH,6BAA6B,CAAC,eAAe,EAAE,mBAAmB;IAQlE,eAAe,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,sBAAsB,KAAK,IAAI,GAAG,eAAe;IAiE3E,IAAI;IAIJ,IAAI;IAIJ,uBAAuB,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW;CA2E3D"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { studioActions, studioReducer, tempActionGroup, } from '@tomorrowevening/theatre-studio/store';
|
|
2
|
+
import { setDrafts__onlyMeantToBeCalledByTransaction } from '@tomorrowevening/theatre-studio/store/stateEditors';
|
|
3
|
+
import { defer } from '@tomorrowevening/theatre-shared/utils/defer';
|
|
4
|
+
import atomFromReduxStore from '@tomorrowevening/theatre-studio/utils/redux/atomFromReduxStore';
|
|
5
|
+
import configureStore from '@tomorrowevening/theatre-studio/utils/redux/configureStore';
|
|
6
|
+
import { createDraft, finishDraft } from 'immer';
|
|
7
|
+
import { __experimental_clearPersistentStorage, persistStateOfStudio, } from './persistStateOfStudio';
|
|
8
|
+
import { generateDiskStateRevision } from './generateDiskStateRevision';
|
|
9
|
+
import cloneDeep from 'lodash-es/cloneDeep';
|
|
10
|
+
import createTransactionPrivateApi from './createTransactionPrivateApi';
|
|
11
|
+
export default class StudioStore {
|
|
12
|
+
_reduxStore;
|
|
13
|
+
_atom;
|
|
14
|
+
atomP;
|
|
15
|
+
constructor() {
|
|
16
|
+
this._reduxStore = configureStore({
|
|
17
|
+
rootReducer: studioReducer,
|
|
18
|
+
devtoolsOptions: { name: 'Theatre.js Studio' },
|
|
19
|
+
});
|
|
20
|
+
this._atom = atomFromReduxStore(this._reduxStore);
|
|
21
|
+
this.atomP = this._atom.pointer;
|
|
22
|
+
}
|
|
23
|
+
initialize(opts) {
|
|
24
|
+
const d = defer();
|
|
25
|
+
if (opts.usePersistentStorage === true) {
|
|
26
|
+
persistStateOfStudio(this._reduxStore, () => {
|
|
27
|
+
this.tempTransaction(({ drafts }) => {
|
|
28
|
+
drafts.ephemeral.initialised = true;
|
|
29
|
+
}).commit();
|
|
30
|
+
d.resolve();
|
|
31
|
+
}, opts.persistenceKey);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this.tempTransaction(({ drafts }) => {
|
|
35
|
+
drafts.ephemeral.initialised = true;
|
|
36
|
+
}).commit();
|
|
37
|
+
d.resolve();
|
|
38
|
+
}
|
|
39
|
+
return d.promise;
|
|
40
|
+
}
|
|
41
|
+
getState() {
|
|
42
|
+
return this._reduxStore.getState();
|
|
43
|
+
}
|
|
44
|
+
__experimental_clearPersistentStorage(persistenceKey) {
|
|
45
|
+
__experimental_clearPersistentStorage(this._reduxStore, persistenceKey);
|
|
46
|
+
return this.getState();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* This method causes the store to start the history from scratch. This is useful
|
|
50
|
+
* for testing and development where you want to explicitly provide a state to the
|
|
51
|
+
* store.
|
|
52
|
+
*/
|
|
53
|
+
__dev_startHistoryFromScratch(newHistoricPart) {
|
|
54
|
+
this._reduxStore.dispatch(studioActions.historic.startHistoryFromScratch(studioActions.reduceParts((s) => ({ ...s, historic: newHistoricPart }))));
|
|
55
|
+
}
|
|
56
|
+
tempTransaction(fn) {
|
|
57
|
+
const group = tempActionGroup();
|
|
58
|
+
let errorDuringTransaction = undefined;
|
|
59
|
+
const action = group.push(studioActions.reduceParts((wholeState) => {
|
|
60
|
+
const drafts = {
|
|
61
|
+
historic: createDraft(wholeState.historic),
|
|
62
|
+
ahistoric: createDraft(wholeState.ahistoric),
|
|
63
|
+
ephemeral: createDraft(wholeState.ephemeral),
|
|
64
|
+
};
|
|
65
|
+
let running = true;
|
|
66
|
+
let ensureRunning = () => {
|
|
67
|
+
if (!running) {
|
|
68
|
+
throw new Error(`You seem to have called the transaction api after studio.transaction() has finished running`);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const stateEditors = setDrafts__onlyMeantToBeCalledByTransaction(drafts);
|
|
72
|
+
const api = createTransactionPrivateApi(ensureRunning, stateEditors, drafts);
|
|
73
|
+
try {
|
|
74
|
+
fn(api);
|
|
75
|
+
running = false;
|
|
76
|
+
return {
|
|
77
|
+
historic: finishDraft(drafts.historic),
|
|
78
|
+
ahistoric: finishDraft(drafts.ahistoric),
|
|
79
|
+
ephemeral: finishDraft(drafts.ephemeral),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
catch (err) {
|
|
83
|
+
errorDuringTransaction = err;
|
|
84
|
+
return wholeState;
|
|
85
|
+
}
|
|
86
|
+
finally {
|
|
87
|
+
setDrafts__onlyMeantToBeCalledByTransaction(undefined);
|
|
88
|
+
}
|
|
89
|
+
}));
|
|
90
|
+
this._reduxStore.dispatch(action);
|
|
91
|
+
if (errorDuringTransaction) {
|
|
92
|
+
this._reduxStore.dispatch(group.discard());
|
|
93
|
+
// eslint-disable-next-line @typescript-eslint/no-throw-literal
|
|
94
|
+
throw errorDuringTransaction;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
commit: () => {
|
|
98
|
+
this._reduxStore.dispatch(group.commit());
|
|
99
|
+
},
|
|
100
|
+
discard: () => {
|
|
101
|
+
this._reduxStore.dispatch(group.discard());
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
undo() {
|
|
106
|
+
this._reduxStore.dispatch(studioActions.historic.undo());
|
|
107
|
+
}
|
|
108
|
+
redo() {
|
|
109
|
+
this._reduxStore.dispatch(studioActions.historic.redo());
|
|
110
|
+
}
|
|
111
|
+
createContentOfSaveFile(projectId) {
|
|
112
|
+
const projectState = this._reduxStore.getState().$persistent.historic.innerState.coreByProject[projectId];
|
|
113
|
+
if (!projectState) {
|
|
114
|
+
throw new Error(`Project ${projectId} has not been initialized.`);
|
|
115
|
+
}
|
|
116
|
+
const revision = generateDiskStateRevision();
|
|
117
|
+
this.tempTransaction(({ stateEditors }) => {
|
|
118
|
+
stateEditors.coreByProject.historic.revisionHistory.add({
|
|
119
|
+
projectId,
|
|
120
|
+
revision,
|
|
121
|
+
});
|
|
122
|
+
}).commit();
|
|
123
|
+
const projectHistoricState = this._reduxStore.getState().$persistent.historic.innerState.coreByProject[projectId];
|
|
124
|
+
const studioState = this._reduxStore.getState().$persistent.historic.innerState.projects
|
|
125
|
+
?.stateByProjectId[projectId];
|
|
126
|
+
const generatedOnDiskState = cloneDeep(projectHistoricState);
|
|
127
|
+
// Copy markers from studio state to the exported state
|
|
128
|
+
if (studioState?.stateBySheetId) {
|
|
129
|
+
for (const [sheetId, sheetState] of Object.entries(studioState.stateBySheetId)) {
|
|
130
|
+
if (sheetState?.sequenceEditor?.markerSet) {
|
|
131
|
+
const markerSet = sheetState.sequenceEditor.markerSet;
|
|
132
|
+
if (markerSet.allIds && Object.keys(markerSet.allIds).length > 0) {
|
|
133
|
+
// Ensure the sheet exists in the generated state
|
|
134
|
+
if (!generatedOnDiskState.sheetsById[sheetId]) {
|
|
135
|
+
generatedOnDiskState.sheetsById[sheetId] = {
|
|
136
|
+
staticOverrides: { byObject: {} },
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
const sheet = generatedOnDiskState.sheetsById[sheetId];
|
|
140
|
+
if (sheet !== undefined) {
|
|
141
|
+
// Ensure the sequence exists
|
|
142
|
+
if (!sheet.sequence) {
|
|
143
|
+
sheet.sequence = {
|
|
144
|
+
type: 'PositionalSequence',
|
|
145
|
+
length: 10,
|
|
146
|
+
subUnitsPerUnit: 30,
|
|
147
|
+
tracksByObject: {},
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
// Convert PointableSet to array
|
|
151
|
+
const markers = Object.entries(markerSet.byId)
|
|
152
|
+
.map(([id, marker]) => marker)
|
|
153
|
+
.filter((marker) => marker !== undefined)
|
|
154
|
+
.sort((a, b) => a.position - b.position);
|
|
155
|
+
sheet.sequence.markers = markers;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return generatedOnDiskState;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ITransactionPrivateApi } from './StudioStore';
|
|
2
|
+
export default function createTransactionPrivateApi(ensureRunning: () => void, stateEditors: ITransactionPrivateApi['stateEditors'], drafts: ITransactionPrivateApi['drafts']): ITransactionPrivateApi;
|
|
3
|
+
//# sourceMappingURL=createTransactionPrivateApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTransactionPrivateApi.d.ts","sourceRoot":"","sources":["../../../../../studio/src/StudioStore/createTransactionPrivateApi.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAsEzD,MAAM,CAAC,OAAO,UAAU,2BAA2B,CACjD,aAAa,EAAE,MAAM,IAAI,EACzB,YAAY,EAAE,sBAAsB,CAAC,cAAc,CAAC,EACpD,MAAM,EAAE,sBAAsB,CAAC,QAAQ,CAAC,GACvC,sBAAsB,CAgNxB"}
|