@motionscript/core 0.1.0 → 0.1.1-alpha.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 (1062) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/assets/asset-index.d.ts +1 -8
  3. package/dist/assets/asset-index.d.ts.map +1 -1
  4. package/dist/assets/asset-index.js +1 -8
  5. package/dist/assets/asset-index.js.map +1 -1
  6. package/dist/assets/catalog.d.ts +10 -72
  7. package/dist/assets/catalog.d.ts.map +1 -1
  8. package/dist/assets/catalog.js +3 -29
  9. package/dist/assets/catalog.js.map +1 -1
  10. package/dist/assets/errors.d.ts +8 -20
  11. package/dist/assets/errors.d.ts.map +1 -1
  12. package/dist/assets/errors.js +8 -20
  13. package/dist/assets/errors.js.map +1 -1
  14. package/dist/assets/index.d.ts.map +1 -1
  15. package/dist/assets/index.js.map +1 -1
  16. package/dist/assets/manager.d.ts +9 -51
  17. package/dist/assets/manager.d.ts.map +1 -1
  18. package/dist/assets/manager.js +13 -78
  19. package/dist/assets/manager.js.map +1 -1
  20. package/dist/assets/record.d.ts +2 -18
  21. package/dist/assets/record.d.ts.map +1 -1
  22. package/dist/assets/record.js.map +1 -1
  23. package/dist/assets/scope.d.ts +3 -18
  24. package/dist/assets/scope.d.ts.map +1 -1
  25. package/dist/assets/scope.js +2 -11
  26. package/dist/assets/scope.js.map +1 -1
  27. package/dist/attributes/audio/effects/chain.d.ts +2 -12
  28. package/dist/attributes/audio/effects/chain.d.ts.map +1 -1
  29. package/dist/attributes/audio/effects/chain.js +1 -7
  30. package/dist/attributes/audio/effects/chain.js.map +1 -1
  31. package/dist/attributes/audio/effects/registry.d.ts +3 -18
  32. package/dist/attributes/audio/effects/registry.d.ts.map +1 -1
  33. package/dist/attributes/audio/effects/registry.js +4 -23
  34. package/dist/attributes/audio/effects/registry.js.map +1 -1
  35. package/dist/attributes/audio/ramp.d.ts +5 -38
  36. package/dist/attributes/audio/ramp.d.ts.map +1 -1
  37. package/dist/attributes/audio/ramp.js +3 -28
  38. package/dist/attributes/audio/ramp.js.map +1 -1
  39. package/dist/attributes/audio/request.d.ts +10 -80
  40. package/dist/attributes/audio/request.d.ts.map +1 -1
  41. package/dist/attributes/audio/request.js +1 -4
  42. package/dist/attributes/audio/request.js.map +1 -1
  43. package/dist/attributes/audio/schedule.d.ts +2 -12
  44. package/dist/attributes/audio/schedule.d.ts.map +1 -1
  45. package/dist/attributes/audio/schedule.js +2 -11
  46. package/dist/attributes/audio/schedule.js.map +1 -1
  47. package/dist/attributes/audio/sound.d.ts +2 -26
  48. package/dist/attributes/audio/sound.d.ts.map +1 -1
  49. package/dist/attributes/audio/sound.js +1 -9
  50. package/dist/attributes/audio/sound.js.map +1 -1
  51. package/dist/attributes/audio/transition.d.ts +1 -8
  52. package/dist/attributes/audio/transition.d.ts.map +1 -1
  53. package/dist/attributes/audio/transition.js.map +1 -1
  54. package/dist/attributes/layout/alignment.d.ts +6 -38
  55. package/dist/attributes/layout/alignment.d.ts.map +1 -1
  56. package/dist/attributes/layout/alignment.js.map +1 -1
  57. package/dist/attributes/layout/insets.d.ts +2 -27
  58. package/dist/attributes/layout/insets.d.ts.map +1 -1
  59. package/dist/attributes/layout/insets.js.map +1 -1
  60. package/dist/attributes/layout/matrix2d.d.ts +29 -114
  61. package/dist/attributes/layout/matrix2d.d.ts.map +1 -1
  62. package/dist/attributes/layout/matrix2d.js +26 -110
  63. package/dist/attributes/layout/matrix2d.js.map +1 -1
  64. package/dist/attributes/layout/size.d.ts +3 -25
  65. package/dist/attributes/layout/size.d.ts.map +1 -1
  66. package/dist/attributes/layout/size.js +2 -18
  67. package/dist/attributes/layout/size.js.map +1 -1
  68. package/dist/attributes/layout/space3d.d.ts +16 -79
  69. package/dist/attributes/layout/space3d.d.ts.map +1 -1
  70. package/dist/attributes/layout/space3d.js +17 -81
  71. package/dist/attributes/layout/space3d.js.map +1 -1
  72. package/dist/attributes/layout/transform3d.d.ts +2 -23
  73. package/dist/attributes/layout/transform3d.d.ts.map +1 -1
  74. package/dist/attributes/layout/transform3d.js +1 -7
  75. package/dist/attributes/layout/transform3d.js.map +1 -1
  76. package/dist/attributes/layout/world-transform.d.ts +2 -16
  77. package/dist/attributes/layout/world-transform.d.ts.map +1 -1
  78. package/dist/attributes/layout/world-transform.js.map +1 -1
  79. package/dist/attributes/properties/decorator.d.ts +13 -73
  80. package/dist/attributes/properties/decorator.d.ts.map +1 -1
  81. package/dist/attributes/properties/decorator.js +9 -40
  82. package/dist/attributes/properties/decorator.js.map +1 -1
  83. package/dist/attributes/properties/typed.d.ts +6 -45
  84. package/dist/attributes/properties/typed.d.ts.map +1 -1
  85. package/dist/attributes/properties/typed.js +6 -37
  86. package/dist/attributes/properties/typed.js.map +1 -1
  87. package/dist/attributes/render3d/orbit.d.ts +11 -83
  88. package/dist/attributes/render3d/orbit.d.ts.map +1 -1
  89. package/dist/attributes/render3d/orbit.js +10 -73
  90. package/dist/attributes/render3d/orbit.js.map +1 -1
  91. package/dist/attributes/shape/corners/corner-radius.d.ts +1 -6
  92. package/dist/attributes/shape/corners/corner-radius.d.ts.map +1 -1
  93. package/dist/attributes/shape/corners/corner-radius.js.map +1 -1
  94. package/dist/attributes/shape/corners/corner-style.d.ts +4 -25
  95. package/dist/attributes/shape/corners/corner-style.d.ts.map +1 -1
  96. package/dist/attributes/shape/corners/corner-style.js +2 -12
  97. package/dist/attributes/shape/corners/corner-style.js.map +1 -1
  98. package/dist/attributes/shape/corners/corners.d.ts +2 -21
  99. package/dist/attributes/shape/corners/corners.d.ts.map +1 -1
  100. package/dist/attributes/shape/corners/corners.js +2 -12
  101. package/dist/attributes/shape/corners/corners.js.map +1 -1
  102. package/dist/attributes/shape/effects/backdrop.d.ts +2 -18
  103. package/dist/attributes/shape/effects/backdrop.d.ts.map +1 -1
  104. package/dist/attributes/shape/effects/backdrop.js +3 -26
  105. package/dist/attributes/shape/effects/backdrop.js.map +1 -1
  106. package/dist/attributes/shape/effects/chain.d.ts +36 -328
  107. package/dist/attributes/shape/effects/chain.d.ts.map +1 -1
  108. package/dist/attributes/shape/effects/chain.js +24 -242
  109. package/dist/attributes/shape/effects/chain.js.map +1 -1
  110. package/dist/attributes/shape/effects/effect-data.d.ts +19 -127
  111. package/dist/attributes/shape/effects/effect-data.d.ts.map +1 -1
  112. package/dist/attributes/shape/effects/effect-data.js +6 -33
  113. package/dist/attributes/shape/effects/effect-data.js.map +1 -1
  114. package/dist/attributes/shape/effects/implementations/ascii.d.ts +6 -26
  115. package/dist/attributes/shape/effects/implementations/ascii.d.ts.map +1 -1
  116. package/dist/attributes/shape/effects/implementations/ascii.js +0 -3
  117. package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
  118. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts +2 -21
  119. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts.map +1 -1
  120. package/dist/attributes/shape/effects/implementations/bit-crush.js +0 -1
  121. package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
  122. package/dist/attributes/shape/effects/implementations/block-displace.d.ts +1 -14
  123. package/dist/attributes/shape/effects/implementations/block-displace.d.ts.map +1 -1
  124. package/dist/attributes/shape/effects/implementations/block-displace.js +0 -1
  125. package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
  126. package/dist/attributes/shape/effects/implementations/bloom.d.ts +0 -1
  127. package/dist/attributes/shape/effects/implementations/bloom.d.ts.map +1 -1
  128. package/dist/attributes/shape/effects/implementations/bloom.js +0 -1
  129. package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
  130. package/dist/attributes/shape/effects/implementations/blur.d.ts +0 -1
  131. package/dist/attributes/shape/effects/implementations/blur.d.ts.map +1 -1
  132. package/dist/attributes/shape/effects/implementations/blur.js +0 -1
  133. package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
  134. package/dist/attributes/shape/effects/implementations/bulge.d.ts +0 -1
  135. package/dist/attributes/shape/effects/implementations/bulge.d.ts.map +1 -1
  136. package/dist/attributes/shape/effects/implementations/bulge.js +0 -1
  137. package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
  138. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts +0 -1
  139. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts.map +1 -1
  140. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js +0 -1
  141. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
  142. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts +1 -12
  143. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts.map +1 -1
  144. package/dist/attributes/shape/effects/implementations/color-adjustment.js +0 -1
  145. package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
  146. package/dist/attributes/shape/effects/implementations/curves.d.ts +1 -11
  147. package/dist/attributes/shape/effects/implementations/curves.d.ts.map +1 -1
  148. package/dist/attributes/shape/effects/implementations/curves.js +1 -6
  149. package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
  150. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts +0 -1
  151. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts.map +1 -1
  152. package/dist/attributes/shape/effects/implementations/directional-blur.js +0 -1
  153. package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
  154. package/dist/attributes/shape/effects/implementations/dither.d.ts +4 -35
  155. package/dist/attributes/shape/effects/implementations/dither.d.ts.map +1 -1
  156. package/dist/attributes/shape/effects/implementations/dither.js +1 -7
  157. package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
  158. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts +1 -22
  159. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts.map +1 -1
  160. package/dist/attributes/shape/effects/implementations/drop-shadow.js +0 -1
  161. package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
  162. package/dist/attributes/shape/effects/implementations/duotone.d.ts +1 -9
  163. package/dist/attributes/shape/effects/implementations/duotone.d.ts.map +1 -1
  164. package/dist/attributes/shape/effects/implementations/duotone.js +0 -1
  165. package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
  166. package/dist/attributes/shape/effects/implementations/edges.d.ts +2 -15
  167. package/dist/attributes/shape/effects/implementations/edges.d.ts.map +1 -1
  168. package/dist/attributes/shape/effects/implementations/edges.js +0 -1
  169. package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
  170. package/dist/attributes/shape/effects/implementations/glass.d.ts +1 -14
  171. package/dist/attributes/shape/effects/implementations/glass.d.ts.map +1 -1
  172. package/dist/attributes/shape/effects/implementations/glass.js +0 -1
  173. package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
  174. package/dist/attributes/shape/effects/implementations/glow.d.ts +7 -47
  175. package/dist/attributes/shape/effects/implementations/glow.d.ts.map +1 -1
  176. package/dist/attributes/shape/effects/implementations/glow.js +1 -9
  177. package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
  178. package/dist/attributes/shape/effects/implementations/grain.d.ts +1 -14
  179. package/dist/attributes/shape/effects/implementations/grain.d.ts.map +1 -1
  180. package/dist/attributes/shape/effects/implementations/grain.js +0 -1
  181. package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
  182. package/dist/attributes/shape/effects/implementations/grayscale.d.ts +0 -1
  183. package/dist/attributes/shape/effects/implementations/grayscale.d.ts.map +1 -1
  184. package/dist/attributes/shape/effects/implementations/grayscale.js +0 -1
  185. package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
  186. package/dist/attributes/shape/effects/implementations/halftone.d.ts +5 -29
  187. package/dist/attributes/shape/effects/implementations/halftone.d.ts.map +1 -1
  188. package/dist/attributes/shape/effects/implementations/halftone.js +0 -1
  189. package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
  190. package/dist/attributes/shape/effects/implementations/invert.d.ts +3 -12
  191. package/dist/attributes/shape/effects/implementations/invert.d.ts.map +1 -1
  192. package/dist/attributes/shape/effects/implementations/invert.js +0 -1
  193. package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
  194. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts +2 -19
  195. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts.map +1 -1
  196. package/dist/attributes/shape/effects/implementations/kaleidoscope.js +1 -5
  197. package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
  198. package/dist/attributes/shape/effects/implementations/lut.d.ts +11 -36
  199. package/dist/attributes/shape/effects/implementations/lut.d.ts.map +1 -1
  200. package/dist/attributes/shape/effects/implementations/lut.js +2 -8
  201. package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
  202. package/dist/attributes/shape/effects/implementations/magnify.d.ts +0 -1
  203. package/dist/attributes/shape/effects/implementations/magnify.d.ts.map +1 -1
  204. package/dist/attributes/shape/effects/implementations/magnify.js +0 -1
  205. package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
  206. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts +3 -17
  207. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts.map +1 -1
  208. package/dist/attributes/shape/effects/implementations/motion-blur.js +2 -11
  209. package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
  210. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts +1 -12
  211. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts.map +1 -1
  212. package/dist/attributes/shape/effects/implementations/oil-paint.js +0 -1
  213. package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
  214. package/dist/attributes/shape/effects/implementations/outline.d.ts +2 -14
  215. package/dist/attributes/shape/effects/implementations/outline.d.ts.map +1 -1
  216. package/dist/attributes/shape/effects/implementations/outline.js +0 -1
  217. package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
  218. package/dist/attributes/shape/effects/implementations/pixelate.d.ts +1 -15
  219. package/dist/attributes/shape/effects/implementations/pixelate.d.ts.map +1 -1
  220. package/dist/attributes/shape/effects/implementations/pixelate.js +0 -1
  221. package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
  222. package/dist/attributes/shape/effects/implementations/posterize.d.ts +1 -10
  223. package/dist/attributes/shape/effects/implementations/posterize.d.ts.map +1 -1
  224. package/dist/attributes/shape/effects/implementations/posterize.js +0 -1
  225. package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
  226. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts +3 -26
  227. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts.map +1 -1
  228. package/dist/attributes/shape/effects/implementations/progressive-blur.js +1 -2
  229. package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
  230. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts +2 -16
  231. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts.map +1 -1
  232. package/dist/attributes/shape/effects/implementations/radial-blur.js +0 -1
  233. package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
  234. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts +1 -13
  235. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts.map +1 -1
  236. package/dist/attributes/shape/effects/implementations/rgb-shift.js +0 -1
  237. package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
  238. package/dist/attributes/shape/effects/implementations/scanlines.d.ts +1 -8
  239. package/dist/attributes/shape/effects/implementations/scanlines.d.ts.map +1 -1
  240. package/dist/attributes/shape/effects/implementations/scanlines.js +0 -1
  241. package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
  242. package/dist/attributes/shape/effects/implementations/scatter.d.ts +0 -1
  243. package/dist/attributes/shape/effects/implementations/scatter.d.ts.map +1 -1
  244. package/dist/attributes/shape/effects/implementations/scatter.js +0 -1
  245. package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
  246. package/dist/attributes/shape/effects/implementations/shader.d.ts +10 -53
  247. package/dist/attributes/shape/effects/implementations/shader.d.ts.map +1 -1
  248. package/dist/attributes/shape/effects/implementations/shader.js +2 -9
  249. package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
  250. package/dist/attributes/shape/effects/implementations/sharpen.d.ts +1 -12
  251. package/dist/attributes/shape/effects/implementations/sharpen.d.ts.map +1 -1
  252. package/dist/attributes/shape/effects/implementations/sharpen.js +0 -1
  253. package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
  254. package/dist/attributes/shape/effects/implementations/streak.d.ts +1 -8
  255. package/dist/attributes/shape/effects/implementations/streak.d.ts.map +1 -1
  256. package/dist/attributes/shape/effects/implementations/streak.js +0 -1
  257. package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
  258. package/dist/attributes/shape/effects/implementations/threshold.d.ts +1 -9
  259. package/dist/attributes/shape/effects/implementations/threshold.d.ts.map +1 -1
  260. package/dist/attributes/shape/effects/implementations/threshold.js +0 -1
  261. package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
  262. package/dist/attributes/shape/effects/implementations/twirl.d.ts +1 -13
  263. package/dist/attributes/shape/effects/implementations/twirl.d.ts.map +1 -1
  264. package/dist/attributes/shape/effects/implementations/twirl.js +0 -1
  265. package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
  266. package/dist/attributes/shape/effects/implementations/vignette.d.ts +1 -9
  267. package/dist/attributes/shape/effects/implementations/vignette.d.ts.map +1 -1
  268. package/dist/attributes/shape/effects/implementations/vignette.js +0 -1
  269. package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
  270. package/dist/attributes/shape/effects/implementations/vintage.d.ts +0 -1
  271. package/dist/attributes/shape/effects/implementations/vintage.d.ts.map +1 -1
  272. package/dist/attributes/shape/effects/implementations/vintage.js +0 -1
  273. package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
  274. package/dist/attributes/shape/effects/implementations/wave.d.ts +3 -24
  275. package/dist/attributes/shape/effects/implementations/wave.d.ts.map +1 -1
  276. package/dist/attributes/shape/effects/implementations/wave.js +1 -5
  277. package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
  278. package/dist/attributes/shape/effects/registry.d.ts +6 -41
  279. package/dist/attributes/shape/effects/registry.d.ts.map +1 -1
  280. package/dist/attributes/shape/effects/registry.js +7 -45
  281. package/dist/attributes/shape/effects/registry.js.map +1 -1
  282. package/dist/attributes/shape/effects/spec.d.ts +6 -30
  283. package/dist/attributes/shape/effects/spec.d.ts.map +1 -1
  284. package/dist/attributes/shape/effects/spec.js +3 -9
  285. package/dist/attributes/shape/effects/spec.js.map +1 -1
  286. package/dist/attributes/shape/fill/blend.d.ts +1 -17
  287. package/dist/attributes/shape/fill/blend.d.ts.map +1 -1
  288. package/dist/attributes/shape/fill/blend.js +2 -15
  289. package/dist/attributes/shape/fill/blend.js.map +1 -1
  290. package/dist/attributes/shape/fill/chain.d.ts +17 -125
  291. package/dist/attributes/shape/fill/chain.d.ts.map +1 -1
  292. package/dist/attributes/shape/fill/chain.js +22 -109
  293. package/dist/attributes/shape/fill/chain.js.map +1 -1
  294. package/dist/attributes/shape/fill/coerce.d.ts +10 -35
  295. package/dist/attributes/shape/fill/coerce.d.ts.map +1 -1
  296. package/dist/attributes/shape/fill/coerce.js +12 -47
  297. package/dist/attributes/shape/fill/coerce.js.map +1 -1
  298. package/dist/attributes/shape/fill/color/parser.d.ts +10 -44
  299. package/dist/attributes/shape/fill/color/parser.d.ts.map +1 -1
  300. package/dist/attributes/shape/fill/color/parser.js +15 -91
  301. package/dist/attributes/shape/fill/color/parser.js.map +1 -1
  302. package/dist/attributes/shape/fill/gradient-stops.d.ts +1 -8
  303. package/dist/attributes/shape/fill/gradient-stops.d.ts.map +1 -1
  304. package/dist/attributes/shape/fill/gradient-stops.js +2 -13
  305. package/dist/attributes/shape/fill/gradient-stops.js.map +1 -1
  306. package/dist/attributes/shape/fill/implementations/canvas3d.d.ts +2 -24
  307. package/dist/attributes/shape/fill/implementations/canvas3d.d.ts.map +1 -1
  308. package/dist/attributes/shape/fill/implementations/canvas3d.js +2 -9
  309. package/dist/attributes/shape/fill/implementations/canvas3d.js.map +1 -1
  310. package/dist/attributes/shape/fill/implementations/dot-grid.d.ts +1 -14
  311. package/dist/attributes/shape/fill/implementations/dot-grid.d.ts.map +1 -1
  312. package/dist/attributes/shape/fill/implementations/dot-grid.js.map +1 -1
  313. package/dist/attributes/shape/fill/implementations/fractal-noise.d.ts +5 -28
  314. package/dist/attributes/shape/fill/implementations/fractal-noise.d.ts.map +1 -1
  315. package/dist/attributes/shape/fill/implementations/fractal-noise.js +0 -1
  316. package/dist/attributes/shape/fill/implementations/fractal-noise.js.map +1 -1
  317. package/dist/attributes/shape/fill/implementations/grid.d.ts +8 -21
  318. package/dist/attributes/shape/fill/implementations/grid.d.ts.map +1 -1
  319. package/dist/attributes/shape/fill/implementations/grid.js +2 -8
  320. package/dist/attributes/shape/fill/implementations/grid.js.map +1 -1
  321. package/dist/attributes/shape/fill/implementations/image.d.ts +13 -79
  322. package/dist/attributes/shape/fill/implementations/image.d.ts.map +1 -1
  323. package/dist/attributes/shape/fill/implementations/image.js +6 -23
  324. package/dist/attributes/shape/fill/implementations/image.js.map +1 -1
  325. package/dist/attributes/shape/fill/implementations/noise.d.ts +2 -15
  326. package/dist/attributes/shape/fill/implementations/noise.d.ts.map +1 -1
  327. package/dist/attributes/shape/fill/implementations/noise.js.map +1 -1
  328. package/dist/attributes/shape/fill/implementations/shader.d.ts +11 -45
  329. package/dist/attributes/shape/fill/implementations/shader.d.ts.map +1 -1
  330. package/dist/attributes/shape/fill/implementations/shader.js +5 -17
  331. package/dist/attributes/shape/fill/implementations/shader.js.map +1 -1
  332. package/dist/attributes/shape/fill/implementations/video.d.ts +12 -64
  333. package/dist/attributes/shape/fill/implementations/video.d.ts.map +1 -1
  334. package/dist/attributes/shape/fill/implementations/video.js +12 -50
  335. package/dist/attributes/shape/fill/implementations/video.js.map +1 -1
  336. package/dist/attributes/shape/fill/lerp.d.ts +2 -13
  337. package/dist/attributes/shape/fill/lerp.d.ts.map +1 -1
  338. package/dist/attributes/shape/fill/lerp.js +2 -9
  339. package/dist/attributes/shape/fill/lerp.js.map +1 -1
  340. package/dist/attributes/shape/fill/media-preset.d.ts +8 -49
  341. package/dist/attributes/shape/fill/media-preset.d.ts.map +1 -1
  342. package/dist/attributes/shape/fill/media-preset.js +8 -35
  343. package/dist/attributes/shape/fill/media-preset.js.map +1 -1
  344. package/dist/attributes/shape/fill/registry.d.ts +2 -26
  345. package/dist/attributes/shape/fill/registry.d.ts.map +1 -1
  346. package/dist/attributes/shape/fill/registry.js +5 -40
  347. package/dist/attributes/shape/fill/registry.js.map +1 -1
  348. package/dist/attributes/shape/fill/union.d.ts +6 -30
  349. package/dist/attributes/shape/fill/union.d.ts.map +1 -1
  350. package/dist/attributes/shape/fill/union.js +1 -9
  351. package/dist/attributes/shape/fill/union.js.map +1 -1
  352. package/dist/attributes/shape/filters/chain.d.ts +15 -168
  353. package/dist/attributes/shape/filters/chain.d.ts.map +1 -1
  354. package/dist/attributes/shape/filters/chain.js +8 -132
  355. package/dist/attributes/shape/filters/chain.js.map +1 -1
  356. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts +1 -7
  357. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts.map +1 -1
  358. package/dist/attributes/shape/filters/implementations/color-matrix.js.map +1 -1
  359. package/dist/attributes/shape/filters/implementations/curves.d.ts +1 -7
  360. package/dist/attributes/shape/filters/implementations/curves.d.ts.map +1 -1
  361. package/dist/attributes/shape/filters/implementations/curves.js.map +1 -1
  362. package/dist/attributes/shape/filters/implementations/echo.d.ts +1 -11
  363. package/dist/attributes/shape/filters/implementations/echo.d.ts.map +1 -1
  364. package/dist/attributes/shape/filters/implementations/echo.js.map +1 -1
  365. package/dist/attributes/shape/filters/index.d.ts +1 -6
  366. package/dist/attributes/shape/filters/index.d.ts.map +1 -1
  367. package/dist/attributes/shape/filters/index.js +0 -2
  368. package/dist/attributes/shape/filters/index.js.map +1 -1
  369. package/dist/attributes/shape/filters/registry.d.ts +5 -35
  370. package/dist/attributes/shape/filters/registry.d.ts.map +1 -1
  371. package/dist/attributes/shape/filters/registry.js +7 -50
  372. package/dist/attributes/shape/filters/registry.js.map +1 -1
  373. package/dist/attributes/shape/filters/union.d.ts +10 -51
  374. package/dist/attributes/shape/filters/union.d.ts.map +1 -1
  375. package/dist/attributes/shape/filters/union.js.map +1 -1
  376. package/dist/attributes/shape/path/anchors.d.ts +18 -106
  377. package/dist/attributes/shape/path/anchors.d.ts.map +1 -1
  378. package/dist/attributes/shape/path/anchors.js +15 -124
  379. package/dist/attributes/shape/path/anchors.js.map +1 -1
  380. package/dist/attributes/shape/path/bezier.d.ts +6 -54
  381. package/dist/attributes/shape/path/bezier.d.ts.map +1 -1
  382. package/dist/attributes/shape/path/bezier.js +10 -98
  383. package/dist/attributes/shape/path/bezier.js.map +1 -1
  384. package/dist/attributes/shape/path/index.d.ts +1 -11
  385. package/dist/attributes/shape/path/index.d.ts.map +1 -1
  386. package/dist/attributes/shape/path/index.js +1 -11
  387. package/dist/attributes/shape/path/index.js.map +1 -1
  388. package/dist/attributes/shape/path/measure.d.ts +5 -41
  389. package/dist/attributes/shape/path/measure.d.ts.map +1 -1
  390. package/dist/attributes/shape/path/measure.js +8 -57
  391. package/dist/attributes/shape/path/measure.js.map +1 -1
  392. package/dist/attributes/shape/path/morph.d.ts +4 -41
  393. package/dist/attributes/shape/path/morph.d.ts.map +1 -1
  394. package/dist/attributes/shape/path/morph.js +17 -117
  395. package/dist/attributes/shape/path/morph.js.map +1 -1
  396. package/dist/attributes/shape/path/ops.d.ts +5 -19
  397. package/dist/attributes/shape/path/ops.d.ts.map +1 -1
  398. package/dist/attributes/shape/path/ops.js.map +1 -1
  399. package/dist/attributes/shape/path/types.d.ts +10 -67
  400. package/dist/attributes/shape/path/types.d.ts.map +1 -1
  401. package/dist/attributes/shape/path/types.js +0 -1
  402. package/dist/attributes/shape/path/types.js.map +1 -1
  403. package/dist/attributes/shape/path/walk.d.ts +9 -63
  404. package/dist/attributes/shape/path/walk.d.ts.map +1 -1
  405. package/dist/attributes/shape/path/walk.js +21 -100
  406. package/dist/attributes/shape/path/walk.js.map +1 -1
  407. package/dist/attributes/shape/shaders/language.d.ts +2 -14
  408. package/dist/attributes/shape/shaders/language.d.ts.map +1 -1
  409. package/dist/attributes/shape/shaders/language.js +1 -8
  410. package/dist/attributes/shape/shaders/language.js.map +1 -1
  411. package/dist/attributes/shape/shaders/pack.d.ts +13 -78
  412. package/dist/attributes/shape/shaders/pack.d.ts.map +1 -1
  413. package/dist/attributes/shape/shaders/pack.js +1 -10
  414. package/dist/attributes/shape/shaders/pack.js.map +1 -1
  415. package/dist/attributes/shape/shaders/resolve.d.ts +1 -11
  416. package/dist/attributes/shape/shaders/resolve.d.ts.map +1 -1
  417. package/dist/attributes/shape/shaders/resolve.js +3 -28
  418. package/dist/attributes/shape/shaders/resolve.js.map +1 -1
  419. package/dist/attributes/shape/shaders/uniforms.d.ts +3 -24
  420. package/dist/attributes/shape/shaders/uniforms.d.ts.map +1 -1
  421. package/dist/attributes/shape/shaders/uniforms.js +0 -0
  422. package/dist/attributes/shape/shaders/uniforms.js.map +1 -1
  423. package/dist/attributes/shape/shadow/shadow.d.ts +3 -20
  424. package/dist/attributes/shape/shadow/shadow.d.ts.map +1 -1
  425. package/dist/attributes/shape/shadow/shadow.js +0 -3
  426. package/dist/attributes/shape/shadow/shadow.js.map +1 -1
  427. package/dist/attributes/shape/stroke/stroke.d.ts +9 -58
  428. package/dist/attributes/shape/stroke/stroke.d.ts.map +1 -1
  429. package/dist/attributes/shape/stroke/stroke.js +0 -6
  430. package/dist/attributes/shape/stroke/stroke.js.map +1 -1
  431. package/dist/attributes/shared/operators.d.ts +1 -8
  432. package/dist/attributes/shared/operators.d.ts.map +1 -1
  433. package/dist/attributes/shared/operators.js.map +1 -1
  434. package/dist/attributes/text/index.d.ts +1 -11
  435. package/dist/attributes/text/index.d.ts.map +1 -1
  436. package/dist/attributes/text/index.js +1 -11
  437. package/dist/attributes/text/index.js.map +1 -1
  438. package/dist/attributes/text/ops.d.ts +4 -30
  439. package/dist/attributes/text/ops.d.ts.map +1 -1
  440. package/dist/attributes/text/ops.js +7 -23
  441. package/dist/attributes/text/ops.js.map +1 -1
  442. package/dist/attributes/text/types.d.ts +5 -28
  443. package/dist/attributes/text/types.d.ts.map +1 -1
  444. package/dist/attributes/text/types.js.map +1 -1
  445. package/dist/browser/chunks/chunk-3ZIUZZC7.js +13 -0
  446. package/dist/browser/chunks/chunk-3ZIUZZC7.js.map +7 -0
  447. package/dist/browser/chunks/{chunk-CCGVIR4F.js → chunk-5TDMGUXQ.js} +3 -3
  448. package/dist/browser/chunks/chunk-5TDMGUXQ.js.map +7 -0
  449. package/dist/browser/chunks/chunk-7YOYMMXK.js +6 -0
  450. package/dist/browser/chunks/chunk-7YOYMMXK.js.map +7 -0
  451. package/dist/browser/chunks/{chunk-4BDLFEOC.js → chunk-GEJEQQER.js} +1 -1
  452. package/dist/browser/chunks/chunk-GEJEQQER.js.map +7 -0
  453. package/dist/browser/component.js +1 -1
  454. package/dist/browser/experimental.js +1 -1
  455. package/dist/browser/index.js +1 -1
  456. package/dist/browser/index.js.map +4 -4
  457. package/dist/browser/manifest.json +1 -1
  458. package/dist/browser/sdk.js +1 -1
  459. package/dist/component.d.ts +3 -10
  460. package/dist/component.d.ts.map +1 -1
  461. package/dist/component.js +3 -10
  462. package/dist/component.js.map +1 -1
  463. package/dist/components/builtins/geometry/geometry.d.ts +15 -62
  464. package/dist/components/builtins/geometry/geometry.d.ts.map +1 -1
  465. package/dist/components/builtins/geometry/geometry.js.map +1 -1
  466. package/dist/components/builtins/geometry/shape-outline.d.ts +12 -61
  467. package/dist/components/builtins/geometry/shape-outline.d.ts.map +1 -1
  468. package/dist/components/builtins/geometry/shape-outline.js +29 -168
  469. package/dist/components/builtins/geometry/shape-outline.js.map +1 -1
  470. package/dist/components/builtins/layout/layout.d.ts +1 -14
  471. package/dist/components/builtins/layout/layout.d.ts.map +1 -1
  472. package/dist/components/builtins/layout/layout.js.map +1 -1
  473. package/dist/components/builtins/media/media.d.ts +11 -51
  474. package/dist/components/builtins/media/media.d.ts.map +1 -1
  475. package/dist/components/builtins/media/media.js +3 -7
  476. package/dist/components/builtins/media/media.js.map +1 -1
  477. package/dist/components/builtins/text/number-format.d.ts +14 -47
  478. package/dist/components/builtins/text/number-format.d.ts.map +1 -1
  479. package/dist/components/builtins/text/number-format.js +19 -69
  480. package/dist/components/builtins/text/number-format.js.map +1 -1
  481. package/dist/components/builtins/text/number-pattern.d.ts +3 -37
  482. package/dist/components/builtins/text/number-pattern.d.ts.map +1 -1
  483. package/dist/components/builtins/text/number-pattern.js +6 -48
  484. package/dist/components/builtins/text/number-pattern.js.map +1 -1
  485. package/dist/components/builtins/text/text-defaults.d.ts +7 -25
  486. package/dist/components/builtins/text/text-defaults.d.ts.map +1 -1
  487. package/dist/components/builtins/text/text-defaults.js +7 -25
  488. package/dist/components/builtins/text/text-defaults.js.map +1 -1
  489. package/dist/components/builtins/text/text-layout.d.ts +2 -11
  490. package/dist/components/builtins/text/text-layout.d.ts.map +1 -1
  491. package/dist/components/builtins/text/text-layout.js +7 -22
  492. package/dist/components/builtins/text/text-layout.js.map +1 -1
  493. package/dist/components/builtins/text/text.d.ts +8 -46
  494. package/dist/components/builtins/text/text.d.ts.map +1 -1
  495. package/dist/components/builtins/text/text.js.map +1 -1
  496. package/dist/components/builtins/three/canvas3d.d.ts +6 -51
  497. package/dist/components/builtins/three/canvas3d.d.ts.map +1 -1
  498. package/dist/components/builtins/three/canvas3d.js.map +1 -1
  499. package/dist/components/builtins/three/grid-geometry3d.d.ts +3 -39
  500. package/dist/components/builtins/three/grid-geometry3d.d.ts.map +1 -1
  501. package/dist/components/builtins/three/grid-geometry3d.js +8 -46
  502. package/dist/components/builtins/three/grid-geometry3d.js.map +1 -1
  503. package/dist/components/builtins/three/three.d.ts +22 -117
  504. package/dist/components/builtins/three/three.d.ts.map +1 -1
  505. package/dist/components/builtins/three/three.js +5 -17
  506. package/dist/components/builtins/three/three.js.map +1 -1
  507. package/dist/components/factory/api.d.ts.map +1 -1
  508. package/dist/components/factory/api.js.map +1 -1
  509. package/dist/components/factory/views.d.ts.map +1 -1
  510. package/dist/components/factory/views.js +0 -2
  511. package/dist/components/factory/views.js.map +1 -1
  512. package/dist/components/trees/2d/group-bounds.d.ts +12 -41
  513. package/dist/components/trees/2d/group-bounds.d.ts.map +1 -1
  514. package/dist/components/trees/2d/group-bounds.js +3 -22
  515. package/dist/components/trees/2d/group-bounds.js.map +1 -1
  516. package/dist/components/trees/2d/node-lifecycle.d.ts +8 -36
  517. package/dist/components/trees/2d/node-lifecycle.d.ts.map +1 -1
  518. package/dist/components/trees/2d/node-lifecycle.js +35 -127
  519. package/dist/components/trees/2d/node-lifecycle.js.map +1 -1
  520. package/dist/components/trees/2d/node-motion.d.ts +4 -36
  521. package/dist/components/trees/2d/node-motion.d.ts.map +1 -1
  522. package/dist/components/trees/2d/node-motion.js +3 -31
  523. package/dist/components/trees/2d/node-motion.js.map +1 -1
  524. package/dist/components/trees/2d/node-render.d.ts +3 -20
  525. package/dist/components/trees/2d/node-render.d.ts.map +1 -1
  526. package/dist/components/trees/2d/node-render.js +4 -23
  527. package/dist/components/trees/2d/node-render.js.map +1 -1
  528. package/dist/components/trees/2d/node-space.d.ts +4 -23
  529. package/dist/components/trees/2d/node-space.d.ts.map +1 -1
  530. package/dist/components/trees/2d/node-space.js +3 -17
  531. package/dist/components/trees/2d/node-space.js.map +1 -1
  532. package/dist/components/trees/2d/node-transform.d.ts +4 -33
  533. package/dist/components/trees/2d/node-transform.d.ts.map +1 -1
  534. package/dist/components/trees/2d/node-transform.js +4 -33
  535. package/dist/components/trees/2d/node-transform.js.map +1 -1
  536. package/dist/components/trees/2d/node2d.d.ts +112 -622
  537. package/dist/components/trees/2d/node2d.d.ts.map +1 -1
  538. package/dist/components/trees/2d/node2d.js +131 -605
  539. package/dist/components/trees/2d/node2d.js.map +1 -1
  540. package/dist/components/trees/audio/node-audio.d.ts +17 -65
  541. package/dist/components/trees/audio/node-audio.d.ts.map +1 -1
  542. package/dist/components/trees/audio/node-audio.js +18 -68
  543. package/dist/components/trees/audio/node-audio.js.map +1 -1
  544. package/dist/components/trees/node/node-editor-state.d.ts +5 -45
  545. package/dist/components/trees/node/node-editor-state.d.ts.map +1 -1
  546. package/dist/components/trees/node/node-editor-state.js +1 -13
  547. package/dist/components/trees/node/node-editor-state.js.map +1 -1
  548. package/dist/components/trees/node/node-reactive.d.ts +6 -53
  549. package/dist/components/trees/node/node-reactive.d.ts.map +1 -1
  550. package/dist/components/trees/node/node-reactive.js +4 -33
  551. package/dist/components/trees/node/node-reactive.js.map +1 -1
  552. package/dist/components/trees/node/node-time.d.ts +2 -15
  553. package/dist/components/trees/node/node-time.d.ts.map +1 -1
  554. package/dist/components/trees/node/node-time.js.map +1 -1
  555. package/dist/components/trees/node/node-walk.d.ts +7 -32
  556. package/dist/components/trees/node/node-walk.d.ts.map +1 -1
  557. package/dist/components/trees/node/node-walk.js +7 -32
  558. package/dist/components/trees/node/node-walk.js.map +1 -1
  559. package/dist/components/trees/node/node.d.ts +43 -248
  560. package/dist/components/trees/node/node.d.ts.map +1 -1
  561. package/dist/components/trees/node/node.js +51 -229
  562. package/dist/components/trees/node/node.js.map +1 -1
  563. package/dist/components/trees/root/canvas2d-node.d.ts +7 -60
  564. package/dist/components/trees/root/canvas2d-node.d.ts.map +1 -1
  565. package/dist/components/trees/root/canvas2d-node.js +7 -47
  566. package/dist/components/trees/root/canvas2d-node.js.map +1 -1
  567. package/dist/components/trees/three/node3d.d.ts +24 -112
  568. package/dist/components/trees/three/node3d.d.ts.map +1 -1
  569. package/dist/components/trees/three/node3d.js +22 -104
  570. package/dist/components/trees/three/node3d.js.map +1 -1
  571. package/dist/document/audio.d.ts +9 -21
  572. package/dist/document/audio.d.ts.map +1 -1
  573. package/dist/document/audio.js +13 -28
  574. package/dist/document/audio.js.map +1 -1
  575. package/dist/document/builtins.d.ts +3 -9
  576. package/dist/document/builtins.d.ts.map +1 -1
  577. package/dist/document/builtins.js +43 -89
  578. package/dist/document/builtins.js.map +1 -1
  579. package/dist/document/command-traits.d.ts +14 -37
  580. package/dist/document/command-traits.d.ts.map +1 -1
  581. package/dist/document/command-traits.js +22 -39
  582. package/dist/document/command-traits.js.map +1 -1
  583. package/dist/document/deny-globals.d.ts +9 -43
  584. package/dist/document/deny-globals.d.ts.map +1 -1
  585. package/dist/document/deny-globals.js +18 -58
  586. package/dist/document/deny-globals.js.map +1 -1
  587. package/dist/document/diff.d.ts +6 -16
  588. package/dist/document/diff.d.ts.map +1 -1
  589. package/dist/document/diff.js +5 -11
  590. package/dist/document/diff.js.map +1 -1
  591. package/dist/document/doc-index.d.ts +5 -13
  592. package/dist/document/doc-index.d.ts.map +1 -1
  593. package/dist/document/doc-index.js +0 -2
  594. package/dist/document/doc-index.js.map +1 -1
  595. package/dist/document/expression/compile.d.ts +2 -2
  596. package/dist/document/expression/compile.d.ts.map +1 -1
  597. package/dist/document/expression/compile.js +8 -18
  598. package/dist/document/expression/compile.js.map +1 -1
  599. package/dist/document/expression/index.d.ts +11 -41
  600. package/dist/document/expression/index.d.ts.map +1 -1
  601. package/dist/document/expression/index.js +11 -41
  602. package/dist/document/expression/index.js.map +1 -1
  603. package/dist/document/expression/ops.d.ts +3 -12
  604. package/dist/document/expression/ops.d.ts.map +1 -1
  605. package/dist/document/expression/ops.js +4 -20
  606. package/dist/document/expression/ops.js.map +1 -1
  607. package/dist/document/expression/parse.d.ts +4 -14
  608. package/dist/document/expression/parse.d.ts.map +1 -1
  609. package/dist/document/expression/parse.js +34 -55
  610. package/dist/document/expression/parse.js.map +1 -1
  611. package/dist/document/expression/refs.d.ts +2 -8
  612. package/dist/document/expression/refs.d.ts.map +1 -1
  613. package/dist/document/expression/refs.js +2 -6
  614. package/dist/document/expression/refs.js.map +1 -1
  615. package/dist/document/expression/types.d.ts +18 -63
  616. package/dist/document/expression/types.d.ts.map +1 -1
  617. package/dist/document/expression/types.js +4 -15
  618. package/dist/document/expression/types.js.map +1 -1
  619. package/dist/document/expression/walk.d.ts +6 -20
  620. package/dist/document/expression/walk.d.ts.map +1 -1
  621. package/dist/document/expression/walk.js +18 -44
  622. package/dist/document/expression/walk.js.map +1 -1
  623. package/dist/document/index.js +2 -3
  624. package/dist/document/index.js.map +1 -1
  625. package/dist/document/migrate.d.ts +7 -22
  626. package/dist/document/migrate.d.ts.map +1 -1
  627. package/dist/document/migrate.js +44 -15
  628. package/dist/document/migrate.js.map +1 -1
  629. package/dist/document/missing-node.d.ts +4 -11
  630. package/dist/document/missing-node.d.ts.map +1 -1
  631. package/dist/document/missing-node.js +2 -5
  632. package/dist/document/missing-node.js.map +1 -1
  633. package/dist/document/node-decorator.d.ts +12 -53
  634. package/dist/document/node-decorator.d.ts.map +1 -1
  635. package/dist/document/node-decorator.js +16 -57
  636. package/dist/document/node-decorator.js.map +1 -1
  637. package/dist/document/node-descriptor.d.ts +25 -62
  638. package/dist/document/node-descriptor.d.ts.map +1 -1
  639. package/dist/document/node-descriptor.js.map +1 -1
  640. package/dist/document/placement.d.ts +18 -41
  641. package/dist/document/placement.d.ts.map +1 -1
  642. package/dist/document/placement.js +4 -11
  643. package/dist/document/placement.js.map +1 -1
  644. package/dist/document/project.d.ts +19 -52
  645. package/dist/document/project.d.ts.map +1 -1
  646. package/dist/document/project.js +2 -6
  647. package/dist/document/project.js.map +1 -1
  648. package/dist/document/prop-evolution.d.ts +10 -20
  649. package/dist/document/prop-evolution.d.ts.map +1 -1
  650. package/dist/document/prop-evolution.js +3 -7
  651. package/dist/document/prop-evolution.js.map +1 -1
  652. package/dist/document/registry.d.ts +80 -318
  653. package/dist/document/registry.d.ts.map +1 -1
  654. package/dist/document/registry.js +43 -147
  655. package/dist/document/registry.js.map +1 -1
  656. package/dist/document/settled-index.d.ts +11 -23
  657. package/dist/document/settled-index.d.ts.map +1 -1
  658. package/dist/document/settled-index.js +15 -34
  659. package/dist/document/settled-index.js.map +1 -1
  660. package/dist/document/timeline-patch.d.ts +6 -15
  661. package/dist/document/timeline-patch.d.ts.map +1 -1
  662. package/dist/document/timeline-patch.js +12 -21
  663. package/dist/document/timeline-patch.js.map +1 -1
  664. package/dist/document/timeline.d.ts +56 -263
  665. package/dist/document/timeline.d.ts.map +1 -1
  666. package/dist/document/timeline.js +71 -275
  667. package/dist/document/timeline.js.map +1 -1
  668. package/dist/document/types.d.ts +90 -264
  669. package/dist/document/types.d.ts.map +1 -1
  670. package/dist/document/types.js +13 -30
  671. package/dist/document/types.js.map +1 -1
  672. package/dist/document/validate.d.ts +10 -40
  673. package/dist/document/validate.d.ts.map +1 -1
  674. package/dist/document/validate.js +72 -137
  675. package/dist/document/validate.js.map +1 -1
  676. package/dist/document/vocabulary.d.ts +4 -7
  677. package/dist/document/vocabulary.d.ts.map +1 -1
  678. package/dist/document/vocabulary.js +0 -1
  679. package/dist/document/vocabulary.js.map +1 -1
  680. package/dist/index.d.ts +0 -1
  681. package/dist/index.d.ts.map +1 -1
  682. package/dist/index.js +0 -1
  683. package/dist/index.js.map +1 -1
  684. package/dist/layout/bounds.d.ts +1 -11
  685. package/dist/layout/bounds.d.ts.map +1 -1
  686. package/dist/layout/bounds.js.map +1 -1
  687. package/dist/layout/flex.d.ts +6 -20
  688. package/dist/layout/flex.d.ts.map +1 -1
  689. package/dist/layout/flex.js +7 -28
  690. package/dist/layout/flex.js.map +1 -1
  691. package/dist/layout/ops.d.ts +2 -11
  692. package/dist/layout/ops.d.ts.map +1 -1
  693. package/dist/layout/ops.js +2 -22
  694. package/dist/layout/ops.js.map +1 -1
  695. package/dist/layout/types.d.ts +11 -55
  696. package/dist/layout/types.d.ts.map +1 -1
  697. package/dist/layout/types.js.map +1 -1
  698. package/dist/platform/audio-sink.d.ts +7 -43
  699. package/dist/platform/audio-sink.d.ts.map +1 -1
  700. package/dist/platform/audio-sink.js +4 -29
  701. package/dist/platform/audio-sink.js.map +1 -1
  702. package/dist/platform/exporter.d.ts +5 -31
  703. package/dist/platform/exporter.d.ts.map +1 -1
  704. package/dist/platform/exporter.js.map +1 -1
  705. package/dist/platform/stepped-clock.d.ts +1 -16
  706. package/dist/platform/stepped-clock.d.ts.map +1 -1
  707. package/dist/platform/stepped-clock.js +1 -16
  708. package/dist/platform/stepped-clock.js.map +1 -1
  709. package/dist/platform/storage-adapter.d.ts +8 -68
  710. package/dist/platform/storage-adapter.d.ts.map +1 -1
  711. package/dist/platform/storage-adapter.js +8 -60
  712. package/dist/platform/storage-adapter.js.map +1 -1
  713. package/dist/platform/ticker.d.ts +11 -45
  714. package/dist/platform/ticker.d.ts.map +1 -1
  715. package/dist/platform/ticker.js +10 -37
  716. package/dist/platform/ticker.js.map +1 -1
  717. package/dist/project/config.d.ts +4 -14
  718. package/dist/project/config.d.ts.map +1 -1
  719. package/dist/project/config.js.map +1 -1
  720. package/dist/project/tree.d.ts +6 -35
  721. package/dist/project/tree.d.ts.map +1 -1
  722. package/dist/project/tree.js +1 -8
  723. package/dist/project/tree.js.map +1 -1
  724. package/dist/props/host.d.ts +2 -13
  725. package/dist/props/host.d.ts.map +1 -1
  726. package/dist/props/host.js.map +1 -1
  727. package/dist/props/layout.d.ts +1 -12
  728. package/dist/props/layout.d.ts.map +1 -1
  729. package/dist/props/layout.js +1 -12
  730. package/dist/props/layout.js.map +1 -1
  731. package/dist/props/observer.d.ts +1 -7
  732. package/dist/props/observer.d.ts.map +1 -1
  733. package/dist/props/observer.js.map +1 -1
  734. package/dist/props/slot.d.ts +6 -19
  735. package/dist/props/slot.d.ts.map +1 -1
  736. package/dist/props/slot.js +5 -14
  737. package/dist/props/slot.js.map +1 -1
  738. package/dist/render/canvas-render-context2d.d.ts +8 -68
  739. package/dist/render/canvas-render-context2d.d.ts.map +1 -1
  740. package/dist/render/canvas-render-context2d.js +8 -69
  741. package/dist/render/canvas-render-context2d.js.map +1 -1
  742. package/dist/render/clip-contains.d.ts +2 -16
  743. package/dist/render/clip-contains.d.ts.map +1 -1
  744. package/dist/render/clip-contains.js +21 -82
  745. package/dist/render/clip-contains.js.map +1 -1
  746. package/dist/render/clip.d.ts +7 -25
  747. package/dist/render/clip.d.ts.map +1 -1
  748. package/dist/render/clip.js +5 -17
  749. package/dist/render/clip.js.map +1 -1
  750. package/dist/render/descriptors/ellipse.d.ts.map +1 -1
  751. package/dist/render/descriptors/ellipse.js +0 -1
  752. package/dist/render/descriptors/ellipse.js.map +1 -1
  753. package/dist/render/descriptors/line.d.ts.map +1 -1
  754. package/dist/render/descriptors/line.js +0 -1
  755. package/dist/render/descriptors/line.js.map +1 -1
  756. package/dist/render/descriptors/path-builder.d.ts +4 -32
  757. package/dist/render/descriptors/path-builder.d.ts.map +1 -1
  758. package/dist/render/descriptors/path-builder.js +3 -25
  759. package/dist/render/descriptors/path-builder.js.map +1 -1
  760. package/dist/render/descriptors/path.d.ts +1 -11
  761. package/dist/render/descriptors/path.d.ts.map +1 -1
  762. package/dist/render/descriptors/path.js +0 -1
  763. package/dist/render/descriptors/path.js.map +1 -1
  764. package/dist/render/descriptors/polygon.d.ts.map +1 -1
  765. package/dist/render/descriptors/polygon.js +0 -1
  766. package/dist/render/descriptors/polygon.js.map +1 -1
  767. package/dist/render/descriptors/polygram.d.ts.map +1 -1
  768. package/dist/render/descriptors/polygram.js +0 -1
  769. package/dist/render/descriptors/polygram.js.map +1 -1
  770. package/dist/render/descriptors/rect.d.ts.map +1 -1
  771. package/dist/render/descriptors/rect.js +0 -1
  772. package/dist/render/descriptors/rect.js.map +1 -1
  773. package/dist/render/descriptors/richtext.d.ts.map +1 -1
  774. package/dist/render/descriptors/richtext.js +0 -1
  775. package/dist/render/descriptors/richtext.js.map +1 -1
  776. package/dist/render/descriptors/shape.d.ts +17 -77
  777. package/dist/render/descriptors/shape.d.ts.map +1 -1
  778. package/dist/render/descriptors/shape.js +13 -47
  779. package/dist/render/descriptors/shape.js.map +1 -1
  780. package/dist/render/descriptors/text.d.ts +15 -94
  781. package/dist/render/descriptors/text.d.ts.map +1 -1
  782. package/dist/render/descriptors/text.js +8 -50
  783. package/dist/render/descriptors/text.js.map +1 -1
  784. package/dist/render/descriptors/transform.d.ts +5 -16
  785. package/dist/render/descriptors/transform.d.ts.map +1 -1
  786. package/dist/render/descriptors/transform.js +1 -17
  787. package/dist/render/descriptors/transform.js.map +1 -1
  788. package/dist/render/graphics2d.d.ts +24 -116
  789. package/dist/render/graphics2d.d.ts.map +1 -1
  790. package/dist/render/graphics2d.js +23 -108
  791. package/dist/render/graphics2d.js.map +1 -1
  792. package/dist/render/measure-context.d.ts +5 -29
  793. package/dist/render/measure-context.d.ts.map +1 -1
  794. package/dist/render/measure-context.js.map +1 -1
  795. package/dist/render/null-render-context.d.ts +2 -20
  796. package/dist/render/null-render-context.d.ts.map +1 -1
  797. package/dist/render/null-render-context.js +2 -20
  798. package/dist/render/null-render-context.js.map +1 -1
  799. package/dist/render/render-context2d.d.ts +52 -208
  800. package/dist/render/render-context2d.d.ts.map +1 -1
  801. package/dist/render/render-context2d.js.map +1 -1
  802. package/dist/render/surface.d.ts +2 -19
  803. package/dist/render/surface.d.ts.map +1 -1
  804. package/dist/render/surface.js.map +1 -1
  805. package/dist/render/text-defaults.d.ts +1 -17
  806. package/dist/render/text-defaults.d.ts.map +1 -1
  807. package/dist/render/text-defaults.js +6 -40
  808. package/dist/render/text-defaults.js.map +1 -1
  809. package/dist/render/text-layout.d.ts +12 -55
  810. package/dist/render/text-layout.d.ts.map +1 -1
  811. package/dist/render/text-layout.js +2 -16
  812. package/dist/render/text-layout.js.map +1 -1
  813. package/dist/render3d/bounds3d.d.ts +10 -32
  814. package/dist/render3d/bounds3d.d.ts.map +1 -1
  815. package/dist/render3d/bounds3d.js +2 -12
  816. package/dist/render3d/bounds3d.js.map +1 -1
  817. package/dist/render3d/builders.d.ts +8 -35
  818. package/dist/render3d/builders.d.ts.map +1 -1
  819. package/dist/render3d/builders.js +8 -35
  820. package/dist/render3d/builders.js.map +1 -1
  821. package/dist/render3d/camera.d.ts +10 -57
  822. package/dist/render3d/camera.d.ts.map +1 -1
  823. package/dist/render3d/camera.js +4 -26
  824. package/dist/render3d/camera.js.map +1 -1
  825. package/dist/render3d/fill3d.d.ts +7 -45
  826. package/dist/render3d/fill3d.d.ts.map +1 -1
  827. package/dist/render3d/fill3d.js +15 -85
  828. package/dist/render3d/fill3d.js.map +1 -1
  829. package/dist/render3d/geometry.d.ts +18 -106
  830. package/dist/render3d/geometry.d.ts.map +1 -1
  831. package/dist/render3d/geometry.js +2 -20
  832. package/dist/render3d/geometry.js.map +1 -1
  833. package/dist/render3d/graphics3d.d.ts +29 -133
  834. package/dist/render3d/graphics3d.d.ts.map +1 -1
  835. package/dist/render3d/graphics3d.js +23 -110
  836. package/dist/render3d/graphics3d.js.map +1 -1
  837. package/dist/render3d/index.d.ts +1 -16
  838. package/dist/render3d/index.d.ts.map +1 -1
  839. package/dist/render3d/index.js +1 -16
  840. package/dist/render3d/index.js.map +1 -1
  841. package/dist/render3d/inert.d.ts.map +1 -1
  842. package/dist/render3d/inert.js +1 -14
  843. package/dist/render3d/inert.js.map +1 -1
  844. package/dist/render3d/light.d.ts +3 -26
  845. package/dist/render3d/light.d.ts.map +1 -1
  846. package/dist/render3d/light.js.map +1 -1
  847. package/dist/render3d/material.d.ts +13 -87
  848. package/dist/render3d/material.d.ts.map +1 -1
  849. package/dist/render3d/material.js +2 -16
  850. package/dist/render3d/material.js.map +1 -1
  851. package/dist/render3d/matrix4.d.ts +14 -68
  852. package/dist/render3d/matrix4.d.ts.map +1 -1
  853. package/dist/render3d/matrix4.js +11 -60
  854. package/dist/render3d/matrix4.js.map +1 -1
  855. package/dist/render3d/render-context3d.d.ts +13 -51
  856. package/dist/render3d/render-context3d.d.ts.map +1 -1
  857. package/dist/render3d/render-context3d.js +9 -21
  858. package/dist/render3d/render-context3d.js.map +1 -1
  859. package/dist/render3d/resources.d.ts +9 -53
  860. package/dist/render3d/resources.d.ts.map +1 -1
  861. package/dist/render3d/resources.js +8 -48
  862. package/dist/render3d/resources.js.map +1 -1
  863. package/dist/render3d/rounded-box.d.ts +7 -21
  864. package/dist/render3d/rounded-box.d.ts.map +1 -1
  865. package/dist/render3d/rounded-box.js +7 -46
  866. package/dist/render3d/rounded-box.js.map +1 -1
  867. package/dist/render3d/scene-settings.d.ts +20 -78
  868. package/dist/render3d/scene-settings.d.ts.map +1 -1
  869. package/dist/render3d/scene-settings.js.map +1 -1
  870. package/dist/render3d/scene3d.d.ts +11 -53
  871. package/dist/render3d/scene3d.d.ts.map +1 -1
  872. package/dist/render3d/scene3d.js +12 -59
  873. package/dist/render3d/scene3d.js.map +1 -1
  874. package/dist/render3d/segments.d.ts +2 -25
  875. package/dist/render3d/segments.d.ts.map +1 -1
  876. package/dist/render3d/segments.js +1 -11
  877. package/dist/render3d/segments.js.map +1 -1
  878. package/dist/render3d/texture.d.ts +25 -112
  879. package/dist/render3d/texture.d.ts.map +1 -1
  880. package/dist/render3d/texture.js +3 -27
  881. package/dist/render3d/texture.js.map +1 -1
  882. package/dist/render3d/tracking.d.ts +2 -19
  883. package/dist/render3d/tracking.d.ts.map +1 -1
  884. package/dist/render3d/tracking.js +2 -19
  885. package/dist/render3d/tracking.js.map +1 -1
  886. package/dist/render3d/transform.d.ts +14 -60
  887. package/dist/render3d/transform.d.ts.map +1 -1
  888. package/dist/render3d/transform.js +0 -2
  889. package/dist/render3d/transform.js.map +1 -1
  890. package/dist/render3d/vector3.d.ts +6 -48
  891. package/dist/render3d/vector3.d.ts.map +1 -1
  892. package/dist/render3d/vector3.js +4 -38
  893. package/dist/render3d/vector3.js.map +1 -1
  894. package/dist/render3d/walk.d.ts +3 -27
  895. package/dist/render3d/walk.d.ts.map +1 -1
  896. package/dist/render3d/walk.js +5 -33
  897. package/dist/render3d/walk.js.map +1 -1
  898. package/dist/runtime/asset-refine.d.ts +34 -20
  899. package/dist/runtime/asset-refine.d.ts.map +1 -1
  900. package/dist/runtime/asset-refine.js +127 -31
  901. package/dist/runtime/asset-refine.js.map +1 -1
  902. package/dist/runtime/asset-timeline.d.ts +14 -53
  903. package/dist/runtime/asset-timeline.d.ts.map +1 -1
  904. package/dist/runtime/asset-timeline.js +6 -27
  905. package/dist/runtime/asset-timeline.js.map +1 -1
  906. package/dist/runtime/asset-update.d.ts +7 -26
  907. package/dist/runtime/asset-update.d.ts.map +1 -1
  908. package/dist/runtime/asset-update.js +6 -18
  909. package/dist/runtime/asset-update.js.map +1 -1
  910. package/dist/runtime/audio-index.d.ts +0 -2
  911. package/dist/runtime/audio-index.d.ts.map +1 -1
  912. package/dist/runtime/audio-index.js +0 -2
  913. package/dist/runtime/audio-index.js.map +1 -1
  914. package/dist/runtime/builtin-context.d.ts +3 -9
  915. package/dist/runtime/builtin-context.d.ts.map +1 -1
  916. package/dist/runtime/builtin-context.js +3 -9
  917. package/dist/runtime/builtin-context.js.map +1 -1
  918. package/dist/runtime/clip-instance.d.ts +12 -39
  919. package/dist/runtime/clip-instance.d.ts.map +1 -1
  920. package/dist/runtime/clip-instance.js +21 -45
  921. package/dist/runtime/clip-instance.js.map +1 -1
  922. package/dist/runtime/clip-store.d.ts +26 -68
  923. package/dist/runtime/clip-store.d.ts.map +1 -1
  924. package/dist/runtime/clip-store.js +47 -81
  925. package/dist/runtime/clip-store.js.map +1 -1
  926. package/dist/runtime/engine.d.ts +31 -85
  927. package/dist/runtime/engine.d.ts.map +1 -1
  928. package/dist/runtime/engine.js +16 -49
  929. package/dist/runtime/engine.js.map +1 -1
  930. package/dist/runtime/frame-time.d.ts +4 -15
  931. package/dist/runtime/frame-time.d.ts.map +1 -1
  932. package/dist/runtime/frame-time.js +5 -12
  933. package/dist/runtime/frame-time.js.map +1 -1
  934. package/dist/runtime/index.d.ts +0 -1
  935. package/dist/runtime/index.d.ts.map +1 -1
  936. package/dist/runtime/index.js +0 -1
  937. package/dist/runtime/index.js.map +1 -1
  938. package/dist/runtime/node-picking.d.ts +59 -139
  939. package/dist/runtime/node-picking.d.ts.map +1 -1
  940. package/dist/runtime/node-picking.js +87 -157
  941. package/dist/runtime/node-picking.js.map +1 -1
  942. package/dist/runtime/node-picking3d.d.ts +39 -96
  943. package/dist/runtime/node-picking3d.d.ts.map +1 -1
  944. package/dist/runtime/node-picking3d.js +98 -141
  945. package/dist/runtime/node-picking3d.js.map +1 -1
  946. package/dist/runtime/placement.d.ts +8 -17
  947. package/dist/runtime/placement.d.ts.map +1 -1
  948. package/dist/runtime/placement.js +7 -16
  949. package/dist/runtime/placement.js.map +1 -1
  950. package/dist/runtime/playback-controller.d.ts +78 -207
  951. package/dist/runtime/playback-controller.d.ts.map +1 -1
  952. package/dist/runtime/playback-controller.js +111 -226
  953. package/dist/runtime/playback-controller.js.map +1 -1
  954. package/dist/runtime/playback.d.ts +6 -14
  955. package/dist/runtime/playback.d.ts.map +1 -1
  956. package/dist/runtime/playback.js +6 -14
  957. package/dist/runtime/playback.js.map +1 -1
  958. package/dist/runtime/project-assets.d.ts +6 -14
  959. package/dist/runtime/project-assets.d.ts.map +1 -1
  960. package/dist/runtime/project-assets.js +7 -16
  961. package/dist/runtime/project-assets.js.map +1 -1
  962. package/dist/runtime/session.d.ts +22 -45
  963. package/dist/runtime/session.d.ts.map +1 -1
  964. package/dist/runtime/session.js +26 -46
  965. package/dist/runtime/session.js.map +1 -1
  966. package/dist/runtime/settle.d.ts +4 -10
  967. package/dist/runtime/settle.d.ts.map +1 -1
  968. package/dist/runtime/settle.js +4 -10
  969. package/dist/runtime/settle.js.map +1 -1
  970. package/dist/runtime/state-evaluator.d.ts +15 -37
  971. package/dist/runtime/state-evaluator.d.ts.map +1 -1
  972. package/dist/runtime/state-evaluator.js +27 -44
  973. package/dist/runtime/state-evaluator.js.map +1 -1
  974. package/dist/runtime/text-geometry.d.ts +18 -47
  975. package/dist/runtime/text-geometry.d.ts.map +1 -1
  976. package/dist/runtime/text-geometry.js +13 -27
  977. package/dist/runtime/text-geometry.js.map +1 -1
  978. package/dist/sdk/index.d.ts +1 -7
  979. package/dist/sdk/index.d.ts.map +1 -1
  980. package/dist/sdk/index.js +30 -138
  981. package/dist/sdk/index.js.map +1 -1
  982. package/dist/tween/command-decorator.d.ts +6 -26
  983. package/dist/tween/command-decorator.d.ts.map +1 -1
  984. package/dist/tween/command-decorator.js +1 -6
  985. package/dist/tween/command-decorator.js.map +1 -1
  986. package/dist/tween/command.d.ts +6 -53
  987. package/dist/tween/command.d.ts.map +1 -1
  988. package/dist/tween/command.js +5 -40
  989. package/dist/tween/command.js.map +1 -1
  990. package/dist/tween/ease/curve.d.ts +2 -17
  991. package/dist/tween/ease/curve.d.ts.map +1 -1
  992. package/dist/tween/ease/curve.js +1 -6
  993. package/dist/tween/ease/curve.js.map +1 -1
  994. package/dist/tween/ease/describe.d.ts +0 -11
  995. package/dist/tween/ease/describe.d.ts.map +1 -1
  996. package/dist/tween/ease/describe.js +0 -23
  997. package/dist/tween/ease/describe.js.map +1 -1
  998. package/dist/tween/ease/spec.d.ts +2 -18
  999. package/dist/tween/ease/spec.d.ts.map +1 -1
  1000. package/dist/tween/ease/spec.js.map +1 -1
  1001. package/dist/tween/inert.d.ts +1 -14
  1002. package/dist/tween/inert.d.ts.map +1 -1
  1003. package/dist/tween/inert.js +1 -14
  1004. package/dist/tween/inert.js.map +1 -1
  1005. package/dist/tween/lerp.d.ts +2 -26
  1006. package/dist/tween/lerp.d.ts.map +1 -1
  1007. package/dist/tween/lerp.js +2 -26
  1008. package/dist/tween/lerp.js.map +1 -1
  1009. package/dist/tween/loop.d.ts +9 -50
  1010. package/dist/tween/loop.d.ts.map +1 -1
  1011. package/dist/tween/loop.js +6 -31
  1012. package/dist/tween/loop.js.map +1 -1
  1013. package/dist/tween/prepare.d.ts +2 -30
  1014. package/dist/tween/prepare.d.ts.map +1 -1
  1015. package/dist/tween/prepare.js +2 -30
  1016. package/dist/tween/prepare.js.map +1 -1
  1017. package/dist/tween/stepper.d.ts +4 -25
  1018. package/dist/tween/stepper.d.ts.map +1 -1
  1019. package/dist/tween/stepper.js.map +1 -1
  1020. package/dist/tween/to-command.d.ts +1 -8
  1021. package/dist/tween/to-command.d.ts.map +1 -1
  1022. package/dist/tween/to-command.js +2 -25
  1023. package/dist/tween/to-command.js.map +1 -1
  1024. package/dist/util/context.d.ts +4 -29
  1025. package/dist/util/context.d.ts.map +1 -1
  1026. package/dist/util/context.js +3 -15
  1027. package/dist/util/context.js.map +1 -1
  1028. package/dist/util/csv.d.ts +4 -29
  1029. package/dist/util/csv.d.ts.map +1 -1
  1030. package/dist/util/csv.js +3 -22
  1031. package/dist/util/csv.js.map +1 -1
  1032. package/dist/util/metrics.d.ts +2 -26
  1033. package/dist/util/metrics.d.ts.map +1 -1
  1034. package/dist/util/metrics.js +2 -26
  1035. package/dist/util/metrics.js.map +1 -1
  1036. package/dist/util/random.d.ts +20 -87
  1037. package/dist/util/random.d.ts.map +1 -1
  1038. package/dist/util/random.js +20 -87
  1039. package/dist/util/random.js.map +1 -1
  1040. package/dist/util/reference.d.ts +6 -35
  1041. package/dist/util/reference.d.ts.map +1 -1
  1042. package/dist/util/reference.js +1 -4
  1043. package/dist/util/reference.js.map +1 -1
  1044. package/dist/util/scheduler.d.ts +6 -27
  1045. package/dist/util/scheduler.d.ts.map +1 -1
  1046. package/dist/util/scheduler.js +8 -35
  1047. package/dist/util/scheduler.js.map +1 -1
  1048. package/package.json +1 -1
  1049. package/dist/browser/chunks/chunk-4BDLFEOC.js.map +0 -7
  1050. package/dist/browser/chunks/chunk-CCGVIR4F.js.map +0 -7
  1051. package/dist/browser/chunks/chunk-N4WSN5WY.js +0 -13
  1052. package/dist/browser/chunks/chunk-N4WSN5WY.js.map +0 -7
  1053. package/dist/browser/chunks/chunk-WZSI3GSK.js +0 -6
  1054. package/dist/browser/chunks/chunk-WZSI3GSK.js.map +0 -7
  1055. package/dist/renamed-scene-names.d.ts +0 -17
  1056. package/dist/renamed-scene-names.d.ts.map +0 -1
  1057. package/dist/renamed-scene-names.js +0 -9
  1058. package/dist/renamed-scene-names.js.map +0 -1
  1059. package/dist/runtime/precompisition.d.ts +0 -24
  1060. package/dist/runtime/precompisition.d.ts.map +0 -1
  1061. package/dist/runtime/precompisition.js +0 -7
  1062. package/dist/runtime/precompisition.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"three.js","sourceRoot":"","sources":["../../../../src/components/builtins/three/three.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAqB,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAe,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAA4C,MAAM,uBAAuB,CAAC;AAQ7F,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAI/H;;;GAGG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;AAGvD,gFAAgF;AAEhF,MAAM,IAAI,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAc,EAAE,GAAG,QAAQ,CAAC,KAAK,EAAE,CAAC;AAErE,MAAM,CAAC,MAAM,MAAM,GAAG,WAAW,CAAC;IAC9B,GAAG,EAAE,QAAQ;IACb,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC7D,CAAC,CAAC;AAGH,MAAM,KAAK,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAU,EAAE,KAAK,EAAE,QAAQ,EAAU,EAAE,CAAC;AAC5E,MAAM,UAAU,GAAG,CAAC,YAAY,EAAE,OAAO,C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C5B,SAAS,EAAE,QAAQ,EAAU;QAC7B,UAAU,EAAE,QAAQ,EAAW;QAC/B,IAAI,EAAE,QAAQ,EAAU;KAC3B;IACD,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;QACf,IAAI,CAAC,CAAC,GAAG,KAAK,SAAS,IAAI,CAAC,CAAC,KAAK,KAAK,SAAS,IAAI,CAAC,CAAC,MAAM,KAAK,SAAS;YAAE,OAAO,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACzG,MAAM,GAAG,GAAG,OAAO,CAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;QACzG,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS;YAAE,GAAG,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;QACtG,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;CACJ,CAAC,CAAC","sourcesContent":["import type { Color } from \"@/attributes/shape/fill/color/parser\";\nimport { ORBIT_CAMERA_DEFAULTS, type CameraData3D } from \"@/render3d/camera\";\nimport { lerpFill3D, type Fill3D } from \"@/render3d/fill3d\";\nimport type { Geometry3D, PolyhedronGeometry3D, BoxGeometry3D, CapsuleGeometry3D, CircleGeometry3D, ConeGeometry3D, CylinderGeometry3D, ExtrudeGeometry3D, LatheGeometry3D, PlaneGeometry3D, RingGeometry3D, SphereGeometry3D, TorusGeometry3D, TorusKnotGeometry3D, TubeGeometry3D } from \"@/render3d/geometry\";\nimport { Graphics3D, type LineStroke3D, type ModelAnimation3D } from \"@/render3d/graphics3d\";\nimport type { LightData3D, AmbientLightData3D, AreaLightData3D, DirectionalLightData3D, HemisphereLightData3D, PointLightData3D, SpotLightData3D } from \"@/render3d/light\";\nimport type { Material3D, Shading3D } from \"@/render3d/material\";\nimport type { EnvironmentData3D, FogData3D } from \"@/render3d/scene-settings\";\nimport type { Segments3D } from \"@/render3d/segments\";\nimport type { Transform3D, Blend3D, Faces3D } from \"@/render3d/transform\";\nimport type { Vector3Input } from \"@/render3d/vector3\";\nimport type { NodeOf } from \"@/components/factory/api\";\nimport { component3d } from \"@/components/factory/component3d\";\nimport { Types } from \"@/components/factory/types\";\nimport * as Material from \"@/components/modules/material\";\nimport { defined, optional, optionalColor, optionalNumber, optionalVector3, stated } from \"@/components/modules/three-entries\";\nimport type { Node3DProps } from \"@/components/trees/three/node3d\";\nimport type { Texture3D } from \"@/render3d/texture\";\n\n/**\n * The 3D tree: groups, meshes and the other drawables, lights, the camera, fog\n * and the environment. Each draws the `Graphics3D` or scene call its class did.\n */\n\nexport const Group3D = component3d({ key: \"group3d\" });\nexport type Group3D = NodeOf<typeof Group3D>;\n\n// ---- meshes -----------------------------------------------------------------\n\nconst mesh = { geometry: optional<Geometry3D>(), ...Material.state };\n\nexport const Mesh3D = component3d({\n key: \"mesh3d\",\n state: mesh,\n render: (ctx, s) => ctx.draw(Material.mesh(s, s.geometry)),\n});\nexport type Mesh3D = NodeOf<typeof Mesh3D>;\n\nconst sweep = { startAngle: optional<number>(), sweep: optional<number>() };\nconst SWEEP_KEYS = [\"startAngle\", \"sweep\"] as const;\n\n/** A mesh of one built-in shape: `keys` are the entries its geometry descriptor takes. */\nfunction shape3d<const K extends string, const S extends Record<string, ReturnType<typeof optional>>>(\n key: K, type: Geometry3D[\"type\"], own: S, keys: readonly string[],\n) {\n return component3d({\n key,\n state: { ...mesh, ...own },\n render: (ctx, s) => ctx.draw(Material.mesh(s as never, stated<Geometry3D>(type, s, keys))),\n });\n}\n\nexport const Box3D = shape3d(\"box3d\", \"box\", {\n width: optional<number>(), height: optional<number>(), depth: optional<number>(),\n cornerRadius: optional<number>(), segments: optional<Segments3D>(),\n}, [\"width\", \"height\", \"depth\", \"cornerRadius\", \"segments\"]);\nexport type Box3D = NodeOf<typeof Box3D>;\n\nexport const Sphere3D = shape3d(\"sphere3d\", \"sphere\", {\n radius: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n startLatitude: optional<number>(), latitudeSweep: optional<number>(),\n}, [\"radius\", \"segments\", \"startLatitude\", \"latitudeSweep\", ...SWEEP_KEYS]);\nexport type Sphere3D = NodeOf<typeof Sphere3D>;\n\nexport const Plane3D = shape3d(\"plane3d\", \"plane\", {\n width: optional<number>(), height: optional<number>(), segments: optional<Segments3D>(),\n}, [\"width\", \"height\", \"segments\"]);\nexport type Plane3D = NodeOf<typeof Plane3D>;\n\nexport const Cylinder3D = shape3d(\"cylinder3d\", \"cylinder\", {\n radius: optional<number | readonly [number, number]>(), height: optional<number>(),\n segments: optional<Segments3D>(), capped: optional<boolean>(), ...sweep,\n}, [\"radius\", \"height\", \"segments\", \"capped\", ...SWEEP_KEYS]);\nexport type Cylinder3D = NodeOf<typeof Cylinder3D>;\n\nexport const Cone3D = shape3d(\"cone3d\", \"cone\", {\n radius: optional<number>(), height: optional<number>(), segments: optional<Segments3D>(), capped: optional<boolean>(), ...sweep,\n}, [\"radius\", \"height\", \"segments\", \"capped\", ...SWEEP_KEYS]);\nexport type Cone3D = NodeOf<typeof Cone3D>;\n\nexport const Torus3D = shape3d(\"torus3d\", \"torus\", {\n radius: optional<number>(), thickness: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"radius\", \"thickness\", \"segments\", ...SWEEP_KEYS]);\nexport type Torus3D = NodeOf<typeof Torus3D>;\n\nexport const TorusKnot3D = shape3d(\"torus-knot3d\", \"torusKnot\", {\n radius: optional<number>(), thickness: optional<number>(), segments: optional<Segments3D>(),\n windings: optional<readonly [number, number]>(),\n}, [\"radius\", \"thickness\", \"segments\", \"windings\"]);\nexport type TorusKnot3D = NodeOf<typeof TorusKnot3D>;\n\nexport const Circle3D = shape3d(\"circle3d\", \"circle\", {\n radius: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"radius\", \"segments\", ...SWEEP_KEYS]);\nexport type Circle3D = NodeOf<typeof Circle3D>;\n\nexport const Ring3D = shape3d(\"ring3d\", \"ring\", {\n radius: optional<number>(), innerRadius: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"radius\", \"innerRadius\", \"segments\", ...SWEEP_KEYS]);\nexport type Ring3D = NodeOf<typeof Ring3D>;\n\nexport const Capsule3D = shape3d(\"capsule3d\", \"capsule\", {\n radius: optional<number>(), height: optional<number>(), segments: optional<Segments3D>(),\n}, [\"radius\", \"height\", \"segments\"]);\nexport type Capsule3D = NodeOf<typeof Capsule3D>;\n\nexport const Polyhedron3D = component3d({\n key: \"polyhedron3d\",\n state: { ...mesh, shape: Types.custom<PolyhedronGeometry3D[\"shape\"]>(\"icosahedron\"), radius: optional<number>(), segments: optional<Segments3D>() },\n render: (ctx, s) => ctx.draw(Material.mesh(s, stated<Geometry3D>(\"polyhedron\", s, [\"shape\", \"radius\", \"segments\"]))),\n});\nexport type Polyhedron3D = NodeOf<typeof Polyhedron3D>;\n\nexport const Extrude3D = shape3d(\"extrude3d\", \"extrude\", {\n path: optional<unknown>(), depth: optional<number>(), segments: optional<Segments3D>(), bevel: optional<unknown>(),\n}, [\"path\", \"depth\", \"segments\", \"bevel\"]);\nexport type Extrude3D = NodeOf<typeof Extrude3D>;\n\nexport const Lathe3D = shape3d(\"lathe3d\", \"lathe\", {\n points: optional<readonly unknown[]>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"points\", \"segments\", ...SWEEP_KEYS]);\nexport type Lathe3D = NodeOf<typeof Lathe3D>;\n\nexport const Tube3D = shape3d(\"tube3d\", \"tube\", {\n points: optional<readonly Vector3Input[]>(), radius: optional<number>(), segments: optional<Segments3D>(), closed: optional<boolean>(),\n}, [\"points\", \"radius\", \"segments\", \"closed\"]);\nexport type Tube3D = NodeOf<typeof Tube3D>;\n\n// ---- other drawables ----------------------------------------------------------\n\nexport const Instances3D = component3d({\n key: \"instances3d\",\n state: { ...mesh, instances: optional<readonly Transform3D[]>(), colors: optional<readonly Color[]>() },\n render: (ctx, s) => {\n if (!s.geometry || !s.instances?.length) return;\n ctx.draw(new Graphics3D().instances(s.geometry, Material.single(s), s.instances, { colors: s.colors }));\n },\n});\nexport type Instances3D = NodeOf<typeof Instances3D>;\n\nexport const Points3D = component3d({\n key: \"points3d\",\n state: mesh,\n render: (ctx, s) => {\n if (s.geometry) ctx.draw(new Graphics3D().points(s.geometry, Material.points(s)));\n },\n});\nexport type Points3D = NodeOf<typeof Points3D>;\n\nexport const Line3D = component3d({\n key: \"line3d\",\n state: {\n points: optional<readonly Vector3Input[]>(),\n geometry: optional<Geometry3D>(),\n closed: Types.custom(false),\n segments: Types.custom(false),\n stroke: optional<LineStroke3D>(),\n opacity: optional<number>(),\n material: optional<Material3D>(),\n },\n render: (ctx, s) => {\n if (!s.geometry && !s.points?.length) return;\n ctx.draw(new Graphics3D().line({\n points: s.geometry ? undefined : s.points, geometry: s.geometry, closed: s.closed, segments: s.segments,\n stroke: s.stroke, opacity: s.opacity, material: s.material,\n }));\n },\n});\nexport type Line3D = NodeOf<typeof Line3D>;\n\nexport const Sprite3D = component3d({\n key: \"sprite3d\",\n state: {\n fill: Types.custom<Fill3D | undefined>(undefined, { lerp: lerpFill3D as never }),\n opacity: optional<number>(),\n material: optional<Material3D>(),\n },\n render: (ctx, s) => ctx.draw(new Graphics3D().sprite({ fill: s.fill as Fill3D, opacity: s.opacity, material: s.material })),\n});\nexport type Sprite3D = NodeOf<typeof Sprite3D>;\n\nexport const Model3D = component3d({\n key: \"model3d\",\n state: {\n src: optional<string>(),\n animation: optional<readonly ModelAnimation3D[] | ModelAnimation3D>(),\n override: optional<Readonly<Record<string, Material3D>>>(),\n },\n render: (ctx, s) => {\n if (s.src) ctx.draw(new Graphics3D().model({ src: s.src, animation: s.animation, override: s.override }));\n },\n});\nexport type Model3D = NodeOf<typeof Model3D>;\n\n/**\n * A loaded model with its animation restated as two flat entries: `clip` (a\n * clip name, or its index in the file as a string; empty is the first) and\n * `clipTime` (seconds into it). The timeline tweens a number, and\n * `Model3D.animation` is a list of records, so \"play the walk cycle\" is a tween\n * of `clipTime` here. The clip is still sampled at an explicit time, so seeking\n * and playing to a frame give the same pose.\n *\n * Before a file is picked it draws an unlit wireframe unit box: a node that\n * records no geometry has no box to pick, select or outline. Not registered: an\n * editor's node, not document API.\n */\nexport const ModelView3D = component3d({\n key: \"modelView3d\",\n state: {\n src: optional<string>(),\n animation: optional<readonly ModelAnimation3D[] | ModelAnimation3D>(),\n override: optional<Readonly<Record<string, Material3D>>>(),\n clip: \"\",\n clipTime: 0,\n },\n render: (ctx, s) => {\n if (!s.src) {\n ctx.draw(new Graphics3D().box({\n width: 1, height: 1, depth: 1,\n material: { type: \"basic\", color: \"#6b7280\", wireframe: true, transparent: true, opacity: 0.7 },\n }));\n return;\n }\n ctx.draw(new Graphics3D().model({ src: s.src, animation: { clip: modelClip(s.clip), time: s.clipTime }, override: s.override }));\n },\n});\nexport type ModelView3D = NodeOf<typeof ModelView3D>;\n\n/** A clip name, or a whole number as an index (`\"0\"` is the first clip, not one named `0`), or unset when empty. */\nfunction modelClip(clip: string): string | number | undefined {\n const trimmed = clip.trim();\n if (trimmed === \"\") return undefined;\n const index = Number(trimmed);\n return Number.isInteger(index) && index >= 0 ? index : trimmed;\n}\n\n// ---- lights -------------------------------------------------------------------\n\n/** A light that casts no shadow unless asked: shadow maps cost a render each. */\nconst castsNoShadow = { shadow: false } as const;\n\nexport const AmbientLight3D = component3d({\n key: \"ambient-light3d\",\n state: { color: optionalColor(), intensity: optional<number>() },\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"ambient\", s, [\"color\", \"intensity\"])),\n});\nexport type AmbientLight3D = NodeOf<typeof AmbientLight3D>;\n\nexport const HemisphereLight3D = component3d({\n key: \"hemisphere-light3d\",\n state: { sky: optionalColor(), ground: optionalColor(), intensity: optional<number>() },\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"hemisphere\", s, [\"sky\", \"ground\", \"intensity\"])),\n});\nexport type HemisphereLight3D = NodeOf<typeof HemisphereLight3D>;\n\nexport const DirectionalLight3D = component3d({\n key: \"directional-light3d\",\n state: { color: optionalColor(), intensity: optional<number>(), target: optionalVector3(\"origin\") },\n defaults: castsNoShadow,\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"directional\", s, [\"color\", \"intensity\", \"target\", \"shadow\"])),\n});\nexport type DirectionalLight3D = NodeOf<typeof DirectionalLight3D>;\n\nexport const PointLight3D = component3d({\n key: \"point-light3d\",\n state: { color: optionalColor(), intensity: optional<number>(), distance: optional<number>(), decay: optional<number>() },\n defaults: castsNoShadow,\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"point\", s, [\"color\", \"intensity\", \"distance\", \"decay\", \"shadow\"])),\n});\nexport type PointLight3D = NodeOf<typeof PointLight3D>;\n\nexport const SpotLight3D = component3d({\n key: \"spot-light3d\",\n state: {\n color: optionalColor(), intensity: optional<number>(), distance: optional<number>(), angle: optional<number>(),\n penumbra: optional<number>(), decay: optional<number>(), target: optionalVector3(\"origin\"),\n },\n defaults: castsNoShadow,\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"spot\", s, [\"color\", \"intensity\", \"distance\", \"angle\", \"penumbra\", \"decay\", \"target\", \"shadow\"])),\n});\nexport type SpotLight3D = NodeOf<typeof SpotLight3D>;\n\nexport const AreaLight3D = component3d({\n key: \"area-light3d\",\n state: { color: optionalColor(), intensity: optional<number>(), width: optional<number>(), height: optional<number>() },\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"area\", s, [\"color\", \"intensity\", \"width\", \"height\"])),\n});\nexport type AreaLight3D = NodeOf<typeof AreaLight3D>;\n\n// ---- camera, fog, environment -------------------------------------------------\n\nconst CAMERA_KEYS = [\"target\", \"orbit\", \"elevation\", \"distance\", \"fov\", \"frustumHeight\", \"near\", \"far\", \"zoom\"] as const;\nconst ORBIT_KEYS = [\"orbit\", \"elevation\", \"distance\"] as const;\n\nexport const Camera3D = component3d({\n key: \"camera3d\",\n state: {\n type: Types.custom<CameraData3D[\"type\"]>(\"perspective\"),\n target: optionalVector3(\"origin\"),\n orbit: optional<number>(),\n elevation: optional<number>(),\n distance: optional<number>(),\n fov: optional<number>(),\n frustumHeight: optional<number>(),\n near: optional<number>(),\n far: optional<number>(),\n zoom: optional<number>(),\n },\n commands: {\n /** Only the given angles move, each from where it stands (the orbit default while unset). */\n orbitTo: {\n args: {\n orbit: optionalNumber({ step: 1, unit: \"°\" }),\n elevation: optionalNumber({ min: -89, max: 89, step: 1, unit: \"°\" }),\n distance: optionalNumber({ min: 0.01, step: 0.1 }),\n },\n run: (timeline, s) => {\n const from = {\n orbit: s.orbit ?? ORBIT_CAMERA_DEFAULTS.orbit,\n elevation: s.elevation ?? ORBIT_CAMERA_DEFAULTS.elevation,\n distance: s.distance ?? ORBIT_CAMERA_DEFAULTS.distance,\n };\n return timeline.animate((t) => {\n const out: Record<string, number> = {};\n for (const key of ORBIT_KEYS) {\n const end = timeline.args[key];\n if (end !== undefined) out[key] = from[key] + (end - from[key]) * t;\n }\n return out;\n });\n },\n },\n lookTo: { args: [\"target\"] },\n },\n render: (ctx, s) => {\n const data: Record<string, unknown> = { type: s.type };\n for (const key of CAMERA_KEYS) if (s[key] !== undefined) data[key] = s[key];\n ctx.camera(data as unknown as CameraData3D);\n },\n});\nexport type Camera3D = NodeOf<typeof Camera3D>;\n\nexport const Fog3D = component3d({\n key: \"fog3d\",\n state: { color: optionalColor(), near: optional<number>(), far: optional<number>(), density: optional<number>() },\n render: (ctx, s) => {\n const out: FogData3D = {};\n if (s.color !== undefined) out.color = s.color as Color;\n if (s.density !== undefined) out.density = s.density;\n else {\n if (s.near !== undefined) out.near = s.near;\n if (s.far !== undefined) out.far = s.far;\n }\n ctx.fog(out);\n },\n});\nexport type Fog3D = NodeOf<typeof Fog3D>;\n\nexport const Environment3D = component3d({\n key: \"environment3d\",\n state: {\n src: optional<string>(),\n faces: optional<readonly string[]>(),\n preset: optional<\"studio\">(),\n intensity: optional<number>(),\n background: optional<boolean>(),\n blur: optional<number>(),\n },\n render: (ctx, s) => {\n if (s.src === undefined && s.faces === undefined && s.preset === undefined) return ctx.environment(null);\n const out = defined<EnvironmentData3D>(s, [\"src\", \"faces\", \"preset\", \"intensity\", \"background\", \"blur\"]);\n if (s.rotationX || s.rotationY || s.rotationZ) out.rotation = [s.rotationX, s.rotationY, s.rotationZ];\n ctx.environment(out);\n },\n});\nexport type Environment3D = NodeOf<typeof Environment3D>;\n\n// What code building a 3D node names its props as.\n\n/** Params of a geometry descriptor, minus its discriminant. */\ntype ParamsOf<G extends { type: string }> = Omit<G, \"type\">;\n/** A light's params, minus its discriminant and its shadow, which is a node prop of its own. */\ntype LightParamsOf<L extends { type: string }> = Omit<L, \"type\" | \"shadow\">;\n\nexport type Group3DProps = Node3DProps;\n\n/**\n * The material shorthand, as node props.\n *\n * Exactly the keys {@link MaterialShorthand3D} promotes onto the `Graphics3D`\n * sugar methods, so `Box3D({ fill: \"red\", roughness: 0.3 })` and\n * `g3.box({ fill: \"red\", roughness: 0.3 })` describe the same mesh — and each is\n * a real prop here, so any of them can be tweened.\n *\n * Ten props, where there were twenty-four. What went is everything that was a\n * renderer knob rather than a design decision — `depthWrite`, `depthTest`,\n * `alphaTest`, `toneMapped`, `polygonOffset`, `dithering` — which now live only\n * on a `Mat.*` descriptor passed through {@link material}; plus `transparent`,\n * which is derived; plus five texture slots, which are fills.\n */\nexport interface Material3DProps {\n /** A full descriptor (or an array, for multi-material). Wins over the rest. */\n material: Material3D | readonly Material3D[] | undefined;\n /** What the surface is made of — the same value a 2D `fill` takes. */\n fill: Fill3D;\n opacity: number;\n roughness: number;\n metalness: number;\n emission: Color | undefined;\n emissionStrength: number;\n normalMap: Texture3D | undefined;\n roughnessMap: Texture3D | undefined;\n metalnessMap: Texture3D | undefined;\n aoMap: Texture3D | undefined;\n alphaMap: Texture3D | undefined;\n envMapIntensity: number;\n wireframe: boolean;\n /** Facet or smooth shading. Default `\"smooth\"`. */\n shading: Shading3D;\n /** Which faces to rasterize. Default `\"front\"`. */\n faces: Faces3D;\n vertexColors: boolean;\n blend: Blend3D;\n /** Shade with an unlit `basic` material instead of `standard`. */\n unlit: boolean;\n}\n\nexport interface Mesh3DProps extends Node3DProps, Partial<Material3DProps> {\n /** The geometry to draw. Set directly, or built from a geometry component's entries. */\n geometry: Geometry3D;\n}\n\n// ─── box ─────────────────────────────────────────────────────────────────────\n\nexport interface Box3DProps extends Mesh3DProps, Partial<ParamsOf<BoxGeometry3D>> { }\n\n// ─── sphere ──────────────────────────────────────────────────────────────────\n\nexport interface Sphere3DProps extends Mesh3DProps, Partial<ParamsOf<SphereGeometry3D>> { }\n\n// ─── plane ───────────────────────────────────────────────────────────────────\n\nexport interface Plane3DProps extends Mesh3DProps, Partial<ParamsOf<PlaneGeometry3D>> { }\n\n// ─── cylinder ────────────────────────────────────────────────────────────────\n\nexport interface Cylinder3DProps extends Mesh3DProps, Partial<ParamsOf<CylinderGeometry3D>> { }\n\n// ─── cone ────────────────────────────────────────────────────────────────────\n\nexport interface Cone3DProps extends Mesh3DProps, Partial<ParamsOf<ConeGeometry3D>> { }\n\n// ─── torus ───────────────────────────────────────────────────────────────────\n\nexport interface Torus3DProps extends Mesh3DProps, Partial<ParamsOf<TorusGeometry3D>> { }\n\n// ─── torus knot ──────────────────────────────────────────────────────────────\n\nexport interface TorusKnot3DProps extends Mesh3DProps, Partial<ParamsOf<TorusKnotGeometry3D>> { }\n\n// ─── circle ──────────────────────────────────────────────────────────────────\n\nexport interface Circle3DProps extends Mesh3DProps, Partial<ParamsOf<CircleGeometry3D>> { }\n\n// ─── ring ────────────────────────────────────────────────────────────────────\n\nexport interface Ring3DProps extends Mesh3DProps, Partial<ParamsOf<RingGeometry3D>> { }\n\n// ─── capsule ─────────────────────────────────────────────────────────────────\n\nexport interface Capsule3DProps extends Mesh3DProps, Partial<ParamsOf<CapsuleGeometry3D>> { }\n\n// ─── polyhedron ──────────────────────────────────────────────────────────────\n\nexport interface Polyhedron3DProps extends Mesh3DProps, Partial<ParamsOf<PolyhedronGeometry3D>> { }\n\n// ─── extrude ─────────────────────────────────────────────────────────────────\n\nexport interface Extrude3DProps extends Mesh3DProps, Partial<ParamsOf<ExtrudeGeometry3D>> { }\n\n// ─── lathe ───────────────────────────────────────────────────────────────────\n\nexport interface Lathe3DProps extends Mesh3DProps, Partial<ParamsOf<LatheGeometry3D>> { }\n\n// ─── tube ────────────────────────────────────────────────────────────────────\n\nexport interface Tube3DProps extends Mesh3DProps, Partial<ParamsOf<TubeGeometry3D>> { }\n\n/**\n * The drawables that aren't a single mesh: instanced copies, point clouds,\n * polylines, sprites and loaded models.\n *\n * Each is the node form of the matching `Graphics3D` method, so what it draws and\n * what a builder chain draws are the same descriptor.\n */\n\n// ─── instances ───────────────────────────────────────────────────────────────\n\nexport interface Instances3DProps extends Mesh3DProps {\n /** Per-instance placement. Its length drives the instance count. */\n instances: readonly Transform3D[];\n /** Per-instance tint. Needs a material that reads instance colour. */\n colors: readonly Color[] | undefined;\n}\n\n// ─── points ──────────────────────────────────────────────────────────────────\n\nexport type Points3DProps = Mesh3DProps;\n\n// ─── line ────────────────────────────────────────────────────────────────────\n\nexport interface Line3DProps extends Node3DProps {\n /** The polyline's vertices. Give this or {@link geometry}, not both. */\n points: readonly Vector3Input[];\n /**\n * An explicit geometry to draw the lines of — `Geo.edges(...)` for a wireframe\n * outline, say. Wins over {@link points}.\n */\n geometry: Geometry3D;\n /** Join the last point back to the first. */\n closed: boolean;\n /** Treat the points as disjoint start/end pairs rather than one path. */\n segments: boolean;\n /** The line's paint. */\n stroke: LineStroke3D | undefined;\n opacity: number | undefined;\n material: Material3D | undefined;\n}\n\n// ─── sprite ──────────────────────────────────────────────────────────────────\n\nexport interface Sprite3DProps extends Node3DProps {\n /** What the billboard shows — the same value a 2D `fill` takes. */\n fill: Fill3D;\n opacity: number | undefined;\n material: Material3D | undefined;\n}\n\n// ─── model ───────────────────────────────────────────────────────────────────\n\nexport interface Model3DProps extends Node3DProps {\n /**\n * Path to a glTF/GLB file. **Only glTF/GLB loads**: any other format, an OBJ\n * included, resolves to an empty slot and draws nothing.\n */\n src: string;\n /**\n * Baked animation clips, each sampled at an **explicit** time — which is what\n * keeps a model identical whether the frame was played forward or scrubbed to.\n */\n animation: readonly ModelAnimation3D[] | ModelAnimation3D | undefined;\n /** Replace materials on the loaded graph, keyed by mesh or material name. */\n override: Readonly<Record<string, Material3D>> | undefined;\n}\n\nexport interface ModelView3DProps extends Model3DProps {\n /**\n * Which baked clip to sample — a clip name, or its index in the file as a\n * string. Empty means the first clip.\n */\n clip: string\n /** Seconds into that clip. Animate this to play it. */\n clipTime: number\n}\n\n// ─── ambient ─────────────────────────────────────────────────────────────────\n\nexport interface AmbientLight3DProps extends Node3DProps, Partial<LightParamsOf<AmbientLightData3D>> { }\n\n// ─── hemisphere ──────────────────────────────────────────────────────────────\n\nexport interface HemisphereLight3DProps extends Node3DProps, Partial<LightParamsOf<HemisphereLightData3D>> { }\n\n// ─── directional ─────────────────────────────────────────────────────────────\n\nexport interface DirectionalLight3DProps extends Node3DProps, Partial<LightParamsOf<DirectionalLightData3D>> { }\n\n// ─── point ───────────────────────────────────────────────────────────────────\n\nexport interface PointLight3DProps extends Node3DProps, Partial<LightParamsOf<PointLightData3D>> { }\n\n// ─── spot ────────────────────────────────────────────────────────────────────\n\nexport interface SpotLight3DProps extends Node3DProps, Partial<LightParamsOf<SpotLightData3D>> { }\n\n// ─── area ────────────────────────────────────────────────────────────────────\n\nexport interface AreaLight3DProps extends Node3DProps, Partial<LightParamsOf<AreaLightData3D>> { }\n\n/**\n * The camera — where the scene is viewed from.\n *\n * **One node, two projections.** `<Camera3D type=\"orthographic\">` is the flat\n * one; there is no second class, because a perspective and an orthographic\n * camera are one object with a projection setting, which is how every editor\n * presents it and how a scene switching between them has to be written.\n *\n * Camera3D({ target: [0, 0.2, 0], orbit: -18, elevation: 12, distance: 13, fov: 42 })\n *\n * cam().to({ data: { orbit: 160, elevation: 30 }, duration: 4, easing: easeInOut(\"quad\") });\n *\n * ── Orbit, not trigonometry ───────────────────────────────────────────────────\n * `target`/`orbit`/`elevation`/`distance` place the camera in polar coordinates\n * around the thing it is looking at, which is what a camera move almost always\n * *is*. Written through `position` the same move is a `Math.sin`/`Math.cos` pair\n * recomputed every frame in a prop binding — which is exactly what every scene\n * did before this existed.\n *\n * `position` and `lookAt` still work and are right for a shot pinned to\n * something; setting any polar field takes over, so the two can never be half\n * applied. Either way the camera is a node, so parenting it to a moving\n * `Group3D` carries the shot with the rig.\n *\n * ── What is derived ───────────────────────────────────────────────────────────\n * `near`/`far` come from the scene's own bounds unless you set them, and the\n * aspect ratio always tracks the viewport's layout box — it was a prop whose\n * documentation said \"don't set this\", and setting it stretched the render.\n * An asymmetric orthographic frustum is a `params` override rather than four\n * more fields.\n *\n * A scene with no camera gets a sensible default framing. A scene that declares\n * more than one keeps the last, since there is only ever one view.\n */\nexport interface Camera3DProps extends Node3DProps {\n /** `\"perspective\"` (default) or `\"orthographic\"`. */\n type: CameraData3D[\"type\"];\n /**\n * The point the camera looks at, and orbits around.\n *\n * On its own it is `lookAt` under a name that reads right beside `orbit`;\n * together with any of the three below it is also the centre they turn about.\n */\n target: Vector3Input | undefined;\n /** Azimuth around {@link target}, in **degrees**. */\n orbit: number | undefined;\n /** Angle above the horizon, in **degrees**. */\n elevation: number | undefined;\n /** Distance from {@link target}. */\n distance: number | undefined;\n /** Perspective only: vertical field of view in **degrees**. Default 50. */\n fov: number | undefined;\n /** Orthographic only: visible world height. Default 10. */\n frustumHeight: number | undefined;\n near: number | undefined;\n far: number | undefined;\n zoom: number | undefined;\n}\n\n/**\n * The two scene-wide nodes that are left: fog and environment.\n *\n * `Shadows3D`, `ToneMapping3D` and `PostEffects3D` used to be here and are now\n * props on `Canvas3D`. They were never scene *objects* — a viewport's shadow\n * quality, its tone curve and its post chain are settings of the thing doing the\n * rendering, and writing them as nodes meant a node with no position whose\n * duplicates silently did nothing. `Background3D` is gone entirely: what is drawn\n * behind a 3D scene is the viewport's own 2D `fill`.\n *\n * These two stay nodes because they *are* about the space: fog is a property of\n * the air in it, and an environment is the sky around it. Both are still\n * positionless, so declaring two of the same kind is not an error but only the\n * last takes effect.\n *\n * Fog3D({ near: 5, far: 30 })\n * Environment3D({ preset: \"studio\" })\n */\n\n// ─── fog ─────────────────────────────────────────────────────────────────────\n\nexport interface Fog3DProps extends Node3DProps {\n /** Defaults to the viewport's own fill — see below. */\n color: Color | undefined;\n /** Distance at which fog starts. Linear fog. */\n near: number | undefined;\n /** Distance at which fog is total. Linear fog. */\n far: number | undefined;\n /** Exponential-squared falloff. Wins over {@link near}/{@link far}. */\n density: number | undefined;\n}\n\n// ─── environment ─────────────────────────────────────────────────────────────\n\nexport interface Environment3DProps extends Node3DProps {\n /**\n * A 360° panorama — `.hdr`/`.exr` for real IBL, or a plain image.\n * **Inert today**: no backend loads it, so only `preset` renders.\n */\n src: string | undefined;\n /**\n * Six cubemap faces, in three's order: +X, −X, +Y, −Y, +Z, −Z.\n * **Inert today**: no backend loads them, so only `preset` renders.\n */\n faces: readonly string[] | undefined;\n /** A generated studio interior. Needs no asset. The only environment that renders. */\n preset: \"studio\" | undefined;\n intensity: number | undefined;\n /** Also draw it behind the scene, as an infinitely distant sky. */\n background: boolean | undefined;\n /** Blur the background only, 0–1. The lighting stays sharp. */\n blur: number | undefined;\n}\n"]}
