@motionscript/core 0.1.0-alpha.6 → 0.1.0-alpha.8

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 (804) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/NOTICE +15 -14
  3. package/README.md +5 -7
  4. package/dist/assets/errors.js +4 -5
  5. package/dist/assets/errors.js.map +1 -1
  6. package/dist/assets/manager.d.ts.map +1 -1
  7. package/dist/assets/manager.js +7 -5
  8. package/dist/assets/manager.js.map +1 -1
  9. package/dist/assets/scope.d.ts +1 -1
  10. package/dist/assets/scope.d.ts.map +1 -1
  11. package/dist/assets/scope.js +1 -1
  12. package/dist/assets/scope.js.map +1 -1
  13. package/dist/attributes/audio/effects/chain.d.ts +73 -0
  14. package/dist/attributes/audio/effects/chain.d.ts.map +1 -0
  15. package/dist/attributes/audio/effects/chain.js +67 -0
  16. package/dist/attributes/audio/effects/chain.js.map +1 -0
  17. package/dist/attributes/audio/effects/implementations/echo.d.ts +14 -0
  18. package/dist/attributes/audio/effects/implementations/echo.d.ts.map +1 -0
  19. package/dist/attributes/audio/effects/implementations/echo.js +11 -0
  20. package/dist/attributes/audio/effects/implementations/echo.js.map +1 -0
  21. package/dist/attributes/audio/effects/implementations/gain.d.ts +10 -0
  22. package/dist/attributes/audio/effects/implementations/gain.d.ts.map +1 -0
  23. package/dist/attributes/audio/effects/implementations/gain.js +6 -0
  24. package/dist/attributes/audio/effects/implementations/gain.js.map +1 -0
  25. package/dist/attributes/audio/effects/implementations/highpass.d.ts +12 -0
  26. package/dist/attributes/audio/effects/implementations/highpass.d.ts.map +1 -0
  27. package/dist/attributes/audio/effects/implementations/highpass.js +10 -0
  28. package/dist/attributes/audio/effects/implementations/highpass.js.map +1 -0
  29. package/dist/attributes/audio/effects/implementations/lowpass.d.ts +12 -0
  30. package/dist/attributes/audio/effects/implementations/lowpass.d.ts.map +1 -0
  31. package/dist/attributes/audio/effects/implementations/lowpass.js +10 -0
  32. package/dist/attributes/audio/effects/implementations/lowpass.js.map +1 -0
  33. package/dist/attributes/audio/effects/implementations/tremolo.d.ts +12 -0
  34. package/dist/attributes/audio/effects/implementations/tremolo.d.ts.map +1 -0
  35. package/dist/attributes/audio/effects/implementations/tremolo.js +10 -0
  36. package/dist/attributes/audio/effects/implementations/tremolo.js.map +1 -0
  37. package/dist/attributes/audio/effects/index.d.ts +12 -0
  38. package/dist/attributes/audio/effects/index.d.ts.map +1 -0
  39. package/dist/attributes/audio/effects/index.js +4 -0
  40. package/dist/attributes/audio/effects/index.js.map +1 -0
  41. package/dist/attributes/audio/effects/registry.d.ts +36 -0
  42. package/dist/attributes/audio/effects/registry.d.ts.map +1 -0
  43. package/dist/attributes/audio/effects/registry.js +80 -0
  44. package/dist/attributes/audio/effects/registry.js.map +1 -0
  45. package/dist/attributes/audio/effects/union.d.ts +14 -0
  46. package/dist/attributes/audio/effects/union.d.ts.map +1 -0
  47. package/dist/attributes/audio/effects/union.js +24 -0
  48. package/dist/attributes/audio/effects/union.js.map +1 -0
  49. package/dist/attributes/audio/ramp.d.ts +103 -0
  50. package/dist/attributes/audio/ramp.d.ts.map +1 -0
  51. package/dist/attributes/audio/ramp.js +246 -0
  52. package/dist/attributes/audio/ramp.js.map +1 -0
  53. package/dist/attributes/audio/request.d.ts +24 -13
  54. package/dist/attributes/audio/request.d.ts.map +1 -1
  55. package/dist/attributes/audio/request.js +4 -3
  56. package/dist/attributes/audio/request.js.map +1 -1
  57. package/dist/attributes/audio/schedule.d.ts +24 -31
  58. package/dist/attributes/audio/schedule.d.ts.map +1 -1
  59. package/dist/attributes/audio/schedule.js +42 -28
  60. package/dist/attributes/audio/schedule.js.map +1 -1
  61. package/dist/attributes/audio/sound.d.ts +15 -12
  62. package/dist/attributes/audio/sound.d.ts.map +1 -1
  63. package/dist/attributes/audio/sound.js +8 -10
  64. package/dist/attributes/audio/sound.js.map +1 -1
  65. package/dist/attributes/audio/transition.d.ts +33 -0
  66. package/dist/attributes/audio/transition.d.ts.map +1 -0
  67. package/dist/attributes/audio/transition.js +48 -0
  68. package/dist/attributes/audio/transition.js.map +1 -0
  69. package/dist/attributes/index.d.ts +7 -8
  70. package/dist/attributes/index.d.ts.map +1 -1
  71. package/dist/attributes/index.js +6 -9
  72. package/dist/attributes/index.js.map +1 -1
  73. package/dist/attributes/layout/insets.d.ts +1 -1
  74. package/dist/attributes/layout/insets.js.map +1 -1
  75. package/dist/attributes/layout/matrix2d.d.ts +2 -2
  76. package/dist/attributes/layout/matrix2d.js.map +1 -1
  77. package/dist/attributes/layout/size.d.ts +1 -1
  78. package/dist/attributes/layout/size.js +1 -1
  79. package/dist/attributes/layout/size.js.map +1 -1
  80. package/dist/attributes/layout/space3d.js +1 -1
  81. package/dist/attributes/layout/space3d.js.map +1 -1
  82. package/dist/attributes/properties/decorator.d.ts +44 -11
  83. package/dist/attributes/properties/decorator.d.ts.map +1 -1
  84. package/dist/attributes/properties/decorator.js +37 -9
  85. package/dist/attributes/properties/decorator.js.map +1 -1
  86. package/dist/attributes/properties/inputs.d.ts +1 -1
  87. package/dist/attributes/properties/inputs.js +1 -1
  88. package/dist/attributes/properties/inputs.js.map +1 -1
  89. package/dist/attributes/properties/typed.d.ts +24 -145
  90. package/dist/attributes/properties/typed.d.ts.map +1 -1
  91. package/dist/attributes/properties/typed.js +16 -112
  92. package/dist/attributes/properties/typed.js.map +1 -1
  93. package/dist/attributes/shape/corners/corner-radius.d.ts +2 -3
  94. package/dist/attributes/shape/corners/corner-radius.d.ts.map +1 -1
  95. package/dist/attributes/shape/corners/corner-radius.js +2 -3
  96. package/dist/attributes/shape/corners/corner-radius.js.map +1 -1
  97. package/dist/attributes/shape/effects/chain.d.ts +96 -409
  98. package/dist/attributes/shape/effects/chain.d.ts.map +1 -1
  99. package/dist/attributes/shape/effects/chain.js +93 -283
  100. package/dist/attributes/shape/effects/chain.js.map +1 -1
  101. package/dist/attributes/shape/effects/effect-data.d.ts +1 -1
  102. package/dist/attributes/shape/effects/effect-data.js.map +1 -1
  103. package/dist/attributes/shape/effects/implementations/ascii.d.ts +45 -13
  104. package/dist/attributes/shape/effects/implementations/ascii.d.ts.map +1 -1
  105. package/dist/attributes/shape/effects/implementations/ascii.js +29 -23
  106. package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
  107. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts +32 -7
  108. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts.map +1 -1
  109. package/dist/attributes/shape/effects/implementations/bit-crush.js +17 -15
  110. package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
  111. package/dist/attributes/shape/effects/implementations/block-displace.d.ts +46 -10
  112. package/dist/attributes/shape/effects/implementations/block-displace.d.ts.map +1 -1
  113. package/dist/attributes/shape/effects/implementations/block-displace.js +21 -19
  114. package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
  115. package/dist/attributes/shape/effects/implementations/bloom.d.ts +32 -7
  116. package/dist/attributes/shape/effects/implementations/bloom.d.ts.map +1 -1
  117. package/dist/attributes/shape/effects/implementations/bloom.js +17 -11
  118. package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
  119. package/dist/attributes/shape/effects/implementations/blur.d.ts +16 -3
  120. package/dist/attributes/shape/effects/implementations/blur.d.ts.map +1 -1
  121. package/dist/attributes/shape/effects/implementations/blur.js +13 -5
  122. package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
  123. package/dist/attributes/shape/effects/implementations/bulge.d.ts +28 -9
  124. package/dist/attributes/shape/effects/implementations/bulge.d.ts.map +1 -1
  125. package/dist/attributes/shape/effects/implementations/bulge.js +15 -14
  126. package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
  127. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts +21 -5
  128. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts.map +1 -1
  129. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js +15 -10
  130. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
  131. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts +96 -26
  132. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts.map +1 -1
  133. package/dist/attributes/shape/effects/implementations/color-adjustment.js +29 -26
  134. package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
  135. package/dist/attributes/shape/effects/implementations/curves.d.ts +20 -6
  136. package/dist/attributes/shape/effects/implementations/curves.d.ts.map +1 -1
  137. package/dist/attributes/shape/effects/implementations/curves.js +26 -23
  138. package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
  139. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts +26 -5
  140. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts.map +1 -1
  141. package/dist/attributes/shape/effects/implementations/directional-blur.js +15 -10
  142. package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
  143. package/dist/attributes/shape/effects/implementations/dither.d.ts +58 -11
  144. package/dist/attributes/shape/effects/implementations/dither.d.ts.map +1 -1
  145. package/dist/attributes/shape/effects/implementations/dither.js +26 -20
  146. package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
  147. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts +47 -15
  148. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts.map +1 -1
  149. package/dist/attributes/shape/effects/implementations/drop-shadow.js +24 -29
  150. package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
  151. package/dist/attributes/shape/effects/implementations/duotone.d.ts +26 -7
  152. package/dist/attributes/shape/effects/implementations/duotone.d.ts.map +1 -1
  153. package/dist/attributes/shape/effects/implementations/duotone.js +17 -16
  154. package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
  155. package/dist/attributes/shape/effects/implementations/edges.d.ts +29 -7
  156. package/dist/attributes/shape/effects/implementations/edges.d.ts.map +1 -1
  157. package/dist/attributes/shape/effects/implementations/edges.js +17 -14
  158. package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
  159. package/dist/attributes/shape/effects/implementations/glass.d.ts +76 -19
  160. package/dist/attributes/shape/effects/implementations/glass.d.ts.map +1 -1
  161. package/dist/attributes/shape/effects/implementations/glass.js +28 -22
  162. package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
  163. package/dist/attributes/shape/effects/implementations/glow.d.ts +149 -42
  164. package/dist/attributes/shape/effects/implementations/glow.d.ts.map +1 -1
  165. package/dist/attributes/shape/effects/implementations/glow.js +74 -72
  166. package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
  167. package/dist/attributes/shape/effects/implementations/grain.d.ts +43 -11
  168. package/dist/attributes/shape/effects/implementations/grain.d.ts.map +1 -1
  169. package/dist/attributes/shape/effects/implementations/grain.js +21 -18
  170. package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
  171. package/dist/attributes/shape/effects/implementations/grayscale.d.ts +17 -3
  172. package/dist/attributes/shape/effects/implementations/grayscale.d.ts.map +1 -1
  173. package/dist/attributes/shape/effects/implementations/grayscale.js +13 -5
  174. package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
  175. package/dist/attributes/shape/effects/implementations/halftone.d.ts +40 -9
  176. package/dist/attributes/shape/effects/implementations/halftone.d.ts.map +1 -1
  177. package/dist/attributes/shape/effects/implementations/halftone.js +20 -16
  178. package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
  179. package/dist/attributes/shape/effects/implementations/invert.d.ts +23 -5
  180. package/dist/attributes/shape/effects/implementations/invert.d.ts.map +1 -1
  181. package/dist/attributes/shape/effects/implementations/invert.js +15 -10
  182. package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
  183. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts +57 -18
  184. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts.map +1 -1
  185. package/dist/attributes/shape/effects/implementations/kaleidoscope.js +25 -22
  186. package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
  187. package/dist/attributes/shape/effects/implementations/lut.d.ts +34 -7
  188. package/dist/attributes/shape/effects/implementations/lut.d.ts.map +1 -1
  189. package/dist/attributes/shape/effects/implementations/lut.js +20 -16
  190. package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
  191. package/dist/attributes/shape/effects/implementations/magnify.d.ts +27 -9
  192. package/dist/attributes/shape/effects/implementations/magnify.d.ts.map +1 -1
  193. package/dist/attributes/shape/effects/implementations/magnify.js +17 -14
  194. package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
  195. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts +54 -19
  196. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts.map +1 -1
  197. package/dist/attributes/shape/effects/implementations/motion-blur.js +42 -20
  198. package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
  199. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts +17 -3
  200. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts.map +1 -1
  201. package/dist/attributes/shape/effects/implementations/oil-paint.js +13 -9
  202. package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
  203. package/dist/attributes/shape/effects/implementations/outline.d.ts +28 -8
  204. package/dist/attributes/shape/effects/implementations/outline.d.ts.map +1 -1
  205. package/dist/attributes/shape/effects/implementations/outline.js +18 -17
  206. package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
  207. package/dist/attributes/shape/effects/implementations/pixelate.d.ts +25 -6
  208. package/dist/attributes/shape/effects/implementations/pixelate.d.ts.map +1 -1
  209. package/dist/attributes/shape/effects/implementations/pixelate.js +16 -14
  210. package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
  211. package/dist/attributes/shape/effects/implementations/posterize.d.ts +14 -3
  212. package/dist/attributes/shape/effects/implementations/posterize.d.ts.map +1 -1
  213. package/dist/attributes/shape/effects/implementations/posterize.js +13 -9
  214. package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
  215. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts +91 -26
  216. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts.map +1 -1
  217. package/dist/attributes/shape/effects/implementations/progressive-blur.js +27 -28
  218. package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
  219. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts +49 -10
  220. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts.map +1 -1
  221. package/dist/attributes/shape/effects/implementations/radial-blur.js +19 -20
  222. package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
  223. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts +36 -6
  224. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts.map +1 -1
  225. package/dist/attributes/shape/effects/implementations/rgb-shift.js +16 -15
  226. package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
  227. package/dist/attributes/shape/effects/implementations/scanlines.d.ts +52 -11
  228. package/dist/attributes/shape/effects/implementations/scanlines.d.ts.map +1 -1
  229. package/dist/attributes/shape/effects/implementations/scanlines.js +21 -18
  230. package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
  231. package/dist/attributes/shape/effects/implementations/scatter.d.ts +23 -9
  232. package/dist/attributes/shape/effects/implementations/scatter.d.ts.map +1 -1
  233. package/dist/attributes/shape/effects/implementations/scatter.js +15 -12
  234. package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
  235. package/dist/attributes/shape/effects/implementations/shader.d.ts +90 -34
  236. package/dist/attributes/shape/effects/implementations/shader.d.ts.map +1 -1
  237. package/dist/attributes/shape/effects/implementations/shader.js +42 -26
  238. package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
  239. package/dist/attributes/shape/effects/implementations/sharpen.d.ts +23 -5
  240. package/dist/attributes/shape/effects/implementations/sharpen.d.ts.map +1 -1
  241. package/dist/attributes/shape/effects/implementations/sharpen.js +16 -11
  242. package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
  243. package/dist/attributes/shape/effects/implementations/streak.d.ts +40 -9
  244. package/dist/attributes/shape/effects/implementations/streak.d.ts.map +1 -1
  245. package/dist/attributes/shape/effects/implementations/streak.js +19 -16
  246. package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
  247. package/dist/attributes/shape/effects/implementations/threshold.d.ts +24 -5
  248. package/dist/attributes/shape/effects/implementations/threshold.d.ts.map +1 -1
  249. package/dist/attributes/shape/effects/implementations/threshold.js +17 -11
  250. package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
  251. package/dist/attributes/shape/effects/implementations/twirl.d.ts +35 -8
  252. package/dist/attributes/shape/effects/implementations/twirl.d.ts.map +1 -1
  253. package/dist/attributes/shape/effects/implementations/twirl.js +17 -16
  254. package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
  255. package/dist/attributes/shape/effects/implementations/vignette.d.ts +37 -7
  256. package/dist/attributes/shape/effects/implementations/vignette.d.ts.map +1 -1
  257. package/dist/attributes/shape/effects/implementations/vignette.js +19 -18
  258. package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
  259. package/dist/attributes/shape/effects/implementations/vintage.d.ts +24 -5
  260. package/dist/attributes/shape/effects/implementations/vintage.d.ts.map +1 -1
  261. package/dist/attributes/shape/effects/implementations/vintage.js +15 -10
  262. package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
  263. package/dist/attributes/shape/effects/implementations/wave.d.ts +61 -14
  264. package/dist/attributes/shape/effects/implementations/wave.d.ts.map +1 -1
  265. package/dist/attributes/shape/effects/implementations/wave.js +26 -23
  266. package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
  267. package/dist/attributes/shape/effects/index.d.ts +4 -2
  268. package/dist/attributes/shape/effects/index.d.ts.map +1 -1
  269. package/dist/attributes/shape/effects/index.js +1 -1
  270. package/dist/attributes/shape/effects/index.js.map +1 -1
  271. package/dist/attributes/shape/effects/registry.d.ts +11 -0
  272. package/dist/attributes/shape/effects/registry.d.ts.map +1 -1
  273. package/dist/attributes/shape/effects/registry.js +113 -102
  274. package/dist/attributes/shape/effects/registry.js.map +1 -1
  275. package/dist/attributes/shape/effects/spec.d.ts +229 -0
  276. package/dist/attributes/shape/effects/spec.d.ts.map +1 -0
  277. package/dist/attributes/shape/effects/spec.js +178 -0
  278. package/dist/attributes/shape/effects/spec.js.map +1 -0
  279. package/dist/attributes/shape/fill/chain.d.ts +7 -9
  280. package/dist/attributes/shape/fill/chain.d.ts.map +1 -1
  281. package/dist/attributes/shape/fill/chain.js +9 -11
  282. package/dist/attributes/shape/fill/chain.js.map +1 -1
  283. package/dist/attributes/shape/fill/color/parser.d.ts +1 -1
  284. package/dist/attributes/shape/fill/color/parser.js +1 -1
  285. package/dist/attributes/shape/fill/color/parser.js.map +1 -1
  286. package/dist/attributes/shape/fill/implementations/canvas3d.d.ts +2 -2
  287. package/dist/attributes/shape/fill/implementations/canvas3d.js.map +1 -1
  288. package/dist/attributes/shape/fill/implementations/shader.d.ts +28 -27
  289. package/dist/attributes/shape/fill/implementations/shader.d.ts.map +1 -1
  290. package/dist/attributes/shape/fill/implementations/shader.js +20 -14
  291. package/dist/attributes/shape/fill/implementations/shader.js.map +1 -1
  292. package/dist/attributes/shape/fill/implementations/video.d.ts +1 -1
  293. package/dist/attributes/shape/fill/implementations/video.js +1 -1
  294. package/dist/attributes/shape/fill/implementations/video.js.map +1 -1
  295. package/dist/attributes/shape/fill/index.d.ts +1 -1
  296. package/dist/attributes/shape/fill/index.d.ts.map +1 -1
  297. package/dist/attributes/shape/fill/index.js.map +1 -1
  298. package/dist/attributes/shape/fill/lerp.d.ts +1 -1
  299. package/dist/attributes/shape/fill/lerp.js.map +1 -1
  300. package/dist/attributes/shape/fill/registry.d.ts +1 -2
  301. package/dist/attributes/shape/fill/registry.d.ts.map +1 -1
  302. package/dist/attributes/shape/fill/registry.js +1 -2
  303. package/dist/attributes/shape/fill/registry.js.map +1 -1
  304. package/dist/attributes/shape/filters/chain.d.ts +3 -7
  305. package/dist/attributes/shape/filters/chain.d.ts.map +1 -1
  306. package/dist/attributes/shape/filters/chain.js +2 -6
  307. package/dist/attributes/shape/filters/chain.js.map +1 -1
  308. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts +2 -2
  309. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts.map +1 -1
  310. package/dist/attributes/shape/filters/implementations/color-matrix.js.map +1 -1
  311. package/dist/attributes/shape/filters/registry.d.ts +1 -1
  312. package/dist/attributes/shape/filters/registry.d.ts.map +1 -1
  313. package/dist/attributes/shape/filters/registry.js +3 -3
  314. package/dist/attributes/shape/filters/registry.js.map +1 -1
  315. package/dist/attributes/shape/filters/union.d.ts +6 -6
  316. package/dist/attributes/shape/filters/union.d.ts.map +1 -1
  317. package/dist/attributes/shape/filters/union.js.map +1 -1
  318. package/dist/attributes/shape/path/ops.d.ts +1 -2
  319. package/dist/attributes/shape/path/ops.d.ts.map +1 -1
  320. package/dist/attributes/shape/path/ops.js.map +1 -1
  321. package/dist/attributes/shape/shaders/index.d.ts +2 -0
  322. package/dist/attributes/shape/shaders/index.d.ts.map +1 -1
  323. package/dist/attributes/shape/shaders/index.js +2 -0
  324. package/dist/attributes/shape/shaders/index.js.map +1 -1
  325. package/dist/attributes/shape/shaders/language.d.ts +26 -0
  326. package/dist/attributes/shape/shaders/language.d.ts.map +1 -0
  327. package/dist/attributes/shape/shaders/language.js +20 -0
  328. package/dist/attributes/shape/shaders/language.js.map +1 -0
  329. package/dist/attributes/shape/shaders/pack.d.ts +25 -11
  330. package/dist/attributes/shape/shaders/pack.d.ts.map +1 -1
  331. package/dist/attributes/shape/shaders/pack.js +9 -4
  332. package/dist/attributes/shape/shaders/pack.js.map +1 -1
  333. package/dist/attributes/shape/shaders/resolve.d.ts +4 -5
  334. package/dist/attributes/shape/shaders/resolve.d.ts.map +1 -1
  335. package/dist/attributes/shape/shaders/resolve.js +3 -6
  336. package/dist/attributes/shape/shaders/resolve.js.map +1 -1
  337. package/dist/attributes/shape/shaders/uniforms.d.ts +41 -0
  338. package/dist/attributes/shape/shaders/uniforms.d.ts.map +1 -0
  339. package/dist/attributes/shape/shaders/uniforms.js +0 -0
  340. package/dist/attributes/shape/shaders/uniforms.js.map +1 -0
  341. package/dist/attributes/shared/operators.d.ts +2 -2
  342. package/dist/attributes/shared/operators.js.map +1 -1
  343. package/dist/attributes/text/types.d.ts +2 -3
  344. package/dist/attributes/text/types.d.ts.map +1 -1
  345. package/dist/attributes/text/types.js.map +1 -1
  346. package/dist/browser/chunks/chunk-AOT33LMS.js +13 -0
  347. package/dist/browser/chunks/chunk-AOT33LMS.js.map +7 -0
  348. package/dist/browser/chunks/chunk-GKM6UZJR.js +6 -0
  349. package/dist/browser/chunks/chunk-GKM6UZJR.js.map +7 -0
  350. package/dist/browser/chunks/chunk-LKUYVFU3.js +2 -0
  351. package/dist/browser/chunks/{chunk-DHB4COFY.js.map → chunk-LKUYVFU3.js.map} +4 -4
  352. package/dist/browser/chunks/chunk-ZRPZPWZU.js +3 -0
  353. package/dist/browser/chunks/chunk-ZRPZPWZU.js.map +7 -0
  354. package/dist/browser/component.js +1 -1
  355. package/dist/browser/component.js.map +4 -4
  356. package/dist/browser/experimental.js +1 -1
  357. package/dist/browser/experimental.js.map +4 -4
  358. package/dist/browser/index.js +1 -1
  359. package/dist/browser/index.js.map +4 -4
  360. package/dist/browser/manifest.json +2 -4
  361. package/dist/browser/sdk.js +1 -1
  362. package/dist/component.d.ts +10 -18
  363. package/dist/component.d.ts.map +1 -1
  364. package/dist/component.js +10 -17
  365. package/dist/component.js.map +1 -1
  366. package/dist/components/builtins/audio/audio.d.ts +62 -0
  367. package/dist/components/builtins/audio/audio.d.ts.map +1 -0
  368. package/dist/components/builtins/audio/audio.js +38 -0
  369. package/dist/components/builtins/audio/audio.js.map +1 -0
  370. package/dist/components/builtins/geometry/composite.d.ts +93 -0
  371. package/dist/components/builtins/geometry/composite.d.ts.map +1 -0
  372. package/dist/components/builtins/geometry/composite.js +25 -0
  373. package/dist/components/builtins/geometry/composite.js.map +1 -0
  374. package/dist/components/builtins/geometry/geometry.d.ts +921 -0
  375. package/dist/components/builtins/geometry/geometry.d.ts.map +1 -0
  376. package/dist/components/builtins/geometry/geometry.js +107 -0
  377. package/dist/components/builtins/geometry/geometry.js.map +1 -0
  378. package/dist/components/builtins/geometry/shape-outline.d.ts +93 -0
  379. package/dist/components/builtins/geometry/shape-outline.d.ts.map +1 -0
  380. package/dist/components/builtins/geometry/shape-outline.js +470 -0
  381. package/dist/components/builtins/geometry/shape-outline.js.map +1 -0
  382. package/dist/components/builtins/layout/layout.d.ts +186 -0
  383. package/dist/components/builtins/layout/layout.d.ts.map +1 -0
  384. package/dist/components/builtins/layout/layout.js +84 -0
  385. package/dist/components/builtins/layout/layout.js.map +1 -0
  386. package/dist/components/builtins/media/media.d.ts +240 -0
  387. package/dist/components/builtins/media/media.d.ts.map +1 -0
  388. package/dist/components/builtins/media/media.js +143 -0
  389. package/dist/components/builtins/media/media.js.map +1 -0
  390. package/dist/components/builtins/providers/providers.d.ts +47 -0
  391. package/dist/components/builtins/providers/providers.d.ts.map +1 -0
  392. package/dist/components/builtins/providers/providers.js +30 -0
  393. package/dist/components/builtins/providers/providers.js.map +1 -0
  394. package/dist/components/builtins/text/number-format.d.ts +66 -0
  395. package/dist/components/builtins/text/number-format.d.ts.map +1 -0
  396. package/dist/components/builtins/text/number-format.js +227 -0
  397. package/dist/components/builtins/text/number-format.js.map +1 -0
  398. package/dist/components/builtins/text/number-pattern.d.ts +51 -0
  399. package/dist/components/builtins/text/number-pattern.d.ts.map +1 -0
  400. package/dist/components/builtins/text/number-pattern.js +77 -0
  401. package/dist/components/builtins/text/number-pattern.js.map +1 -0
  402. package/dist/components/builtins/text/text-defaults.d.ts +32 -0
  403. package/dist/components/builtins/text/text-defaults.d.ts.map +1 -0
  404. package/dist/components/builtins/text/text-defaults.js +37 -0
  405. package/dist/components/builtins/text/text-defaults.js.map +1 -0
  406. package/dist/components/builtins/text/text-layout.d.ts +82 -0
  407. package/dist/components/builtins/text/text-layout.d.ts.map +1 -0
  408. package/dist/components/builtins/text/text-layout.js +331 -0
  409. package/dist/components/builtins/text/text-layout.js.map +1 -0
  410. package/dist/components/builtins/text/text.d.ts +409 -0
  411. package/dist/components/builtins/text/text.d.ts.map +1 -0
  412. package/dist/components/builtins/text/text.js +116 -0
  413. package/dist/components/builtins/text/text.js.map +1 -0
  414. package/dist/components/builtins/three/canvas3d.d.ts +245 -0
  415. package/dist/components/builtins/three/canvas3d.d.ts.map +1 -0
  416. package/dist/components/builtins/three/canvas3d.js +21 -0
  417. package/dist/components/builtins/three/canvas3d.js.map +1 -0
  418. package/dist/components/builtins/three/grid-geometry3d.d.ts +62 -0
  419. package/dist/components/builtins/three/grid-geometry3d.d.ts.map +1 -0
  420. package/dist/components/builtins/three/grid-geometry3d.js +114 -0
  421. package/dist/components/builtins/three/grid-geometry3d.js.map +1 -0
  422. package/dist/components/builtins/three/three.d.ts +1889 -0
  423. package/dist/components/builtins/three/three.d.ts.map +1 -0
  424. package/dist/components/builtins/three/three.js +305 -0
  425. package/dist/components/builtins/three/three.js.map +1 -0
  426. package/dist/components/factory/api.d.ts +543 -0
  427. package/dist/components/factory/api.d.ts.map +1 -0
  428. package/dist/components/factory/api.js +4 -0
  429. package/dist/components/factory/api.js.map +1 -0
  430. package/dist/components/factory/clip-of.d.ts +5 -0
  431. package/dist/components/factory/clip-of.d.ts.map +1 -0
  432. package/dist/components/factory/clip-of.js +33 -0
  433. package/dist/components/factory/clip-of.js.map +1 -0
  434. package/dist/components/factory/commands-for.d.ts +19 -0
  435. package/dist/components/factory/commands-for.d.ts.map +1 -0
  436. package/dist/components/factory/commands-for.js +5 -0
  437. package/dist/components/factory/commands-for.js.map +1 -0
  438. package/dist/components/factory/component-audio.d.ts +9 -0
  439. package/dist/components/factory/component-audio.d.ts.map +1 -0
  440. package/dist/components/factory/component-audio.js +18 -0
  441. package/dist/components/factory/component-audio.js.map +1 -0
  442. package/dist/components/factory/component2d.d.ts +8 -0
  443. package/dist/components/factory/component2d.d.ts.map +1 -0
  444. package/dist/components/factory/component2d.js +240 -0
  445. package/dist/components/factory/component2d.js.map +1 -0
  446. package/dist/components/factory/component3d.d.ts +9 -0
  447. package/dist/components/factory/component3d.d.ts.map +1 -0
  448. package/dist/components/factory/component3d.js +107 -0
  449. package/dist/components/factory/component3d.js.map +1 -0
  450. package/dist/components/factory/factory.d.ts +66 -0
  451. package/dist/components/factory/factory.d.ts.map +1 -0
  452. package/dist/components/factory/factory.js +347 -0
  453. package/dist/components/factory/factory.js.map +1 -0
  454. package/dist/components/factory/timeline.d.ts +22 -0
  455. package/dist/components/factory/timeline.d.ts.map +1 -0
  456. package/dist/components/factory/timeline.js +128 -0
  457. package/dist/components/factory/timeline.js.map +1 -0
  458. package/dist/components/factory/type-def.d.ts +26 -0
  459. package/dist/components/factory/type-def.d.ts.map +1 -0
  460. package/dist/components/factory/type-def.js +16 -0
  461. package/dist/components/factory/type-def.js.map +1 -0
  462. package/dist/components/factory/types.d.ts +91 -0
  463. package/dist/components/factory/types.d.ts.map +1 -0
  464. package/dist/components/factory/types.js +88 -0
  465. package/dist/components/factory/types.js.map +1 -0
  466. package/dist/components/factory/views.d.ts +121 -0
  467. package/dist/components/factory/views.d.ts.map +1 -0
  468. package/dist/components/factory/views.js +413 -0
  469. package/dist/components/factory/views.js.map +1 -0
  470. package/dist/components/modules/aim.d.ts +30 -0
  471. package/dist/components/modules/aim.d.ts.map +1 -0
  472. package/dist/components/modules/aim.js +39 -0
  473. package/dist/components/modules/aim.js.map +1 -0
  474. package/dist/components/modules/corners.d.ts +13 -0
  475. package/dist/components/modules/corners.d.ts.map +1 -0
  476. package/dist/components/modules/corners.js +12 -0
  477. package/dist/components/modules/corners.js.map +1 -0
  478. package/dist/components/modules/flow.d.ts +26 -0
  479. package/dist/components/modules/flow.d.ts.map +1 -0
  480. package/dist/components/modules/flow.js +57 -0
  481. package/dist/components/modules/flow.js.map +1 -0
  482. package/dist/components/modules/material.d.ts +40 -0
  483. package/dist/components/modules/material.d.ts.map +1 -0
  484. package/dist/components/modules/material.js +75 -0
  485. package/dist/components/modules/material.js.map +1 -0
  486. package/dist/components/modules/paint.d.ts +71 -0
  487. package/dist/components/modules/paint.d.ts.map +1 -0
  488. package/dist/components/modules/paint.js +106 -0
  489. package/dist/components/modules/paint.js.map +1 -0
  490. package/dist/components/modules/shapes.d.ts +31 -0
  491. package/dist/components/modules/shapes.d.ts.map +1 -0
  492. package/dist/components/modules/shapes.js +43 -0
  493. package/dist/components/modules/shapes.js.map +1 -0
  494. package/dist/components/modules/text-layout.d.ts +26 -0
  495. package/dist/components/modules/text-layout.d.ts.map +1 -0
  496. package/dist/components/modules/text-layout.js +57 -0
  497. package/dist/components/modules/text-layout.js.map +1 -0
  498. package/dist/components/modules/text-style.d.ts +48 -0
  499. package/dist/components/modules/text-style.d.ts.map +1 -0
  500. package/dist/components/modules/text-style.js +63 -0
  501. package/dist/components/modules/text-style.js.map +1 -0
  502. package/dist/components/modules/three-entries.d.ts +23 -0
  503. package/dist/components/modules/three-entries.d.ts.map +1 -0
  504. package/dist/components/modules/three-entries.js +41 -0
  505. package/dist/components/modules/three-entries.js.map +1 -0
  506. package/dist/components/modules/view3d.d.ts +59 -0
  507. package/dist/components/modules/view3d.d.ts.map +1 -0
  508. package/dist/components/modules/view3d.js +171 -0
  509. package/dist/components/modules/view3d.js.map +1 -0
  510. package/dist/components/trees/2d/group-bounds.d.ts +56 -0
  511. package/dist/components/trees/2d/group-bounds.d.ts.map +1 -0
  512. package/dist/components/trees/2d/group-bounds.js +87 -0
  513. package/dist/components/trees/2d/group-bounds.js.map +1 -0
  514. package/dist/components/trees/2d/node-lifecycle.d.ts +46 -0
  515. package/dist/components/trees/2d/node-lifecycle.d.ts.map +1 -0
  516. package/dist/components/trees/2d/node-lifecycle.js +264 -0
  517. package/dist/components/trees/2d/node-lifecycle.js.map +1 -0
  518. package/dist/components/trees/2d/node-motion.d.ts +56 -0
  519. package/dist/components/trees/2d/node-motion.d.ts.map +1 -0
  520. package/dist/components/trees/2d/node-motion.js +86 -0
  521. package/dist/components/trees/2d/node-motion.js.map +1 -0
  522. package/dist/components/trees/2d/node-render.d.ts +36 -0
  523. package/dist/components/trees/2d/node-render.d.ts.map +1 -0
  524. package/dist/components/trees/2d/node-render.js +67 -0
  525. package/dist/components/trees/2d/node-render.js.map +1 -0
  526. package/dist/components/trees/2d/node-space.d.ts +63 -0
  527. package/dist/components/trees/2d/node-space.d.ts.map +1 -0
  528. package/dist/components/trees/2d/node-space.js +131 -0
  529. package/dist/components/trees/2d/node-space.js.map +1 -0
  530. package/dist/components/trees/2d/node-transform.d.ts +55 -0
  531. package/dist/components/trees/2d/node-transform.d.ts.map +1 -0
  532. package/dist/components/trees/2d/node-transform.js +73 -0
  533. package/dist/components/trees/2d/node-transform.js.map +1 -0
  534. package/dist/components/trees/2d/node2d.d.ts +1020 -0
  535. package/dist/components/trees/2d/node2d.d.ts.map +1 -0
  536. package/dist/components/trees/2d/node2d.js +1481 -0
  537. package/dist/components/trees/2d/node2d.js.map +1 -0
  538. package/dist/components/trees/audio/index.d.ts +2 -0
  539. package/dist/components/trees/audio/index.d.ts.map +1 -0
  540. package/dist/components/trees/audio/index.js +2 -0
  541. package/dist/components/trees/audio/index.js.map +1 -0
  542. package/dist/components/trees/audio/node-audio.d.ts +116 -0
  543. package/dist/components/trees/audio/node-audio.d.ts.map +1 -0
  544. package/dist/components/trees/audio/node-audio.js +171 -0
  545. package/dist/components/trees/audio/node-audio.js.map +1 -0
  546. package/dist/components/trees/index.d.ts +10 -0
  547. package/dist/components/trees/index.d.ts.map +1 -0
  548. package/dist/components/trees/index.js +14 -0
  549. package/dist/components/trees/index.js.map +1 -0
  550. package/dist/components/trees/node/node-editor-state.d.ts +53 -0
  551. package/dist/components/trees/node/node-editor-state.d.ts.map +1 -0
  552. package/dist/components/trees/node/node-editor-state.js +23 -0
  553. package/dist/components/trees/node/node-editor-state.js.map +1 -0
  554. package/dist/components/trees/node/node-reactive.d.ts +89 -0
  555. package/dist/components/trees/node/node-reactive.d.ts.map +1 -0
  556. package/dist/components/trees/node/node-reactive.js +135 -0
  557. package/dist/components/trees/node/node-reactive.js.map +1 -0
  558. package/dist/components/trees/node/node-time.d.ts +39 -0
  559. package/dist/components/trees/node/node-time.d.ts.map +1 -0
  560. package/dist/components/trees/node/node-time.js +14 -0
  561. package/dist/components/trees/node/node-time.js.map +1 -0
  562. package/dist/components/trees/node/node-walk.d.ts +46 -0
  563. package/dist/components/trees/node/node-walk.d.ts.map +1 -0
  564. package/dist/components/trees/node/node-walk.js +74 -0
  565. package/dist/components/trees/node/node-walk.js.map +1 -0
  566. package/dist/components/trees/node/node.d.ts +401 -0
  567. package/dist/components/trees/node/node.d.ts.map +1 -0
  568. package/dist/components/trees/node/node.js +680 -0
  569. package/dist/components/trees/node/node.js.map +1 -0
  570. package/dist/components/trees/root/canvas2d-node.d.ts +163 -0
  571. package/dist/components/trees/root/canvas2d-node.d.ts.map +1 -0
  572. package/dist/components/trees/root/canvas2d-node.js +216 -0
  573. package/dist/components/trees/root/canvas2d-node.js.map +1 -0
  574. package/dist/components/trees/three/node3d.d.ts +222 -0
  575. package/dist/components/trees/three/node3d.d.ts.map +1 -0
  576. package/dist/components/trees/three/node3d.js +289 -0
  577. package/dist/components/trees/three/node3d.js.map +1 -0
  578. package/dist/document/builtins.js +13 -13
  579. package/dist/document/builtins.js.map +1 -1
  580. package/dist/document/command-traits.d.ts +14 -4
  581. package/dist/document/command-traits.d.ts.map +1 -1
  582. package/dist/document/command-traits.js +35 -7
  583. package/dist/document/command-traits.js.map +1 -1
  584. package/dist/document/deny-globals.d.ts +2 -2
  585. package/dist/document/deny-globals.js +2 -2
  586. package/dist/document/deny-globals.js.map +1 -1
  587. package/dist/document/expression/index.d.ts +1 -1
  588. package/dist/document/expression/index.js +1 -1
  589. package/dist/document/expression/index.js.map +1 -1
  590. package/dist/document/expression/ops.js +1 -1
  591. package/dist/document/expression/ops.js.map +1 -1
  592. package/dist/document/index.d.ts +9 -2
  593. package/dist/document/index.d.ts.map +1 -1
  594. package/dist/document/index.js +5 -2
  595. package/dist/document/index.js.map +1 -1
  596. package/dist/document/migrate.d.ts +70 -0
  597. package/dist/document/migrate.d.ts.map +1 -0
  598. package/dist/document/migrate.js +202 -0
  599. package/dist/document/migrate.js.map +1 -0
  600. package/dist/document/missing-node.d.ts +27 -0
  601. package/dist/document/missing-node.d.ts.map +1 -0
  602. package/dist/document/missing-node.js +48 -0
  603. package/dist/document/missing-node.js.map +1 -0
  604. package/dist/document/node-decorator.d.ts +14 -10
  605. package/dist/document/node-decorator.d.ts.map +1 -1
  606. package/dist/document/node-decorator.js +14 -10
  607. package/dist/document/node-decorator.js.map +1 -1
  608. package/dist/document/node-descriptor.d.ts +7 -3
  609. package/dist/document/node-descriptor.d.ts.map +1 -1
  610. package/dist/document/node-descriptor.js.map +1 -1
  611. package/dist/document/placement.d.ts +2 -1
  612. package/dist/document/placement.d.ts.map +1 -1
  613. package/dist/document/placement.js.map +1 -1
  614. package/dist/document/project.d.ts +2 -0
  615. package/dist/document/project.d.ts.map +1 -1
  616. package/dist/document/project.js +1 -0
  617. package/dist/document/project.js.map +1 -1
  618. package/dist/document/prop-evolution.d.ts +51 -0
  619. package/dist/document/prop-evolution.d.ts.map +1 -0
  620. package/dist/document/prop-evolution.js +83 -0
  621. package/dist/document/prop-evolution.js.map +1 -0
  622. package/dist/document/registry.d.ts +39 -25
  623. package/dist/document/registry.d.ts.map +1 -1
  624. package/dist/document/registry.js +41 -21
  625. package/dist/document/registry.js.map +1 -1
  626. package/dist/document/settled-index.d.ts +2 -0
  627. package/dist/document/settled-index.d.ts.map +1 -1
  628. package/dist/document/settled-index.js +5 -5
  629. package/dist/document/settled-index.js.map +1 -1
  630. package/dist/document/timeline-patch.d.ts +4 -0
  631. package/dist/document/timeline-patch.d.ts.map +1 -1
  632. package/dist/document/timeline-patch.js +28 -3
  633. package/dist/document/timeline-patch.js.map +1 -1
  634. package/dist/document/timeline.d.ts +48 -4
  635. package/dist/document/timeline.d.ts.map +1 -1
  636. package/dist/document/timeline.js +174 -44
  637. package/dist/document/timeline.js.map +1 -1
  638. package/dist/document/types.d.ts +18 -32
  639. package/dist/document/types.d.ts.map +1 -1
  640. package/dist/document/types.js.map +1 -1
  641. package/dist/document/validate.d.ts +18 -6
  642. package/dist/document/validate.d.ts.map +1 -1
  643. package/dist/document/validate.js +158 -21
  644. package/dist/document/validate.js.map +1 -1
  645. package/dist/document/vocabulary.d.ts +28 -0
  646. package/dist/document/vocabulary.d.ts.map +1 -0
  647. package/dist/document/vocabulary.js +42 -0
  648. package/dist/document/vocabulary.js.map +1 -0
  649. package/dist/experimental.d.ts +79 -19
  650. package/dist/experimental.d.ts.map +1 -1
  651. package/dist/experimental.js +31 -17
  652. package/dist/experimental.js.map +1 -1
  653. package/dist/index.d.ts +10 -11
  654. package/dist/index.d.ts.map +1 -1
  655. package/dist/index.js +10 -11
  656. package/dist/index.js.map +1 -1
  657. package/dist/layout/types.d.ts +1 -1
  658. package/dist/layout/types.js.map +1 -1
  659. package/dist/platform/exporter.d.ts +13 -0
  660. package/dist/platform/exporter.d.ts.map +1 -1
  661. package/dist/platform/exporter.js.map +1 -1
  662. package/dist/props/host.d.ts +1 -1
  663. package/dist/props/host.js.map +1 -1
  664. package/dist/props/slot.d.ts +1 -1
  665. package/dist/props/slot.js +1 -1
  666. package/dist/props/slot.js.map +1 -1
  667. package/dist/renamed-scene-names.d.ts +1 -1
  668. package/dist/renamed-scene-names.d.ts.map +1 -1
  669. package/dist/renamed-scene-names.js +1 -1
  670. package/dist/renamed-scene-names.js.map +1 -1
  671. package/dist/render/canvas-render-context2d.d.ts +9 -0
  672. package/dist/render/canvas-render-context2d.d.ts.map +1 -1
  673. package/dist/render/canvas-render-context2d.js +10 -0
  674. package/dist/render/canvas-render-context2d.js.map +1 -1
  675. package/dist/render/clip-contains.js +1 -1
  676. package/dist/render/clip-contains.js.map +1 -1
  677. package/dist/render/clip.d.ts +1 -1
  678. package/dist/render/clip.js +1 -1
  679. package/dist/render/clip.js.map +1 -1
  680. package/dist/render/descriptors/rect.js.map +1 -1
  681. package/dist/render/descriptors/text.d.ts +13 -7
  682. package/dist/render/descriptors/text.d.ts.map +1 -1
  683. package/dist/render/descriptors/text.js +9 -3
  684. package/dist/render/descriptors/text.js.map +1 -1
  685. package/dist/render/index.d.ts +2 -0
  686. package/dist/render/index.d.ts.map +1 -1
  687. package/dist/render/index.js +1 -0
  688. package/dist/render/index.js.map +1 -1
  689. package/dist/render/render-context2d.d.ts +3 -3
  690. package/dist/render/render-context2d.js.map +1 -1
  691. package/dist/render/render-issue.d.ts +39 -0
  692. package/dist/render/render-issue.d.ts.map +1 -0
  693. package/dist/render/render-issue.js +29 -0
  694. package/dist/render/render-issue.js.map +1 -0
  695. package/dist/render/surface.d.ts +2 -2
  696. package/dist/render/surface.js.map +1 -1
  697. package/dist/render3d/builders.d.ts +1 -1
  698. package/dist/render3d/builders.js +1 -1
  699. package/dist/render3d/builders.js.map +1 -1
  700. package/dist/render3d/graphics3d.d.ts +13 -19
  701. package/dist/render3d/graphics3d.d.ts.map +1 -1
  702. package/dist/render3d/graphics3d.js +67 -24
  703. package/dist/render3d/graphics3d.js.map +1 -1
  704. package/dist/render3d/scene3d.d.ts +1 -1
  705. package/dist/render3d/scene3d.js +1 -1
  706. package/dist/render3d/scene3d.js.map +1 -1
  707. package/dist/render3d/texture.d.ts +2 -2
  708. package/dist/render3d/texture.d.ts.map +1 -1
  709. package/dist/render3d/texture.js.map +1 -1
  710. package/dist/render3d/vector3.d.ts +2 -2
  711. package/dist/render3d/vector3.js +2 -2
  712. package/dist/render3d/vector3.js.map +1 -1
  713. package/dist/runtime/asset-refine.d.ts +1 -1
  714. package/dist/runtime/asset-refine.d.ts.map +1 -1
  715. package/dist/runtime/asset-refine.js +3 -2
  716. package/dist/runtime/asset-refine.js.map +1 -1
  717. package/dist/runtime/asset-timeline.d.ts +10 -0
  718. package/dist/runtime/asset-timeline.d.ts.map +1 -1
  719. package/dist/runtime/asset-timeline.js.map +1 -1
  720. package/dist/runtime/asset-update.d.ts.map +1 -1
  721. package/dist/runtime/asset-update.js +8 -1
  722. package/dist/runtime/asset-update.js.map +1 -1
  723. package/dist/runtime/audio-index.d.ts +0 -11
  724. package/dist/runtime/audio-index.d.ts.map +1 -1
  725. package/dist/runtime/audio-index.js +0 -25
  726. package/dist/runtime/audio-index.js.map +1 -1
  727. package/dist/runtime/clip-instance.d.ts +6 -4
  728. package/dist/runtime/clip-instance.d.ts.map +1 -1
  729. package/dist/runtime/clip-instance.js +8 -4
  730. package/dist/runtime/clip-instance.js.map +1 -1
  731. package/dist/runtime/clip-store.d.ts +2 -3
  732. package/dist/runtime/clip-store.d.ts.map +1 -1
  733. package/dist/runtime/clip-store.js +34 -37
  734. package/dist/runtime/clip-store.js.map +1 -1
  735. package/dist/runtime/engine.d.ts +8 -6
  736. package/dist/runtime/engine.d.ts.map +1 -1
  737. package/dist/runtime/engine.js +4 -3
  738. package/dist/runtime/engine.js.map +1 -1
  739. package/dist/runtime/node-picking.d.ts +2 -2
  740. package/dist/runtime/node-picking.d.ts.map +1 -1
  741. package/dist/runtime/node-picking.js +3 -3
  742. package/dist/runtime/node-picking.js.map +1 -1
  743. package/dist/runtime/node-picking3d.d.ts +2 -2
  744. package/dist/runtime/node-picking3d.d.ts.map +1 -1
  745. package/dist/runtime/node-picking3d.js +1 -1
  746. package/dist/runtime/node-picking3d.js.map +1 -1
  747. package/dist/runtime/playback-controller.d.ts +2 -2
  748. package/dist/runtime/playback-controller.d.ts.map +1 -1
  749. package/dist/runtime/playback-controller.js +15 -5
  750. package/dist/runtime/playback-controller.js.map +1 -1
  751. package/dist/runtime/session.d.ts +7 -3
  752. package/dist/runtime/session.d.ts.map +1 -1
  753. package/dist/runtime/session.js +11 -4
  754. package/dist/runtime/session.js.map +1 -1
  755. package/dist/runtime/state-evaluator.d.ts +2 -2
  756. package/dist/runtime/state-evaluator.d.ts.map +1 -1
  757. package/dist/runtime/state-evaluator.js.map +1 -1
  758. package/dist/runtime/text-geometry.d.ts +2 -2
  759. package/dist/runtime/text-geometry.d.ts.map +1 -1
  760. package/dist/runtime/text-geometry.js +4 -5
  761. package/dist/runtime/text-geometry.js.map +1 -1
  762. package/dist/sdk/index.d.ts +50 -44
  763. package/dist/sdk/index.d.ts.map +1 -1
  764. package/dist/sdk/index.js +35 -29
  765. package/dist/sdk/index.js.map +1 -1
  766. package/dist/tween/command-decorator.d.ts +14 -9
  767. package/dist/tween/command-decorator.d.ts.map +1 -1
  768. package/dist/tween/command-decorator.js +3 -2
  769. package/dist/tween/command-decorator.js.map +1 -1
  770. package/dist/tween/command.d.ts +1 -1
  771. package/dist/tween/command.js.map +1 -1
  772. package/dist/tween/ease/describe.d.ts +2 -0
  773. package/dist/tween/ease/describe.d.ts.map +1 -1
  774. package/dist/tween/ease/describe.js +4 -0
  775. package/dist/tween/ease/describe.js.map +1 -1
  776. package/dist/tween/ease/spec.d.ts +31 -0
  777. package/dist/tween/ease/spec.d.ts.map +1 -0
  778. package/dist/tween/ease/spec.js +51 -0
  779. package/dist/tween/ease/spec.js.map +1 -0
  780. package/dist/tween/index.d.ts +3 -1
  781. package/dist/tween/index.d.ts.map +1 -1
  782. package/dist/tween/index.js +2 -1
  783. package/dist/tween/index.js.map +1 -1
  784. package/dist/tween/loop.d.ts +1 -1
  785. package/dist/tween/loop.js +1 -1
  786. package/dist/tween/loop.js.map +1 -1
  787. package/dist/util/reference.d.ts +6 -6
  788. package/dist/util/reference.js.map +1 -1
  789. package/package.json +3 -11
  790. package/dist/browser/chunks/chunk-2RIYH36X.js +0 -3
  791. package/dist/browser/chunks/chunk-2RIYH36X.js.map +0 -7
  792. package/dist/browser/chunks/chunk-DDJN3QII.js +0 -15
  793. package/dist/browser/chunks/chunk-DDJN3QII.js.map +0 -7
  794. package/dist/browser/chunks/chunk-DHB4COFY.js +0 -2
  795. package/dist/browser/chunks/chunk-EJDPYDQI.js +0 -5
  796. package/dist/browser/chunks/chunk-EJDPYDQI.js.map +0 -7
  797. package/dist/browser/chunks/chunk-SFNJRPBV.js +0 -2
  798. package/dist/browser/chunks/chunk-SFNJRPBV.js.map +0 -7
  799. package/dist/browser/chunks/chunk-XAWE4EAK.js +0 -2
  800. package/dist/browser/chunks/chunk-XAWE4EAK.js.map +0 -7
  801. package/dist/browser/jsx-jsx-dev-runtime.js +0 -2
  802. package/dist/browser/jsx-jsx-dev-runtime.js.map +0 -7
  803. package/dist/browser/jsx-jsx-runtime.js +0 -2
  804. package/dist/browser/jsx-jsx-runtime.js.map +0 -7
