@automovie/viewer 0.3.4 → 0.4.0

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 (387) hide show
  1. package/README.md +8 -87
  2. package/lib/IAutoMovieViewerCompletedFrame.d.ts +19 -11
  3. package/lib/IAutoMovieViewerDisplayMetadata.d.ts +0 -5
  4. package/lib/IAutoMovieViewerHandle.d.ts +3 -25
  5. package/lib/IMountViewerOptions.d.ts +24 -38
  6. package/lib/IViewerCameraStateSnapshot.d.ts +0 -5
  7. package/lib/IViewerFrameTransfer.d.ts +11 -0
  8. package/lib/IViewerFrameTransfer.js +3 -0
  9. package/lib/IViewerFrameTransfer.js.map +1 -0
  10. package/lib/IViewerFrameTransfer.mjs +0 -0
  11. package/lib/applyCaptureCanvasSize.d.ts +9 -10
  12. package/lib/applyCaptureCanvasSize.js +7 -13
  13. package/lib/applyCaptureCanvasSize.js.map +1 -1
  14. package/lib/applyCaptureCanvasSize.mjs +7 -10
  15. package/lib/applyCaptureCanvasSize.mjs.map +1 -1
  16. package/lib/audio/IAutoMovieAudioCue.d.ts +3 -8
  17. package/lib/audio/planAutoMovieAudioPlayback.d.ts +8 -21
  18. package/lib/audio/planAutoMovieAudioPlayback.js +8 -14
  19. package/lib/audio/planAutoMovieAudioPlayback.js.map +1 -1
  20. package/lib/audio/planAutoMovieAudioPlayback.mjs +8 -14
  21. package/lib/audio/planAutoMovieAudioPlayback.mjs.map +1 -1
  22. package/lib/audio/playAutoMovieAudioCues.d.ts +4 -11
  23. package/lib/audio/playAutoMovieAudioCues.js +4 -11
  24. package/lib/audio/playAutoMovieAudioCues.js.map +1 -1
  25. package/lib/audio/playAutoMovieAudioCues.mjs +4 -11
  26. package/lib/audio/playAutoMovieAudioCues.mjs.map +1 -1
  27. package/lib/createViewerCameraState.d.ts +3 -11
  28. package/lib/createViewerCameraState.js +80 -121
  29. package/lib/createViewerCameraState.js.map +1 -1
  30. package/lib/createViewerCameraState.mjs +46 -98
  31. package/lib/createViewerCameraState.mjs.map +1 -1
  32. package/lib/createViewerDisplayClock.d.ts +2 -10
  33. package/lib/createViewerDisplayClock.js +4 -12
  34. package/lib/createViewerDisplayClock.js.map +1 -1
  35. package/lib/createViewerDisplayClock.mjs +3 -11
  36. package/lib/createViewerDisplayClock.mjs.map +1 -1
  37. package/lib/createViewerDisplayPublication.d.ts +7 -15
  38. package/lib/createViewerDisplayPublication.js +7 -15
  39. package/lib/createViewerDisplayPublication.js.map +1 -1
  40. package/lib/createViewerDisplayPublication.mjs +7 -15
  41. package/lib/createViewerDisplayPublication.mjs.map +1 -1
  42. package/lib/createViewerDisplaySave.d.ts +8 -16
  43. package/lib/createViewerDisplaySave.js +8 -16
  44. package/lib/createViewerDisplaySave.js.map +1 -1
  45. package/lib/createViewerDisplaySave.mjs +8 -16
  46. package/lib/createViewerDisplaySave.mjs.map +1 -1
  47. package/lib/createViewerFrameControl.d.ts +8 -10
  48. package/lib/createViewerFrameControl.js +3 -15
  49. package/lib/createViewerFrameControl.js.map +1 -1
  50. package/lib/createViewerFrameControl.mjs +3 -12
  51. package/lib/createViewerFrameControl.mjs.map +1 -1
  52. package/lib/createViewerViewportResize.d.ts +4 -12
  53. package/lib/createViewerViewportResize.js +7 -20
  54. package/lib/createViewerViewportResize.js.map +1 -1
  55. package/lib/createViewerViewportResize.mjs +6 -14
  56. package/lib/createViewerViewportResize.mjs.map +1 -1
  57. package/lib/index.d.ts +1 -0
  58. package/lib/index.js +1 -0
  59. package/lib/index.js.map +1 -1
  60. package/lib/index.mjs +6 -1
  61. package/lib/inspector/AutoMovieInspector.d.ts +33 -13
  62. package/lib/inspector/AutoMovieInspector.js +110 -19
  63. package/lib/inspector/AutoMovieInspector.js.map +1 -1
  64. package/lib/inspector/AutoMovieInspector.mjs +121 -18
  65. package/lib/inspector/AutoMovieInspector.mjs.map +1 -1
  66. package/lib/inspector/AutoMovieInspectorBeauty.d.ts +41 -0
  67. package/lib/inspector/AutoMovieInspectorBeauty.js +56 -0
  68. package/lib/inspector/AutoMovieInspectorBeauty.js.map +1 -0
  69. package/lib/inspector/AutoMovieInspectorBeauty.mjs +55 -0
  70. package/lib/inspector/AutoMovieInspectorBeauty.mjs.map +1 -0
  71. package/lib/inspector/AutoMovieInspectorDiagnosticLog.d.ts +48 -0
  72. package/lib/inspector/AutoMovieInspectorDiagnosticLog.js +186 -0
  73. package/lib/inspector/AutoMovieInspectorDiagnosticLog.js.map +1 -0
  74. package/lib/inspector/AutoMovieInspectorDiagnosticLog.mjs +171 -0
  75. package/lib/inspector/AutoMovieInspectorDiagnosticLog.mjs.map +1 -0
  76. package/lib/inspector/AutoMovieInspectorDiagnosticsPanel.d.ts +23 -0
  77. package/lib/inspector/AutoMovieInspectorDiagnosticsPanel.js +37 -0
  78. package/lib/inspector/AutoMovieInspectorDiagnosticsPanel.js.map +1 -0
  79. package/lib/inspector/AutoMovieInspectorDiagnosticsPanel.mjs +85 -0
  80. package/lib/inspector/AutoMovieInspectorDiagnosticsPanel.mjs.map +1 -0
  81. package/lib/inspector/AutoMovieInspectorMarksPanel.d.ts +4 -10
  82. package/lib/inspector/AutoMovieInspectorMarksPanel.js +18 -35
  83. package/lib/inspector/AutoMovieInspectorMarksPanel.js.map +1 -1
  84. package/lib/inspector/AutoMovieInspectorMarksPanel.mjs +32 -38
  85. package/lib/inspector/AutoMovieInspectorMarksPanel.mjs.map +1 -1
  86. package/lib/inspector/AutoMovieInspectorPlayhead.d.ts +35 -96
  87. package/lib/inspector/AutoMovieInspectorPlayhead.js +41 -101
  88. package/lib/inspector/AutoMovieInspectorPlayhead.js.map +1 -1
  89. package/lib/inspector/AutoMovieInspectorPlayhead.mjs +44 -98
  90. package/lib/inspector/AutoMovieInspectorPlayhead.mjs.map +1 -1
  91. package/lib/inspector/AutoMovieInspectorRequestPanel.d.ts +9 -10
  92. package/lib/inspector/AutoMovieInspectorRequestPanel.js +18 -12
  93. package/lib/inspector/AutoMovieInspectorRequestPanel.js.map +1 -1
  94. package/lib/inspector/AutoMovieInspectorRequestPanel.mjs +32 -14
  95. package/lib/inspector/AutoMovieInspectorRequestPanel.mjs.map +1 -1
  96. package/lib/inspector/AutoMovieInspectorSelectionPanel.d.ts +0 -8
  97. package/lib/inspector/AutoMovieInspectorSelectionPanel.js +0 -8
  98. package/lib/inspector/AutoMovieInspectorSelectionPanel.js.map +1 -1
  99. package/lib/inspector/AutoMovieInspectorSelectionPanel.mjs +0 -8
  100. package/lib/inspector/AutoMovieInspectorSelectionPanel.mjs.map +1 -1
  101. package/lib/inspector/AutoMovieInspectorShadePanel.d.ts +2 -9
  102. package/lib/inspector/AutoMovieInspectorShadePanel.js +18 -25
  103. package/lib/inspector/AutoMovieInspectorShadePanel.js.map +1 -1
  104. package/lib/inspector/AutoMovieInspectorShadePanel.mjs +18 -27
  105. package/lib/inspector/AutoMovieInspectorShadePanel.mjs.map +1 -1
  106. package/lib/inspector/AutoMovieInspectorTimePanel.d.ts +0 -8
  107. package/lib/inspector/AutoMovieInspectorTimePanel.js +0 -8
  108. package/lib/inspector/AutoMovieInspectorTimePanel.js.map +1 -1
  109. package/lib/inspector/AutoMovieInspectorTimePanel.mjs +0 -8
  110. package/lib/inspector/AutoMovieInspectorTimePanel.mjs.map +1 -1
  111. package/lib/inspector/AutoMovieInspectorTimeReadout.d.ts +0 -8
  112. package/lib/inspector/AutoMovieInspectorTimeReadout.js +4 -10
  113. package/lib/inspector/AutoMovieInspectorTimeReadout.js.map +1 -1
  114. package/lib/inspector/AutoMovieInspectorTimeReadout.mjs +3 -12
  115. package/lib/inspector/AutoMovieInspectorTimeReadout.mjs.map +1 -1
  116. package/lib/inspector/AutoMovieInspectorTransition.d.ts +79 -0
  117. package/lib/inspector/AutoMovieInspectorTransition.js +131 -0
  118. package/lib/inspector/AutoMovieInspectorTransition.js.map +1 -0
  119. package/lib/inspector/AutoMovieInspectorTransition.mjs +119 -0
  120. package/lib/inspector/AutoMovieInspectorTransition.mjs.map +1 -0
  121. package/lib/inspector/AutoMovieInspectorViewPanel.d.ts +0 -8
  122. package/lib/inspector/AutoMovieInspectorViewPanel.js +0 -8
  123. package/lib/inspector/AutoMovieInspectorViewPanel.js.map +1 -1
  124. package/lib/inspector/AutoMovieInspectorViewPanel.mjs +0 -8
  125. package/lib/inspector/AutoMovieInspectorViewPanel.mjs.map +1 -1
  126. package/lib/inspector/IAutoMovieInspectorAction.d.ts +54 -95
  127. package/lib/inspector/IAutoMovieInspectorLive.d.ts +43 -0
  128. package/lib/inspector/IAutoMovieInspectorLive.js +3 -0
  129. package/lib/inspector/IAutoMovieInspectorLive.js.map +1 -0
  130. package/lib/inspector/IAutoMovieInspectorLive.mjs +0 -0
  131. package/lib/inspector/IAutoMovieInspectorPathNode.d.ts +14 -9
  132. package/lib/inspector/IAutoMovieInspectorProps.d.ts +3 -14
  133. package/lib/inspector/IAutoMovieInspectorScene.d.ts +96 -100
  134. package/lib/inspector/IAutoMovieInspectorSceneHost.d.ts +37 -102
  135. package/lib/inspector/IAutoMovieInspectorState.d.ts +6 -7
  136. package/lib/inspector/assertAutoMovieInspectorRaster.d.ts +7 -0
  137. package/lib/inspector/assertAutoMovieInspectorRaster.js +19 -0
  138. package/lib/inspector/assertAutoMovieInspectorRaster.js.map +1 -0
  139. package/lib/inspector/assertAutoMovieInspectorRaster.mjs +17 -0
  140. package/lib/inspector/assertAutoMovieInspectorRaster.mjs.map +1 -0
  141. package/lib/inspector/buildAutoMovieInspectorPathTree.d.ts +9 -10
  142. package/lib/inspector/buildAutoMovieInspectorPathTree.js +9 -10
  143. package/lib/inspector/buildAutoMovieInspectorPathTree.js.map +1 -1
  144. package/lib/inspector/buildAutoMovieInspectorPathTree.mjs +9 -10
  145. package/lib/inspector/buildAutoMovieInspectorPathTree.mjs.map +1 -1
  146. package/lib/inspector/changesAutoMovieObservedScene.d.ts +16 -0
  147. package/lib/inspector/changesAutoMovieObservedScene.js +28 -0
  148. package/lib/inspector/changesAutoMovieObservedScene.js.map +1 -0
  149. package/lib/inspector/changesAutoMovieObservedScene.mjs +21 -0
  150. package/lib/inspector/changesAutoMovieObservedScene.mjs.map +1 -0
  151. package/lib/inspector/createAutoMovieInspectorAddressWriter.d.ts +13 -11
  152. package/lib/inspector/createAutoMovieInspectorAddressWriter.js +13 -11
  153. package/lib/inspector/createAutoMovieInspectorAddressWriter.js.map +1 -1
  154. package/lib/inspector/createAutoMovieInspectorAddressWriter.mjs +13 -11
  155. package/lib/inspector/createAutoMovieInspectorAddressWriter.mjs.map +1 -1
  156. package/lib/inspector/createAutoMovieInspectorCanvasHost.d.ts +7 -10
  157. package/lib/inspector/createAutoMovieInspectorCanvasHost.js +14 -11
  158. package/lib/inspector/createAutoMovieInspectorCanvasHost.js.map +1 -1
  159. package/lib/inspector/createAutoMovieInspectorCanvasHost.mjs +17 -14
  160. package/lib/inspector/createAutoMovieInspectorCanvasHost.mjs.map +1 -1
  161. package/lib/inspector/createAutoMovieInspectorState.d.ts +3 -9
  162. package/lib/inspector/createAutoMovieInspectorState.js +3 -9
  163. package/lib/inspector/createAutoMovieInspectorState.js.map +1 -1
  164. package/lib/inspector/createAutoMovieInspectorState.mjs +3 -9
  165. package/lib/inspector/createAutoMovieInspectorState.mjs.map +1 -1
  166. package/lib/inspector/firstAutoMovieInspectorSecond.d.ts +6 -0
  167. package/lib/inspector/firstAutoMovieInspectorSecond.js +13 -0
  168. package/lib/inspector/firstAutoMovieInspectorSecond.js.map +1 -0
  169. package/lib/inspector/firstAutoMovieInspectorSecond.mjs +11 -0
  170. package/lib/inspector/firstAutoMovieInspectorSecond.mjs.map +1 -0
  171. package/lib/inspector/followAutoMovieInspectorSize.d.ts +11 -0
  172. package/lib/inspector/followAutoMovieInspectorSize.js +26 -0
  173. package/lib/inspector/followAutoMovieInspectorSize.js.map +1 -0
  174. package/lib/inspector/followAutoMovieInspectorSize.mjs +26 -0
  175. package/lib/inspector/followAutoMovieInspectorSize.mjs.map +1 -0
  176. package/lib/inspector/formatAutoMovieInspectorAddress.d.ts +11 -10
  177. package/lib/inspector/formatAutoMovieInspectorAddress.js +15 -11
  178. package/lib/inspector/formatAutoMovieInspectorAddress.js.map +1 -1
  179. package/lib/inspector/formatAutoMovieInspectorAddress.mjs +15 -11
  180. package/lib/inspector/formatAutoMovieInspectorAddress.mjs.map +1 -1
  181. package/lib/inspector/formatAutoMovieInspectorCommand.d.ts +20 -14
  182. package/lib/inspector/formatAutoMovieInspectorCommand.js +33 -14
  183. package/lib/inspector/formatAutoMovieInspectorCommand.js.map +1 -1
  184. package/lib/inspector/formatAutoMovieInspectorCommand.mjs +26 -15
  185. package/lib/inspector/formatAutoMovieInspectorCommand.mjs.map +1 -1
  186. package/lib/inspector/handleAutoMovieInspectorKey.d.ts +24 -15
  187. package/lib/inspector/handleAutoMovieInspectorKey.js +27 -16
  188. package/lib/inspector/handleAutoMovieInspectorKey.js.map +1 -1
  189. package/lib/inspector/handleAutoMovieInspectorKey.mjs +27 -16
  190. package/lib/inspector/handleAutoMovieInspectorKey.mjs.map +1 -1
  191. package/lib/inspector/index.d.ts +5 -0
  192. package/lib/inspector/index.js +5 -0
  193. package/lib/inspector/index.js.map +1 -1
  194. package/lib/inspector/index.mjs +6 -1
  195. package/lib/inspector/inspectAutoMovieInspectorRequest.d.ts +19 -0
  196. package/lib/inspector/inspectAutoMovieInspectorRequest.js +20 -0
  197. package/lib/inspector/inspectAutoMovieInspectorRequest.js.map +1 -0
  198. package/lib/inspector/inspectAutoMovieInspectorRequest.mjs +20 -0
  199. package/lib/inspector/inspectAutoMovieInspectorRequest.mjs.map +1 -0
  200. package/lib/inspector/installAutoMovieInspectorRequest.d.ts +20 -0
  201. package/lib/inspector/installAutoMovieInspectorRequest.js +36 -0
  202. package/lib/inspector/installAutoMovieInspectorRequest.js.map +1 -0
  203. package/lib/inspector/installAutoMovieInspectorRequest.mjs +35 -0
  204. package/lib/inspector/installAutoMovieInspectorRequest.mjs.map +1 -0
  205. package/lib/inspector/locateAutoMovieInspectorFinding.d.ts +19 -0
  206. package/lib/inspector/locateAutoMovieInspectorFinding.js +34 -0
  207. package/lib/inspector/locateAutoMovieInspectorFinding.js.map +1 -0
  208. package/lib/inspector/locateAutoMovieInspectorFinding.mjs +37 -0
  209. package/lib/inspector/locateAutoMovieInspectorFinding.mjs.map +1 -0
  210. package/lib/inspector/messageOfAutoMovieInspectorError.d.ts +2 -0
  211. package/lib/inspector/messageOfAutoMovieInspectorError.js +8 -0
  212. package/lib/inspector/messageOfAutoMovieInspectorError.js.map +1 -0
  213. package/lib/inspector/messageOfAutoMovieInspectorError.mjs +8 -0
  214. package/lib/inspector/messageOfAutoMovieInspectorError.mjs.map +1 -0
  215. package/lib/inspector/mountAutoMovieInspectorPage.d.ts +5 -8
  216. package/lib/inspector/mountAutoMovieInspectorPage.js +3 -9
  217. package/lib/inspector/mountAutoMovieInspectorPage.js.map +1 -1
  218. package/lib/inspector/mountAutoMovieInspectorPage.mjs +4 -9
  219. package/lib/inspector/mountAutoMovieInspectorPage.mjs.map +1 -1
  220. package/lib/inspector/mountAutoMovieInspectorScene.d.ts +55 -12
  221. package/lib/inspector/mountAutoMovieInspectorScene.js +238 -164
  222. package/lib/inspector/mountAutoMovieInspectorScene.js.map +1 -1
  223. package/lib/inspector/mountAutoMovieInspectorScene.mjs +223 -149
  224. package/lib/inspector/mountAutoMovieInspectorScene.mjs.map +1 -1
  225. package/lib/inspector/placeAutoMovieInspectorLabels.d.ts +29 -0
  226. package/lib/inspector/placeAutoMovieInspectorLabels.js +33 -0
  227. package/lib/inspector/placeAutoMovieInspectorLabels.js.map +1 -0
  228. package/lib/inspector/placeAutoMovieInspectorLabels.mjs +32 -0
  229. package/lib/inspector/placeAutoMovieInspectorLabels.mjs.map +1 -0
  230. package/lib/inspector/readAutoMovieInspectorAddress.d.ts +8 -11
  231. package/lib/inspector/readAutoMovieInspectorAddress.js +8 -11
  232. package/lib/inspector/readAutoMovieInspectorAddress.js.map +1 -1
  233. package/lib/inspector/readAutoMovieInspectorAddress.mjs +8 -11
  234. package/lib/inspector/readAutoMovieInspectorAddress.mjs.map +1 -1
  235. package/lib/inspector/readAutoMovieInspectorFacts.d.ts +17 -0
  236. package/lib/inspector/readAutoMovieInspectorFacts.js +34 -0
  237. package/lib/inspector/readAutoMovieInspectorFacts.js.map +1 -0
  238. package/lib/inspector/readAutoMovieInspectorFacts.mjs +28 -0
  239. package/lib/inspector/readAutoMovieInspectorFacts.mjs.map +1 -0
  240. package/lib/inspector/readsAutoMovieInspectorPlacedScene.d.ts +9 -0
  241. package/lib/inspector/readsAutoMovieInspectorPlacedScene.js +14 -0
  242. package/lib/inspector/readsAutoMovieInspectorPlacedScene.js.map +1 -0
  243. package/lib/inspector/readsAutoMovieInspectorPlacedScene.mjs +14 -0
  244. package/lib/inspector/readsAutoMovieInspectorPlacedScene.mjs.map +1 -0
  245. package/lib/inspector/reduceAutoMovieInspectorState.d.ts +10 -10
  246. package/lib/inspector/reduceAutoMovieInspectorState.js +17 -11
  247. package/lib/inspector/reduceAutoMovieInspectorState.js.map +1 -1
  248. package/lib/inspector/reduceAutoMovieInspectorState.mjs +16 -11
  249. package/lib/inspector/reduceAutoMovieInspectorState.mjs.map +1 -1
  250. package/lib/inspector/releaseAutoMovieInspectorSteps.d.ts +6 -0
  251. package/lib/inspector/releaseAutoMovieInspectorSteps.js +23 -0
  252. package/lib/inspector/releaseAutoMovieInspectorSteps.js.map +1 -0
  253. package/lib/inspector/releaseAutoMovieInspectorSteps.mjs +19 -0
  254. package/lib/inspector/releaseAutoMovieInspectorSteps.mjs.map +1 -0
  255. package/lib/inspector/reportAutoMovieInspectorLabels.d.ts +21 -0
  256. package/lib/inspector/reportAutoMovieInspectorLabels.js +27 -0
  257. package/lib/inspector/reportAutoMovieInspectorLabels.js.map +1 -0
  258. package/lib/inspector/reportAutoMovieInspectorLabels.mjs +30 -0
  259. package/lib/inspector/reportAutoMovieInspectorLabels.mjs.map +1 -0
  260. package/lib/inspector/resolveAutoMovieInspectorCamera.d.ts +22 -0
  261. package/lib/inspector/resolveAutoMovieInspectorCamera.js +34 -0
  262. package/lib/inspector/resolveAutoMovieInspectorCamera.js.map +1 -0
  263. package/lib/inspector/resolveAutoMovieInspectorCamera.mjs +34 -0
  264. package/lib/inspector/resolveAutoMovieInspectorCamera.mjs.map +1 -0
  265. package/lib/inspector/showAutoMovieInspectorFinding.d.ts +25 -0
  266. package/lib/inspector/showAutoMovieInspectorFinding.js +26 -0
  267. package/lib/inspector/showAutoMovieInspectorFinding.js.map +1 -0
  268. package/lib/inspector/showAutoMovieInspectorFinding.mjs +26 -0
  269. package/lib/inspector/showAutoMovieInspectorFinding.mjs.map +1 -0
  270. package/lib/inspector/stopAutoMovieInspectorTime.d.ts +11 -0
  271. package/lib/inspector/stopAutoMovieInspectorTime.js +17 -0
  272. package/lib/inspector/stopAutoMovieInspectorTime.js.map +1 -0
  273. package/lib/inspector/stopAutoMovieInspectorTime.mjs +18 -0
  274. package/lib/inspector/stopAutoMovieInspectorTime.mjs.map +1 -0
  275. package/lib/inspector/writeAutoMovieInspectorInspection.d.ts +6 -0
  276. package/lib/inspector/writeAutoMovieInspectorInspection.js +12 -0
  277. package/lib/inspector/writeAutoMovieInspectorInspection.js.map +1 -0
  278. package/lib/inspector/writeAutoMovieInspectorInspection.mjs +12 -0
  279. package/lib/inspector/writeAutoMovieInspectorInspection.mjs.map +1 -0
  280. package/lib/internal.d.ts +7 -0
  281. package/lib/internal.js +25 -0
  282. package/lib/internal.js.map +1 -0
  283. package/lib/internal.mjs +8 -0
  284. package/lib/mountViewer.d.ts +16 -10
  285. package/lib/mountViewer.js +17 -14
  286. package/lib/mountViewer.js.map +1 -1
  287. package/lib/mountViewer.mjs +18 -12
  288. package/lib/mountViewer.mjs.map +1 -1
  289. package/lib/publishViewerCompletedFrame.d.ts +12 -10
  290. package/lib/publishViewerCompletedFrame.js +11 -9
  291. package/lib/publishViewerCompletedFrame.js.map +1 -1
  292. package/lib/publishViewerCompletedFrame.mjs +11 -9
  293. package/lib/publishViewerCompletedFrame.mjs.map +1 -1
  294. package/lib/redrawViewerCompletedFrame.d.ts +2 -10
  295. package/lib/redrawViewerCompletedFrame.js +4 -12
  296. package/lib/redrawViewerCompletedFrame.js.map +1 -1
  297. package/lib/redrawViewerCompletedFrame.mjs +3 -11
  298. package/lib/redrawViewerCompletedFrame.mjs.map +1 -1
  299. package/lib/releaseMountedViewer.d.ts +5 -9
  300. package/lib/releaseMountedViewer.js +5 -9
  301. package/lib/releaseMountedViewer.js.map +1 -1
  302. package/lib/releaseMountedViewer.mjs +5 -9
  303. package/lib/releaseMountedViewer.mjs.map +1 -1
  304. package/lib/transport/AutoMovieViewerTransport.d.ts +13 -122
  305. package/lib/transport/AutoMovieViewerTransport.js +10 -74
  306. package/lib/transport/AutoMovieViewerTransport.js.map +1 -1
  307. package/lib/transport/AutoMovieViewerTransport.mjs +10 -65
  308. package/lib/transport/AutoMovieViewerTransport.mjs.map +1 -1
  309. package/lib/transport/readAutoMovieReviewInterval.d.ts +3 -10
  310. package/lib/transport/readAutoMovieReviewInterval.js +11 -16
  311. package/lib/transport/readAutoMovieReviewInterval.js.map +1 -1
  312. package/lib/transport/readAutoMovieReviewInterval.mjs +8 -14
  313. package/lib/transport/readAutoMovieReviewInterval.mjs.map +1 -1
  314. package/package.json +12 -8
  315. package/src/IAutoMovieViewerCompletedFrame.ts +21 -11
  316. package/src/IAutoMovieViewerDisplayMetadata.ts +0 -5
  317. package/src/IAutoMovieViewerHandle.ts +3 -25
  318. package/src/IMountViewerOptions.ts +24 -38
  319. package/src/IViewerCameraStateSnapshot.ts +0 -5
  320. package/src/IViewerFrameTransfer.ts +13 -0
  321. package/src/applyCaptureCanvasSize.ts +9 -18
  322. package/src/audio/IAutoMovieAudioCue.ts +3 -8
  323. package/src/audio/planAutoMovieAudioPlayback.ts +9 -23
  324. package/src/audio/playAutoMovieAudioCues.ts +4 -11
  325. package/src/createViewerCameraState.ts +119 -175
  326. package/src/createViewerDisplayClock.ts +4 -12
  327. package/src/createViewerDisplayPublication.ts +7 -15
  328. package/src/createViewerDisplaySave.ts +8 -16
  329. package/src/createViewerFrameControl.ts +16 -24
  330. package/src/createViewerViewportResize.ts +7 -23
  331. package/src/index.ts +1 -0
  332. package/src/inspector/AutoMovieInspector.tsx +183 -20
  333. package/src/inspector/AutoMovieInspectorBeauty.ts +89 -0
  334. package/src/inspector/AutoMovieInspectorDiagnosticLog.ts +235 -0
  335. package/src/inspector/AutoMovieInspectorDiagnosticsPanel.tsx +118 -0
  336. package/src/inspector/AutoMovieInspectorMarksPanel.tsx +26 -34
  337. package/src/inspector/AutoMovieInspectorPlayhead.ts +53 -110
  338. package/src/inspector/AutoMovieInspectorRequestPanel.tsx +57 -29
  339. package/src/inspector/AutoMovieInspectorSelectionPanel.tsx +0 -8
  340. package/src/inspector/AutoMovieInspectorShadePanel.tsx +24 -29
  341. package/src/inspector/AutoMovieInspectorTimePanel.tsx +0 -8
  342. package/src/inspector/AutoMovieInspectorTimeReadout.tsx +4 -10
  343. package/src/inspector/AutoMovieInspectorTransition.ts +178 -0
  344. package/src/inspector/AutoMovieInspectorViewPanel.tsx +0 -8
  345. package/src/inspector/IAutoMovieInspectorAction.ts +57 -94
  346. package/src/inspector/IAutoMovieInspectorLive.ts +62 -0
  347. package/src/inspector/IAutoMovieInspectorPathNode.ts +14 -9
  348. package/src/inspector/IAutoMovieInspectorProps.ts +4 -14
  349. package/src/inspector/IAutoMovieInspectorScene.ts +104 -99
  350. package/src/inspector/IAutoMovieInspectorSceneHost.ts +43 -102
  351. package/src/inspector/IAutoMovieInspectorState.ts +6 -7
  352. package/src/inspector/assertAutoMovieInspectorRaster.ts +23 -0
  353. package/src/inspector/buildAutoMovieInspectorPathTree.ts +9 -10
  354. package/src/inspector/changesAutoMovieObservedScene.ts +30 -0
  355. package/src/inspector/createAutoMovieInspectorAddressWriter.ts +13 -11
  356. package/src/inspector/createAutoMovieInspectorCanvasHost.ts +14 -12
  357. package/src/inspector/createAutoMovieInspectorState.ts +3 -9
  358. package/src/inspector/firstAutoMovieInspectorSecond.ts +13 -0
  359. package/src/inspector/followAutoMovieInspectorSize.ts +32 -0
  360. package/src/inspector/formatAutoMovieInspectorAddress.ts +15 -11
  361. package/src/inspector/formatAutoMovieInspectorCommand.ts +44 -15
  362. package/src/inspector/handleAutoMovieInspectorKey.ts +27 -16
  363. package/src/inspector/index.ts +5 -0
  364. package/src/inspector/inspectAutoMovieInspectorRequest.ts +37 -0
  365. package/src/inspector/installAutoMovieInspectorRequest.ts +50 -0
  366. package/src/inspector/locateAutoMovieInspectorFinding.ts +40 -0
  367. package/src/inspector/messageOfAutoMovieInspectorError.ts +4 -0
  368. package/src/inspector/mountAutoMovieInspectorPage.tsx +7 -8
  369. package/src/inspector/mountAutoMovieInspectorScene.ts +290 -232
  370. package/src/inspector/placeAutoMovieInspectorLabels.ts +53 -0
  371. package/src/inspector/readAutoMovieInspectorAddress.ts +8 -11
  372. package/src/inspector/readAutoMovieInspectorFacts.ts +50 -0
  373. package/src/inspector/readsAutoMovieInspectorPlacedScene.ts +16 -0
  374. package/src/inspector/reduceAutoMovieInspectorState.ts +17 -11
  375. package/src/inspector/releaseAutoMovieInspectorSteps.ts +19 -0
  376. package/src/inspector/reportAutoMovieInspectorLabels.ts +45 -0
  377. package/src/inspector/resolveAutoMovieInspectorCamera.ts +50 -0
  378. package/src/inspector/showAutoMovieInspectorFinding.ts +40 -0
  379. package/src/inspector/stopAutoMovieInspectorTime.ts +19 -0
  380. package/src/inspector/writeAutoMovieInspectorInspection.ts +12 -0
  381. package/src/internal.ts +9 -0
  382. package/src/mountViewer.ts +17 -14
  383. package/src/publishViewerCompletedFrame.ts +14 -10
  384. package/src/redrawViewerCompletedFrame.ts +3 -12
  385. package/src/releaseMountedViewer.ts +5 -9
  386. package/src/transport/AutoMovieViewerTransport.ts +17 -144
  387. package/src/transport/readAutoMovieReviewInterval.ts +15 -16
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.installAutoMovieInspectorRequest = installAutoMovieInspectorRequest;
4
+ const inspectAutoMovieInspectorRequest_js_1 = require("./inspectAutoMovieInspectorRequest.js");
5
+ /**
6
+ * Install a request's inspection on the mount's subject with the marks of the
7
+ * placed second; when the scene refuses it, install the applied request again,
8
+ * so the preceding inspection stays in force, and hand the refusal to
9
+ * `refused`.
10
+ *
11
+ * @returns Whether the request's own inspection was installed.
12
+ */
13
+ function installAutoMovieInspectorRequest(props) {
14
+ const { now } = props;
15
+ const base = {
16
+ instance: now.instance,
17
+ renderer: now.renderer,
18
+ marks: now.instance.marks?.(props.seconds),
19
+ };
20
+ try {
21
+ now.inspection = (0, inspectAutoMovieInspectorRequest_js_1.inspectAutoMovieInspectorRequest)({
22
+ ...base,
23
+ request: props.request,
24
+ });
25
+ return true;
26
+ }
27
+ catch (error) {
28
+ now.inspection = (0, inspectAutoMovieInspectorRequest_js_1.inspectAutoMovieInspectorRequest)({
29
+ ...base,
30
+ request: now.applied,
31
+ });
32
+ props.refused(error);
33
+ return false;
34
+ }
35
+ }
36
+ //# sourceMappingURL=installAutoMovieInspectorRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installAutoMovieInspectorRequest.js","sourceRoot":"","sources":["../../src/inspector/installAutoMovieInspectorRequest.ts"],"names":[],"mappings":";;;AAGA,+FAAyF;AAEzF;;;;;;;GAOG;AACH,0CAAiD,KAYhD;IACC,MAAM,EAAE,GAAG,EAAE,GAAiB,KAAK,CAAC;IACpC,MAAM,IAAI,GAGN;QACF,QAAQ,EAAE,GAAG,CAAC,QAAQ;QACtB,QAAQ,EAAE,GAAG,CAAC,QAAQ;QACtB,KAAK,EAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;KAC3C,CAAC;IACF,IAAI,CAAC;QACH,GAAG,CAAC,UAAU,GAAG,IAAA,sEAAgC,EAAC;YAChD,GAAG,IAAI;YACP,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,GAAG,CAAC,UAAU,GAAG,IAAA,sEAAgC,EAAC;YAChD,GAAG,IAAI;YACP,OAAO,EAAE,GAAG,CAAC,OAAO;SACrB,CAAC,CAAC;QACH,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACrB,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { inspectAutoMovieInspectorRequest } from "./inspectAutoMovieInspectorRequest.mjs";
2
+ // src/inspector/installAutoMovieInspectorRequest.ts
3
+ /**
4
+ * Install a request's inspection on the mount's subject with the marks of the
5
+ * placed second; when the scene refuses it, install the applied request again,
6
+ * so the preceding inspection stays in force, and hand the refusal to
7
+ * `refused`.
8
+ *
9
+ * @returns Whether the request's own inspection was installed.
10
+ */
11
+ function installAutoMovieInspectorRequest(props) {
12
+ const { now } = props;
13
+ const base = {
14
+ instance: now.instance,
15
+ renderer: now.renderer,
16
+ marks: now.instance.marks?.(props.seconds)
17
+ };
18
+ try {
19
+ now.inspection = inspectAutoMovieInspectorRequest({
20
+ ...base,
21
+ request: props.request
22
+ });
23
+ return true;
24
+ } catch (error) {
25
+ now.inspection = inspectAutoMovieInspectorRequest({
26
+ ...base,
27
+ request: now.applied
28
+ });
29
+ props.refused(error);
30
+ return false;
31
+ }
32
+ }
33
+ export { installAutoMovieInspectorRequest };
34
+
35
+ //# sourceMappingURL=installAutoMovieInspectorRequest.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installAutoMovieInspectorRequest.mjs","names":[],"sources":["../../src/inspector/installAutoMovieInspectorRequest.ts"],"sourcesContent":["import type { IAutoMovieCapturePlanRequest } from \"@automovie/interface\";\n\nimport type { IAutoMovieInspectorLive } from \"./IAutoMovieInspectorLive.js\";\nimport { inspectAutoMovieInspectorRequest } from \"./inspectAutoMovieInspectorRequest.js\";\n\n/**\n * Install a request's inspection on the mount's subject with the marks of the\n * placed second; when the scene refuses it, install the applied request again,\n * so the preceding inspection stays in force, and hand the refusal to\n * `refused`.\n *\n * @returns Whether the request's own inspection was installed.\n */\nexport function installAutoMovieInspectorRequest(props: {\n /** The mount's live state, whose inspection this replaces. */\n now: IAutoMovieInspectorLive;\n\n /** The request to install. */\n request: IAutoMovieCapturePlanRequest;\n\n /** The placed second, whose marks the inspection draws. */\n seconds: number;\n\n /** Told the refusal's error when the request is refused. */\n refused: (error: unknown) => void;\n}): boolean {\n const { now }: typeof props = props;\n const base: Omit<\n Parameters<typeof inspectAutoMovieInspectorRequest>[0],\n \"request\"\n > = {\n instance: now.instance,\n renderer: now.renderer,\n marks: now.instance.marks?.(props.seconds),\n };\n try {\n now.inspection = inspectAutoMovieInspectorRequest({\n ...base,\n request: props.request,\n });\n return true;\n } catch (error) {\n now.inspection = inspectAutoMovieInspectorRequest({\n ...base,\n request: now.applied,\n });\n props.refused(error);\n return false;\n }\n}\n"],"mappings":";;;;;;;;;;AAaA,SAAgB,iCAAiC,OAYrC;CACV,MAAM,EAAE,QAAsB;CAC9B,MAAM,OAGF;EACF,UAAU,IAAI;EACd,UAAU,IAAI;EACd,OAAO,IAAI,SAAS,QAAQ,MAAM,OAAO;CAC3C;CACA,IAAI;EACF,IAAI,aAAa,iCAAiC;GAChD,GAAG;GACH,SAAS,MAAM;EACjB,CAAC;EACD,OAAO;CACT,SAAS,OAAO;EACd,IAAI,aAAa,iCAAiC;GAChD,GAAG;GACH,SAAS,IAAI;EACf,CAAC;EACD,MAAM,QAAQ,KAAK;EACnB,OAAO;CACT;AACF"}
@@ -0,0 +1,19 @@
1
+ import type { IAutoMovieInspectionDiagnostics } from "@automovie/interface";
2
+ import type { IAutoMovieInspectorAction } from "./IAutoMovieInspectorAction.js";
3
+ /**
4
+ * The edit that shows one observation: the picture at its witness second, with
5
+ * its entities labelled.
6
+ *
7
+ * A finding's paths name drawn objects, or parts a checker addresses below them
8
+ * such as a formation slot (`/slot/<n>`), a cord segment (`/segment/<n>`), a
9
+ * batch instance (`#<n>`) or a transform field (`.children[<n>].matrixWorld`).
10
+ * Each path is labelled by the nearest drawn path that equals it or contains
11
+ * it, so the label lands on the object the part belongs to; a path with no
12
+ * drawn owner is left unlabelled, because the scene refuses a label pattern
13
+ * that matches nothing.
14
+ *
15
+ * @param observation The witness to show.
16
+ * @param drawn The identity paths the scene draws, as the mount lists them.
17
+ * @returns A `locate` action for the inspector's reducer.
18
+ */
19
+ export declare function locateAutoMovieInspectorFinding(observation: IAutoMovieInspectionDiagnostics.IObservation, drawn: readonly string[]): IAutoMovieInspectorAction.ILocate;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.locateAutoMovieInspectorFinding = locateAutoMovieInspectorFinding;
4
+ /**
5
+ * The edit that shows one observation: the picture at its witness second, with
6
+ * its entities labelled.
7
+ *
8
+ * A finding's paths name drawn objects, or parts a checker addresses below them
9
+ * such as a formation slot (`/slot/<n>`), a cord segment (`/segment/<n>`), a
10
+ * batch instance (`#<n>`) or a transform field (`.children[<n>].matrixWorld`).
11
+ * Each path is labelled by the nearest drawn path that equals it or contains
12
+ * it, so the label lands on the object the part belongs to; a path with no
13
+ * drawn owner is left unlabelled, because the scene refuses a label pattern
14
+ * that matches nothing.
15
+ *
16
+ * @param observation The witness to show.
17
+ * @param drawn The identity paths the scene draws, as the mount lists them.
18
+ * @returns A `locate` action for the inspector's reducer.
19
+ */
20
+ function locateAutoMovieInspectorFinding(observation, drawn) {
21
+ const known = new Set(drawn);
22
+ const label = [];
23
+ for (const path of observation.finding.paths) {
24
+ let owner = path;
25
+ while (owner !== undefined && !known.has(owner)) {
26
+ const cut = Math.max(owner.lastIndexOf("/"), owner.lastIndexOf("#"), owner.lastIndexOf("."));
27
+ owner = cut <= 0 ? undefined : owner.slice(0, cut);
28
+ }
29
+ if (owner !== undefined && !label.includes(owner))
30
+ label.push(owner);
31
+ }
32
+ return { type: "locate", seconds: observation.time.filmSeconds, label };
33
+ }
34
+ //# sourceMappingURL=locateAutoMovieInspectorFinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locateAutoMovieInspectorFinding.js","sourceRoot":"","sources":["../../src/inspector/locateAutoMovieInspectorFinding.ts"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;GAeG;AACH,yCACE,WAAyD,EACzD,KAAwB;IAExB,MAAM,KAAK,GAAgB,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;IAC1C,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QAC7C,IAAI,KAAK,GAAuB,IAAI,CAAC;QACrC,OAAO,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAChD,MAAM,GAAG,GAAW,IAAI,CAAC,GAAG,CAC1B,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,EACtB,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,EACtB,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CACvB,CAAC;YACF,KAAK,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QACrD,CAAC;QACD,IAAI,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACvE,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC;AAC1E,CAAC"}
@@ -0,0 +1,37 @@
1
+ // src/inspector/locateAutoMovieInspectorFinding.ts
2
+ /**
3
+ * The edit that shows one observation: the picture at its witness second, with
4
+ * its entities labelled.
5
+ *
6
+ * A finding's paths name drawn objects, or parts a checker addresses below them
7
+ * such as a formation slot (`/slot/<n>`), a cord segment (`/segment/<n>`), a
8
+ * batch instance (`#<n>`) or a transform field (`.children[<n>].matrixWorld`).
9
+ * Each path is labelled by the nearest drawn path that equals it or contains
10
+ * it, so the label lands on the object the part belongs to; a path with no
11
+ * drawn owner is left unlabelled, because the scene refuses a label pattern
12
+ * that matches nothing.
13
+ *
14
+ * @param observation The witness to show.
15
+ * @param drawn The identity paths the scene draws, as the mount lists them.
16
+ * @returns A `locate` action for the inspector's reducer.
17
+ */
18
+ function locateAutoMovieInspectorFinding(observation, drawn) {
19
+ const known = new Set(drawn);
20
+ const label = [];
21
+ for (const path of observation.finding.paths) {
22
+ let owner = path;
23
+ while (owner !== void 0 && !known.has(owner)) {
24
+ const cut = Math.max(owner.lastIndexOf("/"), owner.lastIndexOf("#"), owner.lastIndexOf("."));
25
+ owner = cut <= 0 ? void 0 : owner.slice(0, cut);
26
+ }
27
+ if (owner !== void 0 && !label.includes(owner)) label.push(owner);
28
+ }
29
+ return {
30
+ type: "locate",
31
+ seconds: observation.time.filmSeconds,
32
+ label
33
+ };
34
+ }
35
+ export { locateAutoMovieInspectorFinding };
36
+
37
+ //# sourceMappingURL=locateAutoMovieInspectorFinding.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locateAutoMovieInspectorFinding.mjs","names":[],"sources":["../../src/inspector/locateAutoMovieInspectorFinding.ts"],"sourcesContent":["import type { IAutoMovieInspectionDiagnostics } from \"@automovie/interface\";\n\nimport type { IAutoMovieInspectorAction } from \"./IAutoMovieInspectorAction.js\";\n\n/**\n * The edit that shows one observation: the picture at its witness second, with\n * its entities labelled.\n *\n * A finding's paths name drawn objects, or parts a checker addresses below them\n * such as a formation slot (`/slot/<n>`), a cord segment (`/segment/<n>`), a\n * batch instance (`#<n>`) or a transform field (`.children[<n>].matrixWorld`).\n * Each path is labelled by the nearest drawn path that equals it or contains\n * it, so the label lands on the object the part belongs to; a path with no\n * drawn owner is left unlabelled, because the scene refuses a label pattern\n * that matches nothing.\n *\n * @param observation The witness to show.\n * @param drawn The identity paths the scene draws, as the mount lists them.\n * @returns A `locate` action for the inspector's reducer.\n */\nexport function locateAutoMovieInspectorFinding(\n observation: IAutoMovieInspectionDiagnostics.IObservation,\n drawn: readonly string[],\n): IAutoMovieInspectorAction.ILocate {\n const known: Set<string> = new Set(drawn);\n const label: string[] = [];\n for (const path of observation.finding.paths) {\n let owner: string | undefined = path;\n while (owner !== undefined && !known.has(owner)) {\n const cut: number = Math.max(\n owner.lastIndexOf(\"/\"),\n owner.lastIndexOf(\"#\"),\n owner.lastIndexOf(\".\"),\n );\n owner = cut <= 0 ? undefined : owner.slice(0, cut);\n }\n if (owner !== undefined && !label.includes(owner)) label.push(owner);\n }\n return { type: \"locate\", seconds: observation.time.filmSeconds, label };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAoBA,SAAgB,gCACd,aACA,OACmC;CACnC,MAAM,QAAqB,IAAI,IAAI,KAAK;CACxC,MAAM,QAAkB,CAAC;CACzB,KAAK,MAAM,QAAQ,YAAY,QAAQ,OAAO;EAC5C,IAAI,QAA4B;EAChC,OAAO,UAAU,KAAA,KAAa,CAAC,MAAM,IAAI,KAAK,GAAG;GAC/C,MAAM,MAAc,KAAK,IACvB,MAAM,YAAY,GAAG,GACrB,MAAM,YAAY,GAAG,GACrB,MAAM,YAAY,GAAG,CACvB;GACA,QAAQ,OAAO,IAAI,KAAA,IAAY,MAAM,MAAM,GAAG,GAAG;EACnD;EACA,IAAI,UAAU,KAAA,KAAa,CAAC,MAAM,SAAS,KAAK,GAAG,MAAM,KAAK,KAAK;CACrE;CACA,OAAO;EAAE,MAAM;EAAU,SAAS,YAAY,KAAK;EAAa;CAAM;AACxE"}
@@ -0,0 +1,2 @@
1
+ /** The text the inspector reports for a thrown value. */
2
+ export declare function messageOfAutoMovieInspectorError(error: unknown): string;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.messageOfAutoMovieInspectorError = messageOfAutoMovieInspectorError;
4
+ /** The text the inspector reports for a thrown value. */
5
+ function messageOfAutoMovieInspectorError(error) {
6
+ return error instanceof Error ? error.message : String(error);
7
+ }
8
+ //# sourceMappingURL=messageOfAutoMovieInspectorError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messageOfAutoMovieInspectorError.js","sourceRoot":"","sources":["../../src/inspector/messageOfAutoMovieInspectorError.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,0CAAiD,KAAc;IAC7D,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC"}
@@ -0,0 +1,8 @@
1
+ // src/inspector/messageOfAutoMovieInspectorError.ts
2
+ /** The text the inspector reports for a thrown value. */
3
+ function messageOfAutoMovieInspectorError(error) {
4
+ return error instanceof Error ? error.message : String(error);
5
+ }
6
+ export { messageOfAutoMovieInspectorError };
7
+
8
+ //# sourceMappingURL=messageOfAutoMovieInspectorError.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messageOfAutoMovieInspectorError.mjs","names":[],"sources":["../../src/inspector/messageOfAutoMovieInspectorError.ts"],"sourcesContent":["/** The text the inspector reports for a thrown value. */\nexport function messageOfAutoMovieInspectorError(error: unknown): string {\n return error instanceof Error ? error.message : String(error);\n}\n"],"mappings":";;AACA,SAAgB,iCAAiC,OAAwB;CACvE,OAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;AAC9D"}
@@ -1,20 +1,15 @@
1
1
  import type { IAutoMovieDrawSubject } from "@automovie/render";
