@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 @@
|
|
|
1
|
+
{"version":3,"file":"useOnKeyDown.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useOnKeyDown.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,aAAa,KAAK,IAAI,QAUzE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useEffect, useRef } from 'react';
|
|
2
|
+
export default function useOnKeyDown(callback) {
|
|
3
|
+
const ref = useRef(callback);
|
|
4
|
+
ref.current = callback;
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
const onKeyDown = (ev) => ref.current(ev);
|
|
7
|
+
window.addEventListener('keydown', onKeyDown);
|
|
8
|
+
return () => {
|
|
9
|
+
window.removeEventListener('keydown', onKeyDown);
|
|
10
|
+
};
|
|
11
|
+
}, []);
|
|
12
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { StudioSheetItemKey } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/** To mean the presence value */
|
|
4
|
+
export declare enum PresenceFlag {
|
|
5
|
+
/** Self is hovered or what represents "self" is being hovered */
|
|
6
|
+
Primary = 2,
|
|
7
|
+
/** Related item is hovered */
|
|
8
|
+
Secondary = 1
|
|
9
|
+
}
|
|
10
|
+
type FlagRelationConfig = {
|
|
11
|
+
affects: StudioSheetItemKey;
|
|
12
|
+
/** adds this flag to affects */
|
|
13
|
+
flag: PresenceFlag;
|
|
14
|
+
};
|
|
15
|
+
type InternalPresenceContext = {
|
|
16
|
+
usePresenceFlag(itemKey: StudioSheetItemKey | undefined): PresenceFlag | undefined;
|
|
17
|
+
setUserHover(itemKey: StudioSheetItemKey | undefined): void;
|
|
18
|
+
addRelatedFlags(itemKey: StudioSheetItemKey, config: Array<FlagRelationConfig>): () => void;
|
|
19
|
+
};
|
|
20
|
+
export declare function ProvidePresenceRoot({ children }: React.PropsWithChildren<{}>): React.FunctionComponentElement<React.ProviderProps<InternalPresenceContext>>;
|
|
21
|
+
export default function usePresence(key: StudioSheetItemKey | undefined): {
|
|
22
|
+
attrs: {
|
|
23
|
+
[attr: `data-${string}`]: string;
|
|
24
|
+
};
|
|
25
|
+
flag: PresenceFlag | undefined;
|
|
26
|
+
useRelations(getRelations: () => Array<FlagRelationConfig>, deps: any[]): void;
|
|
27
|
+
};
|
|
28
|
+
export declare function usePresenceListenersOnRootElement(target: HTMLElement | null | undefined): void;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=usePresence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePresence.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/usePresence.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,2CAA2C,CAAA;AAEjF,OAAO,KAAgB,MAAM,OAAO,CAAA;AASpC,iCAAiC;AACjC,oBAAY,YAAY;IACtB,iEAAiE;IACjE,OAAO,IAAI;IACX,8BAA8B;IAC9B,SAAS,IAAI;CAGd;AAoGD,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,kBAAkB,CAAA;IAC3B,gCAAgC;IAChC,IAAI,EAAE,YAAY,CAAA;CACnB,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,eAAe,CACb,OAAO,EAAE,kBAAkB,GAAG,SAAS,GACtC,YAAY,GAAG,SAAS,CAAA;IAC3B,YAAY,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI,CAAA;IAC3D,eAAe,CACb,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAChC,MAAM,IAAI,CAAA;CACd,CAAA;AAKD,wBAAgB,mBAAmB,CAAC,EAAC,QAAQ,EAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC,gFAO1E;AAID,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,GAAG,EAAE,kBAAkB,GAAG,SAAS,GAAG;IACxE,KAAK,EAAE;QAAC,CAAC,IAAI,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,CAAA;KAAC,CAAA;IACzC,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;IAC9B,YAAY,CAAC,YAAY,EAAE,MAAM,KAAK,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAA;CAC/E,CAeA;AAED,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,QA8CvC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
import { useLogger } from './useLogger';
|
|
4
|
+
import { prism, pointerToPrism } from '@tomorrowevening/theatre-dataverse';
|
|
5
|
+
import { Atom } from '@tomorrowevening/theatre-dataverse';
|
|
6
|
+
import { usePrismInstance } from '@tomorrowevening/theatre-react';
|
|
7
|
+
import { selectClosestHTMLAncestor } from '@tomorrowevening/theatre-studio/utils/selectClosestHTMLAncestor';
|
|
8
|
+
import pointerDeep from '@tomorrowevening/theatre-shared/utils/pointerDeep';
|
|
9
|
+
/** To mean the presence value */
|
|
10
|
+
export var PresenceFlag;
|
|
11
|
+
(function (PresenceFlag) {
|
|
12
|
+
/** Self is hovered or what represents "self" is being hovered */
|
|
13
|
+
PresenceFlag[PresenceFlag["Primary"] = 2] = "Primary";
|
|
14
|
+
/** Related item is hovered */
|
|
15
|
+
PresenceFlag[PresenceFlag["Secondary"] = 1] = "Secondary";
|
|
16
|
+
// /** Tutorial */
|
|
17
|
+
// TutorialEmphasis = 0,
|
|
18
|
+
})(PresenceFlag || (PresenceFlag = {}));
|
|
19
|
+
const undefinedD = prism(() => undefined);
|
|
20
|
+
undefinedD.keepHot(); // constant anyway...
|
|
21
|
+
function createPresenceContext(options) {
|
|
22
|
+
const currentUserHoverItemB = new Atom(undefined);
|
|
23
|
+
const currentUserHoverFlagItemsAtom = new Atom({});
|
|
24
|
+
// keep as part of presence creation
|
|
25
|
+
const relationsAtom = new Atom({});
|
|
26
|
+
let lastRelationId = 0;
|
|
27
|
+
return {
|
|
28
|
+
addRelatedFlags(itemKey, relationships) {
|
|
29
|
+
const relationId = String(++lastRelationId);
|
|
30
|
+
// "clean up" paths returned from relationships declared
|
|
31
|
+
const undoAtPaths = relationships.map((rel) => {
|
|
32
|
+
const presence = {
|
|
33
|
+
flag: rel.flag,
|
|
34
|
+
};
|
|
35
|
+
const path = [rel.affects, itemKey, relationId];
|
|
36
|
+
relationsAtom.setByPointer((p) => pointerDeep(p, path), presence);
|
|
37
|
+
return path;
|
|
38
|
+
});
|
|
39
|
+
return () => {
|
|
40
|
+
for (const pathToUndo of undoAtPaths) {
|
|
41
|
+
relationsAtom.setByPointer((p) => pointerDeep(p, pathToUndo), undefined);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
usePresenceFlag(itemKey) {
|
|
46
|
+
if (!options.enabled)
|
|
47
|
+
return undefined;
|
|
48
|
+
const focusD = useMemo(() => {
|
|
49
|
+
if (!itemKey)
|
|
50
|
+
return undefinedD;
|
|
51
|
+
// this is the thing being hovered
|
|
52
|
+
const currentD = currentUserHoverItemB.prism;
|
|
53
|
+
const primaryFocusDer = pointerToPrism(currentUserHoverFlagItemsAtom.pointer[itemKey]);
|
|
54
|
+
const relationsDer = pointerToPrism(relationsAtom.pointer[itemKey]);
|
|
55
|
+
return prism(() => {
|
|
56
|
+
const primary = primaryFocusDer.getValue();
|
|
57
|
+
if (primary) {
|
|
58
|
+
return PresenceFlag.Primary;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const related = relationsDer.getValue();
|
|
62
|
+
const current = currentD.getValue();
|
|
63
|
+
const rels = related && current && related[current];
|
|
64
|
+
if (rels) {
|
|
65
|
+
// can this be cached into a derived atom?
|
|
66
|
+
let best;
|
|
67
|
+
for (const rel of Object.values(rels)) {
|
|
68
|
+
if (!rel)
|
|
69
|
+
continue;
|
|
70
|
+
if (best && best >= rel.flag)
|
|
71
|
+
continue;
|
|
72
|
+
best = rel.flag;
|
|
73
|
+
}
|
|
74
|
+
return best;
|
|
75
|
+
}
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}, [itemKey]);
|
|
80
|
+
return usePrismInstance(focusD);
|
|
81
|
+
},
|
|
82
|
+
setUserHover(itemKeyOpt) {
|
|
83
|
+
const prev = currentUserHoverItemB.get();
|
|
84
|
+
if (prev === itemKeyOpt) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (prev) {
|
|
88
|
+
currentUserHoverFlagItemsAtom.setByPointer((p) => p[prev], false);
|
|
89
|
+
}
|
|
90
|
+
currentUserHoverItemB.set(itemKeyOpt);
|
|
91
|
+
if (itemKeyOpt) {
|
|
92
|
+
currentUserHoverFlagItemsAtom.setByPointer((p) => p[itemKeyOpt], true);
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
const presenceInternalCtx = React.createContext(createPresenceContext({ enabled: false }));
|
|
98
|
+
export function ProvidePresenceRoot({ children }) {
|
|
99
|
+
const presence = useMemo(() => createPresenceContext({ enabled: false }), []);
|
|
100
|
+
return React.createElement(presenceInternalCtx.Provider, { children, value: presence }, children);
|
|
101
|
+
}
|
|
102
|
+
const PRESENCE_ITEM_DATA_ATTR = 'data-pi-key';
|
|
103
|
+
export default function usePresence(key) {
|
|
104
|
+
const presenceInternal = React.useContext(presenceInternalCtx);
|
|
105
|
+
const flag = presenceInternal.usePresenceFlag(key);
|
|
106
|
+
return {
|
|
107
|
+
attrs: {
|
|
108
|
+
[PRESENCE_ITEM_DATA_ATTR]: key,
|
|
109
|
+
},
|
|
110
|
+
flag,
|
|
111
|
+
useRelations(getRelations, deps) {
|
|
112
|
+
useEffect(() => {
|
|
113
|
+
return key && presenceInternal.addRelatedFlags(key, getRelations());
|
|
114
|
+
}, [key, ...deps]);
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
export function usePresenceListenersOnRootElement(target) {
|
|
119
|
+
const presence = React.useContext(presenceInternalCtx);
|
|
120
|
+
const logger = useLogger('PresenceListeners');
|
|
121
|
+
useEffect(() => {
|
|
122
|
+
// keep track of current primary hover to make sure we make changes to presence distinct
|
|
123
|
+
let currentItemKeyUserHover;
|
|
124
|
+
if (!target)
|
|
125
|
+
return;
|
|
126
|
+
const onMouseOver = (event) => {
|
|
127
|
+
if (event.target instanceof Node) {
|
|
128
|
+
const found = selectClosestHTMLAncestor(event.target, `[${PRESENCE_ITEM_DATA_ATTR}]`);
|
|
129
|
+
if (found) {
|
|
130
|
+
const itemKey = found.getAttribute(PRESENCE_ITEM_DATA_ATTR);
|
|
131
|
+
if (currentItemKeyUserHover !== itemKey) {
|
|
132
|
+
currentItemKeyUserHover = itemKey;
|
|
133
|
+
presence.setUserHover((itemKey || undefined));
|
|
134
|
+
logger._debug('Updated current hover', { itemKey });
|
|
135
|
+
}
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
// remove hover
|
|
139
|
+
if (currentItemKeyUserHover != null) {
|
|
140
|
+
currentItemKeyUserHover = null;
|
|
141
|
+
presence.setUserHover(undefined);
|
|
142
|
+
logger._debug('Cleared current hover');
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
target.addEventListener('mouseover', onMouseOver);
|
|
147
|
+
return () => {
|
|
148
|
+
target.removeEventListener('mouseover', onMouseOver);
|
|
149
|
+
// remove hover
|
|
150
|
+
if (currentItemKeyUserHover != null) {
|
|
151
|
+
currentItemKeyUserHover = null;
|
|
152
|
+
logger._debug('Cleared current hover as part of cleanup');
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
}, [target, presence]);
|
|
156
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useValToAtom.d.ts","sourceRoot":"","sources":["../../../../../studio/src/uiComponents/useValToAtom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,oCAAoC,CAAA;AAGvD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAUvD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Atom } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import { useLayoutEffect, useMemo } from 'react';
|
|
3
|
+
export default function useValToAtom(val) {
|
|
4
|
+
const atom = useMemo(() => {
|
|
5
|
+
return new Atom(val);
|
|
6
|
+
}, []);
|
|
7
|
+
useLayoutEffect(() => {
|
|
8
|
+
atom.set(val);
|
|
9
|
+
}, [val]);
|
|
10
|
+
return atom;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"absoluteDims.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/absoluteDims.tsx"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,eAAO,MAAM,YAAY,MAAO,MAAM,uBAKrC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export declare function registerContextualWebComponent<Props>(ReactComponent: React.ComponentType<Props>, componentName: string, propKeys: {
|
|
3
|
+
[propKey in keyof Props]: 'string';
|
|
4
|
+
}): void;
|
|
5
|
+
//# sourceMappingURL=contextualWebComponents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextualWebComponents.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/contextualWebComponents.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,wBAAgB,8BAA8B,CAAC,KAAK,EAClD,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,EAC1C,aAAa,EAAE,MAAM,EAErB,QAAQ,EAAE;KAAE,OAAO,IAAI,MAAM,KAAK,GAAG,QAAQ;CAAC,GAC7C,IAAI,CAgDN"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { getMounter } from './renderInPortalInContext';
|
|
2
|
+
export function registerContextualWebComponent(ReactComponent, componentName,
|
|
3
|
+
// currently only supporting string prop types
|
|
4
|
+
propKeys) {
|
|
5
|
+
if (typeof window === 'undefined' || typeof customElements === 'undefined')
|
|
6
|
+
return;
|
|
7
|
+
const propList = Object.keys(propKeys);
|
|
8
|
+
class CustomWebComponent extends HTMLElement {
|
|
9
|
+
_mounted = false;
|
|
10
|
+
_mountOrRender;
|
|
11
|
+
_unmount;
|
|
12
|
+
static get observedAttributes() {
|
|
13
|
+
return propList;
|
|
14
|
+
}
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
const { mountOrRender, unmount } = getMounter();
|
|
18
|
+
this._mountOrRender = mountOrRender;
|
|
19
|
+
this._unmount = unmount;
|
|
20
|
+
}
|
|
21
|
+
connectedCallback() {
|
|
22
|
+
// const shadow = this.attachShadow({mode: 'open'})
|
|
23
|
+
this._mounted = true;
|
|
24
|
+
this._render();
|
|
25
|
+
}
|
|
26
|
+
_render() {
|
|
27
|
+
const props = Object.fromEntries(propList.map((propName) => [
|
|
28
|
+
propName,
|
|
29
|
+
this.getAttribute(propName),
|
|
30
|
+
]));
|
|
31
|
+
this._mountOrRender(ReactComponent, props, this);
|
|
32
|
+
}
|
|
33
|
+
attributeChangedCallback() {
|
|
34
|
+
if (!this._mounted)
|
|
35
|
+
return;
|
|
36
|
+
this._render();
|
|
37
|
+
}
|
|
38
|
+
disconnectedCallback() {
|
|
39
|
+
this._mounted = false;
|
|
40
|
+
this._unmount();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
customElements.define(componentName, CustomWebComponent);
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyToClipboard.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/copyToClipboard.ts"],"names":[],"mappings":"AAAA,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAyBpE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export async function copyToClipboard(text) {
|
|
2
|
+
if (navigator.clipboard) {
|
|
3
|
+
return navigator.clipboard
|
|
4
|
+
.writeText(text)
|
|
5
|
+
.then(() => {
|
|
6
|
+
return true;
|
|
7
|
+
})
|
|
8
|
+
.catch(() => {
|
|
9
|
+
return false;
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
const tempTextArea = document.createElement('textarea');
|
|
14
|
+
tempTextArea.value = text;
|
|
15
|
+
document.body.appendChild(tempTextArea);
|
|
16
|
+
tempTextArea.focus();
|
|
17
|
+
tempTextArea.select();
|
|
18
|
+
try {
|
|
19
|
+
const successful = document.execCommand('copy');
|
|
20
|
+
document.body.removeChild(tempTextArea);
|
|
21
|
+
return Promise.resolve(successful);
|
|
22
|
+
}
|
|
23
|
+
catch (err) {
|
|
24
|
+
document.body.removeChild(tempTextArea);
|
|
25
|
+
return Promise.resolve(false);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Prism, Pointer } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export type $<T> = Prism<T> | Pointer<T>;
|
|
4
|
+
/** This is only used for type checking to make sure the APIs are used properly */
|
|
5
|
+
interface TSErrors<M> extends Error {
|
|
6
|
+
}
|
|
7
|
+
type ReactDeriver<Props extends {}> = (props: {
|
|
8
|
+
[P in keyof Props]: Props[P] extends Prism<infer _> ? TSErrors<"Can't both use Derivation properties while wrapping with deriver"> : Props[P] | Prism<Props[P]>;
|
|
9
|
+
}) => React.ReactElement | null;
|
|
10
|
+
/**
|
|
11
|
+
* Wrap up the component to enable it to take derivable properties.
|
|
12
|
+
* Invoked similarly to `React.memo`.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* This is an experimental interface for wrapping components in a version
|
|
16
|
+
* which allows you to pass in derivations for any of the properties that
|
|
17
|
+
* previously took only values.
|
|
18
|
+
*/
|
|
19
|
+
export declare function deriver<Props extends {}>(Component: React.ComponentType<Props>): ReactDeriver<Omit<Props, keyof JSX.IntrinsicAttributes>>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=derive-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"derive-utils.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/derive-utils.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,KAAK,EAAE,OAAO,EAAC,MAAM,oCAAoC,CAAA;AAGtE,OAAO,KAAwB,MAAM,OAAO,CAAA;AAS5C,MAAM,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;AAwBxC,kFAAkF;AAClF,UAAU,QAAQ,CAAC,CAAC,CAAE,SAAQ,KAAK;CAAG;AAEtC,KAAK,YAAY,CAAC,KAAK,SAAS,EAAE,IAAI,CACpC,KAAK,EAAE;KACJ,CAAC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GAC/C,QAAQ,CAAC,kEAAkE,CAAC,GAC5E,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;CAC/B,KACE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;AAE9B;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,KAAK,SAAS,EAAE,EACtC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,GACpC,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,mBAAmB,CAAC,CAAC,CA4C1D"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { isPrism, prism, val } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import { usePrismInstance } from '@tomorrowevening/theatre-react';
|
|
3
|
+
import React, { useMemo, useRef } from 'react';
|
|
4
|
+
import { invariant } from './invariant';
|
|
5
|
+
function deriveAllD(obj) {
|
|
6
|
+
return prism(() => {
|
|
7
|
+
if (Array.isArray(obj)) {
|
|
8
|
+
const values = new Array(obj.length);
|
|
9
|
+
for (let i = 0; i < obj.length; i++) {
|
|
10
|
+
values[i] = obj[i].getValue();
|
|
11
|
+
}
|
|
12
|
+
return values;
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
const values = {};
|
|
16
|
+
for (const k in obj) {
|
|
17
|
+
values[k] = val(obj[k]);
|
|
18
|
+
}
|
|
19
|
+
return values;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Wrap up the component to enable it to take derivable properties.
|
|
25
|
+
* Invoked similarly to `React.memo`.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* This is an experimental interface for wrapping components in a version
|
|
29
|
+
* which allows you to pass in derivations for any of the properties that
|
|
30
|
+
* previously took only values.
|
|
31
|
+
*/
|
|
32
|
+
export function deriver(Component) {
|
|
33
|
+
const finalComp = React.memo(React.forwardRef(function deriverRender(props, ref) {
|
|
34
|
+
let observableArr = [];
|
|
35
|
+
const observables = {};
|
|
36
|
+
const normalProps = {
|
|
37
|
+
ref,
|
|
38
|
+
};
|
|
39
|
+
for (const key in props) {
|
|
40
|
+
const value = props[key];
|
|
41
|
+
if (isPrism(value)) {
|
|
42
|
+
observableArr.push(value);
|
|
43
|
+
observables[key] = value;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
normalProps[key] = value;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
const initialCount = useRef(observableArr.length);
|
|
50
|
+
invariant(initialCount.current === observableArr.length, `expect same number of observable props on every invocation of deriver wrapped component.`, { initial: initialCount.current, count: observableArr.length });
|
|
51
|
+
const allD = useMemo(() => deriveAllD(observables), observableArr);
|
|
52
|
+
const observedPropState = usePrismInstance(allD);
|
|
53
|
+
return (observedPropState &&
|
|
54
|
+
React.createElement(Component, {
|
|
55
|
+
...normalProps,
|
|
56
|
+
...observedPropState,
|
|
57
|
+
}));
|
|
58
|
+
}));
|
|
59
|
+
finalComp.displayName = `deriver(${Component.displayName})`;
|
|
60
|
+
return finalComp;
|
|
61
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stringifies any value given. If an object is given and `indentJSON` is true,
|
|
3
|
+
* then a developer-readable, command line friendly (not too spaced out, but with
|
|
4
|
+
* enough whitespace to be readable).
|
|
5
|
+
*/
|
|
6
|
+
export declare function devStringify(input: any, indentJSON?: boolean): string;
|
|
7
|
+
//# sourceMappingURL=devStringify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devStringify.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/devStringify.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,GAAE,OAAc,GAAG,MAAM,CAY3E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { tightJsonStringify } from './tightJsonStringify';
|
|
2
|
+
/**
|
|
3
|
+
* Stringifies any value given. If an object is given and `indentJSON` is true,
|
|
4
|
+
* then a developer-readable, command line friendly (not too spaced out, but with
|
|
5
|
+
* enough whitespace to be readable).
|
|
6
|
+
*/
|
|
7
|
+
export function devStringify(input, indentJSON = true) {
|
|
8
|
+
try {
|
|
9
|
+
return typeof input === 'string'
|
|
10
|
+
? input
|
|
11
|
+
: typeof input === 'function' || input instanceof Error
|
|
12
|
+
? input.toString()
|
|
13
|
+
: indentJSON
|
|
14
|
+
? tightJsonStringify(input)
|
|
15
|
+
: JSON.stringify(input);
|
|
16
|
+
}
|
|
17
|
+
catch (err) {
|
|
18
|
+
return input?.name || String(input);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type AllowedMessageTypes = string | number | object;
|
|
2
|
+
/**
|
|
3
|
+
* invariants are like `expect` from jest or another testing library but
|
|
4
|
+
* for use in implementations and not just tests. If the `condition` passed
|
|
5
|
+
* to `invariant` is falsy then `message`, and optionally `found`, are thrown as a
|
|
6
|
+
* {@link InvariantError} which has a developer-readable and command line friendly
|
|
7
|
+
* stack trace and error message.
|
|
8
|
+
*/
|
|
9
|
+
export declare function invariant(shouldBeTruthy: any, message: (() => AllowedMessageTypes) | AllowedMessageTypes, butFoundInstead?: any): asserts shouldBeTruthy;
|
|
10
|
+
/**
|
|
11
|
+
* Throws an error message with a developer-readable and command line friendly
|
|
12
|
+
* string of the argument `butFoundInstead`.
|
|
13
|
+
*
|
|
14
|
+
* Also see {@link invariant}, which accepts a condition.
|
|
15
|
+
*/
|
|
16
|
+
export declare function invariantThrow(message: (() => AllowedMessageTypes) | AllowedMessageTypes, butFoundInstead?: any): never;
|
|
17
|
+
/**
|
|
18
|
+
* Enable exhaustive checking
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* function a(x: 'a' | 'b') {
|
|
23
|
+
* if (x === 'a') {
|
|
24
|
+
*
|
|
25
|
+
* } else if (x === 'b') {
|
|
26
|
+
*
|
|
27
|
+
* } else {
|
|
28
|
+
* invariantUnreachable(x)
|
|
29
|
+
* }
|
|
30
|
+
* }
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare function invariantUnreachable(x: never): never;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=invariant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/invariant.ts"],"names":[],"mappings":"AAEA,KAAK,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAEnD;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,cAAc,EAAE,GAAG,EACnB,OAAO,EAAE,CAAC,MAAM,mBAAmB,CAAC,GAAG,mBAAmB,EAC1D,eAAe,CAAC,EAAE,GAAG,GACpB,OAAO,CAAC,cAAc,CASxB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,CAAC,MAAM,mBAAmB,CAAC,GAAG,mBAAmB,EAC1D,eAAe,CAAC,EAAE,GAAG,GACpB,KAAK,CASP;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK,CAKpD"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { devStringify } from './devStringify';
|
|
2
|
+
/**
|
|
3
|
+
* invariants are like `expect` from jest or another testing library but
|
|
4
|
+
* for use in implementations and not just tests. If the `condition` passed
|
|
5
|
+
* to `invariant` is falsy then `message`, and optionally `found`, are thrown as a
|
|
6
|
+
* {@link InvariantError} which has a developer-readable and command line friendly
|
|
7
|
+
* stack trace and error message.
|
|
8
|
+
*/
|
|
9
|
+
export function invariant(shouldBeTruthy, message, butFoundInstead) {
|
|
10
|
+
if (!shouldBeTruthy) {
|
|
11
|
+
const isFoundArgGiven = arguments.length > 2;
|
|
12
|
+
if (isFoundArgGiven) {
|
|
13
|
+
invariantThrow(message, butFoundInstead);
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
invariantThrow(message);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Throws an error message with a developer-readable and command line friendly
|
|
22
|
+
* string of the argument `butFoundInstead`.
|
|
23
|
+
*
|
|
24
|
+
* Also see {@link invariant}, which accepts a condition.
|
|
25
|
+
*/
|
|
26
|
+
export function invariantThrow(message, butFoundInstead) {
|
|
27
|
+
const isFoundArgGiven = arguments.length > 1;
|
|
28
|
+
const prefix = devStringify(typeof message === 'function' ? message() : message);
|
|
29
|
+
const suffix = isFoundArgGiven
|
|
30
|
+
? `\nInstead found: ${devStringify(butFoundInstead)}`
|
|
31
|
+
: '';
|
|
32
|
+
throw new InvariantError(`Invariant: ${prefix}${suffix}`, butFoundInstead);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Enable exhaustive checking
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* function a(x: 'a' | 'b') {
|
|
40
|
+
* if (x === 'a') {
|
|
41
|
+
*
|
|
42
|
+
* } else if (x === 'b') {
|
|
43
|
+
*
|
|
44
|
+
* } else {
|
|
45
|
+
* invariantUnreachable(x)
|
|
46
|
+
* }
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export function invariantUnreachable(x) {
|
|
51
|
+
invariantThrow('invariantUnreachable encountered value which was supposed to be never', x);
|
|
52
|
+
}
|
|
53
|
+
// regexes to remove lines from thrown error stacktraces
|
|
54
|
+
const AT_NODE_INTERNAL_RE = /^\s*at.+node:internal.+/gm;
|
|
55
|
+
const AT_INVARIANT_RE = /^\s*(at|[^@]+@) (?:Object\.)?invariant.+/gm;
|
|
56
|
+
const AT_TEST_HELPERS_RE = /^\s*(at|[^@]+@).+test\-helpers.+/gm;
|
|
57
|
+
// const AT_WEB_MODULES = /^\s*(at|[^@]+@).+(web_modules|\-[a-f0-9]{8}\.js).*/gm
|
|
58
|
+
const AT_ASSORTED_HELPERS_RE = /^\s*(at|[^@]+@).+(debounce|invariant|iif)\.[tj]s.*/gm;
|
|
59
|
+
/**
|
|
60
|
+
* `InvariantError` removes lines from the `Error.stack` stack trace string
|
|
61
|
+
* which cleans up the stack trace, making it more developer friendly to read.
|
|
62
|
+
*/
|
|
63
|
+
class InvariantError extends Error {
|
|
64
|
+
found;
|
|
65
|
+
constructor(message, found) {
|
|
66
|
+
super(message);
|
|
67
|
+
if (found !== undefined) {
|
|
68
|
+
this.found = found;
|
|
69
|
+
}
|
|
70
|
+
// const before = this.stack
|
|
71
|
+
// prettier-ignore
|
|
72
|
+
this.stack = this.stack
|
|
73
|
+
?.replace(AT_INVARIANT_RE, "")
|
|
74
|
+
.replace(AT_ASSORTED_HELPERS_RE, "")
|
|
75
|
+
.replace(AT_TEST_HELPERS_RE, "")
|
|
76
|
+
.replace(AT_NODE_INTERNAL_RE, "");
|
|
77
|
+
// console.error({ before, after: this.stack })
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isMac.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/isMac.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,SAEoC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* On mac, it checks Cmd, on windows, ctrl
|
|
3
|
+
*/
|
|
4
|
+
export declare const cmdIsDown: (e: KeyboardEvent | MouseEvent) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* On mac, it checks for ctrl, on windows, Win
|
|
7
|
+
*/
|
|
8
|
+
export declare const ctrlIsDown: (e: KeyboardEvent | MouseEvent) => boolean;
|
|
9
|
+
//# sourceMappingURL=keyboardUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboardUtils.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/keyboardUtils.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,SAAS,MAAO,aAAa,GAAG,UAAU,YAMtD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,MAAO,aAAa,GAAG,UAAU,YAMvD,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { isMac } from './isMac';
|
|
2
|
+
/**
|
|
3
|
+
* On mac, it checks Cmd, on windows, ctrl
|
|
4
|
+
*/
|
|
5
|
+
export const cmdIsDown = (e) => {
|
|
6
|
+
if (isMac) {
|
|
7
|
+
return e.metaKey === true;
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
return e.ctrlKey === true;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* On mac, it checks for ctrl, on windows, Win
|
|
15
|
+
*/
|
|
16
|
+
export const ctrlIsDown = (e) => {
|
|
17
|
+
if (isMac) {
|
|
18
|
+
return e.ctrlKey === true;
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
return e.metaKey === true;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mousePositionD.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/mousePositionD.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,QAAA,MAAM,cAAc,uEAkBlB,CAAA;AAEF,eAAe,cAAc,CAAA"}
|