@@ -1,20 +1,21 @@
1
- import { lerpNumber } from "../../../../tween/lerp.js";
2
- import { lerpColor } from "../../../../attributes/shape/fill/lerp.js";
3
- import { resolveEffectColor, sameEffectColor } from "../effect-data.js";
4
- export const outlineEffect = {
5
- lerp: (from, to, t) => ({
6
- type: "outline",
7
- width: lerpNumber(from.width, to.width, t),
8
- color: lerpColor(resolveEffectColor(from.color), resolveEffectColor(to.color), t),
9
- // position is discrete — snap at the midpoint like other enum-valued fields.
10
- position: t < 0.5 ? from.position : to.position,
11
- mode: t < 0.5 ? from.mode : to.mode,
12
- }),
13
- equals: (a, b) => a.width === b.width &&
14
- sameEffectColor(a.color, b.color) &&
15
- a.position === b.position &&
16
- a.mode === b.mode,
1
+ import { defineEffect, effectDataOf, param } from "../spec.js";
2
+ /** The {@link OutlineEffect} spec: its parameters, defaults and ranges. */
3
+ export const outlineSpec = defineEffect({
4
+ type: "outline",
5
+ group: "stylize",
17
6
  // Reads a ring of neighbouring texels to dilate/erode the source's alpha.
18
7
  surface: "shader",
19
- };
8
+ scalar: "width",
9
+ onlyOn: "foreground",
10
+ neutral: { width: 0 },
11
+ params: {
12
+ /** Band thickness in pixels. */
13
+ width: param.number({ default: 4, min: 0, unit: "px", inline: true }),
14
+ /** Band colour. */
15
+ color: param.color({ default: "black" }),
16
+ /** Which side of the edge the band grows from. */
17
+ position: param.choice(["outside", "center", "inside"], { default: "outside", optionsLabel: "outlinePosition" }),
18
+ },
19
+ });
20
+ export const outlineEffect = effectDataOf(outlineSpec);
20
21
  //# sourceMappingURL=outline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"outline.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/outline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAGzD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA2BrE,MAAM,CAAC,MAAM,aAAa,GAA8B;IACpD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QAC1C,KAAK,EAAE,SAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACjF,6EAA6E;QAC7E,QAAQ,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ;QAC/C,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI;KACtC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACb,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK;QACnB,eAAe,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,QAAQ;QACzB,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;IACrB,0EAA0E;IAC1E,OAAO,EAAE,QAAQ;CACpB,CAAC","sourcesContent":["import { lerpNumber } from \"@/tween/lerp\";\r\nimport { lerpColor } from \"@/attributes/shape/fill/lerp\";\r\nimport type { Color } from \"@/attributes/shape/fill/color/parser\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { resolveEffectColor, sameEffectColor } from \"../effect-data\";\r\n\r\n/**\r\n * Where the outline sits relative to the node's silhouette — the same three\r\n * choices Figma and Illustrator offer for a stroke:\r\n *\r\n * - `\"outside\"` grows outward from the edge, leaving the content untouched.\r\n * - `\"inside\"` eats inward, so the node's footprint never changes.\r\n * - `\"center\"` straddles the edge, half of `width` on each side.\r\n */\r\nexport type OutlinePosition = \"outside\" | \"center\" | \"inside\";\r\n\r\n/**\r\n * A coloured band traced around the node's silhouette — the alpha outline\r\n * (a.k.a. \"stroke\" in Figma) that geometry strokes can't give you when the\r\n * silhouette comes from text, an image's alpha, or a whole subtree.\r\n */\r\nexport interface OutlineEffect extends ModedEffect {\r\n type: \"outline\";\r\n /** Band thickness in px. 0 = off. */\r\n width: number;\r\n /** Band colour — any CSS colour, theme alias, or RGBA tuple. */\r\n color: Color;\r\n /** Which side of the silhouette edge the band grows from. */\r\n position: OutlinePosition;\r\n}\r\n\r\nexport const outlineEffect: EffectData<OutlineEffect> = {\r\n lerp: (from, to, t) => ({\r\n type: \"outline\",\r\n width: lerpNumber(from.width, to.width, t),\r\n color: lerpColor(resolveEffectColor(from.color), resolveEffectColor(to.color), t),\r\n // position is discrete — snap at the midpoint like other enum-valued fields.\r\n position: t < 0.5 ? from.position : to.position,\r\n mode: t < 0.5 ? from.mode : to.mode,\r\n }),\r\n equals: (a, b) =>\r\n a.width === b.width &&\r\n sameEffectColor(a.color, b.color) &&\r\n a.position === b.position &&\r\n a.mode === b.mode,\r\n // Reads a ring of neighbouring texels to dilate/erode the source's alpha.\r\n surface: \"shader\",\r\n};\r\n"]}