1
+ {"version":3,"file":"three.js","sourceRoot":"","sources":["../../../../src/components/builtins/three/three.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAqB,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAe,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAA4C,MAAM,uBAAuB,CAAC;AAQ7F,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,4B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C,SAAS,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS;YAAE,GAAG,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;QACtG,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;CACJ,CAAC,CAAC","sourcesContent":["import type { Color } from \"@/attributes/shape/fill/color/parser\";\nimport { ORBIT_CAMERA_DEFAULTS, type CameraData3D } from \"@/render3d/camera\";\nimport { lerpFill3D, type Fill3D } from \"@/render3d/fill3d\";\nimport type { Geometry3D, PolyhedronGeometry3D, BoxGeometry3D, CapsuleGeometry3D, CircleGeometry3D, ConeGeometry3D, CylinderGeometry3D, ExtrudeGeometry3D, LatheGeometry3D, PlaneGeometry3D, RingGeometry3D, SphereGeometry3D, TorusGeometry3D, TorusKnotGeometry3D, TubeGeometry3D } from \"@/render3d/geometry\";\nimport { Graphics3D, type LineStroke3D, type ModelAnimation3D } from \"@/render3d/graphics3d\";\nimport type { LightData3D, AmbientLightData3D, AreaLightData3D, DirectionalLightData3D, HemisphereLightData3D, PointLightData3D, SpotLightData3D } from \"@/render3d/light\";\nimport type { Material3D, Shading3D } from \"@/render3d/material\";\nimport type { EnvironmentData3D, FogData3D } from \"@/render3d/scene-settings\";\nimport type { Segments3D } from \"@/render3d/segments\";\nimport type { Transform3D, Blend3D, Faces3D } from \"@/render3d/transform\";\nimport type { Vector3Input } from \"@/render3d/vector3\";\nimport type { NodeOf } from \"@/components/factory/api\";\nimport { component3d } from \"@/components/factory/component3d\";\nimport { Types } from \"@/components/factory/types\";\nimport * as Material from \"@/components/modules/material\";\nimport { defined, optional, optionalColor, optionalNumber, optionalVector3, stated } from \"@/components/modules/three-entries\";\nimport type { Node3DProps } from \"@/components/trees/three/node3d\";\nimport type { Texture3D } from \"@/render3d/texture\";\n\n/** The 3D tree: groups, meshes, other drawables, lights, camera, fog and environment. */\n\nexport const Group3D = component3d({ key: \"group3d\" });\nexport type Group3D = NodeOf<typeof Group3D>;\n\nconst mesh = { geometry: optional<Geometry3D>(), ...Material.state };\n\nexport const Mesh3D = component3d({\n key: \"mesh3d\",\n state: mesh,\n render: (ctx, s) => ctx.draw(Material.mesh(s, s.geometry)),\n});\nexport type Mesh3D = NodeOf<typeof Mesh3D>;\n\nconst sweep = { startAngle: optional<number>(), sweep: optional<number>() };\nconst SWEEP_KEYS = [\"startAngle\", \"sweep\"] as const;\n\n/** A mesh of one built-in shape: `keys` are the entries its geometry descriptor takes. */\nfunction shape3d<const K extends string, const S extends Record<string, ReturnType<typeof optional>>>(\n key: K, type: Geometry3D[\"type\"], own: S, keys: readonly string[],\n) {\n return component3d({\n key,\n state: { ...mesh, ...own },\n render: (ctx, s) => ctx.draw(Material.mesh(s as never, stated<Geometry3D>(type, s, keys))),\n });\n}\n\nexport const Box3D = shape3d(\"box3d\", \"box\", {\n width: optional<number>(), height: optional<number>(), depth: optional<number>(),\n cornerRadius: optional<number>(), segments: optional<Segments3D>(),\n}, [\"width\", \"height\", \"depth\", \"cornerRadius\", \"segments\"]);\nexport type Box3D = NodeOf<typeof Box3D>;\n\nexport const Sphere3D = shape3d(\"sphere3d\", \"sphere\", {\n radius: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n startLatitude: optional<number>(), latitudeSweep: optional<number>(),\n}, [\"radius\", \"segments\", \"startLatitude\", \"latitudeSweep\", ...SWEEP_KEYS]);\nexport type Sphere3D = NodeOf<typeof Sphere3D>;\n\nexport const Plane3D = shape3d(\"plane3d\", \"plane\", {\n width: optional<number>(), height: optional<number>(), segments: optional<Segments3D>(),\n}, [\"width\", \"height\", \"segments\"]);\nexport type Plane3D = NodeOf<typeof Plane3D>;\n\nexport const Cylinder3D = shape3d(\"cylinder3d\", \"cylinder\", {\n radius: optional<number | readonly [number, number]>(), height: optional<number>(),\n segments: optional<Segments3D>(), capped: optional<boolean>(), ...sweep,\n}, [\"radius\", \"height\", \"segments\", \"capped\", ...SWEEP_KEYS]);\nexport type Cylinder3D = NodeOf<typeof Cylinder3D>;\n\nexport const Cone3D = shape3d(\"cone3d\", \"cone\", {\n radius: optional<number>(), height: optional<number>(), segments: optional<Segments3D>(), capped: optional<boolean>(), ...sweep,\n}, [\"radius\", \"height\", \"segments\", \"capped\", ...SWEEP_KEYS]);\nexport type Cone3D = NodeOf<typeof Cone3D>;\n\nexport const Torus3D = shape3d(\"torus3d\", \"torus\", {\n radius: optional<number>(), thickness: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"radius\", \"thickness\", \"segments\", ...SWEEP_KEYS]);\nexport type Torus3D = NodeOf<typeof Torus3D>;\n\nexport const TorusKnot3D = shape3d(\"torus-knot3d\", \"torusKnot\", {\n radius: optional<number>(), thickness: optional<number>(), segments: optional<Segments3D>(),\n windings: optional<readonly [number, number]>(),\n}, [\"radius\", \"thickness\", \"segments\", \"windings\"]);\nexport type TorusKnot3D = NodeOf<typeof TorusKnot3D>;\n\nexport const Circle3D = shape3d(\"circle3d\", \"circle\", {\n radius: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"radius\", \"segments\", ...SWEEP_KEYS]);\nexport type Circle3D = NodeOf<typeof Circle3D>;\n\nexport const Ring3D = shape3d(\"ring3d\", \"ring\", {\n radius: optional<number>(), innerRadius: optional<number>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"radius\", \"innerRadius\", \"segments\", ...SWEEP_KEYS]);\nexport type Ring3D = NodeOf<typeof Ring3D>;\n\nexport const Capsule3D = shape3d(\"capsule3d\", \"capsule\", {\n radius: optional<number>(), height: optional<number>(), segments: optional<Segments3D>(),\n}, [\"radius\", \"height\", \"segments\"]);\nexport type Capsule3D = NodeOf<typeof Capsule3D>;\n\nexport const Polyhedron3D = component3d({\n key: \"polyhedron3d\",\n state: { ...mesh, shape: Types.custom<PolyhedronGeometry3D[\"shape\"]>(\"icosahedron\"), radius: optional<number>(), segments: optional<Segments3D>() },\n render: (ctx, s) => ctx.draw(Material.mesh(s, stated<Geometry3D>(\"polyhedron\", s, [\"shape\", \"radius\", \"segments\"]))),\n});\nexport type Polyhedron3D = NodeOf<typeof Polyhedron3D>;\n\nexport const Extrude3D = shape3d(\"extrude3d\", \"extrude\", {\n path: optional<unknown>(), depth: optional<number>(), segments: optional<Segments3D>(), bevel: optional<unknown>(),\n}, [\"path\", \"depth\", \"segments\", \"bevel\"]);\nexport type Extrude3D = NodeOf<typeof Extrude3D>;\n\nexport const Lathe3D = shape3d(\"lathe3d\", \"lathe\", {\n points: optional<readonly unknown[]>(), segments: optional<Segments3D>(), ...sweep,\n}, [\"points\", \"segments\", ...SWEEP_KEYS]);\nexport type Lathe3D = NodeOf<typeof Lathe3D>;\n\nexport const Tube3D = shape3d(\"tube3d\", \"tube\", {\n points: optional<readonly Vector3Input[]>(), radius: optional<number>(), segments: optional<Segments3D>(), closed: optional<boolean>(),\n}, [\"points\", \"radius\", \"segments\", \"closed\"]);\nexport type Tube3D = NodeOf<typeof Tube3D>;\n\nexport const Instances3D = component3d({\n key: \"instances3d\",\n state: { ...mesh, instances: optional<readonly Transform3D[]>(), colors: optional<readonly Color[]>() },\n render: (ctx, s) => {\n if (!s.geometry || !s.instances?.length) return;\n ctx.draw(new Graphics3D().instances(s.geometry, Material.single(s), s.instances, { colors: s.colors }));\n },\n});\nexport type Instances3D = NodeOf<typeof Instances3D>;\n\nexport const Points3D = component3d({\n key: \"points3d\",\n state: mesh,\n render: (ctx, s) => {\n if (s.geometry) ctx.draw(new Graphics3D().points(s.geometry, Material.points(s)));\n },\n});\nexport type Points3D = NodeOf<typeof Points3D>;\n\nexport const Line3D = component3d({\n key: \"line3d\",\n state: {\n points: optional<readonly Vector3Input[]>(),\n geometry: optional<Geometry3D>(),\n closed: Types.custom(false),\n segments: Types.custom(false),\n stroke: optional<LineStroke3D>(),\n opacity: optional<number>(),\n material: optional<Material3D>(),\n },\n render: (ctx, s) => {\n if (!s.geometry && !s.points?.length) return;\n ctx.draw(new Graphics3D().line({\n points: s.geometry ? undefined : s.points, geometry: s.geometry, closed: s.closed, segments: s.segments,\n stroke: s.stroke, opacity: s.opacity, material: s.material,\n }));\n },\n});\nexport type Line3D = NodeOf<typeof Line3D>;\n\nexport const Sprite3D = component3d({\n key: \"sprite3d\",\n state: {\n fill: Types.custom<Fill3D | undefined>(undefined, { lerp: lerpFill3D as never }),\n opacity: optional<number>(),\n material: optional<Material3D>(),\n },\n render: (ctx, s) => ctx.draw(new Graphics3D().sprite({ fill: s.fill as Fill3D, opacity: s.opacity, material: s.material })),\n});\nexport type Sprite3D = NodeOf<typeof Sprite3D>;\n\nexport const Model3D = component3d({\n key: \"model3d\",\n state: {\n src: optional<string>(),\n animation: optional<readonly ModelAnimation3D[] | ModelAnimation3D>(),\n override: optional<Readonly<Record<string, Material3D>>>(),\n },\n render: (ctx, s) => {\n if (s.src) ctx.draw(new Graphics3D().model({ src: s.src, animation: s.animation, override: s.override }));\n },\n});\nexport type Model3D = NodeOf<typeof Model3D>;\n\n/**\n * A loaded model with its animation as two flat entries, `clip` (a name, or the index as a string; empty is the\n * first) and `clipTime` (seconds), since the timeline tweens a number but `Model3D.animation` is a list of records.\n * Still sampled at an explicit time, so seeking and playing give the same pose. Before a file is picked it draws an\n * unlit wireframe unit box, as a node recording no geometry has no box to pick or outline. Not registered: an\n * editor's node, not document API.\n */\nexport const ModelView3D = component3d({\n key: \"modelView3d\",\n state: {\n src: optional<string>(),\n animation: optional<readonly ModelAnimation3D[] | ModelAnimation3D>(),\n override: optional<Readonly<Record<string, Material3D>>>(),\n clip: \"\",\n clipTime: 0,\n },\n render: (ctx, s) => {\n if (!s.src) {\n ctx.draw(new Graphics3D().box({\n width: 1, height: 1, depth: 1,\n material: { type: \"basic\", color: \"#6b7280\", wireframe: true, transparent: true, opacity: 0.7 },\n }));\n return;\n }\n ctx.draw(new Graphics3D().model({ src: s.src, animation: { clip: modelClip(s.clip), time: s.clipTime }, override: s.override }));\n },\n});\nexport type ModelView3D = NodeOf<typeof ModelView3D>;\n\n/** A clip name, or a whole number as an index (`\"0\"` is the first clip, not one named `0`), or unset when empty. */\nfunction modelClip(clip: string): string | number | undefined {\n const trimmed = clip.trim();\n if (trimmed === \"\") return undefined;\n const index = Number(trimmed);\n return Number.isInteger(index) && index >= 0 ? index : trimmed;\n}\n\n/** A light that casts no shadow unless asked: shadow maps cost a render each. */\nconst castsNoShadow = { shadow: false } as const;\n\nexport const AmbientLight3D = component3d({\n key: \"ambient-light3d\",\n state: { color: optionalColor(), intensity: optional<number>() },\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"ambient\", s, [\"color\", \"intensity\"])),\n});\nexport type AmbientLight3D = NodeOf<typeof AmbientLight3D>;\n\nexport const HemisphereLight3D = component3d({\n key: \"hemisphere-light3d\",\n state: { sky: optionalColor(), ground: optionalColor(), intensity: optional<number>() },\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"hemisphere\", s, [\"sky\", \"ground\", \"intensity\"])),\n});\nexport type HemisphereLight3D = NodeOf<typeof HemisphereLight3D>;\n\nexport const DirectionalLight3D = component3d({\n key: \"directional-light3d\",\n state: { color: optionalColor(), intensity: optional<number>(), target: optionalVector3(\"origin\") },\n defaults: castsNoShadow,\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"directional\", s, [\"color\", \"intensity\", \"target\", \"shadow\"])),\n});\nexport type DirectionalLight3D = NodeOf<typeof DirectionalLight3D>;\n\nexport const PointLight3D = component3d({\n key: \"point-light3d\",\n state: { color: optionalColor(), intensity: optional<number>(), distance: optional<number>(), decay: optional<number>() },\n defaults: castsNoShadow,\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"point\", s, [\"color\", \"intensity\", \"distance\", \"decay\", \"shadow\"])),\n});\nexport type PointLight3D = NodeOf<typeof PointLight3D>;\n\nexport const SpotLight3D = component3d({\n key: \"spot-light3d\",\n state: {\n color: optionalColor(), intensity: optional<number>(), distance: optional<number>(), angle: optional<number>(),\n penumbra: optional<number>(), decay: optional<number>(), target: optionalVector3(\"origin\"),\n },\n defaults: castsNoShadow,\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"spot\", s, [\"color\", \"intensity\", \"distance\", \"angle\", \"penumbra\", \"decay\", \"target\", \"shadow\"])),\n});\nexport type SpotLight3D = NodeOf<typeof SpotLight3D>;\n\nexport const AreaLight3D = component3d({\n key: \"area-light3d\",\n state: { color: optionalColor(), intensity: optional<number>(), width: optional<number>(), height: optional<number>() },\n render: (ctx, s) => ctx.light(stated<LightData3D>(\"area\", s, [\"color\", \"intensity\", \"width\", \"height\"])),\n});\nexport type AreaLight3D = NodeOf<typeof AreaLight3D>;\n\nconst CAMERA_KEYS = [\"target\", \"orbit\", \"elevation\", \"distance\", \"fov\", \"frustumHeight\", \"near\", \"far\", \"zoom\"] as const;\nconst ORBIT_KEYS = [\"orbit\", \"elevation\", \"distance\"] as const;\n\nexport const Camera3D = component3d({\n key: \"camera3d\",\n state: {\n type: Types.custom<CameraData3D[\"type\"]>(\"perspective\"),\n target: optionalVector3(\"origin\"),\n orbit: optional<number>(),\n elevation: optional<number>(),\n distance: optional<number>(),\n fov: optional<number>(),\n frustumHeight: optional<number>(),\n near: optional<number>(),\n far: optional<number>(),\n zoom: optional<number>(),\n },\n commands: {\n /** Only the given angles move, each from where it stands (the orbit default while unset). */\n orbitTo: {\n args: {\n orbit: optionalNumber({ step: 1, unit: \"°\" }),\n elevation: optionalNumber({ min: -89, max: 89, step: 1, unit: \"°\" }),\n distance: optionalNumber({ min: 0.01, step: 0.1 }),\n },\n run: (timeline, s) => {\n const from = {\n orbit: s.orbit ?? ORBIT_CAMERA_DEFAULTS.orbit,\n elevation: s.elevation ?? ORBIT_CAMERA_DEFAULTS.elevation,\n distance: s.distance ?? ORBIT_CAMERA_DEFAULTS.distance,\n };\n return timeline.animate((t) => {\n const out: Record<string, number> = {};\n for (const key of ORBIT_KEYS) {\n const end = timeline.args[key];\n if (end !== undefined) out[key] = from[key] + (end - from[key]) * t;\n }\n return out;\n });\n },\n },\n lookTo: { args: [\"target\"] },\n },\n render: (ctx, s) => {\n const data: Record<string, unknown> = { type: s.type };\n for (const key of CAMERA_KEYS) if (s[key] !== undefined) data[key] = s[key];\n ctx.camera(data as unknown as CameraData3D);\n },\n});\nexport type Camera3D = NodeOf<typeof Camera3D>;\n\nexport const Fog3D = component3d({\n key: \"fog3d\",\n state: { color: optionalColor(), near: optional<number>(), far: optional<number>(), density: optional<number>() },\n render: (ctx, s) => {\n const out: FogData3D = {};\n if (s.color !== undefined) out.color = s.color as Color;\n if (s.density !== undefined) out.density = s.density;\n else {\n if (s.near !== undefined) out.near = s.near;\n if (s.far !== undefined) out.far = s.far;\n }\n ctx.fog(out);\n },\n});\nexport type Fog3D = NodeOf<typeof Fog3D>;\n\nexport const Environment3D = component3d({\n key: \"environment3d\",\n state: {\n src: optional<string>(),\n faces: optional<readonly string[]>(),\n preset: optional<\"studio\">(),\n intensity: optional<number>(),\n background: optional<boolean>(),\n blur: optional<number>(),\n },\n render: (ctx, s) => {\n if (s.src === undefined && s.faces === undefined && s.preset === undefined) return ctx.environment(null);\n const out = defined<EnvironmentData3D>(s, [\"src\", \"faces\", \"preset\", \"intensity\", \"background\", \"blur\"]);\n if (s.rotationX || s.rotationY || s.rotationZ) out.rotation = [s.rotationX, s.rotationY, s.rotationZ];\n ctx.environment(out);\n },\n});\nexport type Environment3D = NodeOf<typeof Environment3D>;\n\n// What code building a 3D node names its props as.\n\ntype ParamsOf<G extends { type: string }> = Omit<G, \"type\">;\n/** A light's params, minus its discriminant and its shadow, which is a node prop of its own. */\ntype LightParamsOf<L extends { type: string }> = Omit<L, \"type\" | \"shadow\">;\n\nexport type Group3DProps = Node3DProps;\n\n/** The material shorthand as node props: exactly the keys {@link MaterialShorthand3D} promotes onto `Graphics3D` sugar methods, so `Box3D({ fill: \"red\" })` and `g3.box({ fill: \"red\" })` describe the same mesh, and each is tweenable. Renderer knobs (`depthWrite`, `alphaTest`, ...) live only on a `Mat.*` descriptor passed through {@link material}; `transparent` is derived; texture slots are fills. */\nexport interface Material3DProps {\n /** A full descriptor (or an array, for multi-material). Wins over the rest. */\n material: Material3D | readonly Material3D[] | undefined;\n /** What the surface is made of — the same value a 2D `fill` takes. */\n fill: Fill3D;\n opacity: number;\n roughness: number;\n metalness: number;\n emission: Color | undefined;\n emissionStrength: number;\n normalMap: Texture3D | undefined;\n roughnessMap: Texture3D | undefined;\n metalnessMap: Texture3D | undefined;\n aoMap: Texture3D | undefined;\n alphaMap: Texture3D | undefined;\n envMapIntensity: number;\n wireframe: boolean;\n /** Facet or smooth shading. Default `\"smooth\"`. */\n shading: Shading3D;\n /** Which faces to rasterize. Default `\"front\"`. */\n faces: Faces3D;\n vertexColors: boolean;\n blend: Blend3D;\n /** Shade with an unlit `basic` material instead of `standard`. */\n unlit: boolean;\n}\n\nexport interface Mesh3DProps extends Node3DProps, Partial<Material3DProps> {\n /** The geometry to draw. Set directly, or built from a geometry component's entries. */\n geometry: Geometry3D;\n}\n\nexport interface Box3DProps extends Mesh3DProps, Partial<ParamsOf<BoxGeometry3D>> { }\n\nexport interface Sphere3DProps extends Mesh3DProps, Partial<ParamsOf<SphereGeometry3D>> { }\n\nexport interface Plane3DProps extends Mesh3DProps, Partial<ParamsOf<PlaneGeometry3D>> { }\n\nexport interface Cylinder3DProps extends Mesh3DProps, Partial<ParamsOf<CylinderGeometry3D>> { }\n\nexport interface Cone3DProps extends Mesh3DProps, Partial<ParamsOf<ConeGeometry3D>> { }\n\nexport interface Torus3DProps extends Mesh3DProps, Partial<ParamsOf<TorusGeometry3D>> { }\n\nexport interface TorusKnot3DProps extends Mesh3DProps, Partial<ParamsOf<TorusKnotGeometry3D>> { }\n\nexport interface Circle3DProps extends Mesh3DProps, Partial<ParamsOf<CircleGeometry3D>> { }\n\nexport interface Ring3DProps extends Mesh3DProps, Partial<ParamsOf<RingGeometry3D>> { }\n\nexport interface Capsule3DProps extends Mesh3DProps, Partial<ParamsOf<CapsuleGeometry3D>> { }\n\nexport interface Polyhedron3DProps extends Mesh3DProps, Partial<ParamsOf<PolyhedronGeometry3D>> { }\n\nexport interface Extrude3DProps extends Mesh3DProps, Partial<ParamsOf<ExtrudeGeometry3D>> { }\n\nexport interface Lathe3DProps extends Mesh3DProps, Partial<ParamsOf<LatheGeometry3D>> { }\n\nexport interface Tube3DProps extends Mesh3DProps, Partial<ParamsOf<TubeGeometry3D>> { }\n\nexport interface Instances3DProps extends Mesh3DProps {\n /** Per-instance placement. Its length drives the instance count. */\n instances: readonly Transform3D[];\n /** Per-instance tint. Needs a material that reads instance colour. */\n colors: readonly Color[] | undefined;\n}\n\nexport type Points3DProps = Mesh3DProps;\n\nexport interface Line3DProps extends Node3DProps {\n /** The polyline's vertices. Give this or {@link geometry}, not both. */\n points: readonly Vector3Input[];\n /** An explicit geometry to draw the lines of (`Geo.edges(...)` for a wireframe outline); wins over {@link points}. */\n geometry: Geometry3D;\n closed: boolean;\n segments: boolean;\n stroke: LineStroke3D | undefined;\n opacity: number | undefined;\n material: Material3D | undefined;\n}\n\nexport interface Sprite3DProps extends Node3DProps {\n /** What the billboard shows — the same value a 2D `fill` takes. */\n fill: Fill3D;\n opacity: number | undefined;\n material: Material3D | undefined;\n}\n\nexport interface Model3DProps extends Node3DProps {\n /** Path to a glTF/GLB file. **Only glTF/GLB loads**; any other format (an OBJ included) resolves to an empty slot and draws nothing. */\n src: string;\n /** Baked animation clips, each sampled at an **explicit** time so a model is identical whether played forward or scrubbed to. */\n animation: readonly ModelAnimation3D[] | ModelAnimation3D | undefined;\n /** Replace materials on the loaded graph, keyed by mesh or material name. */\n override: Readonly<Record<string, Material3D>> | undefined;\n}\n\nexport interface AmbientLight3DProps extends Node3DProps, Partial<LightParamsOf<AmbientLightData3D>> { }\n\nexport interface HemisphereLight3DProps extends Node3DProps, Partial<LightParamsOf<HemisphereLightData3D>> { }\n\nexport interface DirectionalLight3DProps extends Node3DProps, Partial<LightParamsOf<DirectionalLightData3D>> { }\n\nexport interface PointLight3DProps extends Node3DProps, Partial<LightParamsOf<PointLightData3D>> { }\n\nexport interface SpotLight3DProps extends Node3DProps, Partial<LightParamsOf<SpotLightData3D>> { }\n\nexport interface AreaLight3DProps extends Node3DProps, Partial<LightParamsOf<AreaLightData3D>> { }\n\n/**\n * The camera: where the scene is viewed from. One node for both projections (`type=\"orthographic\"` is the flat one),\n * as a perspective and an orthographic camera are one object with a projection setting.\n *\n * Camera3D({ target: [0, 0.2, 0], orbit: -18, elevation: 12, distance: 13, fov: 42 })\n *\n * `target`/`orbit`/`elevation`/`distance` place the camera in polar coordinates around what it looks at, which is\n * what a camera move almost always is (via `position` it is a sin/cos pair recomputed every frame). `position` and\n * `lookAt` still work for a pinned shot; setting any polar field takes over, so the two are never half applied.\n * Parenting to a moving `Group3D` carries the shot with the rig.\n *\n * `near`/`far` come from the scene bounds unless set, and aspect always tracks the viewport's layout box. An\n * asymmetric orthographic frustum is a `params` override. A scene with no camera gets a default framing; with\n * several, the last wins.\n */\nexport interface Camera3DProps extends Node3DProps {\n /** `\"perspective\"` (default) or `\"orthographic\"`. */\n type: CameraData3D[\"type\"];\n /** The point the camera looks at and orbits around: `lookAt` under a name that reads right beside `orbit`, and the centre they turn about when any polar field is set. */\n target: Vector3Input | undefined;\n /** Azimuth around {@link target}, in **degrees**. */\n orbit: number | undefined;\n /** Angle above the horizon, in **degrees**. */\n elevation: number | undefined;\n distance: number | undefined;\n /** Perspective only: vertical field of view in **degrees**. Default 50. */\n fov: number | undefined;\n /** Orthographic only: visible world height. Default 10. */\n frustumHeight: number | undefined;\n near: number | undefined;\n far: number | undefined;\n zoom: number | undefined;\n}\n\n/** The two scene-wide nodes, fog and environment. Nodes because they are about the space (fog the air, environment the sky); positionless, so declaring two of a kind is not an error but only the last takes effect. Shadows, tone mapping and post effects are `Canvas3D` props, and the backdrop is the viewport's 2D `fill`. */\n\nexport interface Fog3DProps extends Node3DProps {\n /** Defaults to the viewport's own fill. */\n color: Color | undefined;\n /** Distance at which fog starts. Linear fog. */\n near: number | undefined;\n /** Distance at which fog is total. Linear fog. */\n far: number | undefined;\n /** Exponential-squared falloff. Wins over {@link near}/{@link far}. */\n density: number | undefined;\n}\n\nexport interface Environment3DProps extends Node3DProps {\n /**\n * A 360° panorama — `.hdr`/`.exr` for real IBL, or a plain image.\n * **Inert today**: no backend loads it, so only `preset` renders.\n */\n src: string | undefined;\n /** Six cubemap faces in three's order: +X, −X, +Y, −Y, +Z, −Z. **Inert today**: no backend loads them. */\n faces: readonly string[] | undefined;\n /** A generated studio interior. Needs no asset. The only environment that renders. */\n preset: \"studio\" | undefined;\n intensity: number | undefined;\n /** Also draw it behind the scene, as an infinitely distant sky. */\n background: boolean | undefined;\n /** Blur the background only, 0–1. The lighting stays sharp. */\n blur: number | undefined;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/components/factory/api.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,KAAK,E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AE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACnE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC;IACpE,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,SAAS,QAAQ,EAAE,CAAC;IAChH,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC;IAC5E,4GAA4G;IAC5G,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,YAAY,GAAG,IAAI,CAAC;CACvE;AAED,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/components/factory/api.ts"],"names":[],"mappings":"AA+QA,MAAM,UAAU,QAAQ,CAAI,OAAmB,EAAE,KAAQ;IACrD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAC9B,CAAC","sourcesContent":["/** The types of the component factories. */\nimport type { Alignment } from \"@/attributes/layout/alignment\";\nimport type { InsetsProps, InsetsResolved } from \"@/attributes/layout/insets\";\nimport type { Size2D, SizeInput } from \"@/attributes/layout/size\";\nimport type { Vector2 } from \"@/attributes/layout/vector2\";\nimport type { Effect } from \"@/attributes/shape/effects/chain\";\nimport type { NodeEffect } from \"@/attributes/shape/effects/union\";\nimport type { NodeBlendMode } from \"@/attributes/shape/fill/blend\";\nimport type { BoxBounds } from \"@/layout/bounds\";\nimport type { PropInputs } from \"@/attributes/properties/inputs\";\nimport type { CameraScope, ChildPlane, Node2D, Node2DProps } from \"@/components/trees/2d/node2d\";\nimport type { Node } from \"@/components/trees/node/node\";\nimport type { SpaceCamera } from \"@/attributes/layout/space3d\";\nimport type { TextStyle } from \"@/attributes/text/types\";\nimport type { AudioEffectsInput } from \"@/attributes/audio/effects/chain\";\nimport type { Param } from \"@/attributes/audio/ramp\";\nimport type { AudioTransition } from \"@/attributes/audio/transition\";\nimport type { AudioEffect } from \"@/attributes/audio/effects/union\";\nimport type { Context } from \"@/util/context\";\nimport type { RefTarget } from \"@/util/reference\";\nimport type { Command } from \"@/tween/command\";\nimport type { Graphics2D } from \"@/render/graphics2d\";\nimport type { BooleanOperation } from \"@/attributes/mask/boolean\";\nimport type { MaskOptions } from \"@/attributes/mask/mask\";\nimport type { FillResolved } from \"@/attributes/shape/fill/union\";\nimport type { ShadowResolved } from \"@/attributes/shape/shadow/shadow\";\nimport type { StrokeResolved } from \"@/attributes/shape/stroke/stroke\";\nimport type { EasingFunction } from \"@/tween/ease/type\";\nimport type { TypeDef } from \"@/components/factory/type-def\";\nimport type { Color } from \"@/attributes/shape/fill/color/parser\";\nimport type { ChildSpace3D, Node3D } from \"@/components/trees/three/node3d\";\nimport type { CameraData3D } from \"@/render3d/camera\";\nimport type { Graphics3D } from \"@/render3d/graphics3d\";\nimport type { Scene3D } from \"@/render3d/scene3d\";\nimport type { LightData3D } from \"@/render3d/light\";\nimport type { EnvironmentData3D, FogData3D } from \"@/render3d/scene-settings\";\nimport type { Shadow3D, Transform3D } from \"@/render3d/transform\";\nimport type { Euler3, EulerOrder, Quaternion, Vector3, Vector3Input } from \"@/render3d/vector3\";\n\n// =============================================================\n// State entries\n// =============================================================\n\ndeclare const typeBrand: unique symbol;\n\n/** A state entry's whole definition: what it accepts, what it resolves to, whether it is private. */\nexport interface Type<In, Out = In, Private extends boolean = false> {\n readonly [typeBrand]?: { readonly in: In; readonly out: Out; readonly private: Private };\n /** @internal The runtime half: default, mapper, tween, meaning. */\n readonly _def: TypeDef;\n}\n\nexport type AnyType = Type<any, any, boolean>;\n/** What a `state` field may hold: a Type, or a plain number, string or boolean default. */\nexport type Entry = AnyType | number | string | boolean;\nexport type StateSpec = { readonly [key: string]: Entry };\n\ntype TypeOf<E> =\n E extends AnyType ? E\n : E extends number ? Type<number>\n : E extends string ? Type<string>\n : E extends boolean ? Type<boolean>\n : never;\nexport type InOf<E> = TypeOf<E> extends Type<infer I, any, any> ? I : never;\nexport type OutOf<E> = TypeOf<E> extends Type<any, infer O, any> ? O : never;\ntype IsPrivate<E> = TypeOf<E> extends Type<any, any, infer P> ? P : false;\ntype IsReadOnly<E> = [InOf<E>] extends [never] ? true : false;\n\n/** The resolved, typed values a field reads. */\nexport type Values<S> = { readonly [K in keyof S]: OutOf<S[K]> };\n/** What a call or document may set: public entries, loose form, or a binding. */\nexport type Inputs<S> = {\n [K in keyof S as IsPrivate<S[K]> extends true ? never : IsReadOnly<S[K]> extends true ? never : K]?:\n InOf<S[K]> | (() => InOf<S[K]>);\n};\n/** What a command may write: any entry, public or private, loose form. */\nexport type Writes<S> = {\n [K in keyof S as IsReadOnly<S[K]> extends true ? never : K]?: InOf<S[K]>;\n};\n\n// =============================================================\n// Built-in 2D placement\n// =============================================================\n\nexport interface Box2DState {\n readonly x: Type<number>;\n readonly y: Type<number>;\n readonly width: Type<SizeInput>;\n readonly height: Type<SizeInput>;\n readonly rotation: Type<number>;\n readonly scale: Type<number>;\n readonly opacity: Type<number>;\n readonly pivot: Type<Alignment, Vector2>;\n readonly padding: Type<InsetsProps, InsetsResolved>;\n readonly effects: Type<Effect, NodeEffect[]>;\n readonly blend: Type<NodeBlendMode>;\n readonly clip: Type<boolean>;\n readonly flex: Type<number>;\n readonly rotationX: Type<number>;\n readonly rotationY: Type<number>;\n readonly depth: Type<number>;\n readonly perspective: Type<number>;\n}\n\n/** What every audio component has: its level, its place in the stereo field, and its own effects. */\nexport interface BoxAudioState {\n readonly volume: Type<Param>;\n readonly pan: Type<Param>;\n readonly mute: Type<boolean>;\n readonly effects: Type<AudioEffectsInput, AudioEffect[]>;\n readonly transitionIn: Type<AudioTransition | undefined>;\n readonly transitionOut: Type<AudioTransition | undefined>;\n}\n\ntype BuiltIn2DCommand = \"moveTo\" | \"fadeTo\" | \"rotateTo\" | \"scaleTo\" | \"layoutTo\" | \"effectTo\" | \"pulse\" | \"wiggle\" | \"to\" | \"set\";\n\ntype Merge<P, S> = Omit<P, keyof S> & S;\n\n// =============================================================\n// Elements, components and child views\n// =============================================================\n\ndeclare const elementBrand: unique symbol;\n\n/** What calling a component returns. In this slice, the built node itself. */\nexport interface Element<out K extends string = string, out S = unknown, out C = unknown> {\n readonly [elementBrand]?: { readonly key: K; readonly state: S; readonly commands: C };\n}\n\ntype AnyComponent = Component<string, any, any, any, any, any>;\n/** A whole tree, in `allowedChildren`: any component of it. */\ntype TreeName = \"2d\" | \"3d\" | \"audio\";\ntype Allowed = readonly (AnyComponent | TreeName)[] | null;\n\ntype ElementOf<A> =\n A extends null | undefined ? Element<string, Box2DState, {}>\n : A extends readonly [] ? never\n : A extends readonly (infer M)[] ? (M extends Component<infer K, infer S, infer C, any, any, any> ? Element<K, S, C> : M extends TreeName ? Element : never)\n : never;\n\n/** Any node, in the nested and falsy forms a class's `children` took: what a component allowing whole trees accepts. */\ntype ChildrenOfTrees = Element | Node | false | null | undefined | readonly ChildrenOfTrees[];\n\n/** Any 2D node, in the nested and falsy forms a class's `children` took: what a component allowing anything accepts. */\nexport type Children2D = Element | Node2D | false | null | undefined | readonly Children2D[];\n\ntype ChildrenProp<A> = [ElementOf<A>] extends [never]\n ? { readonly children?: never }\n : A extends null | undefined ? { readonly children?: Children2D }\n : A extends readonly TreeName[] ? { readonly children?: ChildrenOfTrees }\n : { readonly children?: readonly ElementOf<A>[] };\n\n/** Built-in placement a 2D node takes beyond its entries: alignment keys (`center`, `topLeft`…), `transform3D`, `flex`. */\ntype Placement2DProps<S> = PropInputs<Omit<Node2DProps, keyof S | \"children\">>;\n\n/**\n * What every call takes beside its entries: an id, a document key, and a\n * `ref` the node `R` is handed to while it is built, before its props apply.\n * A ref of a supertype of `R` is taken too (see {@link RefTarget}).\n */\ninterface CallMetadata<R> {\n readonly id?: string;\n readonly key?: string;\n readonly ref?: RefTarget<R>;\n}\n\nexport type CallProps<S, A, R = Node2D> = Inputs<S> & Placement2DProps<S> & ChildrenProp<A> & CallMetadata<R>;\n\n/** The node class generated from a spec: what a registry or an engine is handed. */\nexport type NodeClass<S, A, N extends Node = Node2D, P = CallProps<S, A>> = new (props?: P) => N;\n\n/** What a component of a non-2D tree is called with: its entries, children of its tree, an id. */\nexport type TreeCallProps<S, R = Node> = Inputs<S> & CallMetadata<R> & {\n readonly children?: readonly (Element | Node)[];\n};\n\n/** The node a component of state `S` and commands `C` builds on `N`: what `new` returns and a `ref` is handed. */\nexport type BuiltNode<S, C, N extends Node = Node2D> = NodeValues<S, N> & CommandMethods<C, N>;\n\nexport interface Component<K extends string, S, C, A, N extends Node = Node2D, P = CallProps<S, A, BuiltNode<S, C, N>>> {\n (props?: P): Element<K, S, C>;\n /** Builds the same node as a call, typed as the node: for engine code written against a class. */\n new (props?: P): BuiltNode<S, C, N>;\n readonly key: K;\n /** The generated node class: hand it to an engine (`nodes: [Gauge.node]`) or a registry. */\n readonly node: NodeClass<S, A, N, P>;\n /** Narrows a child view: `children.filter(BarSeries.is)`. */\n is(child: ChildView<any>): child is ChildView<Element<K, S, C>>;\n}\n\n/**\n * The node a component builds, as engine code and tests holding one see it: the\n * node, and each entry's resolved value. Authoring code works with `Element`.\n */\nexport type NodeOf<C> = C extends Component<any, infer S, infer M, any, infer N, any> ? BuiltNode<S, M, N> : never;\n/** A command, called on the node as a class's `command` method is. */\nexport type CommandMethods<C, N extends Node = Node2D> = {\n [K in Exclude<keyof C, keyof N>]: (args?: { readonly data?: unknown; readonly duration?: number; readonly easing?: EasingFunction }) => Command<Record<string, unknown>>;\n};\nexport type NodeValues<S, N extends Node = Node2D> =\n (N extends Node2D ? Node2D<Node2DProps & EntryProps<S>> : N) & { -readonly [E in Exclude<keyof S, keyof N>]: OutOf<S[E]> };\n/** Each entry's loose form, as `set` and `to` take it. */\ntype EntryProps<S> = { [E in Exclude<keyof S, keyof Node2DProps>]: InOf<S[E]> };\n\ntype StateOfElement<E> = E extends Element<any, infer S, any> ? S : never;\ntype CommandsOfElement<E> = E extends Element<any, any, infer C>\n ? unknown extends C ? string : (keyof C & string) | BuiltIn2DCommand\n : never;\n\n/** A child, as a parent's fields see it. */\nexport interface ChildView<out E extends Element = Element> {\n readonly id: string;\n readonly key: E extends Element<infer K> ? K : string;\n readonly state: Values<StateOfElement<E>>;\n /** Its size, measured against the room this pass gives it; outside a pass (in a command), the size it was last laid out at. */\n readonly size: Size2D;\n /** Its own children, as it hands them to its fields: how a command reaches parts nested inside a child. */\n readonly children: readonly ChildView[];\n measure(max: Max): Size2D;\n to(targets: Writes<StateOfElement<E>>): Piece;\n run(name: CommandsOfElement<E>, args?: object): Piece;\n}\n\n// =============================================================\n// What the engine hands each field\n// =============================================================\n\nexport interface Max {\n readonly width?: number;\n readonly height?: number;\n}\n\nexport interface FontSpec {\n readonly fontFamily: string;\n readonly fontSize: number;\n readonly fontWeight?: number;\n readonly letterSpacing?: number;\n}\n\nexport interface Measurer {\n readonly max: Max;\n /** The node's clock: a size that changes with time (a spin, a flow) reads it here. */\n readonly time: Clock;\n text(text: string, font: FontSpec): Size2D;\n}\n\nexport interface Clock {\n readonly total: number;\n readonly elapsed: number;\n}\n\n/** What `load` declares: everything that must be in before the node is measured or drawn. */\nexport interface Loader {\n font(family: string, weight?: number | string): void;\n image(src: string): void;\n video(src: string, trim?: { readonly start?: number; readonly end?: number }): void;\n /**\n * Async setup. `before: \"layout\"` holds measuring too (a font engine, MathJax); the default holds only the frame.\n * A function `load` resolves to frees what it loaded when the asset's window is evicted.\n */\n task(key: string, load: () => Promise<unknown>, options?: { readonly before?: \"layout\" | \"render\" }): void;\n /** A paint the component works out itself (a run's fill); paint entries load themselves. */\n fill(fills: FillResolved | readonly FillResolved[]): void;\n}\n\n/** A value a component hands its subtree under a context, which `Types.*({ inherit })` entries read. */\nexport interface Provided<T = unknown> {\n readonly context: Context<T>;\n readonly value: T;\n}\n\nexport function provides<T>(context: Context<T>, value: T): Provided<T> {\n return { context, value };\n}\n\nexport interface RenderContext2D {\n readonly size: Size2D;\n readonly time: Clock;\n draw(graphics: Graphics2D | readonly Graphics2D[] | null | undefined): void;\n /** Draws your children here. */\n children(): void;\n /** Your first child is the stencil; the rest draw through it. */\n mask(options: MaskOptions): void;\n /** Your children become one shape by `op`, painted with `paint`. */\n merge(op: BooleanOperation, paint: MergePaint): void;\n /** Your children through a camera viewing your box. */\n camera(scope: CameraScope): void;\n /** Your children standing in one 2.5D space seen by `camera`, drawn far to near. */\n space(camera: SpaceCamera): void;\n /**\n * Your 3D children rendered into a new scene, for a fill (`Fills.canvas3D`) or\n * more drawing. Picking projects through the same scene.\n */\n scene3D(): Scene3D;\n /** Run `body` with `style` the default for text drawn in it; `null` refuses the inherited style. */\n textStyle(style: TextStyle | null, body: () => void): void;\n /** Run `body` with what it draws confined to `shape`'s outline. */\n clip(shape: Graphics2D, body: () => void): void;\n /**\n * Run `body` as your own paint: standing in a 2.5D space, only what lies in\n * front of the lens shows, as a class's own paint does. `Paint.draw` does this\n * for the paint it draws; a component drawing with `draw` wraps it here.\n */\n inFront(body: () => void): void;\n /** Whether an ancestor already stands you in a 2.5D space, so a space of your own would nest in it. */\n readonly inSpace: boolean;\n /** Your nearest ancestor that `component` built, read-only, or `null` when none is above you. */\n ancestor<K extends string, S, C>(component: Component<K, S, C, any, any, any>): NodeView<Element<K, S, C>> | null;\n}\n\n/** Another node as a component reads it: its id, its resolved state and the size it was laid out at. */\nexport interface NodeView<out E extends Element = Element> {\n readonly id: string;\n readonly key: E extends Element<infer K> ? K : string;\n /** As its own fields read it: a reference entry of its own is a view of that node from where it stands. */\n readonly state: Values<StateOfElement<E>>;\n readonly size: Size2D;\n /** Where it stands in the reader's own frame (y up from the reader's centre): offset, turn and scale. */\n readonly frame: NodeFrame;\n}\n\nexport interface NodeFrame {\n readonly x: number;\n readonly y: number;\n readonly rotation: number;\n readonly scale: number;\n}\n\n/** What a merged shape is painted with: a shape's resolved paint entries. */\nexport interface MergePaint {\n readonly fill: FillResolved[];\n readonly stroke: StrokeResolved[];\n readonly shadow: ShadowResolved[];\n readonly overlay?: FillResolved[];\n}\n\n/** Where a 2D child goes: a box centred on (x, y) from your centre, y up, plus an optional slot transform. */\nexport interface Placement2D {\n readonly x: number;\n readonly y: number;\n readonly width: number;\n readonly height: number;\n readonly rotation?: number;\n readonly scale?: number;\n readonly opacity?: number;\n readonly depth?: number;\n readonly rotationX?: number;\n readonly rotationY?: number;\n /** What the child's own `x`/`y` mean in your units (a graph's): read wherever its position is, by paint, picking and a host's drag. */\n readonly plane?: ChildPlane;\n}\n\n/** Your content box, as `layout` is handed it, and the node's clock for a layout that moves with time. */\nexport interface LayoutBox extends BoxBounds {\n readonly time: Clock;\n}\n\n/** A point an editor can drag to set an entry: where it sits in your frame (y up from your centre), and the value dropping it there gives. */\nexport interface Handle<V> {\n at(state: V, size: Size2D): Vector2 | null;\n /** Where it was dropped, as the entry's value; by default the point itself. */\n value?(at: Vector2, state: V, size: Size2D): Vector2;\n}\n\n// =============================================================\n// Commands\n// =============================================================\n\ndeclare const pieceBrand: unique symbol;\n/** A timed piece of a command. */\nexport interface Piece {\n readonly [pieceBrand]?: true;\n /** @internal */\n readonly _piece: PieceData;\n}\n\n/** @internal */\nexport type PieceData =\n | { readonly kind: \"tween\"; readonly targets: Record<string, unknown> }\n | { readonly kind: \"animate\"; readonly frame: (t: number) => Record<string, unknown>; readonly eased: boolean }\n | { readonly kind: \"wait\"; readonly seconds: number }\n | { readonly kind: \"sound\"; readonly src: string; readonly options: SoundOptions }\n | { readonly kind: \"together\" | \"sequence\"; readonly pieces: readonly Piece[] }\n | { readonly kind: \"stagger\"; readonly pieces: readonly Piece[]; readonly overlap: number }\n | { readonly kind: \"child\"; readonly node: object; readonly targets: Record<string, unknown> }\n | { readonly kind: \"run\"; readonly node: object; readonly name: string; readonly args: object | undefined };\n\n/** How a sound plays: today's `AudioClip` fields, and the bus it feeds when its node isn't one. */\nexport interface SoundOptions {\n readonly trimStart?: number;\n readonly trimEnd?: number;\n readonly loop?: boolean;\n readonly volume?: Param;\n readonly speed?: Param;\n readonly effects?: AudioEffectsInput;\n readonly transitionIn?: AudioTransition;\n readonly transitionOut?: AudioTransition;\n /** Missing from the catalog, it is skipped rather than an error. */\n readonly optional?: boolean;\n /** The id of the bus it feeds. A sound node feeds the buses it sits in. */\n readonly bus?: string;\n /** Ends with its source rather than staying open: a picture's sound, which stops when the picture does. */\n readonly closed?: boolean;\n}\n\nexport interface Timeline<A = {}, S = {}> {\n readonly args: A;\n readonly duration: number;\n readonly easing: EasingFunction | undefined;\n /** The node this command acts on, read-only: its id (a seed), its size. */\n readonly node: NodeView;\n tween(targets: Writes<S>): Piece;\n /** `frame` at each point of the command; `eased: false` hands it linear progress, to ease per part with `ease`. */\n animate(frame: (t: number) => Writes<S>, options?: { readonly eased?: boolean }): Piece;\n /** The command's easing at `t`. */\n ease(t: number): number;\n /** `src` plays from here: cut when the command ends, or to its own end when the command has no length. */\n sound(src: string, options?: SoundOptions): Piece;\n wait(seconds: number): Piece;\n together(pieces: readonly Piece[]): Piece;\n sequence(pieces: readonly Piece[]): Piece;\n stagger(pieces: readonly Piece[], options?: { readonly overlap?: number }): Piece;\n}\n\ntype Kids = readonly ChildView<any>[];\n\nexport type CommandEntry<A, S, V, K> =\n // The names as written, so a module's command fits any state holding those entries.\n | (A extends readonly unknown[] ? { readonly args: A & readonly (keyof Writes<S> & string)[]; readonly run?: undefined; readonly easing?: EasingFunction; readonly entrance?: boolean } : never)\n | ((timeline: Timeline<{}, S>, state: V, children: K) => Piece)\n // `easing`: what the command eases by when its row gives none. `entrance`:\n // the timeline holds its first frame ahead of it (`CommandMeta.entrance`).\n | (A extends readonly unknown[] ? never : { readonly args: A; run(timeline: Timeline<Values<A>, S>, state: V, children: K): Piece; readonly easing?: EasingFunction; readonly entrance?: boolean });\n\nexport type CommandsSpec<C, S, V, K> = { [N in keyof C]: CommandEntry<C[N], S, V, K> };\n\n// =============================================================\n// The 2D factory's fields\n// =============================================================\n\nexport type FieldState<All, A> = Values<All> & { readonly children: readonly ChildView<ElementOf<A>>[] };\nexport type BuilderState<All, A> = Values<All> & { readonly children: readonly ElementOf<A>[] };\ntype OwnKids<A, B> = readonly ChildView<[B] extends [never] ? ElementOf<A> : Extract<B, Element>>[];\n\n/**\n * New defaults for entries, own or built in. A function is a binding: handed the\n * live state, and `given`, what the call or document row set when the node was\n * built (which never changes), for a default derived from those.\n */\nexport type Defaults<All, A> = {\n readonly [E in keyof All]?: InOf<All[E]> | ((state: FieldState<All, A>, given: Readonly<Record<string, unknown>>) => InOf<All[E]>);\n};\n\nexport interface Spec2D<K extends string, All, S, C, A, B> {\n readonly key: K;\n readonly state?: S;\n readonly defaults?: Defaults<All, A>;\n /** Old prop keys a stored row may still carry → the entry each became. */\n readonly renamed?: Readonly<Record<string, string>>;\n /** Entries that still work but should no longer be set: why, and what to use instead. */\n readonly deprecated?: Readonly<Record<string, string>>;\n /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */\n readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;\n readonly allowedChildren?: A;\n /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */\n readonly allowedParents?: readonly AnyComponent[];\n readonly children?: (state: BuilderState<All, A>) => readonly B[];\n readonly commands?: CommandsSpec<C, All, FieldState<All, A>, OwnKids<A, B>>;\n readonly load?: (loader: Loader, state: FieldState<All, A>) => void;\n /** What the subtree inherits: the nearest provider's value for each context, `inherited` reading what's above. */\n readonly provide?: (state: FieldState<All, A>, inherited: <T>(context: Context<T>) => T) => readonly Provided[];\n readonly measure?: (measurer: Measurer, state: FieldState<All, A>, children: OwnKids<A, B>) => Size2D;\n readonly layout?: (box: LayoutBox, state: FieldState<All, A>, children: OwnKids<A, B>) => readonly Placement2D[];\n /** What a child not added yet would take its `x`/`y` in: where a host drops or pastes one. Layout's `plane` answers for the rest. */\n readonly plane?: (box: LayoutBox, state: FieldState<All, A>) => ChildPlane | null;\n /** Points an editor can drag, by the entry each sets. */\n readonly handles?: { readonly [entry: string]: Handle<FieldState<All, A>> };\n /** Your bounds when they are not your box (a mark's ink): what selection and picking take. */\n readonly bounds?: (size: Size2D, state: FieldState<All, A>) => BoxBounds;\n readonly render?: (ctx: RenderContext2D, state: FieldState<All, A>) => void;\n /** The coordinates your 3D children's `x`, `y`, `z` are in (a graph's units), for a viewport over them. */\n readonly space?: (state: FieldState<All, A>) => ChildSpace3D | null;\n}\n\n/** A sound, or a bus mixing what is in it. It has no box and draws nothing: sound comes from its commands. */\nexport interface SpecAudio<K extends string, All, S, C, A, B> {\n readonly key: K;\n readonly state?: S;\n readonly defaults?: Defaults<All, A>;\n /** Old prop keys a stored row may still carry → the entry each became. */\n readonly renamed?: Readonly<Record<string, string>>;\n /** Entries that still work but should no longer be set: why, and what to use instead. */\n readonly deprecated?: Readonly<Record<string, string>>;\n /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */\n readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;\n readonly allowedChildren?: A;\n /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */\n readonly allowedParents?: readonly AnyComponent[];\n readonly children?: (state: BuilderState<All, A>) => readonly B[];\n readonly commands?: CommandsSpec<C, All, FieldState<All, A>, Kids>;\n readonly load?: (loader: Loader, state: FieldState<All, A>) => void;\n readonly provide?: (state: FieldState<All, A>, inherited: <T>(context: Context<T>) => T) => readonly Provided[];\n}\n\n// =============================================================\n// The 3D tree\n// =============================================================\n\n/** What every 3D component has: its place, turn and scale, and how the scene shows it. */\nexport interface Transform3DState {\n readonly x: Type<number>;\n readonly y: Type<number>;\n readonly z: Type<number>;\n readonly rotationX: Type<number>;\n readonly rotationY: Type<number>;\n readonly rotationZ: Type<number>;\n readonly rotationOrder: Type<EulerOrder>;\n readonly quaternion: Type<Quaternion>;\n readonly scaleX: Type<number>;\n readonly scaleY: Type<number>;\n readonly scaleZ: Type<number>;\n readonly lookAt: Type<Vector3Input | undefined, Vector3 | undefined>;\n readonly visible: Type<boolean>;\n readonly shadow: Type<Shadow3D>;\n readonly renderOrder: Type<number>;\n}\n\n/** A 3D call's vector forms of the axes: `position: [x, y, z]`, `rotation`, `scale` (one number scales all three). */\nexport interface Placement3DProps {\n readonly position?: Vector3Input | (() => Vector3Input);\n readonly rotation?: Vector3Input | Euler3 | (() => Vector3Input | Euler3);\n readonly scale?: Vector3Input | (() => Vector3Input);\n}\n\nexport type CallProps3D<S, R = Node3D> = TreeCallProps<S, R> & Placement3DProps;\n\n/** What a 3D `render` draws into: today's scene calls, with a camera standing where its node stands. */\nexport interface RenderContext3D {\n readonly time: Clock;\n /**\n * `render` runs only so what it draws loads, and nothing is shown: only the\n * materials, models and environment count, so geometry built from data may be skipped.\n */\n readonly declaring: boolean;\n draw(graphics: Graphics3D | null | undefined): void;\n light(light: LightData3D, transform?: Transform3D): void;\n /** The scene's camera, placed by this node's transform. A node that stands one is no group: its children stay in its parent's space. */\n camera(camera: CameraData3D): void;\n fog(fog: FogData3D | Color | null): void;\n environment(environment: EnvironmentData3D | null): void;\n}\n\nexport interface Spec3D<K extends string, All, S, C, A, B> {\n readonly key: K;\n readonly state?: S;\n readonly defaults?: Defaults<All, A>;\n /** Old prop keys a stored row may still carry → the entry each became. */\n readonly renamed?: Readonly<Record<string, string>>;\n /** Entries that still work but should no longer be set: why, and what to use instead. */\n readonly deprecated?: Readonly<Record<string, string>>;\n /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */\n readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;\n readonly allowedChildren?: A;\n /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */\n readonly allowedParents?: readonly AnyComponent[];\n readonly children?: (state: BuilderState<All, A>) => readonly B[];\n readonly commands?: CommandsSpec<C, All, FieldState<All, A>, Kids>;\n readonly load?: (loader: Loader, state: FieldState<All, A>) => void;\n readonly provide?: (state: FieldState<All, A>, inherited: <T>(context: Context<T>) => T) => readonly Provided[];\n readonly render?: (ctx: RenderContext3D, state: FieldState<All, A>) => void;\n /** The coordinates your 3D children's `x`, `y`, `z` are in (a graph's units): where each lands in yours. */\n readonly space?: (state: FieldState<All, A>) => ChildSpace3D | null;\n}\n\nexport type { Merge, Kids, Allowed, AnyComponent };\n"]}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/components/factory/api.ts"],"names":[],"mappings":"AA+PA,MAAM,UAAU,QAAQ,CAAI,OAAmB,EAAE,KAAQ;IACrD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAC9B,CAAC","sourcesContent":["/** The types of the component factories. */\nimport type { Alignment } from \"@/attributes/layout/alignment\";\nimport type { InsetsProps, InsetsResolved } from \"@/attributes/layout/insets\";\nimport type { Size2D, SizeInput } from \"@/attributes/layout/size\";\nimport type { Vector2 } from \"@/attributes/layout/vector2\";\nimport type { Effect } from \"@/attributes/shape/effects/chain\";\nimport type { NodeEffect } from \"@/attributes/shape/effects/union\";\nimport type { NodeBlendMode } from \"@/attributes/shape/fill/blend\";\nimport type { BoxBounds } from \"@/layout/bounds\";\nimport type { PropInputs } from \"@/attributes/properties/inputs\";\nimport type { CameraScope, ChildPlane, Node2D, Node2DProps } from \"@/components/trees/2d/node2d\";\nimport type { Node } from \"@/components/trees/node/node\";\nimport type { SpaceCamera } from \"@/attributes/layout/space3d\";\nimport type { TextStyle } from \"@/attributes/text/types\";\nimport type { AudioEffectsInput } from \"@/attributes/audio/effects/chain\";\nimport type { Param } from \"@/attributes/audio/ramp\";\nimport type { AudioTransition } from \"@/attributes/audio/transition\";\nimport type { AudioEffect } from \"@/attributes/audio/effects/union\";\nimport type { Context } from \"@/util/context\";\nimport type { RefTarget } from \"@/util/reference\";\nimport type { Command } from \"@/tween/command\";\nimport type { Graphics2D } from \"@/render/graphics2d\";\nimport type { BooleanOperation } from \"@/attributes/mask/boolean\";\nimport type { MaskOptions } from \"@/attributes/mask/mask\";\nimport type { FillResolved } from \"@/attributes/shape/fill/union\";\nimport type { ShadowResolved } from \"@/attributes/shape/shadow/shadow\";\nimport type { StrokeResolved } from \"@/attributes/shape/stroke/stroke\";\nimport type { EasingFunction } from \"@/tween/ease/type\";\nimport type { TypeDef } from \"@/components/factory/type-def\";\nimport type { Color } from \"@/attributes/shape/fill/color/parser\";\nimport type { ChildSpace3D, Node3D } from \"@/components/trees/three/node3d\";\nimport type { CameraData3D } from \"@/render3d/camera\";\nimport type { Graphics3D } from \"@/render3d/graphics3d\";\nimport type { Scene3D } from \"@/render3d/scene3d\";\nimport type { LightData3D } from \"@/render3d/light\";\nimport type { EnvironmentData3D, FogData3D } from \"@/render3d/scene-settings\";\nimport type { Shadow3D, Transform3D } from \"@/render3d/transform\";\nimport type { Euler3, EulerOrder, Quaternion, Vector3, Vector3Input } from \"@/render3d/vector3\";\n\ndeclare const typeBrand: unique symbol;\n\n/** A state entry's whole definition: what it accepts, what it resolves to, whether it is private. */\nexport interface Type<In, Out = In, Private extends boolean = false> {\n readonly [typeBrand]?: { readonly in: In; readonly out: Out; readonly private: Private };\n /** @internal The runtime half: default, mapper, tween, meaning. */\n readonly _def: TypeDef;\n}\n\nexport type AnyType = Type<any, any, boolean>;\n/** What a `state` field may hold: a Type, or a plain number, string or boolean default. */\nexport type Entry = AnyType | number | string | boolean;\nexport type StateSpec = { readonly [key: string]: Entry };\n\ntype TypeOf<E> =\n E extends AnyType ? E\n : E extends number ? Type<number>\n : E extends string ? Type<string>\n : E extends boolean ? Type<boolean>\n : never;\nexport type InOf<E> = TypeOf<E> extends Type<infer I, any, any> ? I : never;\nexport type OutOf<E> = TypeOf<E> extends Type<any, infer O, any> ? O : never;\ntype IsPrivate<E> = TypeOf<E> extends Type<any, any, infer P> ? P : false;\ntype IsReadOnly<E> = [InOf<E>] extends [never] ? true : false;\n\n/** The resolved, typed values a field reads. */\nexport type Values<S> = { readonly [K in keyof S]: OutOf<S[K]> };\n/** What a call or document may set: public entries, loose form, or a binding. */\nexport type Inputs<S> = {\n [K in keyof S as IsPrivate<S[K]> extends true ? never : IsReadOnly<S[K]> extends true ? never : K]?:\n InOf<S[K]> | (() => InOf<S[K]>);\n};\n/** What a command may write: any entry, public or private, loose form. */\nexport type Writes<S> = {\n [K in keyof S as IsReadOnly<S[K]> extends true ? never : K]?: InOf<S[K]>;\n};\n\nexport interface Box2DState {\n readonly x: Type<number>;\n readonly y: Type<number>;\n readonly width: Type<SizeInput>;\n readonly height: Type<SizeInput>;\n readonly rotation: Type<number>;\n readonly scale: Type<number>;\n readonly opacity: Type<number>;\n readonly pivot: Type<Alignment, Vector2>;\n readonly padding: Type<InsetsProps, InsetsResolved>;\n readonly effects: Type<Effect, NodeEffect[]>;\n readonly blend: Type<NodeBlendMode>;\n readonly clip: Type<boolean>;\n readonly flex: Type<number>;\n readonly rotationX: Type<number>;\n readonly rotationY: Type<number>;\n readonly depth: Type<number>;\n readonly perspective: Type<number>;\n}\n\n/** What every audio component has: its level, its place in the stereo field, and its own effects. */\nexport interface BoxAudioState {\n readonly volume: Type<Param>;\n readonly pan: Type<Param>;\n readonly mute: Type<boolean>;\n readonly effects: Type<AudioEffectsInput, AudioEffect[]>;\n readonly transitionIn: Type<AudioTransition | undefined>;\n readonly transitionOut: Type<AudioTransition | undefined>;\n}\n\ntype BuiltIn2DCommand = \"moveTo\" | \"fadeTo\" | \"rotateTo\" | \"scaleTo\" | \"layoutTo\" | \"effectTo\" | \"pulse\" | \"wiggle\" | \"to\" | \"set\";\n\ntype Merge<P, S> = Omit<P, keyof S> & S;\n\ndeclare const elementBrand: unique symbol;\n\n/** What calling a component returns. In this slice, the built node itself. */\nexport interface Element<out K extends string = string, out S = unknown, out C = unknown> {\n readonly [elementBrand]?: { readonly key: K; readonly state: S; readonly commands: C };\n}\n\ntype AnyComponent = Component<string, any, any, any, any, any>;\n/** A whole tree, in `allowedChildren`: any component of it. */\ntype TreeName = \"2d\" | \"3d\" | \"audio\";\ntype Allowed = readonly (AnyComponent | TreeName)[] | null;\n\ntype ElementOf<A> =\n A extends null | undefined ? Element<string, Box2DState, {}>\n : A extends readonly [] ? never\n : A extends readonly (infer M)[] ? (M extends Component<infer K, infer S, infer C, any, any, any> ? Element<K, S, C> : M extends TreeName ? Element : never)\n : never;\n\n/** Any node, in the nested and falsy forms a class's `children` took: what a component allowing whole trees accepts. */\ntype ChildrenOfTrees = Element | Node | false | null | undefined | readonly ChildrenOfTrees[];\n\n/** Any 2D node, in the nested and falsy forms a class's `children` took: what a component allowing anything accepts. */\nexport type Children2D = Element | Node2D | false | null | undefined | readonly Children2D[];\n\ntype ChildrenProp<A> = [ElementOf<A>] extends [never]\n ? { readonly children?: never }\n : A extends null | undefined ? { readonly children?: Children2D }\n : A extends readonly TreeName[] ? { readonly children?: ChildrenOfTrees }\n : { readonly children?: readonly ElementOf<A>[] };\n\n/** Built-in placement a 2D node takes beyond its entries: alignment keys (`center`, `topLeft`…), `transform3D`, `flex`. */\ntype Placement2DProps<S> = PropInputs<Omit<Node2DProps, keyof S | \"children\">>;\n\n/**\n * What every call takes beside its entries: an id, a document key, and a\n * `ref` the node `R` is handed to while it is built, before its props apply.\n * A ref of a supertype of `R` is taken too (see {@link RefTarget}).\n */\ninterface CallMetadata<R> {\n readonly id?: string;\n readonly key?: string;\n readonly ref?: RefTarget<R>;\n}\n\nexport type CallProps<S, A, R = Node2D> = Inputs<S> & Placement2DProps<S> & ChildrenProp<A> & CallMetadata<R>;\n\n/** The node class generated from a spec: what a registry or an engine is handed. */\nexport type NodeClass<S, A, N extends Node = Node2D, P = CallProps<S, A>> = new (props?: P) => N;\n\n/** What a component of a non-2D tree is called with: its entries, children of its tree, an id. */\nexport type TreeCallProps<S, R = Node> = Inputs<S> & CallMetadata<R> & {\n readonly children?: readonly (Element | Node)[];\n};\n\n/** The node a component of state `S` and commands `C` builds on `N`: what `new` returns and a `ref` is handed. */\nexport type BuiltNode<S, C, N extends Node = Node2D> = NodeValues<S, N> & CommandMethods<C, N>;\n\nexport interface Component<K extends string, S, C, A, N extends Node = Node2D, P = CallProps<S, A, BuiltNode<S, C, N>>> {\n (props?: P): Element<K, S, C>;\n /** Builds the same node as a call, typed as the node: for engine code written against a class. */\n new (props?: P): BuiltNode<S, C, N>;\n readonly key: K;\n /** The generated node class: hand it to an engine (`nodes: [Gauge.node]`) or a registry. */\n readonly node: NodeClass<S, A, N, P>;\n /** Narrows a child view: `children.filter(BarSeries.is)`. */\n is(child: ChildView<any>): child is ChildView<Element<K, S, C>>;\n}\n\n/**\n * The node a component builds, as engine code and tests holding one see it: the\n * node, and each entry's resolved value. Authoring code works with `Element`.\n */\nexport type NodeOf<C> = C extends Component<any, infer S, infer M, any, infer N, any> ? BuiltNode<S, M, N> : never;\n/** A command, called on the node as a class's `command` method is. */\nexport type CommandMethods<C, N extends Node = Node2D> = {\n [K in Exclude<keyof C, keyof N>]: (args?: { readonly data?: unknown; readonly duration?: number; readonly easing?: EasingFunction }) => Command<Record<string, unknown>>;\n};\nexport type NodeValues<S, N extends Node = Node2D> =\n (N extends Node2D ? Node2D<Node2DProps & EntryProps<S>> : N) & { -readonly [E in Exclude<keyof S, keyof N>]: OutOf<S[E]> };\n/** Each entry's loose form, as `set` and `to` take it. */\ntype EntryProps<S> = { [E in Exclude<keyof S, keyof Node2DProps>]: InOf<S[E]> };\n\ntype StateOfElement<E> = E extends Element<any, infer S, any> ? S : never;\ntype CommandsOfElement<E> = E extends Element<any, any, infer C>\n ? unknown extends C ? string : (keyof C & string) | BuiltIn2DCommand\n : never;\n\n/** A child, as a parent's fields see it. */\nexport interface ChildView<out E extends Element = Element> {\n readonly id: string;\n readonly key: E extends Element<infer K> ? K : string;\n readonly state: Values<StateOfElement<E>>;\n /** Its size, measured against the room this pass gives it; outside a pass (in a command), the size it was last laid out at. */\n readonly size: Size2D;\n /** Its own children, as it hands them to its fields: how a command reaches parts nested inside a child. */\n readonly children: readonly ChildView[];\n measure(max: Max): Size2D;\n to(targets: Writes<StateOfElement<E>>): Piece;\n run(name: CommandsOfElement<E>, args?: object): Piece;\n}\n\nexport interface Max {\n readonly width?: number;\n readonly height?: number;\n}\n\nexport interface FontSpec {\n readonly fontFamily: string;\n readonly fontSize: number;\n readonly fontWeight?: number;\n readonly letterSpacing?: number;\n}\n\nexport interface Measurer {\n readonly max: Max;\n /** The node's clock: a size that changes with time (a spin, a flow) reads it here. */\n readonly time: Clock;\n text(text: string, font: FontSpec): Size2D;\n}\n\nexport interface Clock {\n readonly total: number;\n readonly elapsed: number;\n}\n\n/** What `load` declares: everything that must be in before the node is measured or drawn. */\nexport interface Loader {\n font(family: string, weight?: number | string): void;\n image(src: string): void;\n video(src: string, trim?: { readonly start?: number; readonly end?: number }): void;\n /**\n * Async setup. `before: \"layout\"` holds measuring too (a font engine, MathJax); the default holds only the frame.\n * A function `load` resolves to frees what it loaded when the asset's window is evicted.\n */\n task(key: string, load: () => Promise<unknown>, options?: { readonly before?: \"layout\" | \"render\" }): void;\n /** A paint the component works out itself (a run's fill); paint entries load themselves. */\n fill(fills: FillResolved | readonly FillResolved[]): void;\n}\n\n/** A value a component hands its subtree under a context, which `Types.*({ inherit })` entries read. */\nexport interface Provided<T = unknown> {\n readonly context: Context<T>;\n readonly value: T;\n}\n\nexport function provides<T>(context: Context<T>, value: T): Provided<T> {\n return { context, value };\n}\n\nexport interface RenderContext2D {\n readonly size: Size2D;\n readonly time: Clock;\n draw(graphics: Graphics2D | readonly Graphics2D[] | null | undefined): void;\n /** Draws your children here. */\n children(): void;\n /** Your first child is the stencil; the rest draw through it. */\n mask(options: MaskOptions): void;\n /** Your children become one shape by `op`, painted with `paint`. */\n merge(op: BooleanOperation, paint: MergePaint): void;\n /** Your children through a camera viewing your box. */\n camera(scope: CameraScope): void;\n /** Your children standing in one 2.5D space seen by `camera`, drawn far to near. */\n space(camera: SpaceCamera): void;\n /**\n * Your 3D children rendered into a new scene, for a fill (`Fills.canvas3D`) or\n * more drawing. Picking projects through the same scene.\n */\n scene3D(): Scene3D;\n /** Run `body` with `style` the default for text drawn in it; `null` refuses the inherited style. */\n textStyle(style: TextStyle | null, body: () => void): void;\n /** Run `body` with what it draws confined to `shape`'s outline. */\n clip(shape: Graphics2D, body: () => void): void;\n /**\n * Run `body` as your own paint: standing in a 2.5D space, only what lies in\n * front of the lens shows, as a class's own paint does. `Paint.draw` does this\n * for the paint it draws; a component drawing with `draw` wraps it here.\n */\n inFront(body: () => void): void;\n /** Whether an ancestor already stands you in a 2.5D space, so a space of your own would nest in it. */\n readonly inSpace: boolean;\n /** Your nearest ancestor that `component` built, read-only, or `null` when none is above you. */\n ancestor<K extends string, S, C>(component: Component<K, S, C, any, any, any>): NodeView<Element<K, S, C>> | null;\n}\n\n/** Another node as a component reads it: its id, its resolved state and the size it was laid out at. */\nexport interface NodeView<out E extends Element = Element> {\n readonly id: string;\n readonly key: E extends Element<infer K> ? K : string;\n /** As its own fields read it: a reference entry of its own is a view of that node from where it stands. */\n readonly state: Values<StateOfElement<E>>;\n readonly size: Size2D;\n /** Where it stands in the reader's own frame (y up from the reader's centre): offset, turn and scale. */\n readonly frame: NodeFrame;\n}\n\nexport interface NodeFrame {\n readonly x: number;\n readonly y: number;\n readonly rotation: number;\n readonly scale: number;\n}\n\n/** What a merged shape is painted with: a shape's resolved paint entries. */\nexport interface MergePaint {\n readonly fill: FillResolved[];\n readonly stroke: StrokeResolved[];\n readonly shadow: ShadowResolved[];\n readonly overlay?: FillResolved[];\n}\n\n/** Where a 2D child goes: a box centred on (x, y) from your centre, y up, plus an optional slot transform. */\nexport interface Placement2D {\n readonly x: number;\n readonly y: number;\n readonly width: number;\n readonly height: number;\n readonly rotation?: number;\n readonly scale?: number;\n readonly opacity?: number;\n readonly depth?: number;\n readonly rotationX?: number;\n readonly rotationY?: number;\n /** What the child's own `x`/`y` mean in your units (a graph's): read wherever its position is, by paint, picking and a host's drag. */\n readonly plane?: ChildPlane;\n}\n\n/** Your content box, as `layout` is handed it, and the node's clock for a layout that moves with time. */\nexport interface LayoutBox extends BoxBounds {\n readonly time: Clock;\n}\n\n/** A point an editor can drag to set an entry: where it sits in your frame (y up from your centre), and the value dropping it there gives. */\nexport interface Handle<V> {\n at(state: V, size: Size2D): Vector2 | null;\n /** Where it was dropped, as the entry's value; by default the point itself. */\n value?(at: Vector2, state: V, size: Size2D): Vector2;\n}\n\ndeclare const pieceBrand: unique symbol;\n/** A timed piece of a command. */\nexport interface Piece {\n readonly [pieceBrand]?: true;\n /** @internal */\n readonly _piece: PieceData;\n}\n\n/** @internal */\nexport type PieceData =\n | { readonly kind: \"tween\"; readonly targets: Record<string, unknown> }\n | { readonly kind: \"animate\"; readonly frame: (t: number) => Record<string, unknown>; readonly eased: boolean }\n | { readonly kind: \"wait\"; readonly seconds: number }\n | { readonly kind: \"sound\"; readonly src: string; readonly options: SoundOptions }\n | { readonly kind: \"together\" | \"sequence\"; readonly pieces: readonly Piece[] }\n | { readonly kind: \"stagger\"; readonly pieces: readonly Piece[]; readonly overlap: number }\n | { readonly kind: \"child\"; readonly node: object; readonly targets: Record<string, unknown> }\n | { readonly kind: \"run\"; readonly node: object; readonly name: string; readonly args: object | undefined };\n\n/** How a sound plays: today's `AudioClip` fields, and the bus it feeds when its node isn't one. */\nexport interface SoundOptions {\n readonly trimStart?: number;\n readonly trimEnd?: number;\n readonly loop?: boolean;\n readonly volume?: Param;\n readonly speed?: Param;\n readonly effects?: AudioEffectsInput;\n readonly transitionIn?: AudioTransition;\n readonly transitionOut?: AudioTransition;\n /** Missing from the catalog, it is skipped rather than an error. */\n readonly optional?: boolean;\n /** The id of the bus it feeds. A sound node feeds the buses it sits in. */\n readonly bus?: string;\n /** Ends with its source rather than staying open: a picture's sound, which stops when the picture does. */\n readonly closed?: boolean;\n}\n\nexport interface Timeline<A = {}, S = {}> {\n readonly args: A;\n readonly duration: number;\n readonly easing: EasingFunction | undefined;\n /** The node this command acts on, read-only: its id (a seed), its size. */\n readonly node: NodeView;\n tween(targets: Writes<S>): Piece;\n /** `frame` at each point of the command; `eased: false` hands it linear progress, to ease per part with `ease`. */\n animate(frame: (t: number) => Writes<S>, options?: { readonly eased?: boolean }): Piece;\n /** The command's easing at `t`. */\n ease(t: number): number;\n /** `src` plays from here: cut when the command ends, or to its own end when the command has no length. */\n sound(src: string, options?: SoundOptions): Piece;\n wait(seconds: number): Piece;\n together(pieces: readonly Piece[]): Piece;\n sequence(pieces: readonly Piece[]): Piece;\n stagger(pieces: readonly Piece[], options?: { readonly overlap?: number }): Piece;\n}\n\ntype Kids = readonly ChildView<any>[];\n\nexport type CommandEntry<A, S, V, K> =\n // The names as written, so a module's command fits any state holding those entries.\n | (A extends readonly unknown[] ? { readonly args: A & readonly (keyof Writes<S> & string)[]; readonly run?: undefined; readonly easing?: EasingFunction; readonly entrance?: boolean } : never)\n | ((timeline: Timeline<{}, S>, state: V, children: K) => Piece)\n // `easing`: what the command eases by when its row gives none. `entrance`:\n // the timeline holds its first frame ahead of it (`CommandMeta.entrance`).\n | (A extends readonly unknown[] ? never : { readonly args: A; run(timeline: Timeline<Values<A>, S>, state: V, children: K): Piece; readonly easing?: EasingFunction; readonly entrance?: boolean });\n\nexport type CommandsSpec<C, S, V, K> = { [N in keyof C]: CommandEntry<C[N], S, V, K> };\n\nexport type FieldState<All, A> = Values<All> & { readonly children: readonly ChildView<ElementOf<A>>[] };\nexport type BuilderState<All, A> = Values<All> & { readonly children: readonly ElementOf<A>[] };\ntype OwnKids<A, B> = readonly ChildView<[B] extends [never] ? ElementOf<A> : Extract<B, Element>>[];\n\n/**\n * New defaults for entries, own or built in. A function is a binding: handed the\n * live state, and `given`, what the call or document row set when the node was\n * built (which never changes), for a default derived from those.\n */\nexport type Defaults<All, A> = {\n readonly [E in keyof All]?: InOf<All[E]> | ((state: FieldState<All, A>, given: Readonly<Record<string, unknown>>) => InOf<All[E]>);\n};\n\nexport interface Spec2D<K extends string, All, S, C, A, B> {\n readonly key: K;\n readonly state?: S;\n readonly defaults?: Defaults<All, A>;\n /** Old prop keys a stored row may still carry → the entry each became. */\n readonly renamed?: Readonly<Record<string, string>>;\n /** Entries that still work but should no longer be set: why, and what to use instead. */\n readonly deprecated?: Readonly<Record<string, string>>;\n /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */\n readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;\n readonly allowedChildren?: A;\n /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */\n readonly allowedParents?: readonly AnyComponent[];\n readonly children?: (state: BuilderState<All, A>) => readonly B[];\n readonly commands?: CommandsSpec<C, All, FieldState<All, A>, OwnKids<A, B>>;\n readonly load?: (loader: Loader, state: FieldState<All, A>) => void;\n /** What the subtree inherits: the nearest provider's value for each context, `inherited` reading what's above. */\n readonly provide?: (state: FieldState<All, A>, inherited: <T>(context: Context<T>) => T) => readonly Provided[];\n readonly measure?: (measurer: Measurer, state: FieldState<All, A>, children: OwnKids<A, B>) => Size2D;\n readonly layout?: (box: LayoutBox, state: FieldState<All, A>, children: OwnKids<A, B>) => readonly Placement2D[];\n /** What a child not added yet would take its `x`/`y` in: where a host drops or pastes one. Layout's `plane` answers for the rest. */\n readonly plane?: (box: LayoutBox, state: FieldState<All, A>) => ChildPlane | null;\n /** Points an editor can drag, by the entry each sets. */\n readonly handles?: { readonly [entry: string]: Handle<FieldState<All, A>> };\n /** Your bounds when they are not your box (a mark's ink): what selection and picking take. */\n readonly bounds?: (size: Size2D, state: FieldState<All, A>) => BoxBounds;\n readonly render?: (ctx: RenderContext2D, state: FieldState<All, A>) => void;\n /** The coordinates your 3D children's `x`, `y`, `z` are in (a graph's units), for a viewport over them. */\n readonly space?: (state: FieldState<All, A>) => ChildSpace3D | null;\n}\n\n/** A sound, or a bus mixing what is in it. It has no box and draws nothing: sound comes from its commands. */\nexport interface SpecAudio<K extends string, All, S, C, A, B> {\n readonly key: K;\n readonly state?: S;\n readonly defaults?: Defaults<All, A>;\n /** Old prop keys a stored row may still carry → the entry each became. */\n readonly renamed?: Readonly<Record<string, string>>;\n /** Entries that still work but should no longer be set: why, and what to use instead. */\n readonly deprecated?: Readonly<Record<string, string>>;\n /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */\n readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;\n readonly allowedChildren?: A;\n /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */\n readonly allowedParents?: readonly AnyComponent[];\n readonly children?: (state: BuilderState<All, A>) => readonly B[];\n readonly commands?: CommandsSpec<C, All, FieldState<All, A>, Kids>;\n readonly load?: (loader: Loader, state: FieldState<All, A>) => void;\n readonly provide?: (state: FieldState<All, A>, inherited: <T>(context: Context<T>) => T) => readonly Provided[];\n}\n\n/** What every 3D component has: its place, turn and scale, and how the scene shows it. */\nexport interface Transform3DState {\n readonly x: Type<number>;\n readonly y: Type<number>;\n readonly z: Type<number>;\n readonly rotationX: Type<number>;\n readonly rotationY: Type<number>;\n readonly rotationZ: Type<number>;\n readonly rotationOrder: Type<EulerOrder>;\n readonly quaternion: Type<Quaternion>;\n readonly scaleX: Type<number>;\n readonly scaleY: Type<number>;\n readonly scaleZ: Type<number>;\n readonly lookAt: Type<Vector3Input | undefined, Vector3 | undefined>;\n readonly visible: Type<boolean>;\n readonly shadow: Type<Shadow3D>;\n readonly renderOrder: Type<number>;\n}\n\n/** A 3D call's vector forms of the axes: `position: [x, y, z]`, `rotation`, `scale` (one number scales all three). */\nexport interface Placement3DProps {\n readonly position?: Vector3Input | (() => Vector3Input);\n readonly rotation?: Vector3Input | Euler3 | (() => Vector3Input | Euler3);\n readonly scale?: Vector3Input | (() => Vector3Input);\n}\n\nexport type CallProps3D<S, R = Node3D> = TreeCallProps<S, R> & Placement3DProps;\n\n/** What a 3D `render` draws into: today's scene calls, with a camera standing where its node stands. */\nexport interface RenderContext3D {\n readonly time: Clock;\n /**\n * `render` runs only so what it draws loads, and nothing is shown: only the\n * materials, models and environment count, so geometry built from data may be skipped.\n */\n readonly declaring: boolean;\n draw(graphics: Graphics3D | null | undefined): void;\n light(light: LightData3D, transform?: Transform3D): void;\n /** The scene's camera, placed by this node's transform. A node that stands one is no group: its children stay in its parent's space. */\n camera(camera: CameraData3D): void;\n fog(fog: FogData3D | Color | null): void;\n environment(environment: EnvironmentData3D | null): void;\n}\n\nexport interface Spec3D<K extends string, All, S, C, A, B> {\n readonly key: K;\n readonly state?: S;\n readonly defaults?: Defaults<All, A>;\n /** Old prop keys a stored row may still carry → the entry each became. */\n readonly renamed?: Readonly<Record<string, string>>;\n /** Entries that still work but should no longer be set: why, and what to use instead. */\n readonly deprecated?: Readonly<Record<string, string>>;\n /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */\n readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;\n readonly allowedChildren?: A;\n /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */\n readonly allowedParents?: readonly AnyComponent[];\n readonly children?: (state: BuilderState<All, A>) => readonly B[];\n readonly commands?: CommandsSpec<C, All, FieldState<All, A>, Kids>;\n readonly load?: (loader: Loader, state: FieldState<All, A>) => void;\n readonly provide?: (state: FieldState<All, A>, inherited: <T>(context: Context<T>) => T) => readonly Provided[];\n readonly render?: (ctx: RenderContext3D, state: FieldState<All, A>) => void;\n /** The coordinates your 3D children's `x`, `y`, `z` are in (a graph's units): where each lands in yours. */\n readonly space?: (state: FieldState<All, A>) => ChildSpace3D | null;\n}\n\nexport type { Merge, Kids, Allowed, AnyComponent };\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"views.d.ts","sourceR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,GAAG,EAAE,GAAG,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI;IAOjH,2FAA2F;IAC3F,OAAO,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI;IAe/B,MAAM,IAAI,YAAY;CAKzB;AAKD,wBAAgB,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,iBAAiB,CAGnE"}
@@ -38,7 +38,6 @@ function measureChild(node, max) {
38
38
  p.sizes.set(node, size);
39
39
  return size;
40
40
  }
41
- // ---- child views ------------------------------------------------------------
42
41
  const childViews = new WeakMap();
43
42
  /** A child as its parent's fields see it. One per child node, reused every frame. */
44
43
  class ChildViewImpl {
@@ -244,7 +243,6 @@ export function snapshot(view) {
244
243
  out[key] = view[key];
245
244
  return out;
246
245
  }
247
- // ---- measurer and render context --------------------------------------------
248
246
  export class MeasurerImpl {
249
247
  host;
250
248
  max = {};