@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.
Files changed (822) hide show
  1. package/dist/IDBStorage.d.ts +16 -0
  2. package/dist/IDBStorage.d.ts.map +1 -0
  3. package/dist/IDBStorage.js +19 -0
  4. package/dist/PaneManager.d.ts +16 -0
  5. package/dist/PaneManager.d.ts.map +1 -0
  6. package/dist/PaneManager.js +112 -0
  7. package/dist/Scrub.d.ts +83 -0
  8. package/dist/Scrub.d.ts.map +1 -0
  9. package/dist/Scrub.js +134 -0
  10. package/dist/Studio.d.ts +79 -0
  11. package/dist/Studio.d.ts.map +1 -0
  12. package/dist/Studio.js +405 -0
  13. package/dist/StudioBundle.d.ts +10 -0
  14. package/dist/StudioBundle.d.ts.map +1 -0
  15. package/dist/StudioBundle.js +21 -0
  16. package/dist/StudioStore/StudioStore.d.ts +46 -0
  17. package/dist/StudioStore/StudioStore.d.ts.map +1 -0
  18. package/dist/StudioStore/StudioStore.js +163 -0
  19. package/dist/StudioStore/createTransactionPrivateApi.d.ts +3 -0
  20. package/dist/StudioStore/createTransactionPrivateApi.d.ts.map +1 -0
  21. package/dist/StudioStore/createTransactionPrivateApi.js +204 -0
  22. package/dist/StudioStore/generateDiskStateRevision.d.ts +2 -0
  23. package/dist/StudioStore/generateDiskStateRevision.d.ts.map +1 -0
  24. package/dist/StudioStore/generateDiskStateRevision.js +4 -0
  25. package/dist/StudioStore/persistStateOfStudio.d.ts +5 -0
  26. package/dist/StudioStore/persistStateOfStudio.d.ts.map +1 -0
  27. package/dist/StudioStore/persistStateOfStudio.js +61 -0
  28. package/dist/TheatreStudio.d.ts +426 -0
  29. package/dist/TheatreStudio.d.ts.map +1 -0
  30. package/dist/TheatreStudio.js +154 -0
  31. package/dist/UI/UI.d.ts +14 -0
  32. package/dist/UI/UI.d.ts.map +1 -0
  33. package/dist/UI/UI.js +65 -0
  34. package/dist/UI/UINonSSRBits.d.ts +10 -0
  35. package/dist/UI/UINonSSRBits.d.ts.map +1 -0
  36. package/dist/UI/UINonSSRBits.js +60 -0
  37. package/dist/UIRoot/PanelsRoot.d.ts +4 -0
  38. package/dist/UIRoot/PanelsRoot.d.ts.map +1 -0
  39. package/dist/UIRoot/PanelsRoot.js +19 -0
  40. package/dist/UIRoot/PointerCapturing.d.ts +46 -0
  41. package/dist/UIRoot/PointerCapturing.d.ts.map +1 -0
  42. package/dist/UIRoot/PointerCapturing.js +96 -0
  43. package/dist/UIRoot/ProvideTheme.d.ts +6 -0
  44. package/dist/UIRoot/ProvideTheme.d.ts.map +1 -0
  45. package/dist/UIRoot/ProvideTheme.js +9 -0
  46. package/dist/UIRoot/UIRoot.d.ts +5 -0
  47. package/dist/UIRoot/UIRoot.d.ts.map +1 -0
  48. package/dist/UIRoot/UIRoot.js +79 -0
  49. package/dist/UIRoot/useKeyboardShortcuts.d.ts +7 -0
  50. package/dist/UIRoot/useKeyboardShortcuts.d.ts.map +1 -0
  51. package/dist/UIRoot/useKeyboardShortcuts.js +158 -0
  52. package/dist/checkForUpdates.d.ts +2 -0
  53. package/dist/checkForUpdates.d.ts.map +1 -0
  54. package/dist/checkForUpdates.js +86 -0
  55. package/dist/css.d.ts +39 -0
  56. package/dist/css.d.ts.map +1 -0
  57. package/dist/css.js +116 -0
  58. package/dist/getStudio.d.ts +7 -0
  59. package/dist/getStudio.d.ts.map +1 -0
  60. package/dist/getStudio.js +10 -0
  61. package/dist/index.d.ts +6 -9
  62. package/dist/index.d.ts.map +1 -0
  63. package/dist/index.js +56 -105
  64. package/dist/notify.d.ts +12 -0
  65. package/dist/notify.d.ts.map +1 -0
  66. package/dist/notify.js +328 -0
  67. package/dist/panels/BasePanel/BasePanel.d.ts +35 -0
  68. package/dist/panels/BasePanel/BasePanel.d.ts.map +1 -0
  69. package/dist/panels/BasePanel/BasePanel.js +74 -0
  70. package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts +8 -0
  71. package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts.map +1 -0
  72. package/dist/panels/BasePanel/ExtensionPaneWrapper.js +138 -0
  73. package/dist/panels/BasePanel/PanelDragZone.d.ts +4 -0
  74. package/dist/panels/BasePanel/PanelDragZone.d.ts.map +1 -0
  75. package/dist/panels/BasePanel/PanelDragZone.js +88 -0
  76. package/dist/panels/BasePanel/PanelResizeHandle.d.ts +7 -0
  77. package/dist/panels/BasePanel/PanelResizeHandle.d.ts.map +1 -0
  78. package/dist/panels/BasePanel/PanelResizeHandle.js +184 -0
  79. package/dist/panels/BasePanel/PanelResizers.d.ts +4 -0
  80. package/dist/panels/BasePanel/PanelResizers.d.ts.map +1 -0
  81. package/dist/panels/BasePanel/PanelResizers.js +14 -0
  82. package/dist/panels/BasePanel/PanelWrapper.d.ts +4 -0
  83. package/dist/panels/BasePanel/PanelWrapper.d.ts.map +1 -0
  84. package/dist/panels/BasePanel/PanelWrapper.js +34 -0
  85. package/dist/panels/BasePanel/common.d.ts +15 -0
  86. package/dist/panels/BasePanel/common.d.ts.map +1 -0
  87. package/dist/panels/BasePanel/common.js +52 -0
  88. package/dist/panels/DetailPanel/DetailPanel.d.ts +6 -0
  89. package/dist/panels/DetailPanel/DetailPanel.d.ts.map +1 -0
  90. package/dist/panels/DetailPanel/DetailPanel.js +146 -0
  91. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailCompoundPropEditor.d.ts +14 -0
  92. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailCompoundPropEditor.d.ts.map +1 -0
  93. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailCompoundPropEditor.js +169 -0
  94. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailSimplePropEditor.d.ts +20 -0
  95. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailSimplePropEditor.d.ts.map +1 -0
  96. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailSimplePropEditor.js +22 -0
  97. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/SingleRowPropEditor.d.ts +14 -0
  98. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/SingleRowPropEditor.d.ts.map +1 -0
  99. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/SingleRowPropEditor.js +89 -0
  100. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/getDetailRowHighlightBackground.d.ts +5 -0
  101. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/getDetailRowHighlightBackground.d.ts.map +1 -0
  102. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/getDetailRowHighlightBackground.js +7 -0
  103. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/rowIndentationFormulaCSS.d.ts +2 -0
  104. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/rowIndentationFormulaCSS.d.ts.map +1 -0
  105. package/dist/panels/DetailPanel/DeterminePropEditorForDetail/rowIndentationFormulaCSS.js +1 -0
  106. package/dist/panels/DetailPanel/DeterminePropEditorForDetail.d.ts +26 -0
  107. package/dist/panels/DetailPanel/DeterminePropEditorForDetail.d.ts.map +1 -0
  108. package/dist/panels/DetailPanel/DeterminePropEditorForDetail.js +28 -0
  109. package/dist/panels/DetailPanel/EmptyState.d.ts +4 -0
  110. package/dist/panels/DetailPanel/EmptyState.d.ts.map +1 -0
  111. package/dist/panels/DetailPanel/EmptyState.js +36 -0
  112. package/dist/panels/DetailPanel/ObjectDetails.d.ts +8 -0
  113. package/dist/panels/DetailPanel/ObjectDetails.d.ts.map +1 -0
  114. package/dist/panels/DetailPanel/ObjectDetails.js +52 -0
  115. package/dist/panels/DetailPanel/ProjectDetails/StateConflictRow.d.ts +7 -0
  116. package/dist/panels/DetailPanel/ProjectDetails/StateConflictRow.d.ts.map +1 -0
  117. package/dist/panels/DetailPanel/ProjectDetails/StateConflictRow.js +86 -0
  118. package/dist/panels/DetailPanel/ProjectDetails.d.ts +7 -0
  119. package/dist/panels/DetailPanel/ProjectDetails.d.ts.map +1 -0
  120. package/dist/panels/DetailPanel/ProjectDetails.js +98 -0
  121. package/dist/panels/OutlinePanel/BaseItem.d.ts +18 -0
  122. package/dist/panels/OutlinePanel/BaseItem.d.ts.map +1 -0
  123. package/dist/panels/OutlinePanel/BaseItem.js +136 -0
  124. package/dist/panels/OutlinePanel/ObjectsList/ObjectItem.d.ts +8 -0
  125. package/dist/panels/OutlinePanel/ObjectsList/ObjectItem.d.ts.map +1 -0
  126. package/dist/panels/OutlinePanel/ObjectsList/ObjectItem.js +14 -0
  127. package/dist/panels/OutlinePanel/ObjectsList/ObjectsList.d.ts +11 -0
  128. package/dist/panels/OutlinePanel/ObjectsList/ObjectsList.d.ts.map +1 -0
  129. package/dist/panels/OutlinePanel/ObjectsList/ObjectsList.js +85 -0
  130. package/dist/panels/OutlinePanel/OutlinePanel.d.ts +5 -0
  131. package/dist/panels/OutlinePanel/OutlinePanel.d.ts.map +1 -0
  132. package/dist/panels/OutlinePanel/OutlinePanel.js +73 -0
  133. package/dist/panels/OutlinePanel/ProjectsList/ProjectListItem.d.ts +8 -0
  134. package/dist/panels/OutlinePanel/ProjectsList/ProjectListItem.d.ts.map +1 -0
  135. package/dist/panels/OutlinePanel/ProjectsList/ProjectListItem.js +38 -0
  136. package/dist/panels/OutlinePanel/ProjectsList/ProjectsList.d.ts +4 -0
  137. package/dist/panels/OutlinePanel/ProjectsList/ProjectsList.d.ts.map +1 -0
  138. package/dist/panels/OutlinePanel/ProjectsList/ProjectsList.js +22 -0
  139. package/dist/panels/OutlinePanel/SheetsList/SheetInstanceItem.d.ts +7 -0
  140. package/dist/panels/OutlinePanel/SheetsList/SheetInstanceItem.d.ts.map +1 -0
  141. package/dist/panels/OutlinePanel/SheetsList/SheetInstanceItem.js +36 -0
  142. package/dist/panels/OutlinePanel/SheetsList/SheetItem.d.ts +8 -0
  143. package/dist/panels/OutlinePanel/SheetsList/SheetItem.d.ts.map +1 -0
  144. package/dist/panels/OutlinePanel/SheetsList/SheetItem.js +23 -0
  145. package/dist/panels/OutlinePanel/SheetsList/SheetsList.d.ts +8 -0
  146. package/dist/panels/OutlinePanel/SheetsList/SheetsList.d.ts.map +1 -0
  147. package/dist/panels/OutlinePanel/SheetsList/SheetsList.js +15 -0
  148. package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts +11 -0
  149. package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts.map +1 -0
  150. package/dist/panels/OutlinePanel/outlinePanelUtils.js +23 -0
  151. package/dist/panels/SequenceEditorPanel/DopeSheet/DopeSheet.d.ts +8 -0
  152. package/dist/panels/SequenceEditorPanel/DopeSheet/DopeSheet.d.ts.map +1 -0
  153. package/dist/panels/SequenceEditorPanel/DopeSheet/DopeSheet.js +21 -0
  154. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/AnyCompositeRow.d.ts +21 -0
  155. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/AnyCompositeRow.d.ts.map +1 -0
  156. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/AnyCompositeRow.js +74 -0
  157. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/Left.d.ts +8 -0
  158. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/Left.d.ts.map +1 -0
  159. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/Left.js +25 -0
  160. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.d.ts +7 -0
  161. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.d.ts.map +1 -0
  162. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.js +97 -0
  163. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PropWithChildrenRow.d.ts +8 -0
  164. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PropWithChildrenRow.d.ts.map +1 -0
  165. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PropWithChildrenRow.js +15 -0
  166. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetObjectRow.d.ts +7 -0
  167. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetObjectRow.d.ts.map +1 -0
  168. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetObjectRow.js +19 -0
  169. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetRow.d.ts +7 -0
  170. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetRow.d.ts.map +1 -0
  171. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetRow.js +20 -0
  172. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/usePropHighlightMouseEnter.d.ts +4 -0
  173. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/usePropHighlightMouseEnter.d.ts.map +1 -0
  174. package/dist/panels/SequenceEditorPanel/DopeSheet/Left/usePropHighlightMouseEnter.js +33 -0
  175. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeConnector.d.ts +13 -0
  176. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeConnector.d.ts.map +1 -0
  177. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeConnector.js +187 -0
  178. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.d.ts +10 -0
  179. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.d.ts.map +1 -0
  180. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.js +158 -0
  181. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.d.ts +44 -0
  182. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.d.ts.map +1 -0
  183. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.js +32 -0
  184. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.d.ts +10 -0
  185. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.d.ts.map +1 -0
  186. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.js +61 -0
  187. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.d.ts +2 -0
  188. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.d.ts.map +1 -0
  189. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.js +3 -0
  190. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.d.ts +23 -0
  191. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.d.ts.map +1 -0
  192. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.js +73 -0
  193. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack.d.ts +19 -0
  194. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack.d.ts.map +1 -0
  195. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack.js +407 -0
  196. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/BasicKeyframedTrack.d.ts +13 -0
  197. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/BasicKeyframedTrack.d.ts.map +1 -0
  198. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/BasicKeyframedTrack.js +108 -0
  199. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/BasicKeyframeConnector.d.ts +6 -0
  200. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/BasicKeyframeConnector.d.ts.map +1 -0
  201. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/BasicKeyframeConnector.js +185 -0
  202. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.d.ts +21 -0
  203. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.d.ts.map +1 -0
  204. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.js +397 -0
  205. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.d.ts +12 -0
  206. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.d.ts.map +1 -0
  207. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.js +136 -0
  208. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/EasingOption.d.ts +15 -0
  209. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/EasingOption.d.ts.map +1 -0
  210. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/EasingOption.js +52 -0
  211. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/SVGCurveSegment.d.ts +9 -0
  212. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/SVGCurveSegment.d.ts.map +1 -0
  213. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/SVGCurveSegment.js +43 -0
  214. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/colors.d.ts +4 -0
  215. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/colors.d.ts.map +1 -0
  216. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/colors.js +3 -0
  217. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/shared.d.ts +43 -0
  218. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/shared.d.ts.map +1 -0
  219. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/shared.js +84 -0
  220. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useFreezableMemo.d.ts +10 -0
  221. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useFreezableMemo.d.ts.map +1 -0
  222. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useFreezableMemo.js +16 -0
  223. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useUIOptionGrid.d.ts +32 -0
  224. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useUIOptionGrid.d.ts.map +1 -0
  225. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useUIOptionGrid.js +82 -0
  226. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/DeterminePropEditorForSingleKeyframe.d.ts +17 -0
  227. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/DeterminePropEditorForSingleKeyframe.d.ts.map +1 -0
  228. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/DeterminePropEditorForSingleKeyframe.js +93 -0
  229. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.d.ts +8 -0
  230. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.d.ts.map +1 -0
  231. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.js +254 -0
  232. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeEditor.d.ts +19 -0
  233. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeEditor.d.ts.map +1 -0
  234. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeEditor.js +22 -0
  235. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover.d.ts +29 -0
  236. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover.d.ts.map +1 -0
  237. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover.js +11 -0
  238. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.d.ts +18 -0
  239. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.d.ts.map +1 -0
  240. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.js +43 -0
  241. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetBackground.d.ts +8 -0
  242. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetBackground.d.ts.map +1 -0
  243. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetBackground.js +24 -0
  244. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetSelectionView.d.ts +10 -0
  245. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetSelectionView.d.ts.map +1 -0
  246. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetSelectionView.js +272 -0
  247. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/FocusRangeCurtains.d.ts +8 -0
  248. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/FocusRangeCurtains.d.ts.map +1 -0
  249. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/FocusRangeCurtains.js +88 -0
  250. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/HorizontallyScrollableArea.d.ts +10 -0
  251. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/HorizontallyScrollableArea.d.ts.map +1 -0
  252. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/HorizontallyScrollableArea.js +215 -0
  253. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget.d.ts +36 -0
  254. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget.d.ts.map +1 -0
  255. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget.js +55 -0
  256. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthEditorPopover.d.ts +12 -0
  257. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthEditorPopover.d.ts.map +1 -0
  258. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthEditorPopover.js +69 -0
  259. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthIndicator.d.ts +13 -0
  260. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthIndicator.d.ts.map +1 -0
  261. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthIndicator.js +217 -0
  262. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PrimitivePropRow.d.ts +10 -0
  263. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PrimitivePropRow.d.ts.map +1 -0
  264. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PrimitivePropRow.js +25 -0
  265. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PropWithChildrenRow.d.ts +11 -0
  266. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PropWithChildrenRow.d.ts.map +1 -0
  267. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PropWithChildrenRow.js +18 -0
  268. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Right.d.ts +9 -0
  269. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Right.d.ts.map +1 -0
  270. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Right.js +30 -0
  271. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Row.d.ts +21 -0
  272. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Row.d.ts.map +1 -0
  273. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Row.js +50 -0
  274. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetObjectRow.d.ts +10 -0
  275. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetObjectRow.d.ts.map +1 -0
  276. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetObjectRow.js +14 -0
  277. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetRow.d.ts +10 -0
  278. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetRow.d.ts.map +1 -0
  279. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetRow.js +14 -0
  280. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes.d.ts +58 -0
  281. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes.d.ts.map +1 -0
  282. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes.js +92 -0
  283. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine.d.ts +20 -0
  284. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine.d.ts.map +1 -0
  285. package/dist/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine.js +62 -0
  286. package/dist/panels/SequenceEditorPanel/DopeSheet/selections.d.ts +82 -0
  287. package/dist/panels/SequenceEditorPanel/DopeSheet/selections.d.ts.map +1 -0
  288. package/dist/panels/SequenceEditorPanel/DopeSheet/selections.js +149 -0
  289. package/dist/panels/SequenceEditorPanel/DopeSheet/setCollapsedSheetObjectOrCompoundProp.d.ts +7 -0
  290. package/dist/panels/SequenceEditorPanel/DopeSheet/setCollapsedSheetObjectOrCompoundProp.d.ts.map +1 -0
  291. package/dist/panels/SequenceEditorPanel/DopeSheet/setCollapsedSheetObjectOrCompoundProp.js +10 -0
  292. package/dist/panels/SequenceEditorPanel/FrameGrid/FrameGrid.d.ts +10 -0
  293. package/dist/panels/SequenceEditorPanel/FrameGrid/FrameGrid.d.ts.map +1 -0
  294. package/dist/panels/SequenceEditorPanel/FrameGrid/FrameGrid.js +92 -0
  295. package/dist/panels/SequenceEditorPanel/FrameGrid/StampsGrid.d.ts +15 -0
  296. package/dist/panels/SequenceEditorPanel/FrameGrid/StampsGrid.d.ts.map +1 -0
  297. package/dist/panels/SequenceEditorPanel/FrameGrid/StampsGrid.js +99 -0
  298. package/dist/panels/SequenceEditorPanel/FrameGrid/createGrid.d.ts +23 -0
  299. package/dist/panels/SequenceEditorPanel/FrameGrid/createGrid.d.ts.map +1 -0
  300. package/dist/panels/SequenceEditorPanel/FrameGrid/createGrid.js +49 -0
  301. package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts +52 -0
  302. package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts.map +1 -0
  303. package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.js +189 -0
  304. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/BasicKeyframedTrack.d.ts +25 -0
  305. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/BasicKeyframedTrack.d.ts.map +1 -0
  306. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/BasicKeyframedTrack.js +91 -0
  307. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/Curve.d.ts +14 -0
  308. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/Curve.d.ts.map +1 -0
  309. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/Curve.js +87 -0
  310. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/CurveHandle.d.ts +10 -0
  311. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/CurveHandle.d.ts.map +1 -0
  312. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/CurveHandle.js +186 -0
  313. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotNonScalar.d.ts +9 -0
  314. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotNonScalar.d.ts.map +1 -0
  315. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotNonScalar.js +162 -0
  316. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotScalar.d.ts +7 -0
  317. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotScalar.d.ts.map +1 -0
  318. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotScalar.js +209 -0
  319. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorNonScalarDash.d.ts +7 -0
  320. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorNonScalarDash.d.ts.map +1 -0
  321. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorNonScalarDash.js +23 -0
  322. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.d.ts +27 -0
  323. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.d.ts.map +1 -0
  324. package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.js +30 -0
  325. package/dist/panels/SequenceEditorPanel/GraphEditor/GraphEditor.d.ts +28 -0
  326. package/dist/panels/SequenceEditorPanel/GraphEditor/GraphEditor.d.ts.map +1 -0
  327. package/dist/panels/SequenceEditorPanel/GraphEditor/GraphEditor.js +73 -0
  328. package/dist/panels/SequenceEditorPanel/GraphEditor/PrimitivePropGraph.d.ts +16 -0
  329. package/dist/panels/SequenceEditorPanel/GraphEditor/PrimitivePropGraph.d.ts.map +1 -0
  330. package/dist/panels/SequenceEditorPanel/GraphEditor/PrimitivePropGraph.js +20 -0
  331. package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts +8 -0
  332. package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts.map +1 -0
  333. package/dist/panels/SequenceEditorPanel/GraphEditorToggle.js +59 -0
  334. package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnap.d.ts +21 -0
  335. package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnap.d.ts.map +1 -0
  336. package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnap.js +36 -0
  337. package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnapHitZoneUI.d.ts +18 -0
  338. package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnapHitZoneUI.d.ts.map +1 -0
  339. package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnapHitZoneUI.js +57 -0
  340. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeStrip.d.ts +32 -0
  341. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeStrip.d.ts.map +1 -0
  342. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeStrip.js +233 -0
  343. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeThumb.d.ts +10 -0
  344. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeThumb.d.ts.map +1 -0
  345. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeThumb.js +217 -0
  346. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeZone.d.ts +8 -0
  347. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeZone.d.ts.map +1 -0
  348. package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeZone.js +181 -0
  349. package/dist/panels/SequenceEditorPanel/RightOverlay/FrameStamp.d.ts +8 -0
  350. package/dist/panels/SequenceEditorPanel/RightOverlay/FrameStamp.d.ts.map +1 -0
  351. package/dist/panels/SequenceEditorPanel/RightOverlay/FrameStamp.js +65 -0
  352. package/dist/panels/SequenceEditorPanel/RightOverlay/HorizontalScrollbar.d.ts +11 -0
  353. package/dist/panels/SequenceEditorPanel/RightOverlay/HorizontalScrollbar.d.ts.map +1 -0
  354. package/dist/panels/SequenceEditorPanel/RightOverlay/HorizontalScrollbar.js +235 -0
  355. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerDot.d.ts +11 -0
  356. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerDot.d.ts.map +1 -0
  357. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerDot.js +184 -0
  358. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerEditorPopover.d.ts +14 -0
  359. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerEditorPopover.d.ts.map +1 -0
  360. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerEditorPopover.js +65 -0
  361. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/Markers.d.ts +8 -0
  362. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/Markers.d.ts.map +1 -0
  363. package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/Markers.js +13 -0
  364. package/dist/panels/SequenceEditorPanel/RightOverlay/Playhead.d.ts +8 -0
  365. package/dist/panels/SequenceEditorPanel/RightOverlay/Playhead.d.ts.map +1 -0
  366. package/dist/panels/SequenceEditorPanel/RightOverlay/Playhead.js +265 -0
  367. package/dist/panels/SequenceEditorPanel/RightOverlay/PlayheadPositionPopover.d.ts +12 -0
  368. package/dist/panels/SequenceEditorPanel/RightOverlay/PlayheadPositionPopover.d.ts.map +1 -0
  369. package/dist/panels/SequenceEditorPanel/RightOverlay/PlayheadPositionPopover.js +64 -0
  370. package/dist/panels/SequenceEditorPanel/RightOverlay/RightOverlay.d.ts +8 -0
  371. package/dist/panels/SequenceEditorPanel/RightOverlay/RightOverlay.d.ts.map +1 -0
  372. package/dist/panels/SequenceEditorPanel/RightOverlay/RightOverlay.js +35 -0
  373. package/dist/panels/SequenceEditorPanel/RightOverlay/TopStrip.d.ts +13 -0
  374. package/dist/panels/SequenceEditorPanel/RightOverlay/TopStrip.d.ts.map +1 -0
  375. package/dist/panels/SequenceEditorPanel/RightOverlay/TopStrip.js +31 -0
  376. package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts +15 -0
  377. package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts.map +1 -0
  378. package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.js +179 -0
  379. package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts +19 -0
  380. package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts.map +1 -0
  381. package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.js +42 -0
  382. package/dist/panels/SequenceEditorPanel/layout/layout.d.ts +146 -0
  383. package/dist/panels/SequenceEditorPanel/layout/layout.d.ts.map +1 -0
  384. package/dist/panels/SequenceEditorPanel/layout/layout.js +166 -0
  385. package/dist/panels/SequenceEditorPanel/layout/tree.d.ts +71 -0
  386. package/dist/panels/SequenceEditorPanel/layout/tree.d.ts.map +1 -0
  387. package/dist/panels/SequenceEditorPanel/layout/tree.js +139 -0
  388. package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts +10 -0
  389. package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts.map +1 -0
  390. package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.js +58 -0
  391. package/dist/propEditors/DefaultValueIndicator.d.ts +12 -0
  392. package/dist/propEditors/DefaultValueIndicator.d.ts.map +1 -0
  393. package/dist/propEditors/DefaultValueIndicator.js +64 -0
  394. package/dist/propEditors/NextPrevKeyframeCursors.d.ts +29 -0
  395. package/dist/propEditors/NextPrevKeyframeCursors.d.ts.map +1 -0
  396. package/dist/propEditors/NextPrevKeyframeCursors.js +135 -0
  397. package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts +9 -0
  398. package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts.map +1 -0
  399. package/dist/propEditors/getNearbyKeyframesOfTrack.js +46 -0
  400. package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts +6 -0
  401. package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts.map +1 -0
  402. package/dist/propEditors/simpleEditors/BooleanPropEditor.js +17 -0
  403. package/dist/propEditors/simpleEditors/FilePropEditor.d.ts +6 -0
  404. package/dist/propEditors/simpleEditors/FilePropEditor.d.ts.map +1 -0
  405. package/dist/propEditors/simpleEditors/FilePropEditor.js +118 -0
  406. package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts +10 -0
  407. package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts.map +1 -0
  408. package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.js +1 -0
  409. package/dist/propEditors/simpleEditors/ImagePropEditor.d.ts +6 -0
  410. package/dist/propEditors/simpleEditors/ImagePropEditor.d.ts.map +1 -0
  411. package/dist/propEditors/simpleEditors/ImagePropEditor.js +126 -0
  412. package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts +6 -0
  413. package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts.map +1 -0
  414. package/dist/propEditors/simpleEditors/NumberPropEditor.js +9 -0
  415. package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts +6 -0
  416. package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts.map +1 -0
  417. package/dist/propEditors/simpleEditors/RgbaPropEditor.js +73 -0
  418. package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts +6 -0
  419. package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts.map +1 -0
  420. package/dist/propEditors/simpleEditors/StringLiteralPropEditor.js +10 -0
  421. package/dist/propEditors/simpleEditors/StringPropEditor.d.ts +6 -0
  422. package/dist/propEditors/simpleEditors/StringPropEditor.d.ts.map +1 -0
  423. package/dist/propEditors/simpleEditors/StringPropEditor.js +6 -0
  424. package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts +10 -0
  425. package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts.map +1 -0
  426. package/dist/propEditors/simpleEditors/simplePropEditorByPropType.js +16 -0
  427. package/dist/propEditors/useEditingToolsForCompoundProp.d.ts +27 -0
  428. package/dist/propEditors/useEditingToolsForCompoundProp.d.ts.map +1 -0
  429. package/dist/propEditors/useEditingToolsForCompoundProp.js +228 -0
  430. package/dist/propEditors/useEditingToolsForSimpleProp.d.ts +47 -0
  431. package/dist/propEditors/useEditingToolsForSimpleProp.d.ts.map +1 -0
  432. package/dist/propEditors/useEditingToolsForSimpleProp.js +229 -0
  433. package/dist/propEditors/utils/IEditingTools.d.ts +9 -0
  434. package/dist/propEditors/utils/IEditingTools.d.ts.map +1 -0
  435. package/dist/propEditors/utils/IEditingTools.js +1 -0
  436. package/dist/propEditors/utils/PropConfigForType.d.ts +5 -0
  437. package/dist/propEditors/utils/PropConfigForType.d.ts.map +1 -0
  438. package/dist/propEditors/utils/PropConfigForType.js +1 -0
  439. package/dist/propEditors/utils/getPropTypeByPointer.d.ts +19 -0
  440. package/dist/propEditors/utils/getPropTypeByPointer.d.ts.map +1 -0
  441. package/dist/propEditors/utils/getPropTypeByPointer.js +48 -0
  442. package/dist/propEditors/utils/propNameTextCSS.d.ts +5 -0
  443. package/dist/propEditors/utils/propNameTextCSS.d.ts.map +1 -0
  444. package/dist/propEditors/utils/propNameTextCSS.js +7 -0
  445. package/dist/selectors.d.ts +13 -0
  446. package/dist/selectors.d.ts.map +1 -0
  447. package/dist/selectors.js +63 -0
  448. package/dist/store/index.d.ts +210 -0
  449. package/dist/store/index.d.ts.map +1 -0
  450. package/dist/store/index.js +184 -0
  451. package/dist/store/stateEditors.d.ts +300 -0
  452. package/dist/store/stateEditors.d.ts.map +1 -0
  453. package/dist/store/stateEditors.js +774 -0
  454. package/dist/store/types/ahistoric.d.ts +79 -0
  455. package/dist/store/types/ahistoric.d.ts.map +1 -0
  456. package/dist/store/types/ahistoric.js +1 -0
  457. package/dist/store/types/ephemeral.d.ts +53 -0
  458. package/dist/store/types/ephemeral.d.ts.map +1 -0
  459. package/dist/store/types/ephemeral.js +1 -0
  460. package/dist/store/types/historic.d.ts +104 -0
  461. package/dist/store/types/historic.d.ts.map +1 -0
  462. package/dist/store/types/historic.js +1 -0
  463. package/dist/store/types/index.d.ts +25 -0
  464. package/dist/store/types/index.d.ts.map +1 -0
  465. package/dist/store/types/index.js +3 -0
  466. package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts +7 -0
  467. package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts.map +1 -0
  468. package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.js +51 -0
  469. package/dist/toolbars/ExtensionToolbar/Toolset.d.ts +7 -0
  470. package/dist/toolbars/ExtensionToolbar/Toolset.d.ts.map +1 -0
  471. package/dist/toolbars/ExtensionToolbar/Toolset.js +27 -0
  472. package/dist/toolbars/ExtensionToolbar/tools/ExtensionFlyoutMenu.d.ts +7 -0
  473. package/dist/toolbars/ExtensionToolbar/tools/ExtensionFlyoutMenu.d.ts.map +1 -0
  474. package/dist/toolbars/ExtensionToolbar/tools/ExtensionFlyoutMenu.js +51 -0
  475. package/dist/toolbars/ExtensionToolbar/tools/IconButton.d.ts +8 -0
  476. package/dist/toolbars/ExtensionToolbar/tools/IconButton.d.ts.map +1 -0
  477. package/dist/toolbars/ExtensionToolbar/tools/IconButton.js +16 -0
  478. package/dist/toolbars/ExtensionToolbar/tools/Switch.d.ts +7 -0
  479. package/dist/toolbars/ExtensionToolbar/tools/Switch.d.ts.map +1 -0
  480. package/dist/toolbars/ExtensionToolbar/tools/Switch.js +20 -0
  481. package/dist/toolbars/GlobalToolbar.d.ts +4 -0
  482. package/dist/toolbars/GlobalToolbar.d.ts.map +1 -0
  483. package/dist/toolbars/GlobalToolbar.js +142 -0
  484. package/dist/toolbars/MoreMenu/MoreMenu.d.ts +4 -0
  485. package/dist/toolbars/MoreMenu/MoreMenu.d.ts.map +1 -0
  486. package/dist/toolbars/MoreMenu/MoreMenu.js +133 -0
  487. package/dist/toolbars/PinButton.d.ts +12 -0
  488. package/dist/toolbars/PinButton.d.ts.map +1 -0
  489. package/dist/toolbars/PinButton.js +26 -0
  490. package/dist/uiComponents/DetailPanelButton.d.ts +5 -0
  491. package/dist/uiComponents/DetailPanelButton.d.ts.map +1 -0
  492. package/dist/uiComponents/DetailPanelButton.js +21 -0
  493. package/dist/uiComponents/PointerEventsHandler.d.ts +31 -0
  494. package/dist/uiComponents/PointerEventsHandler.d.ts.map +1 -0
  495. package/dist/uiComponents/PointerEventsHandler.js +80 -0
  496. package/dist/uiComponents/Popover/ArrowContext.d.ts +4 -0
  497. package/dist/uiComponents/Popover/ArrowContext.d.ts.map +1 -0
  498. package/dist/uiComponents/Popover/ArrowContext.js +3 -0
  499. package/dist/uiComponents/Popover/BasicPopover.d.ts +9 -0
  500. package/dist/uiComponents/Popover/BasicPopover.d.ts.map +1 -0
  501. package/dist/uiComponents/Popover/BasicPopover.js +35 -0
  502. package/dist/uiComponents/Popover/BasicTooltip.d.ts +8 -0
  503. package/dist/uiComponents/Popover/BasicTooltip.d.ts.map +1 -0
  504. package/dist/uiComponents/Popover/BasicTooltip.js +10 -0
  505. package/dist/uiComponents/Popover/ErrorTooltip.d.ts +8 -0
  506. package/dist/uiComponents/Popover/ErrorTooltip.d.ts.map +1 -0
  507. package/dist/uiComponents/Popover/ErrorTooltip.js +9 -0
  508. package/dist/uiComponents/Popover/MinimalTooltip.d.ts +8 -0
  509. package/dist/uiComponents/Popover/MinimalTooltip.d.ts.map +1 -0
  510. package/dist/uiComponents/Popover/MinimalTooltip.js +6 -0
  511. package/dist/uiComponents/Popover/PopoverArrow.d.ts +8 -0
  512. package/dist/uiComponents/Popover/PopoverArrow.d.ts.map +1 -0
  513. package/dist/uiComponents/Popover/PopoverArrow.js +38 -0
  514. package/dist/uiComponents/Popover/TooltipContext.d.ts +7 -0
  515. package/dist/uiComponents/Popover/TooltipContext.d.ts.map +1 -0
  516. package/dist/uiComponents/Popover/TooltipContext.js +46 -0
  517. package/dist/uiComponents/Popover/TooltipWrapper.d.ts +21 -0
  518. package/dist/uiComponents/Popover/TooltipWrapper.d.ts.map +1 -0
  519. package/dist/uiComponents/Popover/TooltipWrapper.js +103 -0
  520. package/dist/uiComponents/Popover/usePopover.d.ts +29 -0
  521. package/dist/uiComponents/Popover/usePopover.d.ts.map +1 -0
  522. package/dist/uiComponents/Popover/usePopover.js +132 -0
  523. package/dist/uiComponents/Popover/useTooltip.d.ts +14 -0
  524. package/dist/uiComponents/Popover/useTooltip.d.ts.map +1 -0
  525. package/dist/uiComponents/Popover/useTooltip.js +33 -0
  526. package/dist/uiComponents/RoomToClick.d.ts +6 -0
  527. package/dist/uiComponents/RoomToClick.d.ts.map +1 -0
  528. package/dist/uiComponents/RoomToClick.js +10 -0
  529. package/dist/uiComponents/SVGIcon.d.ts +8 -0
  530. package/dist/uiComponents/SVGIcon.d.ts.map +1 -0
  531. package/dist/uiComponents/SVGIcon.js +19 -0
  532. package/dist/uiComponents/ShowMousePosition.d.ts +4 -0
  533. package/dist/uiComponents/ShowMousePosition.d.ts.map +1 -0
  534. package/dist/uiComponents/ShowMousePosition.js +30 -0
  535. package/dist/uiComponents/colorPicker/components/EditingProvider.d.ts +15 -0
  536. package/dist/uiComponents/colorPicker/components/EditingProvider.d.ts.map +1 -0
  537. package/dist/uiComponents/colorPicker/components/EditingProvider.js +15 -0
  538. package/dist/uiComponents/colorPicker/components/RgbaColorPicker.d.ts +3 -0
  539. package/dist/uiComponents/colorPicker/components/RgbaColorPicker.d.ts.map +1 -0
  540. package/dist/uiComponents/colorPicker/components/RgbaColorPicker.js +31 -0
  541. package/dist/uiComponents/colorPicker/components/common/Alpha.d.ts +11 -0
  542. package/dist/uiComponents/colorPicker/components/common/Alpha.d.ts.map +1 -0
  543. package/dist/uiComponents/colorPicker/components/common/Alpha.js +54 -0
  544. package/dist/uiComponents/colorPicker/components/common/AlphaColorPicker.d.ts +7 -0
  545. package/dist/uiComponents/colorPicker/components/common/AlphaColorPicker.d.ts.map +1 -0
  546. package/dist/uiComponents/colorPicker/components/common/AlphaColorPicker.js +28 -0
  547. package/dist/uiComponents/colorPicker/components/common/Hue.d.ts +11 -0
  548. package/dist/uiComponents/colorPicker/components/common/Hue.d.ts.map +1 -0
  549. package/dist/uiComponents/colorPicker/components/common/Hue.js +41 -0
  550. package/dist/uiComponents/colorPicker/components/common/Interactive.d.ts +13 -0
  551. package/dist/uiComponents/colorPicker/components/common/Interactive.d.ts.map +1 -0
  552. package/dist/uiComponents/colorPicker/components/common/Interactive.js +142 -0
  553. package/dist/uiComponents/colorPicker/components/common/Pointer.d.ts +10 -0
  554. package/dist/uiComponents/colorPicker/components/common/Pointer.d.ts.map +1 -0
  555. package/dist/uiComponents/colorPicker/components/common/Pointer.js +39 -0
  556. package/dist/uiComponents/colorPicker/components/common/Saturation.d.ts +12 -0
  557. package/dist/uiComponents/colorPicker/components/common/Saturation.d.ts.map +1 -0
  558. package/dist/uiComponents/colorPicker/components/common/Saturation.js +44 -0
  559. package/dist/uiComponents/colorPicker/hooks/useColorManipulation.d.ts +3 -0
  560. package/dist/uiComponents/colorPicker/hooks/useColorManipulation.d.ts.map +1 -0
  561. package/dist/uiComponents/colorPicker/hooks/useColorManipulation.js +77 -0
  562. package/dist/uiComponents/colorPicker/hooks/useEventCallback.d.ts +2 -0
  563. package/dist/uiComponents/colorPicker/hooks/useEventCallback.d.ts.map +1 -0
  564. package/dist/uiComponents/colorPicker/hooks/useEventCallback.js +10 -0
  565. package/dist/uiComponents/colorPicker/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  566. package/dist/uiComponents/colorPicker/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
  567. package/dist/uiComponents/colorPicker/hooks/useIsomorphicLayoutEffect.js +5 -0
  568. package/dist/uiComponents/colorPicker/index.d.ts +3 -0
  569. package/dist/uiComponents/colorPicker/index.d.ts.map +1 -0
  570. package/dist/uiComponents/colorPicker/index.js +1 -0
  571. package/dist/uiComponents/colorPicker/types.d.ts +47 -0
  572. package/dist/uiComponents/colorPicker/types.d.ts.map +1 -0
  573. package/dist/uiComponents/colorPicker/types.js +1 -0
  574. package/dist/uiComponents/colorPicker/utils/clamp.d.ts +2 -0
  575. package/dist/uiComponents/colorPicker/utils/clamp.d.ts.map +1 -0
  576. package/dist/uiComponents/colorPicker/utils/clamp.js +6 -0
  577. package/dist/uiComponents/colorPicker/utils/compare.d.ts +5 -0
  578. package/dist/uiComponents/colorPicker/utils/compare.d.ts.map +1 -0
  579. package/dist/uiComponents/colorPicker/utils/compare.js +25 -0
  580. package/dist/uiComponents/colorPicker/utils/convert.d.ts +27 -0
  581. package/dist/uiComponents/colorPicker/utils/convert.d.ts.map +1 -0
  582. package/dist/uiComponents/colorPicker/utils/convert.js +165 -0
  583. package/dist/uiComponents/colorPicker/utils/round.d.ts +2 -0
  584. package/dist/uiComponents/colorPicker/utils/round.d.ts.map +1 -0
  585. package/dist/uiComponents/colorPicker/utils/round.js +3 -0
  586. package/dist/uiComponents/colorPicker/utils/validate.d.ts +2 -0
  587. package/dist/uiComponents/colorPicker/utils/validate.d.ts.map +1 -0
  588. package/dist/uiComponents/colorPicker/utils/validate.js +10 -0
  589. package/dist/uiComponents/createCursorLock.d.ts +2 -0
  590. package/dist/uiComponents/createCursorLock.d.ts.map +1 -0
  591. package/dist/uiComponents/createCursorLock.js +2 -0
  592. package/dist/uiComponents/form/BasicCheckbox.d.ts +5 -0
  593. package/dist/uiComponents/form/BasicCheckbox.d.ts.map +1 -0
  594. package/dist/uiComponents/form/BasicCheckbox.js +5 -0
  595. package/dist/uiComponents/form/BasicNumberInput.d.ts +26 -0
  596. package/dist/uiComponents/form/BasicNumberInput.d.ts.map +1 -0
  597. package/dist/uiComponents/form/BasicNumberInput.js +261 -0
  598. package/dist/uiComponents/form/BasicSelect.d.ts +10 -0
  599. package/dist/uiComponents/form/BasicSelect.d.ts.map +1 -0
  600. package/dist/uiComponents/form/BasicSelect.js +58 -0
  601. package/dist/uiComponents/form/BasicStringInput.d.ts +19 -0
  602. package/dist/uiComponents/form/BasicStringInput.d.ts.map +1 -0
  603. package/dist/uiComponents/form/BasicStringInput.js +151 -0
  604. package/dist/uiComponents/form/BasicSwitch.d.ts +9 -0
  605. package/dist/uiComponents/form/BasicSwitch.d.ts.map +1 -0
  606. package/dist/uiComponents/form/BasicSwitch.js +60 -0
  607. package/dist/uiComponents/icons/AddImage.d.ts +4 -0
  608. package/dist/uiComponents/icons/AddImage.d.ts.map +1 -0
  609. package/dist/uiComponents/icons/AddImage.js +6 -0
  610. package/dist/uiComponents/icons/ArrowClockwise.d.ts +4 -0
  611. package/dist/uiComponents/icons/ArrowClockwise.d.ts.map +1 -0
  612. package/dist/uiComponents/icons/ArrowClockwise.js +6 -0
  613. package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts +4 -0
  614. package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts.map +1 -0
  615. package/dist/uiComponents/icons/ArrowsOutCardinal.js +6 -0
  616. package/dist/uiComponents/icons/Bell.d.ts +4 -0
  617. package/dist/uiComponents/icons/Bell.d.ts.map +1 -0
  618. package/dist/uiComponents/icons/Bell.js +6 -0
  619. package/dist/uiComponents/icons/Camera.d.ts +4 -0
  620. package/dist/uiComponents/icons/Camera.d.ts.map +1 -0
  621. package/dist/uiComponents/icons/Camera.js +7 -0
  622. package/dist/uiComponents/icons/ChevronDown.d.ts +4 -0
  623. package/dist/uiComponents/icons/ChevronDown.d.ts.map +1 -0
  624. package/dist/uiComponents/icons/ChevronDown.js +6 -0
  625. package/dist/uiComponents/icons/ChevronLeft.d.ts +4 -0
  626. package/dist/uiComponents/icons/ChevronLeft.d.ts.map +1 -0
  627. package/dist/uiComponents/icons/ChevronLeft.js +6 -0
  628. package/dist/uiComponents/icons/ChevronRight.d.ts +4 -0
  629. package/dist/uiComponents/icons/ChevronRight.d.ts.map +1 -0
  630. package/dist/uiComponents/icons/ChevronRight.js +6 -0
  631. package/dist/uiComponents/icons/Cube.d.ts +4 -0
  632. package/dist/uiComponents/icons/Cube.d.ts.map +1 -0
  633. package/dist/uiComponents/icons/Cube.js +6 -0
  634. package/dist/uiComponents/icons/CubeFull.d.ts +4 -0
  635. package/dist/uiComponents/icons/CubeFull.d.ts.map +1 -0
  636. package/dist/uiComponents/icons/CubeFull.js +6 -0
  637. package/dist/uiComponents/icons/CubeHalf.d.ts +4 -0
  638. package/dist/uiComponents/icons/CubeHalf.d.ts.map +1 -0
  639. package/dist/uiComponents/icons/CubeHalf.js +6 -0
  640. package/dist/uiComponents/icons/CubeRendered.d.ts +4 -0
  641. package/dist/uiComponents/icons/CubeRendered.d.ts.map +1 -0
  642. package/dist/uiComponents/icons/CubeRendered.js +7 -0
  643. package/dist/uiComponents/icons/Details.d.ts +4 -0
  644. package/dist/uiComponents/icons/Details.d.ts.map +1 -0
  645. package/dist/uiComponents/icons/Details.js +6 -0
  646. package/dist/uiComponents/icons/DoubleChevronLeft.d.ts +4 -0
  647. package/dist/uiComponents/icons/DoubleChevronLeft.d.ts.map +1 -0
  648. package/dist/uiComponents/icons/DoubleChevronLeft.js +6 -0
  649. package/dist/uiComponents/icons/DoubleChevronRight.d.ts +4 -0
  650. package/dist/uiComponents/icons/DoubleChevronRight.d.ts.map +1 -0
  651. package/dist/uiComponents/icons/DoubleChevronRight.js +6 -0
  652. package/dist/uiComponents/icons/Ellipsis.d.ts +4 -0
  653. package/dist/uiComponents/icons/Ellipsis.d.ts.map +1 -0
  654. package/dist/uiComponents/icons/Ellipsis.js +6 -0
  655. package/dist/uiComponents/icons/EllipsisFill.d.ts +4 -0
  656. package/dist/uiComponents/icons/EllipsisFill.d.ts.map +1 -0
  657. package/dist/uiComponents/icons/EllipsisFill.js +6 -0
  658. package/dist/uiComponents/icons/GlobeSimple.d.ts +4 -0
  659. package/dist/uiComponents/icons/GlobeSimple.d.ts.map +1 -0
  660. package/dist/uiComponents/icons/GlobeSimple.js +6 -0
  661. package/dist/uiComponents/icons/Outline.d.ts +4 -0
  662. package/dist/uiComponents/icons/Outline.d.ts.map +1 -0
  663. package/dist/uiComponents/icons/Outline.js +6 -0
  664. package/dist/uiComponents/icons/Package.d.ts +4 -0
  665. package/dist/uiComponents/icons/Package.d.ts.map +1 -0
  666. package/dist/uiComponents/icons/Package.js +6 -0
  667. package/dist/uiComponents/icons/Resize.d.ts +4 -0
  668. package/dist/uiComponents/icons/Resize.d.ts.map +1 -0
  669. package/dist/uiComponents/icons/Resize.js +7 -0
  670. package/dist/uiComponents/icons/Trash.d.ts +4 -0
  671. package/dist/uiComponents/icons/Trash.d.ts.map +1 -0
  672. package/dist/uiComponents/icons/Trash.js +6 -0
  673. package/dist/uiComponents/icons/index.d.ts +21 -0
  674. package/dist/uiComponents/icons/index.d.ts.map +1 -0
  675. package/dist/uiComponents/icons/index.js +20 -0
  676. package/dist/uiComponents/isSafari.d.ts +2 -0
  677. package/dist/uiComponents/isSafari.d.ts.map +1 -0
  678. package/dist/uiComponents/isSafari.js +2 -0
  679. package/dist/uiComponents/onPointerOutside.d.ts +6 -0
  680. package/dist/uiComponents/onPointerOutside.d.ts.map +1 -0
  681. package/dist/uiComponents/onPointerOutside.js +19 -0
  682. package/dist/uiComponents/selects/BasicSelect.d.ts +15 -0
  683. package/dist/uiComponents/selects/BasicSelect.d.ts.map +1 -0
  684. package/dist/uiComponents/selects/BasicSelect.js +24 -0
  685. package/dist/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.d.ts +16 -0
  686. package/dist/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.d.ts.map +1 -0
  687. package/dist/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.js +40 -0
  688. package/dist/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.d.ts +27 -0
  689. package/dist/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.d.ts.map +1 -0
  690. package/dist/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.js +87 -0
  691. package/dist/uiComponents/simpleContextMenu/ContextMenu/Item.d.ts +10 -0
  692. package/dist/uiComponents/simpleContextMenu/ContextMenu/Item.d.ts.map +1 -0
  693. package/dist/uiComponents/simpleContextMenu/ContextMenu/Item.js +37 -0
  694. package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts +11 -0
  695. package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts.map +1 -0
  696. package/dist/uiComponents/simpleContextMenu/useContextMenu.js +20 -0
  697. package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts +13 -0
  698. package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts.map +1 -0
  699. package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.js +22 -0
  700. package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts +16 -0
  701. package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts.map +1 -0
  702. package/dist/uiComponents/toolbar/ToolbarDropdownSelect.js +7 -0
  703. package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts +4 -0
  704. package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts.map +1 -0
  705. package/dist/uiComponents/toolbar/ToolbarIconButton.js +74 -0
  706. package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts +15 -0
  707. package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts.map +1 -0
  708. package/dist/uiComponents/toolbar/ToolbarSwitchSelect.js +12 -0
  709. package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts +3 -0
  710. package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts.map +1 -0
  711. package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.js +9 -0
  712. package/dist/uiComponents/useBoundingClientRect.d.ts +2 -0
  713. package/dist/uiComponents/useBoundingClientRect.d.ts.map +1 -0
  714. package/dist/uiComponents/useBoundingClientRect.js +13 -0
  715. package/dist/uiComponents/useDebugRefreshEvery.d.ts +9 -0
  716. package/dist/uiComponents/useDebugRefreshEvery.d.ts.map +1 -0
  717. package/dist/uiComponents/useDebugRefreshEvery.js +19 -0
  718. package/dist/uiComponents/useDrag.d.ts +76 -0
  719. package/dist/uiComponents/useDrag.d.ts.map +1 -0
  720. package/dist/uiComponents/useDrag.js +199 -0
  721. package/dist/uiComponents/useHotspot.d.ts +2 -0
  722. package/dist/uiComponents/useHotspot.d.ts.map +1 -0
  723. package/dist/uiComponents/useHotspot.js +30 -0
  724. package/dist/uiComponents/useHover.d.ts +2 -0
  725. package/dist/uiComponents/useHover.d.ts.map +1 -0
  726. package/dist/uiComponents/useHover.js +23 -0
  727. package/dist/uiComponents/useHoverWithoutDescendants.d.ts +5 -0
  728. package/dist/uiComponents/useHoverWithoutDescendants.d.ts.map +1 -0
  729. package/dist/uiComponents/useHoverWithoutDescendants.js +33 -0
  730. package/dist/uiComponents/useKeyDown.d.ts +3 -0
  731. package/dist/uiComponents/useKeyDown.d.ts.map +1 -0
  732. package/dist/uiComponents/useKeyDown.js +9 -0
  733. package/dist/uiComponents/useKeyDownCallback.d.ts +7 -0
  734. package/dist/uiComponents/useKeyDownCallback.d.ts.map +1 -0
  735. package/dist/uiComponents/useKeyDownCallback.js +28 -0
  736. package/dist/uiComponents/useLockSet.d.ts +5 -0
  737. package/dist/uiComponents/useLockSet.d.ts.map +1 -0
  738. package/dist/uiComponents/useLockSet.js +17 -0
  739. package/dist/uiComponents/useLogger.d.ts +7 -0
  740. package/dist/uiComponents/useLogger.d.ts.map +1 -0
  741. package/dist/uiComponents/useLogger.js +16 -0
  742. package/dist/uiComponents/useOnClickOutside.d.ts +2 -0
  743. package/dist/uiComponents/useOnClickOutside.d.ts.map +1 -0
  744. package/dist/uiComponents/useOnClickOutside.js +25 -0
  745. package/dist/uiComponents/useOnKeyDown.d.ts +2 -0
  746. package/dist/uiComponents/useOnKeyDown.d.ts.map +1 -0
  747. package/dist/uiComponents/useOnKeyDown.js +12 -0
  748. package/dist/uiComponents/usePresence.d.ts +30 -0
  749. package/dist/uiComponents/usePresence.d.ts.map +1 -0
  750. package/dist/uiComponents/usePresence.js +156 -0
  751. package/dist/uiComponents/useValToAtom.d.ts +3 -0
  752. package/dist/uiComponents/useValToAtom.d.ts.map +1 -0
  753. package/dist/uiComponents/useValToAtom.js +11 -0
  754. package/dist/utils/absoluteDims.d.ts +3 -0
  755. package/dist/utils/absoluteDims.d.ts.map +1 -0
  756. package/dist/utils/absoluteDims.js +7 -0
  757. package/dist/utils/contextualWebComponents.d.ts +5 -0
  758. package/dist/utils/contextualWebComponents.d.ts.map +1 -0
  759. package/dist/utils/contextualWebComponents.js +44 -0
  760. package/dist/utils/copyToClipboard.d.ts +2 -0
  761. package/dist/utils/copyToClipboard.d.ts.map +1 -0
  762. package/dist/utils/copyToClipboard.js +28 -0
  763. package/dist/utils/derive-utils.d.ts +21 -0
  764. package/dist/utils/derive-utils.d.ts.map +1 -0
  765. package/dist/utils/derive-utils.js +61 -0
  766. package/dist/utils/devStringify.d.ts +7 -0
  767. package/dist/utils/devStringify.d.ts.map +1 -0
  768. package/dist/utils/devStringify.js +20 -0
  769. package/dist/utils/invariant.d.ts +35 -0
  770. package/dist/utils/invariant.d.ts.map +1 -0
  771. package/dist/utils/invariant.js +79 -0
  772. package/dist/utils/isMac.d.ts +2 -0
  773. package/dist/utils/isMac.d.ts.map +1 -0
  774. package/dist/utils/isMac.js +2 -0
  775. package/dist/utils/keyboardUtils.d.ts +9 -0
  776. package/dist/utils/keyboardUtils.d.ts.map +1 -0
  777. package/dist/utils/keyboardUtils.js +23 -0
  778. package/dist/utils/mousePositionD.d.ts +6 -0
  779. package/dist/utils/mousePositionD.d.ts.map +1 -0
  780. package/dist/utils/mousePositionD.js +18 -0
  781. package/dist/utils/redux/actionCreator.d.ts +49 -0
  782. package/dist/utils/redux/actionCreator.d.ts.map +1 -0
  783. package/dist/utils/redux/actionCreator.js +15 -0
  784. package/dist/utils/redux/actionCreator.test.d.ts +2 -0
  785. package/dist/utils/redux/actionCreator.test.d.ts.map +1 -0
  786. package/dist/utils/redux/actionCreator.test.js +35 -0
  787. package/dist/utils/redux/actionReducersBundle.d.ts +18 -0
  788. package/dist/utils/redux/actionReducersBundle.d.ts.map +1 -0
  789. package/dist/utils/redux/actionReducersBundle.js +18 -0
  790. package/dist/utils/redux/atomFromReduxStore.d.ts +4 -0
  791. package/dist/utils/redux/atomFromReduxStore.d.ts.map +1 -0
  792. package/dist/utils/redux/atomFromReduxStore.js +11 -0
  793. package/dist/utils/redux/configureStore.d.ts +9 -0
  794. package/dist/utils/redux/configureStore.d.ts.map +1 -0
  795. package/dist/utils/redux/configureStore.js +18 -0
  796. package/dist/utils/redux/pointerFriendlySelector.d.ts +10 -0
  797. package/dist/utils/redux/pointerFriendlySelector.d.ts.map +1 -0
  798. package/dist/utils/redux/pointerFriendlySelector.js +8 -0
  799. package/dist/utils/redux/withHistory/withBatchActions.d.ts +19 -0
  800. package/dist/utils/redux/withHistory/withBatchActions.d.ts.map +1 -0
  801. package/dist/utils/redux/withHistory/withBatchActions.js +13 -0
  802. package/dist/utils/redux/withHistory/withHistory.d.ts +127 -0
  803. package/dist/utils/redux/withHistory/withHistory.d.ts.map +1 -0
  804. package/dist/utils/redux/withHistory/withHistory.js +157 -0
  805. package/dist/utils/renderInPortalInContext.d.ts +7 -0
  806. package/dist/utils/renderInPortalInContext.d.ts.map +1 -0
  807. package/dist/utils/renderInPortalInContext.js +38 -0
  808. package/dist/utils/selectClosestHTMLAncestor.d.ts +5 -0
  809. package/dist/utils/selectClosestHTMLAncestor.d.ts.map +1 -0
  810. package/dist/utils/selectClosestHTMLAncestor.js +13 -0
  811. package/dist/utils/tightJsonStringify.d.ts +23 -0
  812. package/dist/utils/tightJsonStringify.d.ts.map +1 -0
  813. package/dist/utils/tightJsonStringify.js +27 -0
  814. package/dist/utils/tightJsonStringify.test.d.ts +2 -0
  815. package/dist/utils/tightJsonStringify.test.d.ts.map +1 -0
  816. package/dist/utils/tightJsonStringify.test.js +25 -0
  817. package/dist/utils/useRefAndState.d.ts +18 -0
  818. package/dist/utils/useRefAndState.d.ts.map +1 -0
  819. package/dist/utils/useRefAndState.js +32 -0
  820. package/package.json +1 -1
  821. package/dist/index.mjs +0 -105
  822. package/dist/index.mjs.map +0 -7