1
+ {"version":3,"file":"outline.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/outline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAqB/E,2EAA2E;AAC3E,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;IACpC,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,0EAA0E;IAC1E,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,YAAY;IACpB,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;IACrB,MAAM,EAAE;QACJ,gCAAgC;QAChC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACrE,mBAAmB;QACnB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;QACxC,kDAAkD;QAClD,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAA6B,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC;KAC/I;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAA8B,YAAY,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\r\n\r\n/**\r\n * Where the outline sits relative to the node's silhouette — the same three\r\n * choices Figma and Illustrator offer for a stroke:\r\n *\r\n * - `\"outside\"` grows outward from the edge, leaving the content untouched.\r\n * - `\"inside\"` eats inward, so the node's footprint never changes.\r\n * - `\"center\"` straddles the edge, half of `width` on each side.\r\n */\r\nexport type OutlinePosition = \"outside\" | \"center\" | \"inside\";\r\n\r\n/**\r\n * A coloured band traced around the node's silhouette — the alpha outline\r\n * (a.k.a. \"stroke\" in Figma) that geometry strokes can't give you when the\r\n * silhouette comes from text, an image's alpha, or a whole subtree.\r\n */\r\nexport interface OutlineEffect extends ModedEffect, EffectFields<typeof outlineSpec.params> {\r\n type: \"outline\";\r\n}\r\n\r\n/** The {@link OutlineEffect} spec: its parameters, defaults and ranges. */\r\nexport const outlineSpec = defineEffect({\r\n type: \"outline\",\r\n group: \"stylize\",\r\n // Reads a ring of neighbouring texels to dilate/erode the source's alpha.\r\n surface: \"shader\",\r\n scalar: \"width\",\r\n onlyOn: \"foreground\",\r\n neutral: { width: 0 },\r\n params: {\r\n /** Band thickness in pixels. */\r\n width: param.number({ default: 4, min: 0, unit: \"px\", inline: true }),\r\n /** Band colour. */\r\n color: param.color({ default: \"black\" }),\r\n /** Which side of the edge the band grows from. */\r\n position: param.choice([\"outside\", \"center\", \"inside\"] satisfies OutlinePosition[], { default: \"outside\", optionsLabel: \"outlinePosition\" }),\r\n },\r\n});\r\n\r\nexport const outlineEffect: EffectData<OutlineEffect> = effectDataOf(outlineSpec);\r\n"]}
@@ -1,5 +1,5 @@
1
- import { Vector2 } from "../../../../attributes/layout/vector2.js";
2
1
  import type { ModedEffect, EffectData } from "../effect-data.js";