2
+ import type { IAutoMovieInspectorProps } from "./IAutoMovieInspectorProps.js";
2
3
  /**
3
4
  * Mount the inspector as a whole page in one call: render `AutoMovieInspector` into `root` under StrictMode, opening on the request `location`'s query names and keeping that query equal to the request through `history`.
4
5
  *
5
6
  * `location` and `history` are the host's, passed in rather than read from `window`, so the page's address is the only global state the inspector writes and a host decides which. The returned `unmount` disposes the scene and its renderer through the component's effect cleanup.
6
7
  *
8
+ * A host that can reproduce its subjects in a terminal also supplies `captureCommand`.
9
+ *
7
10
  * ```ts
8
11
  * mountAutoMovieInspectorPage({ root: document.getElementById("root")!, subjects, location, history });
9
12
  * ```
10
- *
11
- * @evidence contracts/development/common.md#meaningful-documentation States what is rendered, where the first request comes from, how the address follows it, that nothing global is read, and what `unmount` releases.
12
- * @evidence contracts/development/implementation.md#principled-implementation `createRoot` is React 19's client entry, and StrictMode runs the canvas effect twice in development, which the scene mount is built to survive, so a page always exercises that path.
13
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Three steps: build the address writer, create the root, render the component with the address's query.
14
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No subject, request or address is chosen here; they are the host's.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms Constant work beyond React's own render.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A page is mounted once.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The React root owns the component tree until `unmount`, which unmounts it and so releases the scene, renderer and frame loop the component holds.
18
13
  */