@@ -0,0 +1,18 @@
1
+ import { prism } from '@tomorrowevening/theatre-dataverse';
2
+ /**
3
+ * A prism that holds the current mouse position.
4
+ */
5
+ const mousePositionD = prism(() => {
6
+ const [pos, setPos] = prism.state('pos', null);
7
+ prism.effect('setupListeners', () => {
8
+ const handleMouseMove = (e) => {
9
+ setPos(e);
10
+ };
11
+ document.addEventListener('mousemove', handleMouseMove);
12
+ return () => {
13
+ document.removeEventListener('mousemove', handleMouseMove);
14
+ };
15
+ }, []);
16
+ return pos;
17
+ });
18
+ export default mousePositionD;
@@ -0,0 +1,49 @@
1
+ import type { $IntentionalAny } from '@tomorrowevening/theatre-shared/utils/types';
2
+ interface Transformer<Input extends $IntentionalAny, Output extends $IntentionalAny> {
3
+ (input: Input): Output;
4
+ }
5
+ type SubString<T> = T extends string ? (string extends T ? never : T) : never;
6
+ interface ActionCreatorCreator {
7
+ <ActionType extends string, Payload, Input>(actionType: SubString<ActionType>, transformer: Transformer<Input, Payload>): {
8
+ (input: Input): {
9
+ type: SubString<ActionType>;
10
+ payload: Payload;
11
+ };
12
+ type: SubString<ActionType>;
13
+ ActionType: {
14
+ type: SubString<ActionType>;
15
+ payload: Payload;
16
+ };
17
+ is: (o: $IntentionalAny) => o is {
18
+ type: SubString<ActionType>;
19
+ payload: Payload;
20
+ };
21
+ };
22
+ <ActionType extends string>(actionType: SubString<ActionType>): {
23
+ <Payload>(payload: Payload): {
24
+ type: SubString<ActionType>;
25
+ payload: Payload;
26
+ };
27
+ (): {
28
+ type: SubString<ActionType>;
29
+ payload: void;
30
+ };
31
+ type: SubString<ActionType>;
32
+ ActionType: {
33
+ type: SubString<ActionType>;
34
+ payload: unknown;
35
+ };
36
+ is: (o: unknown) => o is {
37
+ type: SubString<ActionType>;
38
+ payload: unknown;
39
+ };
40
+ };
41
+ }
42
+ /**
43
+ * This is basically the same as `{createAction}` from 'redux-actions',
44
+ * only that you can query the type of the action from the resulting
45
+ * action creator.
46
+ */
47
+ declare const actionCreator: ActionCreatorCreator;
48
+ export default actionCreator;
49
+ //# sourceMappingURL=actionCreator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionCreator.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/utils/redux/actionCreator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,6CAA6C,CAAA;AAMhF,UAAU,WAAW,CACnB,KAAK,SAAS,eAAe,EAC7B,MAAM,SAAS,eAAe;IAE9B,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAA;CACvB;AAED,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,CAAC,MAAM,SAAS,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC,GAAG,KAAK,CAAA;AAE7E,UAAU,oBAAoB;IAC5B,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,EAAE,KAAK,EACxC,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC,EACjC,WAAW,EAAE,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,GACvC;QACD,CAAC,KAAK,EAAE,KAAK,GAAG;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC/D,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;QAC3B,UAAU,EAAE;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC3D,EAAE,EAAE,CACF,CAAC,EAAE,eAAe,KACf,CAAC,IAAI;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;KAC1D,CAAA;IAED,CAAC,UAAU,SAAS,MAAM,EAAE,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG;QAC9D,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC5E,IAAI;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,IAAI,CAAA;SAAC,CAAA;QAChD,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;QAC3B,UAAU,EAAE;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;QAC3D,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,CAAC,IAAI;YAAC,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAC,CAAA;KACzE,CAAA;CACF;AAED;;;;GAIG;AACH,QAAA,MAAM,aAAa,EAAE,oBAapB,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,15 @@
1
+ function identity(a) {
2
+ return a;
3
+ }
4
+ /**
5
+ * This is basically the same as `{createAction}` from 'redux-actions',
6
+ * only that you can query the type of the action from the resulting
7
+ * action creator.
8
+ */
9
+ const actionCreator = (actionType, transformer = identity) => {
10
+ const originalActionCreator = (payload) => ({ type: actionType, payload: transformer(payload) });
11
+ originalActionCreator.type = actionType;
12
+ originalActionCreator.is = (o) => o && o.type && o.type === actionType;
13
+ return originalActionCreator;
14
+ };
15
+ export default actionCreator;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=actionCreator.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionCreator.test.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/utils/redux/actionCreator.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ import actionCreator from '@tomorrowevening/theatre-studio/utils/redux/actionCreator';
2
+ describe('@tomorrowevening/theatre-studio/utils/redux/actionCreator()', () => {
3
+ const actionType = 'Bootstrap';
4
+ const payload = { a: 1, b: 2 };
5
+ let creator = actionCreator(actionType);
6
+ beforeEach(() => {
7
+ creator = actionCreator(actionType);
8
+ });
9
+ describe('output action', () => {
10
+ it('should maintain the same type and payload', () => {
11
+ const output = creator(payload);
12
+ expect(output.type).toEqual(actionType);
13
+ expect(output.payload).toEqual(payload);
14
+ });
15
+ });
16
+ describe('the action creator', () => {
17
+ it('should have a reference to the original action type', () => {
18
+ expect(creator.type).toEqual(actionType);
19
+ });
20
+ });
21
+ /* eslint-disable unused-imports/no-unused-vars-ts */
22
+ function typeTests() {
23
+ const creator = actionCreator(actionType);
24
+ // @ts-ignore
25
+ let a = creator.type;
26
+ // $FlowExpectError
27
+ a = creator.type;
28
+ const action = creator(payload);
29
+ a = action.payload.a;
30
+ // $FlowExpectError
31
+ a = action.payload.a;
32
+ a = action.payload;
33
+ }
34
+ /* eslint-enable unused-imports/no-unused-vars-ts */
35
+ });
@@ -0,0 +1,18 @@
1
+ import type { IUtilContext } from '@tomorrowevening/theatre-shared/logger';
2
+ import type { $IntentionalAny, GenericAction } from '@tomorrowevening/theatre-shared/utils/types';
3
+ /**
4
+ * [This is why you use twitter](https://twitter.com/ae_play/status/1323597147758043137)
5
+ */
6
+ export type PayloadTypeOfReducer<Fn extends (s: $IntentionalAny, action: {
7
+ type: string;
8
+ payload: $IntentionalAny;
9
+ }) => $IntentionalAny> = Parameters<Fn>[1]['payload'];
10
+ declare const actionReducersBundle: <State>(ctx: IUtilContext) => <Reducers extends Record<string, (s: State, action: $IntentionalAny) => void>>(reducers: Reducers) => {
11
+ actions: { [K in keyof Reducers]: (payload: PayloadTypeOfReducer<Reducers[K]>) => {
12
+ type: K;
13
+ payload: PayloadTypeOfReducer<Reducers[K]>;
14
+ }; };
15
+ reducer: (prevState: State, action: GenericAction) => State;
16
+ };
17
+ export default actionReducersBundle;
18
+ //# sourceMappingURL=actionReducersBundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionReducersBundle.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/utils/redux/actionReducersBundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,wCAAwC,CAAA;AACxE,OAAO,KAAK,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,6CAA6C,CAAA;AAG/F;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAC9B,EAAE,SAAS,CACT,CAAC,EAAE,eAAe,EAClB,MAAM,EAAE;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,eAAe,CAAA;CAAC,KAC7C,eAAe,IAClB,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;AAEhC,QAAA,MAAM,oBAAoB,eACX,YAAY,yDAIF,eAAe,KAAK,IAAI;;;;;wCAgBF,aAAa;CAazD,CAAA;AAEH,eAAe,oBAAoB,CAAA"}
@@ -0,0 +1,18 @@
1
+ import mapValues from 'lodash-es/mapValues';
2
+ const actionReducersBundle = (ctx) => (reducers) => {
3
+ const actions = mapValues(reducers, (_, actionType) => {
4
+ return (payload) => ({ type: actionType, payload });
5
+ });
6
+ const reducer = (prevState, action) => {
7
+ const { type } = action;
8
+ const innerReducer = reducers[type];
9
+ if (!innerReducer) {
10
+ ctx.logger.error(`Unkown action type '${type}'`);
11
+ return prevState;
12
+ }
13
+ const newState = innerReducer(prevState, action);
14
+ return newState;
15
+ };
16
+ return { actions, reducer };
17
+ };
18
+ export default actionReducersBundle;
@@ -0,0 +1,4 @@
1
+ import { Atom } from '@tomorrowevening/theatre-dataverse';
2
+ import type { Store } from 'redux';
3
+ export default function atomFromReduxStore<State>(store: Store<State>): Atom<State>;
4
+ //# sourceMappingURL=atomFromReduxStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atomFromReduxStore.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/utils/redux/atomFromReduxStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,oCAAoC,CAAA;AACvD,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,OAAO,CAAA;AAEhC,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,KAAK,EAC9C,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,GAClB,IAAI,CAAC,KAAK,CAAC,CAWb"}
@@ -0,0 +1,11 @@
1
+ import { Atom } from '@tomorrowevening/theatre-dataverse';
2
+ export default function atomFromReduxStore(store) {
3
+ let lastState = store.getState();
4
+ const a = new Atom(lastState);
5
+ store.subscribe(() => {
6
+ const newState = store.getState();
7
+ a.set(newState);
8
+ lastState = newState;
9
+ });
10
+ return a;
11
+ }
@@ -0,0 +1,9 @@
1
+ import type { $FixMe, ReduxReducer } from '@tomorrowevening/theatre-shared/utils/types';
2
+ import type { Store } from 'redux';
3
+ interface Conf<State extends {}> {
4
+ rootReducer: ReduxReducer<State>;
5
+ devtoolsOptions?: $FixMe;
6
+ }
7
+ export default function configureStore<State extends {}>(conf: Conf<State>): Store<State>;
8
+ export {};
9
+ //# sourceMappingURL=configureStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configureStore.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/utils/redux/configureStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAEN,YAAY,EACb,MAAM,6CAA6C,CAAA;AAEpD,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,OAAO,CAAA;AAGhC,UAAU,IAAI,CAAC,KAAK,SAAS,EAAE;IAC7B,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,CAAA;IAChC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,SAAS,EAAE,EACrD,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAChB,KAAK,CAAC,KAAK,CAAC,CA0Bd"}
@@ -0,0 +1,18 @@
1
+ import identity from 'lodash-es/identity';
2
+ import { compose, createStore } from 'redux';
3
+ export default function configureStore(conf) {
4
+ // const middlewares: $FixMe[] = []
5
+ const enhancers = [];
6
+ if (process.env.NODE_ENV !== 'production') {
7
+ const devtoolsEnhancer = process.env.NODE_ENV !== 'production' &&
8
+ typeof window === 'object' &&
9
+ window.__REDUX_DEVTOOLS_EXTENSION__
10
+ ? window.__REDUX_DEVTOOLS_EXTENSION__(conf.devtoolsOptions)
11
+ : identity;
12
+ enhancers.push(devtoolsEnhancer);
13
+ }
14
+ // enhancers.unshift(applyMiddleware(...middlewares))
15
+ const enhancer = compose(...enhancers);
16
+ const store = createStore(conf.rootReducer, undefined, enhancer);
17
+ return store;
18
+ }
@@ -0,0 +1,10 @@
1
+ import type { $IntentionalAny } from '@tomorrowevening/theatre-shared/utils/types';
2
+ import type { Pointer } from '@tomorrowevening/theatre-dataverse';
3
+ type PointerFriendlySelector<S, R, Args extends $IntentionalAny[]> = <GivenState extends S | Pointer<S>>(state: GivenState, ...args: Args) => GivenState extends Pointer<S> ? Pointer<R> : GivenState extends S ? R : never;
4
+ /**
5
+ * Takes a selector and returns a new selector that supports
6
+ * both normal values and pointers
7
+ */
8
+ declare const pointerFriendlySelector: <S, R, Args extends any[]>(fn: (s: S, ...args: Args) => R) => PointerFriendlySelector<S, R, Args>;
9
+ export default pointerFriendlySelector;
10
+ //# sourceMappingURL=pointerFriendlySelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pointerFriendlySelector.d.ts","sourceRoot":"","sources":["../../../../../../studio/src/utils/redux/pointerFriendlySelector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,6CAA6C,CAAA;AAChF,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,oCAAoC,CAAA;AAE/D,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,SAAS,eAAe,EAAE,IAAI,CACnE,UAAU,SAAS,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,EAEjC,KAAK,EAAE,UAAU,EACjB,GAAG,IAAI,EAAE,IAAI,KACV,UAAU,SAAS,OAAO,CAAC,CAAC,CAAC,GAC9B,OAAO,CAAC,CAAC,CAAC,GACV,UAAU,SAAS,CAAC,GACpB,CAAC,GACD,KAAK,CAAA;AAET;;;GAGG;AACH,QAAA,MAAM,uBAAuB,mGAI5B,CAAA;AAED,eAAe,uBAAuB,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Takes a selector and returns a new selector that supports
3
+ * both normal values and pointers
4
+ */
5
+ const pointerFriendlySelector = (fn) => {
6
+ return fn;
7
+ };
8
+ export default pointerFriendlySelector;
@@ -0,0 +1,19 @@
1
+ import type { GenericAction, ReduxReducer } from '@tomorrowevening/theatre-shared/utils/types';
2
+ export declare const batchedAction: {
3
+ (input: GenericAction[]): {
4
+ type: "@@batched";
5
+ payload: GenericAction[];
6
+ };
7
+ type: "@@batched";
8
+ ActionType: {
9
+ type: "@@batched";
10
+ payload: GenericAction[];
11
+ };
12
+ is: (o: any) => o is {
13
+ type: "@@batched";
14
+ payload: GenericAction[];
15
+ };
16
+ };
17
+ declare const withBatchedActions: <S extends {}>(reducer: ReduxReducer<S>) => ReduxReducer<S>;
18
+ export default withBatchedActions;
19
+ //# sourceMappingURL=withBatchActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withBatchActions.d.ts","sourceRoot":"","sources":["../../../../../../../studio/src/utils/redux/withHistory/withBatchActions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,aAAa,EACb,YAAY,EACb,MAAM,6CAA6C,CAAA;AAEpD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CAGzB,CAAA;AAED,QAAA,MAAM,kBAAkB,6DAcvB,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -0,0 +1,13 @@
1
+ import actionCreator from '@tomorrowevening/theatre-studio/utils/redux/actionCreator';
2
+ export const batchedAction = actionCreator('@@batched', (actions) => actions);
3
+ const withBatchedActions = (reducer) => {
4
+ return (prevState, action) => {
5
+ if (batchedAction.is(action)) {
6
+ return action.payload.reduce((stateSoFar, a) => reducer(stateSoFar, a), prevState);
7
+ }
8
+ else {
9
+ return reducer(prevState, action);
10
+ }
11
+ };
12
+ };
13
+ export default withBatchedActions;
@@ -0,0 +1,127 @@
1
+ import type { ReduxReducer } from '@tomorrowevening/theatre-shared/utils/types';
2
+ export declare const historicActions: {
3
+ /**
4
+ * This action causes the reducer to replace the history it has tracked,
5
+ * with a new history. This is useful for persisting and re-hydrating the
6
+ * entire history to/from a persistent storage.
7
+ */
8
+ replaceHistory: {
9
+ <Payload>(payload: Payload): {
10
+ type: "@history/replaceHistory";
11
+ payload: Payload;
12
+ };
13
+ (): {
14
+ type: "@history/replaceHistory";
15
+ payload: void;
16
+ };
17
+ type: "@history/replaceHistory";
18
+ ActionType: {
19
+ type: "@history/replaceHistory";
20
+ payload: unknown;
21
+ };
22
+ is: (o: unknown) => o is {
23
+ type: "@history/replaceHistory";
24
+ payload: unknown;
25
+ };
26
+ };
27
+ /**
28
+ * This action causes the reducer to start the history from scratch. This is useful
29
+ * for testing and development where you want to explicitly provide a state to the
30
+ * store.
31
+ */
32
+ startHistoryFromScratch: {
33
+ <Payload_1>(payload: Payload_1): {
34
+ type: "@history/startHistoryFromScratch";
35
+ payload: Payload_1;
36
+ };
37
+ (): {
38
+ type: "@history/startHistoryFromScratch";
39
+ payload: void;
40
+ };
41
+ type: "@history/startHistoryFromScratch";
42
+ ActionType: {
43
+ type: "@history/startHistoryFromScratch";
44
+ payload: unknown;
45
+ };
46
+ is: (o: unknown) => o is {
47
+ type: "@history/startHistoryFromScratch";
48
+ payload: unknown;
49
+ };
50
+ };
51
+ undo: {
52
+ <Payload_2>(payload: Payload_2): {
53
+ type: "@history/undo";
54
+ payload: Payload_2;
55
+ };
56
+ (): {
57
+ type: "@history/undo";
58
+ payload: void;
59
+ };
60
+ type: "@history/undo";
61
+ ActionType: {
62
+ type: "@history/undo";
63
+ payload: unknown;
64
+ };
65
+ is: (o: unknown) => o is {
66
+ type: "@history/undo";
67
+ payload: unknown;
68
+ };
69
+ };
70
+ redo: {
71
+ <Payload_3>(payload: Payload_3): {
72
+ type: "@history/redo";
73
+ payload: Payload_3;
74
+ };
75
+ (): {
76
+ type: "@history/redo";
77
+ payload: void;
78
+ };
79
+ type: "@history/redo";
80
+ ActionType: {
81
+ type: "@history/redo";
82
+ payload: unknown;
83
+ };
84
+ is: (o: unknown) => o is {
85
+ type: "@history/redo";
86
+ payload: unknown;
87
+ };
88
+ };
89
+ };
90
+ export type HistoricAction = typeof historicActions[keyof typeof historicActions]['ActionType'];
91
+ export declare const isHistoricAction: (a: unknown) => a is {
92
+ type: "@history/replaceHistory";
93
+ payload: unknown;
94
+ } | {
95
+ type: "@history/startHistoryFromScratch";
96
+ payload: unknown;
97
+ } | {
98
+ type: "@history/undo";
99
+ payload: unknown;
100
+ } | {
101
+ type: "@history/redo";
102
+ payload: unknown;
103
+ };
104
+ type JSONPatchOp = unknown;
105
+ export type JSONPatchDiff = JSONPatchOp[];
106
+ type CommitHash = string;
107
+ interface Commit {
108
+ hash: CommitHash;
109
+ forwardDiff: JSONPatchOp[];
110
+ backwardDiff: JSONPatchOp[];
111
+ timestamp: number;
112
+ }
113
+ export interface IWithHistory<InnerState> {
114
+ innerState: InnerState;
115
+ /**
116
+ * If undefined, it means we've started the history from scratch.
117
+ */
118
+ currentCommitHash: CommitHash | undefined;
119
+ commitsByHash: Record<CommitHash, Commit>;
120
+ listOfCommitHashes: CommitHash[];
121
+ }
122
+ interface WithHistoryConfig {
123
+ maxNumberOfCommits: number;
124
+ }
125
+ export declare const withHistory: <InnerState extends {}>(innerReducer: ReduxReducer<InnerState>, config?: WithHistoryConfig) => ReduxReducer<IWithHistory<InnerState>>;
126
+ export {};
127
+ //# sourceMappingURL=withHistory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withHistory.d.ts","sourceRoot":"","sources":["../../../../../../../studio/src/utils/redux/withHistory/withHistory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,YAAY,EACb,MAAM,6CAA6C,CAAA;AAMpD,eAAO,MAAM,eAAe;IAC1B;;;;OAIG;;;;;;;;;;;;;;;;;;;;IAGH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKJ,CAAA;AAED,MAAM,MAAM,cAAc,GACxB,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC,YAAY,CAAC,CAAA;AAEpE,eAAO,MAAM,gBAAgB,MAAO,OAAO;;;;;;;;;;;;CAI1C,CAAA;AAKD,KAAK,WAAW,GAAG,OAAO,CAAA;AAC1B,MAAM,MAAM,aAAa,GAAG,WAAW,EAAE,CAAA;AAEzC,KAAK,UAAU,GAAG,MAAM,CAAA;AAExB,UAAU,MAAM;IACd,IAAI,EAAE,UAAU,CAAA;IAChB,WAAW,EAAE,WAAW,EAAE,CAAA;IAC1B,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,YAAY,CAAC,UAAU;IACtC,UAAU,EAAE,UAAU,CAAA;IAEtB;;OAEG;IACH,iBAAiB,EAAE,UAAU,GAAG,SAAS,CAAA;IACzC,aAAa,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IACzC,kBAAkB,EAAE,UAAU,EAAE,CAAA;CACjC;AAED,UAAU,iBAAiB;IACzB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAMD,eAAO,MAAM,WAAW,2EAEd,iBAAiB,2CAkC1B,CAAA"}
@@ -0,0 +1,157 @@
1
+ import actionCreator from '@tomorrowevening/theatre-studio/utils/redux/actionCreator';
2
+ import jiff from 'jiff';
3
+ import patch from 'json-touch-patch';
4
+ import last from 'lodash-es/last';
5
+ import { v4 as makeUUID } from 'uuid';
6
+ export const historicActions = {
7
+ /**
8
+ * This action causes the reducer to replace the history it has tracked,
9
+ * with a new history. This is useful for persisting and re-hydrating the
10
+ * entire history to/from a persistent storage.
11
+ */
12
+ replaceHistory: actionCreator('@history/replaceHistory'),
13
+ /**
14
+ * This action causes the reducer to start the history from scratch. This is useful
15
+ * for testing and development where you want to explicitly provide a state to the
16
+ * store.
17
+ */
18
+ startHistoryFromScratch: actionCreator('@history/startHistoryFromScratch'),
19
+ undo: actionCreator('@history/undo'),
20
+ redo: actionCreator('@history/redo'),
21
+ };
22
+ export const isHistoricAction = (a) => {
23
+ return Object.entries(historicActions).some(([, actionCreator]) => actionCreator.is(a));
24
+ };
25
+ //
26
+ const unknownAction = { type: '@history/unknownAction', payload: '' };
27
+ const defaultConfig = {
28
+ maxNumberOfCommits: 100,
29
+ };
30
+ export const withHistory = (innerReducer, config = defaultConfig) => {
31
+ const cachedEmptyHistory = createEmptyHistory(innerReducer(undefined, unknownAction));
32
+ return function historicReducer(state, action) {
33
+ if (historicActions.startHistoryFromScratch.is(action)) {
34
+ return createEmptyHistory(innerReducer(undefined, action.payload));
35
+ }
36
+ else if (historicActions.replaceHistory.is(action)) {
37
+ return action.payload;
38
+ }
39
+ else {
40
+ if (historicActions.undo.is(action)) {
41
+ return state ? undo(state) : cachedEmptyHistory;
42
+ }
43
+ else if (historicActions.redo.is(action)) {
44
+ return state ? redo(state) : cachedEmptyHistory;
45
+ }
46
+ else {
47
+ if (state) {
48
+ return pushCommit(state, innerReducer(state.innerState, action), config);
49
+ }
50
+ else {
51
+ return createEmptyHistory(innerReducer(undefined, action));
52
+ }
53
+ }
54
+ }
55
+ };
56
+ };
57
+ function createEmptyHistory(innerState) {
58
+ return {
59
+ currentCommitHash: undefined,
60
+ commitsByHash: {},
61
+ listOfCommitHashes: [],
62
+ innerState: innerState,
63
+ };
64
+ }
65
+ function pushCommit(prevHistory, newInnerState, config) {
66
+ if (newInnerState === prevHistory.innerState)
67
+ return prevHistory;
68
+ const commit = createCommit(prevHistory.innerState, newInnerState);
69
+ if (commit.forwardDiff.length === 0) {
70
+ return prevHistory;
71
+ }
72
+ const prevLastCommitHash = last(prevHistory.listOfCommitHashes);
73
+ const newHistory = {
74
+ currentCommitHash: commit.hash,
75
+ commitsByHash: { ...prevHistory.commitsByHash },
76
+ listOfCommitHashes: [...prevHistory.listOfCommitHashes],
77
+ innerState: newInnerState,
78
+ };
79
+ /*
80
+ * If we have undo-ed a few commits, and are now committing st which means we should discard
81
+ * the re-doable commits
82
+ * History: C C C C C C
83
+ * ^ <- currentCommitHash
84
+ */
85
+ if (prevHistory.currentCommitHash !== prevLastCommitHash) {
86
+ const indexOfCurrentCommitHash = prevHistory.listOfCommitHashes.findIndex((v) => v === prevHistory.currentCommitHash);
87
+ const listOfCommitHashesToDiscard = prevHistory.listOfCommitHashes.slice(indexOfCurrentCommitHash + 1);
88
+ listOfCommitHashesToDiscard.forEach((hash) => {
89
+ delete newHistory.commitsByHash[hash];
90
+ });
91
+ newHistory.listOfCommitHashes.splice(indexOfCurrentCommitHash + 1, newHistory.listOfCommitHashes.length);
92
+ }
93
+ newHistory.listOfCommitHashes.push(commit.hash);
94
+ newHistory.commitsByHash[commit.hash] = commit;
95
+ if (newHistory.listOfCommitHashes.length > config.maxNumberOfCommits) {
96
+ const numberOfCommitsToDiscard = newHistory.listOfCommitHashes.length - config.maxNumberOfCommits;
97
+ const listOfCommitHashesToDiscard = newHistory.listOfCommitHashes.slice(0, numberOfCommitsToDiscard);
98
+ listOfCommitHashesToDiscard.forEach((hash) => {
99
+ delete newHistory.commitsByHash[hash];
100
+ });
101
+ newHistory.listOfCommitHashes.splice(0, numberOfCommitsToDiscard);
102
+ }
103
+ return newHistory;
104
+ }
105
+ function createCommit(oldSnapshot, newSnapshot) {
106
+ const forwardDiff = jiff.diff(oldSnapshot, newSnapshot, { invertible: false });
107
+ const backwardDiff = jiff.diff(newSnapshot, oldSnapshot, { invertible: false });
108
+ const timestamp = Date.now();
109
+ const commitHash = makeUUID();
110
+ const commit = {
111
+ forwardDiff,
112
+ backwardDiff,
113
+ timestamp,
114
+ hash: commitHash,
115
+ };
116
+ return commit;
117
+ }
118
+ function undo(prevHistory) {
119
+ if (prevHistory.currentCommitHash === undefined) {
120
+ return prevHistory;
121
+ }
122
+ const indexOfCurrentCommitHash = prevHistory.listOfCommitHashes.findIndex((v) => v === prevHistory.currentCommitHash);
123
+ if (indexOfCurrentCommitHash === -1) {
124
+ throw new Error('This should never happen');
125
+ }
126
+ const currentCommit = prevHistory.commitsByHash[prevHistory.currentCommitHash];
127
+ const newInnerState = patch(prevHistory.innerState, currentCommit.backwardDiff);
128
+ const indexOfNewCommitHash = indexOfCurrentCommitHash - 1;
129
+ const newCommitHash = indexOfNewCommitHash === -1
130
+ ? undefined
131
+ : prevHistory.listOfCommitHashes[indexOfNewCommitHash];
132
+ const newHistory = {
133
+ ...prevHistory,
134
+ currentCommitHash: newCommitHash,
135
+ innerState: newInnerState,
136
+ };
137
+ return newHistory;
138
+ }
139
+ function redo(prevHistory) {
140
+ if (prevHistory.listOfCommitHashes.length === 0) {
141
+ return prevHistory;
142
+ }
143
+ const indexOfCurrentCommitHash = prevHistory.listOfCommitHashes.findIndex((v) => v === prevHistory.currentCommitHash);
144
+ if (indexOfCurrentCommitHash === prevHistory.listOfCommitHashes.length - 1) {
145
+ return prevHistory;
146
+ }
147
+ const indexOfNewCommitHash = indexOfCurrentCommitHash + 1;
148
+ const newCommitHash = prevHistory.listOfCommitHashes[indexOfNewCommitHash];
149
+ const currentCommit = prevHistory.commitsByHash[newCommitHash];
150
+ const newInnerState = patch(prevHistory.innerState, currentCommit.forwardDiff);
151
+ const newHistory = {
152
+ ...prevHistory,
153
+ currentCommitHash: newCommitHash,
154
+ innerState: newInnerState,
155
+ };
156
+ return newHistory;
157
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export declare const getMounter: () => {
3
+ mountOrRender: <Props extends {}>(comp: React.ComponentType<Props>, props: Props, portalNode: HTMLElement) => void;
4
+ unmount: () => void;
5
+ };
6
+ export declare const MountAll: () => React.JSX.Element;
7
+ //# sourceMappingURL=renderInPortalInContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderInPortalInContext.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/renderInPortalInContext.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB,eAAO,MAAM,UAAU;kGAKP,WAAW;;CAoB1B,CAAA;AAED,eAAO,MAAM,QAAQ,yBASpB,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { Atom } from '@tomorrowevening/theatre-dataverse';
2
+ import { useVal } from '@tomorrowevening/theatre-react';
3
+ import React from 'react';
4
+ import { createPortal } from 'react-dom';
5
+ const theAtom = new Atom({
6
+ set: {},
7
+ byId: {},
8
+ });
9
+ let lastId = 1;
10
+ export const getMounter = () => {
11
+ const id = lastId++;
12
+ function mountOrRender(comp, props, portalNode) {
13
+ theAtom.reduce((s) => {
14
+ return {
15
+ byId: { ...s.byId, [id]: { comp, props, portalNode } },
16
+ set: { ...s.set, [id]: true },
17
+ };
18
+ });
19
+ }
20
+ function unmount() {
21
+ theAtom.reduce((s) => {
22
+ const set = { ...s.set };
23
+ const byId = { ...s.byId };
24
+ delete set[id];
25
+ return { byId, set };
26
+ });
27
+ }
28
+ return { mountOrRender, unmount };
29
+ };
30
+ export const MountAll = () => {
31
+ const ids = Object.keys(useVal(theAtom.pointer.set));
32
+ return (React.createElement(React.Fragment, null, ids.map((id) => (React.createElement(Mount, { key: 'id-' + id, id: id })))));
33
+ };
34
+ const Mount = ({ id }) => {
35
+ const { comp, portalNode, props } = useVal(theAtom.pointer.byId[id]);
36
+ const Comp = comp;
37
+ return createPortal(React.createElement(Comp, { ...props }), portalNode);
38
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Traverse upwards from the current element to find the first element that matches the selector.
3
+ */
4
+ export declare function selectClosestHTMLAncestor(start: Element | Node | null, selector: string): Element | null;
5
+ //# sourceMappingURL=selectClosestHTMLAncestor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectClosestHTMLAncestor.d.ts","sourceRoot":"","sources":["../../../../../studio/src/utils/selectClosestHTMLAncestor.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,EAC5B,QAAQ,EAAE,MAAM,GACf,OAAO,GAAG,IAAI,CAOhB"}