2
+ import { type EffectFields } from "../spec.js";
3
3
  /**
4
4
  * After Effects-style Mosaic / pixelate.
5
5
  *
@@ -14,12 +14,31 @@ import type { ModedEffect, EffectData } from "../effect-data.js";
14
14
  * a single solid colour with hard edges (nearest-neighbour); when `false` the
15
15
  * block colours are smoothly interpolated between centres (linear).
16
16
  */
17
- export interface PixelateEffect extends ModedEffect {
17
+ export interface PixelateEffect extends ModedEffect, EffectFields<typeof pixelateSpec.params> {
18
18
  type: "pixelate";
19
- /** Block count per axis — `x` horizontal, `y` vertical. */
20
- blocks: Vector2;
21
- /** AE "Sharp Colors": solid blocks (true) vs. smoothly blended (false). */
22
- sharpColors: boolean;
23
19
  }
20
+ /** The {@link PixelateEffect} spec: its parameters, defaults and ranges. */
21
+ export declare const pixelateSpec: import("../spec.js").EffectSpec<"pixelate", {
22
+ /** Block count per axis; a bare number sets both. */
23
+ readonly blocks: import("../spec.js").EffectParamDef<import("../../../index.js").Vector2, number | import("../../../index.js").Vector2> & NoInfer<{
24
+ readonly default: 1;
25
+ readonly fromNumber: "both";
26
+ readonly required: true;
27
+ readonly min: 1;
28
+ readonly step: 1;
29
+ readonly initial: {
30
+ readonly x: 64;
31
+ readonly y: 64;
32
+ };
33
+ }> & {
34
+ kind: "vec2";
35
+ };
36
+ /** AE "Sharp Colors": solid blocks (true) vs. smoothly blended. */
37
+ readonly sharpColors: import("../spec.js").EffectParamDef<boolean, boolean> & NoInfer<{
38
+ readonly default: true;
39
+ }> & {
40
+ kind: "boolean";
41
+ };
42
+ }>;
24
43
  export declare const pixelateEffect: EffectData<PixelateEffect>;
25
44
  //# sourceMappingURL=pixelate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pixelate.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/pixelate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,cAAe,SAAQ,WAAW;IAC/C,IAAI,EAAE,UAAU,CAAC;IACjB,2DAA2D;IAC3D,MAAM,EAAE,OAAO,CAAC;IAChB,2EAA2E;IAC3E,WAAW,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,cAAc,CAarD,CAAC"}
1
+ {"version":3,"file":"pixelate.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/pixelate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/E;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,cAAe,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC;IACzF,IAAI,EAAE,UAAU,CAAC;CACpB;AAED,4EAA4E;AAC5E,eAAO,MAAM,YAAY;IAOjB,qDAAqD;;;;;;;;;;;;;;IAErD,mEAAmE;;;;;;EAGzE,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,cAAc,CAA8B,CAAC"}
@@ -1,15 +1,17 @@
1
- import { lerpVector2 } from "../../../../attributes/layout/vector2.js";
2
- export const pixelateEffect = {
3
- lerp: (from, to, t) => ({
4
- type: "pixelate",
5
- blocks: lerpVector2(from.blocks, to.blocks, t),
6
- // Boolean has no in-between — snap at the midpoint.
7
- sharpColors: t < 0.5 ? from.sharpColors : to.sharpColors,
8
- mode: t < 0.5 ? from.mode : to.mode,
9
- }),
10
- equals: (a, b) => a.blocks.x === b.blocks.x &&
11
- a.blocks.y === b.blocks.y &&
12
- a.sharpColors === b.sharpColors &&
13
- a.mode === b.mode,
14
- };
1
+ import { defineEffect, effectDataOf, param } from "../spec.js";
2
+ /** The {@link PixelateEffect} spec: its parameters, defaults and ranges. */
3
+ export const pixelateSpec = defineEffect({
4
+ type: "pixelate",
5
+ group: "stylize",
6
+ scalar: "blocks",
7
+ // Resolution-relative: inert only while a block is finer than the pixel grid.
8
+ neutral: { blocks: 1920 },
9
+ params: {
10
+ /** Block count per axis; a bare number sets both. */
11
+ blocks: param.vec2({ default: 1, fromNumber: "both", required: true, min: 1, step: 1, initial: { x: 64, y: 64 } }),
12
+ /** AE "Sharp Colors": solid blocks (true) vs. smoothly blended. */
13
+ sharpColors: param.boolean({ default: true }),
14
+ },
15
+ });
16
+ export const pixelateEffect = effectDataOf(pixelateSpec);
15
17
  //# sourceMappingURL=pixelate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pixelate.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/pixelate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAW,MAAM,6BAA6B,CAAC;AAyBnE,MAAM,CAAC,MAAM,cAAc,GAA+B;IACtD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;QAC9C,oDAAoD;QACpD,WAAW,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW;QACxD,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI;KACtC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACb,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;QACzB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;QACzB,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC,WAAW;QAC/B,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;CACxB,CAAC","sourcesContent":["import { lerpVector2, Vector2 } from \"@/attributes/layout/vector2\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\n\r\n/**\r\n * After Effects-style Mosaic / pixelate.\r\n *\r\n * `blocks` is the *number of blocks* across the node on each axis, exactly like\r\n * AE's Mosaic \"Horizontal Blocks\" / \"Vertical Blocks\". A count equal to the\r\n * node's pixel dimension on that axis leaves the image untouched (one block per\r\n * pixel); lower counts give larger, coarser blocks. For a 1920×1080 image,\r\n * `{ x: 1920, y: 1080 }` is pristine and `{ x: 200, y: 180 }` is heavily\r\n * pixelated.\r\n *\r\n * `sharpColors` mirrors AE's \"Sharp Colors\" checkbox: when `true` each block is\r\n * a single solid colour with hard edges (nearest-neighbour); when `false` the\r\n * block colours are smoothly interpolated between centres (linear).\r\n */\r\nexport interface PixelateEffect extends ModedEffect {\r\n type: \"pixelate\";\r\n /** Block count per axis — `x` horizontal, `y` vertical. */\r\n blocks: Vector2;\r\n /** AE \"Sharp Colors\": solid blocks (true) vs. smoothly blended (false). */\r\n sharpColors: boolean;\r\n}\r\n\r\nexport const pixelateEffect: EffectData<PixelateEffect> = {\r\n lerp: (from, to, t) => ({\r\n type: \"pixelate\",\r\n blocks: lerpVector2(from.blocks, to.blocks, t),\r\n // Boolean has no in-between — snap at the midpoint.\r\n sharpColors: t < 0.5 ? from.sharpColors : to.sharpColors,\r\n mode: t < 0.5 ? from.mode : to.mode,\r\n }),\r\n equals: (a, b) =>\r\n a.blocks.x === b.blocks.x &&\r\n a.blocks.y === b.blocks.y &&\r\n a.sharpColors === b.sharpColors &&\r\n a.mode === b.mode,\r\n};\r\n"]}
1
+ {"version":3,"file":"pixelate.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/pixelate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAoB/E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC;IACrC,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,QAAQ;IAChB,8EAA8E;IAC9E,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;IACzB,MAAM,EAAE;QACJ,qDAAqD;QACrD,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC;QAClH,mEAAmE;QACnE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;KAChD;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAA+B,YAAY,CAAC,YAAY,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\r\n\r\n/**\r\n * After Effects-style Mosaic / pixelate.\r\n *\r\n * `blocks` is the *number of blocks* across the node on each axis, exactly like\r\n * AE's Mosaic \"Horizontal Blocks\" / \"Vertical Blocks\". A count equal to the\r\n * node's pixel dimension on that axis leaves the image untouched (one block per\r\n * pixel); lower counts give larger, coarser blocks. For a 1920×1080 image,\r\n * `{ x: 1920, y: 1080 }` is pristine and `{ x: 200, y: 180 }` is heavily\r\n * pixelated.\r\n *\r\n * `sharpColors` mirrors AE's \"Sharp Colors\" checkbox: when `true` each block is\r\n * a single solid colour with hard edges (nearest-neighbour); when `false` the\r\n * block colours are smoothly interpolated between centres (linear).\r\n */\r\nexport interface PixelateEffect extends ModedEffect, EffectFields<typeof pixelateSpec.params> {\r\n type: \"pixelate\";\r\n}\r\n\r\n/** The {@link PixelateEffect} spec: its parameters, defaults and ranges. */\r\nexport const pixelateSpec = defineEffect({\r\n type: \"pixelate\",\r\n group: \"stylize\",\r\n scalar: \"blocks\",\r\n // Resolution-relative: inert only while a block is finer than the pixel grid.\r\n neutral: { blocks: 1920 },\r\n params: {\r\n /** Block count per axis; a bare number sets both. */\r\n blocks: param.vec2({ default: 1, fromNumber: \"both\", required: true, min: 1, step: 1, initial: { x: 64, y: 64 } }),\r\n /** AE \"Sharp Colors\": solid blocks (true) vs. smoothly blended. */\r\n sharpColors: param.boolean({ default: true }),\r\n },\r\n});\r\n\r\nexport const pixelateEffect: EffectData<PixelateEffect> = effectDataOf(pixelateSpec);\r\n"]}
@@ -1,4 +1,5 @@
1
1
  import type { ModedEffect, EffectData } from "../effect-data.js";