19
14
  export declare function mountAutoMovieInspectorPage(props: {
20
15
  /** The element the page renders into. */
@@ -25,6 +20,8 @@ export declare function mountAutoMovieInspectorPage(props: {
25
20
  location: Pick<Location, "pathname" | "search" | "hash">;
26
21
  /** The page's history, whose current entry follows the request. */
27
22
  history: Pick<History, "replaceState" | "state">;
23
+ /** Executable and fixed capture arguments from the host, when available. */
24
+ captureCommand?: IAutoMovieInspectorProps["captureCommand"];
28
25
  }): {
29
26
  /** Unmount the page and release everything it holds. */
30
27
  unmount: () => void;
@@ -11,17 +11,11 @@ const createAutoMovieInspectorAddressWriter_js_1 = require("./createAutoMovieIns
11
11
  *
12
12
  * `location` and `history` are the host's, passed in rather than read from `window`, so the page's address is the only global state the inspector writes and a host decides which. The returned `unmount` disposes the scene and its renderer through the component's effect cleanup.
13
13
  *
14
+ * A host that can reproduce its subjects in a terminal also supplies `captureCommand`.
15
+ *
14
16
  * ```ts
15
17
  * mountAutoMovieInspectorPage({ root: document.getElementById("root")!, subjects, location, history });
16
18
  * ```
17
- *
18
- * @evidence contracts/development/common.md#meaningful-documentation States what is rendered, where the first request comes from, how the address follows it, that nothing global is read, and what `unmount` releases.
19
- * @evidence contracts/development/implementation.md#principled-implementation `createRoot` is React 19's client entry, and StrictMode runs the canvas effect twice in development, which the scene mount is built to survive, so a page always exercises that path.
20
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Three steps: build the address writer, create the root, render the component with the address's query.
21
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No subject, request or address is chosen here; they are the host's.
22
- * @evidence contracts/development/implementation.md#efficient-algorithms Constant work beyond React's own render.
23
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A page is mounted once.
24
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The React root owns the component tree until `unmount`, which unmounts it and so releases the scene, renderer and frame loop the component holds.
25
19
  */
26
20
  function mountAutoMovieInspectorPage(props) {
27
21
  const onRequestChange = (0, createAutoMovieInspectorAddressWriter_js_1.createAutoMovieInspectorAddressWriter)({
@@ -29,7 +23,7 @@ function mountAutoMovieInspectorPage(props) {
29
23
  history: props.history,
30
24
  });
31
25
  const root = (0, client_1.createRoot)(props.root);
32
- root.render((0, jsx_runtime_1.jsx)(react_1.StrictMode, { children: (0, jsx_runtime_1.jsx)(AutoMovieInspector_js_1.AutoMovieInspector, { subjects: props.subjects, initialText: props.location.search, onRequestChange: onRequestChange }) }));
26
+ root.render((0, jsx_runtime_1.jsx)(react_1.StrictMode, { children: (0, jsx_runtime_1.jsx)(AutoMovieInspector_js_1.AutoMovieInspector, { subjects: props.subjects, initialText: props.location.search, onRequestChange: onRequestChange, captureCommand: props.captureCommand }) }));
33
27
  return { unmount: () => root.unmount() };
34
28
  }
35
29
  //# sourceMappingURL=mountAutoMovieInspectorPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mountAutoMovieInspectorPage.js","sourceRoot":"","sources":["../../src/inspector/mountAutoMovieInspectorPage.tsx"],"names":[],"mappings":";;;;AACA,iCAAmC;AACnC,6CAAyD;AAEzD,mEAA6D;AAC7D,yGAAmG;AAEnG;;;;;;;;;;;;;;;;GAgBG;AACH,qCAA4C,KAY3C;IAIC,MAAM,eAAe,GACnB,IAAA,gFAAqC,EAAC;QACpC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,OAAO,EAAE,KAAK,CAAC,OAAO;KACvB,CAAC,CAAC;IACL,MAAM,IAAI,GAAS,IAAA,mBAAU,EAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1C,IAAI,CAAC,MAAM,CACT,uBAAC,kBAAU,cACT,uBAAC,0CAAkB,IACjB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,EAClC,eAAe,EAAE,eAAe,GAChC,GACS,CACd,CAAC;IACF,OAAO,EAAE,OAAO,EAAE,GAAS,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;AACjD,CAAC"}
1
+ {"version":3,"file":"mountAutoMovieInspectorPage.js","sourceRoot":"","sources":["../../src/inspector/mountAutoMovieInspectorPage.tsx"],"names":[],"mappings":";;;;AACA,iCAAmC;AACnC,6CAAyD;AAEzD,mEAA6D;AAE7D,yGAAmG;AAEnG;;;;;;;;;;GAUG;AACH,qCAA4C,KAe3C;IAIC,MAAM,eAAe,GACnB,IAAA,gFAAqC,EAAC;QACpC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,OAAO,EAAE,KAAK,CAAC,OAAO;KACvB,CAAC,CAAC;IACL,MAAM,IAAI,GAAS,IAAA,mBAAU,EAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1C,IAAI,CAAC,MAAM,CACT,uBAAC,kBAAU,cACT,uBAAC,0CAAkB,IACjB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,EAClC,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,KAAK,CAAC,cAAc,GACpC,GACS,CACd,CAAC;IACF,OAAO,EAAE,OAAO,EAAE,GAAS,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;AACjD,CAAC"}
@@ -9,17 +9,11 @@ import { createRoot } from "react-dom/client";
9
9
  *
10
10
  * `location` and `history` are the host's, passed in rather than read from `window`, so the page's address is the only global state the inspector writes and a host decides which. The returned `unmount` disposes the scene and its renderer through the component's effect cleanup.
11
11
  *
12
+ * A host that can reproduce its subjects in a terminal also supplies `captureCommand`.
13
+ *
12
14
  * ```ts
13
15
  * mountAutoMovieInspectorPage({ root: document.getElementById("root")!, subjects, location, history });
14
16
  * ```
15
- *
16
- * @evidence contracts/development/common.md#meaningful-documentation States what is rendered, where the first request comes from, how the address follows it, that nothing global is read, and what `unmount` releases.
17
- * @evidence contracts/development/implementation.md#principled-implementation `createRoot` is React 19's client entry, and StrictMode runs the canvas effect twice in development, which the scene mount is built to survive, so a page always exercises that path.
18
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Three steps: build the address writer, create the root, render the component with the address's query.
19
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No subject, request or address is chosen here; they are the host's.
20
- * @evidence contracts/development/implementation.md#efficient-algorithms Constant work beyond React's own render.
21
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A page is mounted once.
22
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The React root owns the component tree until `unmount`, which unmounts it and so releases the scene, renderer and frame loop the component holds.
23
17
  */
24
18
  function mountAutoMovieInspectorPage(props) {
25
19
  const onRequestChange = createAutoMovieInspectorAddressWriter({
@@ -30,7 +24,8 @@ function mountAutoMovieInspectorPage(props) {
30
24
  root.render(/* @__PURE__ */ jsx(StrictMode, { children: /* @__PURE__ */ jsx(AutoMovieInspector, {
31
25
  subjects: props.subjects,
32
26
  initialText: props.location.search,
33
- onRequestChange
27
+ onRequestChange,
28
+ captureCommand: props.captureCommand
34
29
  }) }));
35
30
  return { unmount: () => root.unmount() };
36
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mountAutoMovieInspectorPage.mjs","names":[],"sources":["../../src/inspector/mountAutoMovieInspectorPage.tsx"],"sourcesContent":["import type { IAutoMovieDrawSubject } from \"@automovie/render\";\nimport { StrictMode } from \"react\";\nimport { type Root, createRoot } from \"react-dom/client\";\n\nimport { AutoMovieInspector } from \"./AutoMovieInspector.js\";\nimport { createAutoMovieInspectorAddressWriter } from \"./createAutoMovieInspectorAddressWriter.js\";\n\n/**\n * Mount the inspector as a whole page in one call: render `AutoMovieInspector` into `root` under StrictMode, opening on the request `location`'s query names and keeping that query equal to the request through `history`.\n *\n * `location` and `history` are the host's, passed in rather than read from `window`, so the page's address is the only global state the inspector writes and a host decides which. The returned `unmount` disposes the scene and its renderer through the component's effect cleanup.\n *\n * ```ts\n * mountAutoMovieInspectorPage({ root: document.getElementById(\"root\")!, subjects, location, history });\n * ```\n *\n * @evidence contracts/development/common.md#meaningful-documentation States what is rendered, where the first request comes from, how the address follows it, that nothing global is read, and what `unmount` releases.\n * @evidence contracts/development/implementation.md#principled-implementation `createRoot` is React 19's client entry, and StrictMode runs the canvas effect twice in development, which the scene mount is built to survive, so a page always exercises that path.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Three steps: build the address writer, create the root, render the component with the address's query.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No subject, request or address is chosen here; they are the host's.\n * @evidence contracts/development/implementation.md#efficient-algorithms Constant work beyond React's own render.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A page is mounted once.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The React root owns the component tree until `unmount`, which unmounts it and so releases the scene, renderer and frame loop the component holds.\n */\nexport function mountAutoMovieInspectorPage(props: {\n /** The element the page renders into. */\n root: Element;\n\n /** The subjects offered by name; create the record once, since each subject's identity keys the canvas mount. */\n subjects: Readonly<Record<string, IAutoMovieDrawSubject>>;\n\n /** The page's location: its query is the first request, and its path and fragment are kept. */\n location: Pick<Location, \"pathname\" | \"search\" | \"hash\">;\n\n /** The page's history, whose current entry follows the request. */\n history: Pick<History, \"replaceState\" | \"state\">;\n}): {\n /** Unmount the page and release everything it holds. */\n unmount: () => void;\n} {\n const onRequestChange: (text: string) => void =\n createAutoMovieInspectorAddressWriter({\n location: props.location,\n history: props.history,\n });\n const root: Root = createRoot(props.root);\n root.render(\n <StrictMode>\n <AutoMovieInspector\n subjects={props.subjects}\n initialText={props.location.search}\n onRequestChange={onRequestChange}\n />\n </StrictMode>,\n );\n return { unmount: (): void => root.unmount() };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAwBA,SAAgB,4BAA4B,OAe1C;CACA,MAAM,kBACJ,sCAAsC;EACpC,UAAU,MAAM;EAChB,SAAS,MAAM;CACjB,CAAC;CACH,MAAM,OAAa,WAAW,MAAM,IAAI;CACxC,KAAK,OACH,oBAAC,YAAD,EAAA,UACE,oBAAC,oBAAD;EACE,UAAU,MAAM;EAChB,aAAa,MAAM,SAAS;EACX;CAClB,CAAA,EACS,CAAA,CACd;CACA,OAAO,EAAE,eAAqB,KAAK,QAAQ,EAAE;AAC/C"}
1
+ {"version":3,"file":"mountAutoMovieInspectorPage.mjs","names":[],"sources":["../../src/inspector/mountAutoMovieInspectorPage.tsx"],"sourcesContent":["import type { IAutoMovieDrawSubject } from \"@automovie/render\";\nimport { StrictMode } from \"react\";\nimport { type Root, createRoot } from \"react-dom/client\";\n\nimport { AutoMovieInspector } from \"./AutoMovieInspector.js\";\nimport type { IAutoMovieInspectorProps } from \"./IAutoMovieInspectorProps.js\";\nimport { createAutoMovieInspectorAddressWriter } from \"./createAutoMovieInspectorAddressWriter.js\";\n\n/**\n * Mount the inspector as a whole page in one call: render `AutoMovieInspector` into `root` under StrictMode, opening on the request `location`'s query names and keeping that query equal to the request through `history`.\n *\n * `location` and `history` are the host's, passed in rather than read from `window`, so the page's address is the only global state the inspector writes and a host decides which. The returned `unmount` disposes the scene and its renderer through the component's effect cleanup.\n *\n * A host that can reproduce its subjects in a terminal also supplies `captureCommand`.\n *\n * ```ts\n * mountAutoMovieInspectorPage({ root: document.getElementById(\"root\")!, subjects, location, history });\n * ```\n */\nexport function mountAutoMovieInspectorPage(props: {\n /** The element the page renders into. */\n root: Element;\n\n /** The subjects offered by name; create the record once, since each subject's identity keys the canvas mount. */\n subjects: Readonly<Record<string, IAutoMovieDrawSubject>>;\n\n /** The page's location: its query is the first request, and its path and fragment are kept. */\n location: Pick<Location, \"pathname\" | \"search\" | \"hash\">;\n\n /** The page's history, whose current entry follows the request. */\n history: Pick<History, \"replaceState\" | \"state\">;\n\n /** Executable and fixed capture arguments from the host, when available. */\n captureCommand?: IAutoMovieInspectorProps[\"captureCommand\"];\n}): {\n /** Unmount the page and release everything it holds. */\n unmount: () => void;\n} {\n const onRequestChange: (text: string) => void =\n createAutoMovieInspectorAddressWriter({\n location: props.location,\n history: props.history,\n });\n const root: Root = createRoot(props.root);\n root.render(\n <StrictMode>\n <AutoMovieInspector\n subjects={props.subjects}\n initialText={props.location.search}\n onRequestChange={onRequestChange}\n captureCommand={props.captureCommand}\n />\n </StrictMode>,\n );\n return { unmount: (): void => root.unmount() };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAmBA,SAAgB,4BAA4B,OAkB1C;CACA,MAAM,kBACJ,sCAAsC;EACpC,UAAU,MAAM;EAChB,SAAS,MAAM;CACjB,CAAC;CACH,MAAM,OAAa,WAAW,MAAM,IAAI;CACxC,KAAK,OACH,oBAAC,YAAD,EAAA,UACE,oBAAC,oBAAD;EACE,UAAU,MAAM;EAChB,aAAa,MAAM,SAAS;EACX;EACjB,gBAAgB,MAAM;CACvB,CAAA,EACS,CAAA,CACd;CACA,OAAO,EAAE,eAAqB,KAAK,QAAQ,EAAE;AAC/C"}
@@ -4,26 +4,69 @@ import type { AutoMovieInspectorPlayhead } from "./AutoMovieInspectorPlayhead.js
4
4
  import type { IAutoMovieInspectorScene } from "./IAutoMovieInspectorScene.js";
5
5
  import type { IAutoMovieInspectorSceneHost } from "./IAutoMovieInspectorSceneHost.js";
6
6
  /**
7
- * Mount a subject on the inspector's canvas: build an instance, apply the request's inspection, and draw it every animation frame at the playhead's second through the request's first view.
7
+ * Mount a subject on the inspector's canvas: build an instance, apply the
8
+ * request's inspection, and draw it every animation frame at the playhead's
9
+ * second through the request's first view.
8
10
  *
9
- * The instance is created at once and arrives later. When it arrives the mount checks its clock and raster, seeks it to the request's first second and waits until it is ready there, lists its paths and the marks of its first second, applies the inspection of the newest request (or, when the scene refuses it, of the request that asks for nothing, reported through `refused`), sets the playhead's duration and second, reports `ready` and schedules the first frame. Each frame advances a playing playhead by the wall time since the last frame, follows the host's size, and redraws when the playhead's snapshot or the request changed: seek the instance and, once its promise resolves, update the inspection with the second's marks, resolve the view and render. While a seek is pending no other is started, and the next frame seeks the newest second, so a slow subject drops intermediate seconds instead of queueing them. A drawing error pauses playback and is reported once until a frame draws again.
11
+ * The instance is created at once and arrives later. When it arrives the mount
12
+ * checks its clock and raster, seeks it to the request's first second and waits
13
+ * until it is ready there, lists its paths and the marks of its first second,
14
+ * applies the inspection of the newest request (or, when the scene refuses it,
15
+ * of the request that asks for nothing, reported through `refused`), sets the
16
+ * playhead's duration and second, reports `ready` and schedules the first
17
+ * frame. Each frame advances a playing playhead by the wall time since the last
18
+ * frame, follows the host's size, and redraws when the playhead's snapshot or
19
+ * the request changed: place the instance and, once it is ready, run the
20
+ * subject's `beforeDraw` on a WebGL renderer, as the draw host does, so its
21
+ * surface feeds show the second drawn with the scene's own materials, then
22
+ * update the inspection with the second's marks, resolve the view and render.
23
+ * An inspection that changes the scene's materials or layers is lifted around
24
+ * the seek of a subject with `beforeDraw` or `inspectPlaced` and applied again
25
+ * after them. Beauty pictures draw through `AutoMovieInspectorBeauty`, the
26
+ * subject's optics and indirect shading as delivery draws one sample. While a
27
+ * seek is pending no other is started, and the next frame seeks the newest
28
+ * second, so a slow subject drops intermediate seconds instead of queueing
29
+ * them. A drawing error pauses playback and is reported once until a frame
30
+ * draws again.
10
31
  *
11
- * The picture's aspect is the subject's raster, not the canvas's, so a view frames what a capture of the same subject frames; the page gives the canvas that aspect. The mount adds no listener and holds at most one pending frame, so a mount, dispose and mount again on one canvas, as React's StrictMode runs an effect, leaves one renderer and one frame loop; a mount disposed before its instance arrives or is ready disposes the instance then and creates no renderer, and a seek that resolves after dispose draws nothing.
32
+ * The picture's aspect is the subject's raster, not the canvas's, so a view
33
+ * frames what a capture of the same subject frames; the page gives the canvas
34
+ * that aspect. The mount adds no listener and holds at most one pending frame,
35
+ * so a mount, dispose and mount again on one canvas, as React's StrictMode runs
36
+ * an effect, leaves one renderer and one frame loop; a mount disposed before
37
+ * its instance arrives or is ready disposes the instance then and creates no
38
+ * renderer, and a seek that resolves after dispose draws nothing.
12
39
  *
13
- * The page draws the first view and the first pass of the request; the capture command draws them all. While paused, the labels the request asks for are placed by the inspection on the picture's pixels, with the stamp's font pixel at least one CSS pixel of the canvas as a capture keeps it at least one sheet pixel, and reported in CSS pixels; a named view with a focus is framed on what the focus selects.
40
+ * An opted-in subject is observed at the second actually placed, before the
41
+ * inspection changes the scene: an inspection that changes layers, materials,
42
+ * mark geometry or clipping is restored before the seek and re-applied after
43
+ * the observation, while one that changes none of them, as the default request,
44
+ * stays applied and only updates its marks, as for any subject. Its findings
45
+ * reach the report and the diagnostic log with the playhead's playing flag and
46
+ * jump count, so uninterrupted playback can join painted samples into an
47
+ * observed span. Its witness cubes are drawn under the beauty shade unless
48
+ * `overlay(false)` hid them; hiding them stops no check and no report.
14
49
  *
15
- * @evidence contracts/development/common.md#meaningful-documentation States the arrival sequence, the fallback on refusal, what a frame does and when it redraws, the error rule, the aspect rule, the lifecycle guarantees, which view and pass are drawn, and how labels and focus are placed.
16
- * @evidence contracts/development/implementation.md#principled-implementation The scene is changed only through render's inspection, which restores before re-applying; views are resolved by render's view resolver on the inspection's drawn bounds, and the delivery camera takes the raster's aspect as the capture does. Wall time comes from the frame callback's own timestamp, so a frame's advance is the time actually elapsed. The subject's seek promise is the draw contract's readiness signal, so a picture is drawn only once the subject reports it can be.
17
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One closure owns one mount: arrival, apply, frame, seek, paint, failure and dispose are local steps over one record of what is held; React, the DOM and WebGL stay with the component and the host.
18
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A refused request is reported with the request still drawn rather than drawn half-applied, an instance that arrives after dispose is released rather than drawn, and no frame is drawn from a size that is not positive.
19
- * @evidence contracts/development/implementation.md#efficient-algorithms A frame that changed nothing costs one size read and one snapshot comparison; a redraw costs the subject's seek, the inspection's update linear in its marks, one view resolution and the render. Paths and the first second's marks are listed once per mount.
20
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The applied inspection, the renderer and the instance live for the whole mount; an inspection is re-applied only when its written text changes.
21
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The mount owns one instance, one renderer, one applied inspection and at most one pending frame, released by `dispose` in reverse order, each attempted even when another fails; the playhead is borrowed and gains no listener.
50
+ * `AutoMovieInspectorTransition` places the subject, the shown shot last, so
51
+ * diagnostics, marks, camera and inspection pictures follow it as in the draw
52
+ * page; a plain beauty transition paints and holds its other layers first and
53
+ * composites them by their `playbackLayersAt` weights, under the witness cubes
54
+ * at full strength, so a dissolve and a fade match delivery.
55
+ *
56
+ * The page draws the first view and the first pass of the request; the capture
57
+ * command draws them all. While paused, the labels the request asks for are
58
+ * placed by the inspection on the picture's pixels, with the stamp's font pixel
59
+ * at least one CSS pixel of the canvas as a capture keeps it at least one sheet
60
+ * pixel, and reported in CSS pixels; a named view with a focus is framed on
61
+ * what the focus selects.
22
62
  */
23
63
  export declare function mountAutoMovieInspectorScene(props: {
24
64
  /** The subject to build. */
25
65
  subject: IAutoMovieDrawSubject;
26
- /** The subject's name, as the request's `subject` key and the refusals name it. */
66
+ /**
67
+ * The subject's name, as the request's `subject` key and the refusals name
68
+ * it.
69
+ */
27
70
  name: string;
28
71
  /** The request in force when the mount starts. */
29
72
  request: IAutoMovieCapturePlanRequest;