2
+ import { type EffectFields } from "../spec.js";
2
3
  /**
3
4
  * After Effects-style Posterize.
4
5
  *
@@ -8,10 +9,20 @@ import type { ModedEffect, EffectData } from "../effect-data.js";
8
9
  * channel, higher values keep more detail. Below 2 there is nothing to band, so
9
10
  * the effect is a no-op.
10
11
  */
11
- export interface PosterizeEffect extends ModedEffect {
12
+ export interface PosterizeEffect extends ModedEffect, EffectFields<typeof posterizeSpec.params> {
12
13
  type: "posterize";
13
- /** Number of brightness levels per channel (AE "Level", ≥ 2). */
14
- levels: number;
15
14
  }
15
+ /** The {@link PosterizeEffect} spec: its parameters, defaults and ranges. */
16
+ export declare const posterizeSpec: import("../spec.js").EffectSpec<"posterize", {
17
+ /** Number of brightness levels per channel (≥ 2). */
18
+ readonly levels: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
19
+ readonly default: 4;
20
+ readonly min: 2;
21
+ readonly step: 1;
22
+ readonly inline: true;
23
+ }> & {
24
+ kind: "number";
25
+ };
26
+ }>;
16
27
  export declare const posterizeEffect: EffectData<PosterizeEffect>;
17
28
  //# sourceMappingURL=posterize.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"posterize.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/posterize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAChD,IAAI,EAAE,WAAW,CAAC;IAClB,iEAAiE;IACjE,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAAe,CASvD,CAAC"}
1
+ {"version":3,"file":"posterize.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/posterize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/E;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAgB,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC,MAAM,CAAC;IAC3F,IAAI,EAAE,WAAW,CAAC;CACrB;AAED,6EAA6E;AAC7E,eAAO,MAAM,aAAa;IAQlB,qDAAqD;;;;;;;;;EAG3D,CAAC;AAEH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAAe,CAA+B,CAAC"}
@@ -1,12 +1,16 @@
1
- import { lerpNumber } from "../../../../tween/lerp.js";
2
- export const posterizeEffect = {
3
- lerp: (from, to, t) => ({
4
- type: "posterize",
5
- levels: lerpNumber(from.levels, to.levels, t),
6
- mode: t < 0.5 ? from.mode : to.mode,
7
- }),
8
- equals: (a, b) => a.levels === b.levels && a.mode === b.mode,
1
+ import { defineEffect, effectDataOf, param } from "../spec.js";
2
+ /** The {@link PosterizeEffect} spec: its parameters, defaults and ranges. */
3
+ export const posterizeSpec = defineEffect({
4
+ type: "posterize",
5
+ group: "color",
9
6
  // Reads its source texel-by-texel through a banding shader.
10
7
  surface: "shader",
11
- };
8
+ scalar: "levels",
9
+ neutral: { levels: 255 },
10
+ params: {
11
+ /** Number of brightness levels per channel (≥ 2). */
12
+ levels: param.number({ default: 4, min: 2, step: 1, inline: true }),
13
+ },
14
+ });
15
+ export const posterizeEffect = effectDataOf(posterizeSpec);
12
16
  //# sourceMappingURL=posterize.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"posterize.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/posterize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAkB1C,MAAM,CAAC,MAAM,eAAe,GAAgC;IACxD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;QAC7C,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI;KACtC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;IAC5D,4DAA4D;IAC5D,OAAO,EAAE,QAAQ;CACpB,CAAC","sourcesContent":["import { lerpNumber } from \"@/tween/lerp\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\n\r\n/**\r\n * After Effects-style Posterize.\r\n *\r\n * Quantizes each colour channel into `levels` evenly-spaced brightness steps, so\r\n * smooth gradients collapse into flat bands. `levels` is the number of tones per\r\n * channel (matching AE's single \"Level\" parameter): 2 → pure two-tone per\r\n * channel, higher values keep more detail. Below 2 there is nothing to band, so\r\n * the effect is a no-op.\r\n */\r\nexport interface PosterizeEffect extends ModedEffect {\r\n type: \"posterize\";\r\n /** Number of brightness levels per channel (AE \"Level\", ≥ 2). */\r\n levels: number;\r\n}\r\n\r\nexport const posterizeEffect: EffectData<PosterizeEffect> = {\r\n lerp: (from, to, t) => ({\r\n type: \"posterize\",\r\n levels: lerpNumber(from.levels, to.levels, t),\r\n mode: t < 0.5 ? from.mode : to.mode,\r\n }),\r\n equals: (a, b) => a.levels === b.levels && a.mode === b.mode,\r\n // Reads its source texel-by-texel through a banding shader.\r\n surface: \"shader\",\r\n};\r\n"]}
1
+ {"version":3,"file":"posterize.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/posterize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAe/E,6EAA6E;AAC7E,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAC;IACtC,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,OAAO;IACd,4DAA4D;IAC5D,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE;IACxB,MAAM,EAAE;QACJ,qDAAqD;QACrD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;KACtE;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,eAAe,GAAgC,YAAY,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\r\n\r\n/**\r\n * After Effects-style Posterize.\r\n *\r\n * Quantizes each colour channel into `levels` evenly-spaced brightness steps, so\r\n * smooth gradients collapse into flat bands. `levels` is the number of tones per\r\n * channel (matching AE's single \"Level\" parameter): 2 → pure two-tone per\r\n * channel, higher values keep more detail. Below 2 there is nothing to band, so\r\n * the effect is a no-op.\r\n */\r\nexport interface PosterizeEffect extends ModedEffect, EffectFields<typeof posterizeSpec.params> {\r\n type: \"posterize\";\r\n}\r\n\r\n/** The {@link PosterizeEffect} spec: its parameters, defaults and ranges. */\r\nexport const posterizeSpec = defineEffect({\r\n type: \"posterize\",\r\n group: \"color\",\r\n // Reads its source texel-by-texel through a banding shader.\r\n surface: \"shader\",\r\n scalar: \"levels\",\r\n neutral: { levels: 255 },\r\n params: {\r\n /** Number of brightness levels per channel (≥ 2). */\r\n levels: param.number({ default: 4, min: 2, step: 1, inline: true }),\r\n },\r\n});\r\n\r\nexport const posterizeEffect: EffectData<PosterizeEffect> = effectDataOf(posterizeSpec);\r\n"]}
@@ -1,5 +1,5 @@
1
- import { type Vector2 } from "../../../../attributes/layout/vector2.js";
2
1
  import type { ModedEffect, EffectData } from "../effect-data.js";
2
+ import { type EffectFields } from "../spec.js";
3
3
  /**
4
4
  * How the blur ramp is laid out across the node.
5
5
  *
@@ -25,32 +25,97 @@ export type ProgressiveBlurShape = "linear" | "radial";
25
25
  * Cost scales with `samples`, which are spent on the *widest* part of the ramp;
26
26
  * pixels below `start` return the source untouched without sampling at all.
27
27
  */
28
- export interface ProgressiveBlurEffect extends ModedEffect {
28
+ export interface ProgressiveBlurEffect extends ModedEffect, EffectFields<typeof progressiveBlurSpec.params> {
29
29
  type: "progressiveBlur";
30
- /** Blur spread in px at the far end of the ramp. 0 = off. */
31
- radius: number;
32
- /**
33
- * Blur spread in px at the *near* end of the ramp — where the ramp begins,
34
- * rather than where it arrives.
35
- *
36
- * `0` (the default, and what this effect did before the field existed) means
37
- * the ramp starts from sharp. A non-zero value ramps between two softnesses
38
- * instead of out of one, which is what a depth-of-field falloff actually
39
- * looks like: the near field is rarely perfectly sharp either.
40
- */
41
- startRadius: number;
42
- /** How the ramp is laid out. */
43
- shape: ProgressiveBlurShape;
44
- /** 0–1 position along the ramp where the blur starts building. */
45
- start: number;
46
- /** 0–1 position where the blur reaches `radius`. */
47
- end: number;
48
- /** Ramp direction in degrees; 0 = left-to-right. `"linear"` only. */
49
- angle: number;
50
- /** Ramp origin in 0–1 layer coords. `"radial"` only. */
51
- center: Vector2;
52
- /** Taps averaged at full radius; higher is smoother and slower. */
53
- samples: number;
54
30
  }
31
+ /** The {@link ProgressiveBlurEffect} spec: its parameters, defaults and ranges. */
32
+ export declare const progressiveBlurSpec: import("../spec.js").EffectSpec<"progressiveBlur", {
33
+ /** Blur spread in px at the far end of the ramp. */
34
+ readonly radius: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
35
+ readonly default: 24;
36
+ readonly min: 0;
37
+ readonly unit: "px";
38
+ readonly label: "endBlur";
39
+ readonly order: 2;
40
+ }> & {
41
+ kind: "number";
42
+ };
43
+ /** Blur spread in px at the near end of the ramp (0: sharp, what it did before the field existed). */
44
+ readonly startRadius: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
45
+ readonly default: 0;
46
+ readonly min: 0;
47
+ readonly unit: "px";
48
+ readonly label: "startBlur";
49
+ readonly order: 1;
50
+ }> & {
51
+ kind: "number";
52
+ };
53
+ /** Ramp layout. */
54
+ readonly shape: import("../spec.js").EffectParamDef<"linear" | "radial", "linear" | "radial"> & NoInfer<{
55
+ readonly default: "linear";
56
+ readonly control: "segmented";
57
+ readonly label: "rampShape";
58
+ readonly optionsLabel: "rampShape";
59
+ readonly order: 0;
60
+ }> & {
61
+ kind: "enum";
62
+ options: readonly ("linear" | "radial")[];
63
+ };
64
+ /** 0–1 where the blur starts building. */
65
+ readonly start: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
66
+ readonly default: 0;
67
+ readonly min: -0.5;
68
+ readonly max: 1.5;
69
+ readonly control: "slider";
70
+ readonly label: "rampStart";
71
+ readonly order: 3;
72
+ }> & {
73
+ kind: "number";
74
+ };
75
+ /** 0–1 where it reaches `radius`. */
76
+ readonly end: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
77
+ readonly default: 1;
78
+ readonly min: -0.5;
79
+ readonly max: 1.5;
80
+ readonly control: "slider";
81
+ readonly label: "rampEnd";
82
+ readonly order: 4;
83
+ }> & {
84
+ kind: "number";
85
+ };
86
+ /** Ramp direction in degrees; 0 = left-to-right, 90 = downward. */
87
+ readonly angle: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
88
+ readonly default: 90;
89
+ readonly unit: "deg";
90
+ readonly control: "angle";
91
+ readonly order: 5;
92
+ }> & {
93
+ kind: "number";
94
+ };
95
+ /** Ramp origin in 0–1 layer coords. `'radial'` only. */
96
+ readonly center: import("../spec.js").EffectParamDef<import("../../../index.js").Vector2, import("../../../index.js").Vector2> & NoInfer<{
97
+ readonly default: import("../../../index.js").Vector2;
98
+ readonly min: 0;
99
+ readonly max: 1;
100
+ readonly step: 0.01;
101
+ readonly unit: "normalized";
102
+ readonly order: 6;
103
+ }> & {
104
+ kind: "vec2";
105
+ };
106
+ /** Taps averaged at full radius, 2–32. A fractional count would just round, so it snaps. */
107
+ readonly samples: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
108
+ readonly default: 20;
109
+ readonly min: 2;
110
+ readonly max: 32;
111
+ readonly step: 1;
112
+ readonly lerp: "step";
113
+ readonly hidden: true;
114
+ readonly order: 7;
115
+ readonly initial: 16;
116
+ }> & {
117
+ kind: "number";
118
+ };
119
+ }>;
55
120
  export declare const progressiveBlurEffect: EffectData<ProgressiveBlurEffect>;
56
121
  //# sourceMappingURL=progressive-blur.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"progressive-blur.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/progressive-blur.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;;;GAQG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACtD,IAAI,EAAE,iBAAiB,CAAC;IACxB,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,KAAK,EAAE,oBAAoB,CAAC;IAC5B,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,MAAM,EAAE,OAAO,CAAC;IAChB,mEAAmE;IACnE,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,CA4BnE,CAAC"}
1
+ {"version":3,"file":"progressive-blur.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/progressive-blur.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAA6C,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvF;;;;;;;;GAQG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,qBAAsB,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,mBAAmB,CAAC,MAAM,CAAC;IACvG,IAAI,EAAE,iBAAiB,CAAC;CAC3B;AAED,mFAAmF;AACnF,eAAO,MAAM,mBAAmB;IAQxB,oDAAoD;;;;;;;;;;IAEpD,sGAAsG;;;;;;;;;;IAEtG,mBAAmB;;;;;;;;;;;IAEnB,0CAA0C;;;;;;;;;;;IAE1C,qCAAqC;;;;;;;;;;;IAErC,mEAAmE;;;;;;;;;IAEnE,wDAAwD;;;;;;;;;;;IAExD,4FAA4F;;;;;;;;;;;;;EAGlG,CAAC;AAEH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,CAAqC,CAAC"}
@@ -1,31 +1,30 @@
1
- import { lerpNumber } from "../../../../tween/lerp.js";
2
- import { lerpVector2 } from "../../../../attributes/layout/vector2.js";
3
- export const progressiveBlurEffect = {
4
- lerp: (from, to, t) => ({
5
- type: "progressiveBlur",
6
- radius: lerpNumber(from.radius, to.radius, t),
7
- startRadius: lerpNumber(from.startRadius, to.startRadius, t),
8
- shape: t < 0.5 ? from.shape : to.shape,
9
- start: lerpNumber(from.start, to.start, t),
10
- end: lerpNumber(from.end, to.end, t),
11
- angle: lerpNumber(from.angle, to.angle, t),
12
- center: lerpVector2(from.center, to.center, t),
13
- // A tap count has no meaningful in-between — a fractional sample count
14
- // would just round, so snap and keep the shader's loop bound stable.
15
- samples: t < 0.5 ? from.samples : to.samples,
16
- mode: t < 0.5 ? from.mode : to.mode,
17
- }),
18
- equals: (a, b) => a.radius === b.radius &&
19
- a.startRadius === b.startRadius &&
20
- a.shape === b.shape &&
21
- a.start === b.start &&
22
- a.end === b.end &&
23
- a.angle === b.angle &&
24
- a.center.x === b.center.x &&
25
- a.center.y === b.center.y &&
26
- a.samples === b.samples &&
27
- a.mode === b.mode,
1
+ import { CENTER, defineEffect, effectDataOf, param } from "../spec.js";
2
+ /** The {@link ProgressiveBlurEffect} spec: its parameters, defaults and ranges. */
3
+ export const progressiveBlurSpec = defineEffect({
4
+ type: "progressiveBlur",
5
+ group: "blur",
28
6
  // Averages a neighbourhood whose extent varies per pixel.
29
7
  surface: "shader",
30
- };
8
+ scalar: "radius",
9
+ neutral: { radius: 0 },
10
+ params: {
11
+ /** Blur spread in px at the far end of the ramp. */
12
+ radius: param.number({ default: 24, min: 0, unit: "px", label: "endBlur", order: 2 }),
13
+ /** Blur spread in px at the near end of the ramp (0: sharp, what it did before the field existed). */
14
+ startRadius: param.number({ default: 0, min: 0, unit: "px", label: "startBlur", order: 1 }),
15
+ /** Ramp layout. */
16
+ shape: param.choice(["linear", "radial"], { default: "linear", control: "segmented", label: "rampShape", optionsLabel: "rampShape", order: 0 }),
17
+ /** 0–1 where the blur starts building. */
18
+ start: param.number({ default: 0, min: -0.5, max: 1.5, control: "slider", label: "rampStart", order: 3 }),
19
+ /** 0–1 where it reaches `radius`. */
20
+ end: param.number({ default: 1, min: -0.5, max: 1.5, control: "slider", label: "rampEnd", order: 4 }),
21
+ /** Ramp direction in degrees; 0 = left-to-right, 90 = downward. */
22
+ angle: param.number({ default: 90, unit: "deg", control: "angle", order: 5 }),
23
+ /** Ramp origin in 0–1 layer coords. `'radial'` only. */
24
+ center: param.vec2({ default: CENTER, min: 0, max: 1, step: 0.01, unit: "normalized", order: 6 }),
25
+ /** Taps averaged at full radius, 2–32. A fractional count would just round, so it snaps. */
26
+ samples: param.number({ default: 20, min: 2, max: 32, step: 1, lerp: "step", hidden: true, order: 7, initial: 16 }),
27
+ },
28
+ });
29
+ export const progressiveBlurEffect = effectDataOf(progressiveBlurSpec);
31
30
  //# sourceMappingURL=progressive-blur.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"progressive-blur.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/progressive-blur.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAgB,MAAM,6BAA6B,CAAC;AAyDxE,MAAM,CAAC,MAAM,qBAAqB,GAAsC;IACpE,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;QAC7C,WAAW,EAAE,UAAU,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;QAC5D,KAAK,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK;QACtC,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QAC1C,GAAG,EAAE,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;QACpC,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QAC1C,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;QAC9C,uEAAuE;QACvE,qEAAqE;QACrE,OAAO,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO;QAC5C,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI;KACtC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACb,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;QACrB,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC,WAAW;QAC/B,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK;QACnB,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK;QACnB,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG;QACf,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK;QACnB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;QACzB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;QACzB,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,OAAO;QACvB,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;IACrB,0DAA0D;IAC1D,OAAO,EAAE,QAAQ;CACpB,CAAC","sourcesContent":["import { lerpNumber } from \"@/tween/lerp\";\r\nimport { lerpVector2, type Vector2 } from \"@/attributes/layout/vector2\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\n\r\n/**\r\n * How the blur ramp is laid out across the node.\r\n *\r\n * - `\"linear\"` — the ramp runs along `angle`, so the blur builds from one edge\r\n * toward the other. The gradient/fade-to-blur strip under a toolbar or over\r\n * the bottom of a hero image.\r\n * - `\"radial\"` — the ramp runs outward from `center`, so the middle stays sharp\r\n * and the surround softens. A cheap depth-of-field / tilt-shift.\r\n */\r\nexport type ProgressiveBlurShape = \"linear\" | \"radial\";\r\n\r\n/**\r\n * Blur whose radius *ramps* across the node instead of being uniform.\r\n *\r\n * A plain blur is a constant; this interpolates from `startRadius` to `radius`\r\n * between `start` and `end` along the ramp, which is what makes content appear\r\n * to dissolve into softness rather than simply being out of focus.\r\n *\r\n * **In `mode: 'backdrop'` this is the frosted panel with a falloff** — the\r\n * translucent bar whose blur fades out at its edge instead of stopping at a hard\r\n * line. That is the case a plain backdrop blur cannot express, and the reason\r\n * this effect exists.\r\n *\r\n * Cost scales with `samples`, which are spent on the *widest* part of the ramp;\r\n * pixels below `start` return the source untouched without sampling at all.\r\n */\r\nexport interface ProgressiveBlurEffect extends ModedEffect {\r\n type: \"progressiveBlur\";\r\n /** Blur spread in px at the far end of the ramp. 0 = off. */\r\n radius: number;\r\n /**\r\n * Blur spread in px at the *near* end of the ramp — where the ramp begins,\r\n * rather than where it arrives.\r\n *\r\n * `0` (the default, and what this effect did before the field existed) means\r\n * the ramp starts from sharp. A non-zero value ramps between two softnesses\r\n * instead of out of one, which is what a depth-of-field falloff actually\r\n * looks like: the near field is rarely perfectly sharp either.\r\n */\r\n startRadius: number;\r\n /** How the ramp is laid out. */\r\n shape: ProgressiveBlurShape;\r\n /** 0–1 position along the ramp where the blur starts building. */\r\n start: number;\r\n /** 0–1 position where the blur reaches `radius`. */\r\n end: number;\r\n /** Ramp direction in degrees; 0 = left-to-right. `\"linear\"` only. */\r\n angle: number;\r\n /** Ramp origin in 0–1 layer coords. `\"radial\"` only. */\r\n center: Vector2;\r\n /** Taps averaged at full radius; higher is smoother and slower. */\r\n samples: number;\r\n}\r\n\r\nexport const progressiveBlurEffect: EffectData<ProgressiveBlurEffect> = {\r\n lerp: (from, to, t) => ({\r\n type: \"progressiveBlur\",\r\n radius: lerpNumber(from.radius, to.radius, t),\r\n startRadius: lerpNumber(from.startRadius, to.startRadius, t),\r\n shape: t < 0.5 ? from.shape : to.shape,\r\n start: lerpNumber(from.start, to.start, t),\r\n end: lerpNumber(from.end, to.end, t),\r\n angle: lerpNumber(from.angle, to.angle, t),\r\n center: lerpVector2(from.center, to.center, t),\r\n // A tap count has no meaningful in-between — a fractional sample count\r\n // would just round, so snap and keep the shader's loop bound stable.\r\n samples: t < 0.5 ? from.samples : to.samples,\r\n mode: t < 0.5 ? from.mode : to.mode,\r\n }),\r\n equals: (a, b) =>\r\n a.radius === b.radius &&\r\n a.startRadius === b.startRadius &&\r\n a.shape === b.shape &&\r\n a.start === b.start &&\r\n a.end === b.end &&\r\n a.angle === b.angle &&\r\n a.center.x === b.center.x &&\r\n a.center.y === b.center.y &&\r\n a.samples === b.samples &&\r\n a.mode === b.mode,\r\n // Averages a neighbourhood whose extent varies per pixel.\r\n surface: \"shader\",\r\n};\r\n"]}
1
+ {"version":3,"file":"progressive-blur.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/progressive-blur.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAgCvF,mFAAmF;AACnF,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAC;IAC5C,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,MAAM;IACb,0DAA0D;IAC1D,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;IACtB,MAAM,EAAE;QACJ,oDAAoD;QACpD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QACrF,sGAAsG;QACtG,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QAC3F,mBAAmB;QACnB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAkC,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QAChL,0CAA0C;QAC1C,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QACzG,qCAAqC;QACrC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QACrG,mEAAmE;QACnE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QAC7E,wDAAwD;QACxD,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QACjG,4FAA4F;QAC5F,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;KACtH;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAsC,YAAY,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { CENTER, defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\r\n\r\n/**\r\n * How the blur ramp is laid out across the node.\r\n *\r\n * - `\"linear\"` — the ramp runs along `angle`, so the blur builds from one edge\r\n * toward the other. The gradient/fade-to-blur strip under a toolbar or over\r\n * the bottom of a hero image.\r\n * - `\"radial\"` — the ramp runs outward from `center`, so the middle stays sharp\r\n * and the surround softens. A cheap depth-of-field / tilt-shift.\r\n */\r\nexport type ProgressiveBlurShape = \"linear\" | \"radial\";\r\n\r\n/**\r\n * Blur whose radius *ramps* across the node instead of being uniform.\r\n *\r\n * A plain blur is a constant; this interpolates from `startRadius` to `radius`\r\n * between `start` and `end` along the ramp, which is what makes content appear\r\n * to dissolve into softness rather than simply being out of focus.\r\n *\r\n * **In `mode: 'backdrop'` this is the frosted panel with a falloff** — the\r\n * translucent bar whose blur fades out at its edge instead of stopping at a hard\r\n * line. That is the case a plain backdrop blur cannot express, and the reason\r\n * this effect exists.\r\n *\r\n * Cost scales with `samples`, which are spent on the *widest* part of the ramp;\r\n * pixels below `start` return the source untouched without sampling at all.\r\n */\r\nexport interface ProgressiveBlurEffect extends ModedEffect, EffectFields<typeof progressiveBlurSpec.params> {\r\n type: \"progressiveBlur\";\r\n}\r\n\r\n/** The {@link ProgressiveBlurEffect} spec: its parameters, defaults and ranges. */\r\nexport const progressiveBlurSpec = defineEffect({\r\n type: \"progressiveBlur\",\r\n group: \"blur\",\r\n // Averages a neighbourhood whose extent varies per pixel.\r\n surface: \"shader\",\r\n scalar: \"radius\",\r\n neutral: { radius: 0 },\r\n params: {\r\n /** Blur spread in px at the far end of the ramp. */\r\n radius: param.number({ default: 24, min: 0, unit: \"px\", label: \"endBlur\", order: 2 }),\r\n /** Blur spread in px at the near end of the ramp (0: sharp, what it did before the field existed). */\r\n startRadius: param.number({ default: 0, min: 0, unit: \"px\", label: \"startBlur\", order: 1 }),\r\n /** Ramp layout. */\r\n shape: param.choice([\"linear\", \"radial\"] satisfies ProgressiveBlurShape[], { default: \"linear\", control: \"segmented\", label: \"rampShape\", optionsLabel: \"rampShape\", order: 0 }),\r\n /** 0–1 where the blur starts building. */\r\n start: param.number({ default: 0, min: -0.5, max: 1.5, control: \"slider\", label: \"rampStart\", order: 3 }),\r\n /** 0–1 where it reaches `radius`. */\r\n end: param.number({ default: 1, min: -0.5, max: 1.5, control: \"slider\", label: \"rampEnd\", order: 4 }),\r\n /** Ramp direction in degrees; 0 = left-to-right, 90 = downward. */\r\n angle: param.number({ default: 90, unit: \"deg\", control: \"angle\", order: 5 }),\r\n /** Ramp origin in 0–1 layer coords. `'radial'` only. */\r\n center: param.vec2({ default: CENTER, min: 0, max: 1, step: 0.01, unit: \"normalized\", order: 6 }),\r\n /** Taps averaged at full radius, 2–32. A fractional count would just round, so it snaps. */\r\n samples: param.number({ default: 20, min: 2, max: 32, step: 1, lerp: \"step\", hidden: true, order: 7, initial: 16 }),\r\n },\r\n});\r\n\r\nexport const progressiveBlurEffect: EffectData<ProgressiveBlurEffect> = effectDataOf(progressiveBlurSpec);\r\n"]}
@@ -1,5 +1,5 @@
1
- import type { Vector2 } from "../../../../attributes/layout/vector2.js";
2
1
  import type { ModedEffect, EffectData } from "../effect-data.js";
2
+ import { type EffectFields } from "../spec.js";
3
3
  /**
4
4
  * Which way the samples are smeared around {@link RadialBlurEffect.center}.
5
5
  *
@@ -16,16 +16,55 @@ export type RadialBlurStyle = "zoom" | "spin";
16
16
  * are averaged. The centre stays sharp and the smear grows with distance, which
17
17
  * is what makes it read as speed rather than as softness.
18
18
  */
19
- export interface RadialBlurEffect extends ModedEffect {
19
+ export interface RadialBlurEffect extends ModedEffect, EffectFields<typeof radialBlurSpec.params> {
20
20
  type: "radialBlur";
21
- /** Smear length as a fraction of the node's half-extent (zoom) or of a turn (spin). 0 = off. */
22
- amount: number;
23
- /** Radial rush or rotational streak. */
24
- style: RadialBlurStyle;
25
- /** Centre of the blur in 0–1 layer coords (default middle). */
26
- center: Vector2;
27
- /** Taps averaged per pixel; higher is smoother and slower. */
28
- samples: number;
29
21
  }
22
+ /** The {@link RadialBlurEffect} spec: its parameters, defaults and ranges. */
23
+ export declare const radialBlurSpec: import("../spec.js").EffectSpec<"radialBlur", {
24
+ /** Smear length, 0–1. */
25
+ readonly amount: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
26
+ readonly default: 0.5;
27
+ readonly min: 0;
28
+ readonly max: 1;
29
+ readonly control: "slider";
30
+ readonly inline: true;
31
+ readonly order: 1;
32
+ }> & {
33
+ kind: "number";
34
+ };
35
+ /** Radial rush (`'zoom'`) or rotational streak (`'spin'`). */
36
+ readonly style: import("../spec.js").EffectParamDef<"zoom" | "spin", "zoom" | "spin"> & NoInfer<{
37
+ readonly default: "zoom";
38
+ readonly control: "segmented";
39
+ readonly optionsLabel: "radialBlurStyle";
40
+ readonly order: 0;
41
+ }> & {
42
+ kind: "enum";
43
+ options: readonly ("zoom" | "spin")[];
44
+ };
45
+ /** Blur centre in 0–1 layer coords. */
46
+ readonly center: import("../spec.js").EffectParamDef<import("../../../index.js").Vector2, import("../../../index.js").Vector2> & NoInfer<{
47
+ readonly default: import("../../../index.js").Vector2;
48
+ readonly min: 0;
49
+ readonly max: 1;
50
+ readonly step: 0.01;
51
+ readonly unit: "normalized";
52
+ readonly order: 2;
53
+ }> & {
54
+ kind: "vec2";
55
+ };
56
+ /** Taps averaged per pixel (max 32). A quality knob, so it snaps. */
57
+ readonly samples: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
58
+ readonly default: 16;
59
+ readonly min: 2;
60
+ readonly max: 32;
61
+ readonly step: 1;
62
+ readonly lerp: "step";
63
+ readonly hidden: true;
64
+ readonly order: 3;
65
+ }> & {
66
+ kind: "number";
67
+ };
68
+ }>;
30
69
  export declare const radialBlurEffect: EffectData<RadialBlurEffect>;
31
70
  //# sourceMappingURL=radial-blur.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radial-blur.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/radial-blur.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACjD,IAAI,EAAE,YAAY,CAAC;IACnB,gGAAgG;IAChG,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,KAAK,EAAE,eAAe,CAAC;IACvB,+DAA+D;IAC/D,MAAM,EAAE,OAAO,CAAC;IAChB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,gBAAgB,CAoBzD,CAAC"}
1
+ {"version":3,"file":"radial-blur.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/radial-blur.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAA6C,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvF;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,MAAM,CAAC;IAC7F,IAAI,EAAE,YAAY,CAAC;CACtB;AAED,8EAA8E;AAC9E,eAAO,MAAM,cAAc;IAQnB,yBAAyB;;;;;;;;;;;IAEzB,8DAA8D;;;;;;;;;;IAE9D,uCAAuC;;;;;;;;;;;IAEvC,qEAAqE;;;;;;;;;;;;EAG3E,CAAC;AAEH,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,gBAAgB,CAAgC,CAAC"}