@appinternalleads/ui 0.4.0 → 0.4.2

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 (901) hide show
  1. package/README.md +92 -0
  2. package/dist/cjs/agent/AgentComponent.js +1 -1
  3. package/dist/cjs/agent/AgentComponent.js.map +1 -1
  4. package/dist/cjs/agent/manifests.js +81 -1
  5. package/dist/cjs/agent/manifests.js.map +1 -1
  6. package/dist/cjs/agent/result.js +6 -0
  7. package/dist/cjs/agent/result.js.map +1 -1
  8. package/dist/cjs/components/catalog.js +18 -0
  9. package/dist/cjs/components/catalog.js.map +1 -1
  10. package/dist/cjs/components/onboarding/animated-status/AnimatedStage.js +21 -0
  11. package/dist/cjs/components/onboarding/animated-status/AnimatedStage.js.map +1 -0
  12. package/dist/cjs/components/onboarding/animated-status/AnimatedStage.types.js +6 -0
  13. package/dist/cjs/components/onboarding/animated-status/AnimatedStage.types.js.map +1 -0
  14. package/dist/cjs/components/onboarding/animated-status/AnimatedStage.web.js +89 -0
  15. package/dist/cjs/components/onboarding/animated-status/AnimatedStage.web.js.map +1 -0
  16. package/dist/cjs/components/onboarding/animated-status/AnimatedStatusView.js +62 -0
  17. package/dist/cjs/components/onboarding/animated-status/AnimatedStatusView.js.map +1 -0
  18. package/dist/cjs/components/onboarding/animated-status/AnimatedStill.js +20 -0
  19. package/dist/cjs/components/onboarding/animated-status/AnimatedStill.js.map +1 -0
  20. package/dist/cjs/components/onboarding/animated-status/contract.js +87 -0
  21. package/dist/cjs/components/onboarding/animated-status/contract.js.map +1 -0
  22. package/dist/cjs/components/onboarding/animated-status/engine.js +40 -0
  23. package/dist/cjs/components/onboarding/animated-status/engine.js.map +1 -0
  24. package/dist/cjs/components/onboarding/animated-status/index.js +20 -0
  25. package/dist/cjs/components/onboarding/animated-status/index.js.map +1 -0
  26. package/dist/cjs/components/onboarding/animated-status/presets.json +126 -0
  27. package/dist/cjs/components/onboarding/animated-status/riv.js +7 -0
  28. package/dist/cjs/components/onboarding/animated-status/riv.js.map +1 -0
  29. package/dist/cjs/components/onboarding/index.js +4 -0
  30. package/dist/cjs/components/onboarding/index.js.map +1 -1
  31. package/dist/cjs/components/onboarding/presets.js +90 -84
  32. package/dist/cjs/components/onboarding/presets.js.map +1 -1
  33. package/dist/cjs/components/onboarding/receipt-printer/ReceiptStage.js +43 -6
  34. package/dist/cjs/components/onboarding/receipt-printer/ReceiptStage.js.map +1 -1
  35. package/dist/cjs/components/onboarding/send-completion/SendCompletionView.js +111 -0
  36. package/dist/cjs/components/onboarding/send-completion/SendCompletionView.js.map +1 -0
  37. package/dist/cjs/components/onboarding/send-completion/SendStage.js +37 -0
  38. package/dist/cjs/components/onboarding/send-completion/SendStage.js.map +1 -0
  39. package/dist/cjs/components/onboarding/send-completion/SendStage.types.js +6 -0
  40. package/dist/cjs/components/onboarding/send-completion/SendStage.types.js.map +1 -0
  41. package/dist/cjs/components/onboarding/send-completion/SendStage.web.js +107 -0
  42. package/dist/cjs/components/onboarding/send-completion/SendStage.web.js.map +1 -0
  43. package/dist/cjs/components/onboarding/send-completion/SendStill.js +17 -0
  44. package/dist/cjs/components/onboarding/send-completion/SendStill.js.map +1 -0
  45. package/dist/cjs/components/onboarding/send-completion/contract.js +83 -0
  46. package/dist/cjs/components/onboarding/send-completion/contract.js.map +1 -0
  47. package/dist/cjs/components/onboarding/send-completion/engine.js +32 -0
  48. package/dist/cjs/components/onboarding/send-completion/engine.js.map +1 -0
  49. package/dist/cjs/components/onboarding/send-completion/index.js +22 -0
  50. package/dist/cjs/components/onboarding/send-completion/index.js.map +1 -0
  51. package/dist/cjs/components/onboarding/send-completion/presets.json +132 -0
  52. package/dist/cjs/components/onboarding/send-completion/riv.js +7 -0
  53. package/dist/cjs/components/onboarding/send-completion/riv.js.map +1 -0
  54. package/dist/cjs/components/onboarding/shared/actions-data.js +2 -0
  55. package/dist/cjs/components/onboarding/shared/actions-data.js.map +1 -1
  56. package/dist/cjs/components/onboarding/shared/configColor.js +76 -0
  57. package/dist/cjs/components/onboarding/shared/configColor.js.map +1 -0
  58. package/dist/cjs/components/onboarding/shared/contract.js +4 -0
  59. package/dist/cjs/components/onboarding/shared/contract.js.map +1 -1
  60. package/dist/cjs/components/onboarding/shared/describe.js +1 -1
  61. package/dist/cjs/components/onboarding/shared/describe.js.map +1 -1
  62. package/dist/cjs/components/onboarding/shared/mock.js +2 -0
  63. package/dist/cjs/components/onboarding/shared/mock.js.map +1 -1
  64. package/dist/cjs/components/onboarding/views.js +8 -0
  65. package/dist/cjs/components/onboarding/views.js.map +1 -1
  66. package/dist/cjs/motion/MotionPlayer.js +42 -0
  67. package/dist/cjs/motion/MotionPlayer.js.map +1 -0
  68. package/dist/cjs/motion/agent.js +323 -0
  69. package/dist/cjs/motion/agent.js.map +1 -0
  70. package/dist/cjs/motion/cat/Cat.js +79 -0
  71. package/dist/cjs/motion/cat/Cat.js.map +1 -0
  72. package/dist/cjs/motion/cat/animation.js +204 -0
  73. package/dist/cjs/motion/cat/animation.js.map +1 -0
  74. package/dist/cjs/motion/cat/art.generated.js +37 -0
  75. package/dist/cjs/motion/cat/art.generated.js.map +1 -0
  76. package/dist/cjs/motion/cat/config.js +136 -0
  77. package/dist/cjs/motion/cat/config.js.map +1 -0
  78. package/dist/cjs/motion/cat/index.js +75 -0
  79. package/dist/cjs/motion/cat/index.js.map +1 -0
  80. package/dist/cjs/motion/cat/rig.js +99 -0
  81. package/dist/cjs/motion/cat/rig.js.map +1 -0
  82. package/dist/cjs/motion/cat/scene.js +148 -0
  83. package/dist/cjs/motion/cat/scene.js.map +1 -0
  84. package/dist/cjs/motion/configurable/config.js +477 -0
  85. package/dist/cjs/motion/configurable/config.js.map +1 -0
  86. package/dist/cjs/motion/configurable/controls.js +44 -0
  87. package/dist/cjs/motion/configurable/controls.js.map +1 -0
  88. package/dist/cjs/motion/easing.js +62 -0
  89. package/dist/cjs/motion/easing.js.map +1 -0
  90. package/dist/cjs/motion/fit.js +12 -0
  91. package/dist/cjs/motion/fit.js.map +1 -0
  92. package/dist/cjs/motion/index.js +101 -0
  93. package/dist/cjs/motion/index.js.map +1 -0
  94. package/dist/cjs/motion/neon/GlowRenderer.js +18 -0
  95. package/dist/cjs/motion/neon/GlowRenderer.js.map +1 -0
  96. package/dist/cjs/motion/neon/NeonCanvas.js +97 -0
  97. package/dist/cjs/motion/neon/NeonCanvas.js.map +1 -0
  98. package/dist/cjs/motion/neon/NeonText.js +108 -0
  99. package/dist/cjs/motion/neon/NeonText.js.map +1 -0
  100. package/dist/cjs/motion/neon/NeonTextFrame.js +36 -0
  101. package/dist/cjs/motion/neon/NeonTextFrame.js.map +1 -0
  102. package/dist/cjs/motion/neon/artwork.js +102 -0
  103. package/dist/cjs/motion/neon/artwork.js.map +1 -0
  104. package/dist/cjs/motion/neon/audio.js +165 -0
  105. package/dist/cjs/motion/neon/audio.js.map +1 -0
  106. package/dist/cjs/motion/neon/config.js +334 -0
  107. package/dist/cjs/motion/neon/config.js.map +1 -0
  108. package/dist/cjs/motion/neon/flicker.js +196 -0
  109. package/dist/cjs/motion/neon/flicker.js.map +1 -0
  110. package/dist/cjs/motion/neon/fonts.js +52 -0
  111. package/dist/cjs/motion/neon/fonts.js.map +1 -0
  112. package/dist/cjs/motion/neon/frame.js +24 -0
  113. package/dist/cjs/motion/neon/frame.js.map +1 -0
  114. package/dist/cjs/motion/neon/glitch.js +114 -0
  115. package/dist/cjs/motion/neon/glitch.js.map +1 -0
  116. package/dist/cjs/motion/neon/index.js +119 -0
  117. package/dist/cjs/motion/neon/index.js.map +1 -0
  118. package/dist/cjs/motion/neon/layers.js +68 -0
  119. package/dist/cjs/motion/neon/layers.js.map +1 -0
  120. package/dist/cjs/motion/neon/material.js +56 -0
  121. package/dist/cjs/motion/neon/material.js.map +1 -0
  122. package/dist/cjs/motion/neon/random.js +43 -0
  123. package/dist/cjs/motion/neon/random.js.map +1 -0
  124. package/dist/cjs/motion/neon/scene.js +549 -0
  125. package/dist/cjs/motion/neon/scene.js.map +1 -0
  126. package/dist/cjs/motion/neon/synth.js +213 -0
  127. package/dist/cjs/motion/neon/synth.js.map +1 -0
  128. package/dist/cjs/motion/neon/typography.js +81 -0
  129. package/dist/cjs/motion/neon/typography.js.map +1 -0
  130. package/dist/cjs/motion/neon/wall.js +113 -0
  131. package/dist/cjs/motion/neon/wall.js.map +1 -0
  132. package/dist/cjs/motion/paperfold/PaperFold.js +40 -0
  133. package/dist/cjs/motion/paperfold/PaperFold.js.map +1 -0
  134. package/dist/cjs/motion/paperfold/PaperFoldFrame.js +290 -0
  135. package/dist/cjs/motion/paperfold/PaperFoldFrame.js.map +1 -0
  136. package/dist/cjs/motion/paperfold/PaperFoldPlayer.js +59 -0
  137. package/dist/cjs/motion/paperfold/PaperFoldPlayer.js.map +1 -0
  138. package/dist/cjs/motion/paperfold/art.js +388 -0
  139. package/dist/cjs/motion/paperfold/art.js.map +1 -0
  140. package/dist/cjs/motion/paperfold/config.js +103 -0
  141. package/dist/cjs/motion/paperfold/config.js.map +1 -0
  142. package/dist/cjs/motion/paperfold/controls.js +493 -0
  143. package/dist/cjs/motion/paperfold/controls.js.map +1 -0
  144. package/dist/cjs/motion/paperfold/engine.js +722 -0
  145. package/dist/cjs/motion/paperfold/engine.js.map +1 -0
  146. package/dist/cjs/motion/paperfold/fonts.js +25 -0
  147. package/dist/cjs/motion/paperfold/fonts.js.map +1 -0
  148. package/dist/cjs/motion/paperfold/index.js +113 -0
  149. package/dist/cjs/motion/paperfold/index.js.map +1 -0
  150. package/dist/cjs/motion/paperfold/manipulate.js +170 -0
  151. package/dist/cjs/motion/paperfold/manipulate.js.map +1 -0
  152. package/dist/cjs/motion/paperfold/presets.js +119 -0
  153. package/dist/cjs/motion/paperfold/presets.js.map +1 -0
  154. package/dist/cjs/motion/paperfold/template.js +40 -0
  155. package/dist/cjs/motion/paperfold/template.js.map +1 -0
  156. package/dist/cjs/motion/player.js +203 -0
  157. package/dist/cjs/motion/player.js.map +1 -0
  158. package/dist/cjs/motion/promo/PromoFrame.js +293 -0
  159. package/dist/cjs/motion/promo/PromoFrame.js.map +1 -0
  160. package/dist/cjs/motion/promo/PromoShowcasePlayer.js +59 -0
  161. package/dist/cjs/motion/promo/PromoShowcasePlayer.js.map +1 -0
  162. package/dist/cjs/motion/promo/config.js +565 -0
  163. package/dist/cjs/motion/promo/config.js.map +1 -0
  164. package/dist/cjs/motion/promo/controls.js +571 -0
  165. package/dist/cjs/motion/promo/controls.js.map +1 -0
  166. package/dist/cjs/motion/promo/easing.js +35 -0
  167. package/dist/cjs/motion/promo/easing.js.map +1 -0
  168. package/dist/cjs/motion/promo/engine.js +567 -0
  169. package/dist/cjs/motion/promo/engine.js.map +1 -0
  170. package/dist/cjs/motion/promo/fonts.js +20 -0
  171. package/dist/cjs/motion/promo/fonts.js.map +1 -0
  172. package/dist/cjs/motion/promo/icons.js +29 -0
  173. package/dist/cjs/motion/promo/icons.js.map +1 -0
  174. package/dist/cjs/motion/promo/index.js +73 -0
  175. package/dist/cjs/motion/promo/index.js.map +1 -0
  176. package/dist/cjs/motion/promo/presets.js +44 -0
  177. package/dist/cjs/motion/promo/presets.js.map +1 -0
  178. package/dist/cjs/motion/promo/template.js +38 -0
  179. package/dist/cjs/motion/promo/template.js.map +1 -0
  180. package/dist/cjs/motion/replication2/Replication2Player.js +93 -0
  181. package/dist/cjs/motion/replication2/Replication2Player.js.map +1 -0
  182. package/dist/cjs/motion/replication2/config.js +352 -0
  183. package/dist/cjs/motion/replication2/config.js.map +1 -0
  184. package/dist/cjs/motion/replication2/controls.js +286 -0
  185. package/dist/cjs/motion/replication2/controls.js.map +1 -0
  186. package/dist/cjs/motion/replication2/driver.js +68 -0
  187. package/dist/cjs/motion/replication2/driver.js.map +1 -0
  188. package/dist/cjs/motion/replication2/easing.js +97 -0
  189. package/dist/cjs/motion/replication2/easing.js.map +1 -0
  190. package/dist/cjs/motion/replication2/engine.js +481 -0
  191. package/dist/cjs/motion/replication2/engine.js.map +1 -0
  192. package/dist/cjs/motion/replication2/html.js +88 -0
  193. package/dist/cjs/motion/replication2/html.js.map +1 -0
  194. package/dist/cjs/motion/replication2/index.js +61 -0
  195. package/dist/cjs/motion/replication2/index.js.map +1 -0
  196. package/dist/cjs/motion/replication2/measure.js +30 -0
  197. package/dist/cjs/motion/replication2/measure.js.map +1 -0
  198. package/dist/cjs/motion/replication2/metrics.js +10 -0
  199. package/dist/cjs/motion/replication2/metrics.js.map +1 -0
  200. package/dist/cjs/motion/replication2/presets.js +67 -0
  201. package/dist/cjs/motion/replication2/presets.js.map +1 -0
  202. package/dist/cjs/motion/replication2/riv.js +7 -0
  203. package/dist/cjs/motion/replication2/riv.js.map +1 -0
  204. package/dist/cjs/motion/replication2/rive-contract.js +158 -0
  205. package/dist/cjs/motion/replication2/rive-contract.js.map +1 -0
  206. package/dist/cjs/motion/replication2/template.js +35 -0
  207. package/dist/cjs/motion/replication2/template.js.map +1 -0
  208. package/dist/cjs/motion/sample.js +149 -0
  209. package/dist/cjs/motion/sample.js.map +1 -0
  210. package/dist/cjs/motion/templates/hey-template.js +1552 -0
  211. package/dist/cjs/motion/templates/hey-template.js.map +1 -0
  212. package/dist/cjs/motion/templates/index.js +22 -0
  213. package/dist/cjs/motion/templates/index.js.map +1 -0
  214. package/dist/cjs/motion/templates/word-motion.js +1165 -0
  215. package/dist/cjs/motion/templates/word-motion.js.map +1 -0
  216. package/dist/cjs/motion/types.js +3 -0
  217. package/dist/cjs/motion/types.js.map +1 -0
  218. package/dist/cjs/motion/typesurface/TypeSurfaceCanvas.js +85 -0
  219. package/dist/cjs/motion/typesurface/TypeSurfaceCanvas.js.map +1 -0
  220. package/dist/cjs/motion/typesurface/art.js +861 -0
  221. package/dist/cjs/motion/typesurface/art.js.map +1 -0
  222. package/dist/cjs/motion/typesurface/config.js +289 -0
  223. package/dist/cjs/motion/typesurface/config.js.map +1 -0
  224. package/dist/cjs/motion/typesurface/construct.js +875 -0
  225. package/dist/cjs/motion/typesurface/construct.js.map +1 -0
  226. package/dist/cjs/motion/typesurface/engine.js +631 -0
  227. package/dist/cjs/motion/typesurface/engine.js.map +1 -0
  228. package/dist/cjs/motion/typesurface/fonts.js +45 -0
  229. package/dist/cjs/motion/typesurface/fonts.js.map +1 -0
  230. package/dist/cjs/motion/typesurface/index.js +80 -0
  231. package/dist/cjs/motion/typesurface/index.js.map +1 -0
  232. package/dist/cjs/motion/typesurface/layout.js +130 -0
  233. package/dist/cjs/motion/typesurface/layout.js.map +1 -0
  234. package/dist/cjs/motion/typesurface/ops.js +175 -0
  235. package/dist/cjs/motion/typesurface/ops.js.map +1 -0
  236. package/dist/cjs/motion/typesurface/presets.js +259 -0
  237. package/dist/cjs/motion/typesurface/presets.js.map +1 -0
  238. package/dist/cjs/motion/typesurface/renderer.js +738 -0
  239. package/dist/cjs/motion/typesurface/renderer.js.map +1 -0
  240. package/dist/cjs/motion/typesurface/shaders.js +322 -0
  241. package/dist/cjs/motion/typesurface/shaders.js.map +1 -0
  242. package/dist/cjs/motion/typesurface/surfaces.js +225 -0
  243. package/dist/cjs/motion/typesurface/surfaces.js.map +1 -0
  244. package/dist/cjs/motion/typesurface/text.js +34 -0
  245. package/dist/cjs/motion/typesurface/text.js.map +1 -0
  246. package/dist/cjs/motion/typesurface/timeline.js +64 -0
  247. package/dist/cjs/motion/typesurface/timeline.js.map +1 -0
  248. package/dist/cjs/motion/validate.js +89 -0
  249. package/dist/cjs/motion/validate.js.map +1 -0
  250. package/dist/cjs/native/RiveReceiptStage.js +9 -150
  251. package/dist/cjs/native/RiveReceiptStage.js.map +1 -1
  252. package/dist/cjs/native/riveReceiptStageFactory.js +162 -0
  253. package/dist/cjs/native/riveReceiptStageFactory.js.map +1 -0
  254. package/dist/cjs/tokens/stage.js +10 -0
  255. package/dist/cjs/tokens/stage.js.map +1 -0
  256. package/dist/esm/agent/AgentComponent.js +1 -1
  257. package/dist/esm/agent/AgentComponent.js.map +1 -1
  258. package/dist/esm/agent/manifests.d.ts.map +1 -1
  259. package/dist/esm/agent/manifests.js +81 -1
  260. package/dist/esm/agent/manifests.js.map +1 -1
  261. package/dist/esm/agent/result.d.ts.map +1 -1
  262. package/dist/esm/agent/result.js +6 -0
  263. package/dist/esm/agent/result.js.map +1 -1
  264. package/dist/esm/agent/types.d.ts +1 -1
  265. package/dist/esm/agent/types.d.ts.map +1 -1
  266. package/dist/esm/components/catalog.d.ts +1 -1
  267. package/dist/esm/components/catalog.d.ts.map +1 -1
  268. package/dist/esm/components/catalog.js +18 -0
  269. package/dist/esm/components/catalog.js.map +1 -1
  270. package/dist/esm/components/onboarding/animated-status/AnimatedStage.d.ts +9 -0
  271. package/dist/esm/components/onboarding/animated-status/AnimatedStage.d.ts.map +1 -0
  272. package/dist/esm/components/onboarding/animated-status/AnimatedStage.js +18 -0
  273. package/dist/esm/components/onboarding/animated-status/AnimatedStage.js.map +1 -0
  274. package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.d.ts +31 -0
  275. package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.d.ts.map +1 -0
  276. package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.js +3 -0
  277. package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.js.map +1 -0
  278. package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.d.ts +4 -0
  279. package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.d.ts.map +1 -0
  280. package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.js +86 -0
  281. package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.js.map +1 -0
  282. package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.d.ts +32 -0
  283. package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.d.ts.map +1 -0
  284. package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.js +59 -0
  285. package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.js.map +1 -0
  286. package/dist/esm/components/onboarding/animated-status/AnimatedStill.d.ts +8 -0
  287. package/dist/esm/components/onboarding/animated-status/AnimatedStill.d.ts.map +1 -0
  288. package/dist/esm/components/onboarding/animated-status/AnimatedStill.js +17 -0
  289. package/dist/esm/components/onboarding/animated-status/AnimatedStill.js.map +1 -0
  290. package/dist/esm/components/onboarding/animated-status/contract.d.ts +61 -0
  291. package/dist/esm/components/onboarding/animated-status/contract.d.ts.map +1 -0
  292. package/dist/esm/components/onboarding/animated-status/contract.js +78 -0
  293. package/dist/esm/components/onboarding/animated-status/contract.js.map +1 -0
  294. package/dist/esm/components/onboarding/animated-status/engine.d.ts +24 -0
  295. package/dist/esm/components/onboarding/animated-status/engine.d.ts.map +1 -0
  296. package/dist/esm/components/onboarding/animated-status/engine.js +32 -0
  297. package/dist/esm/components/onboarding/animated-status/engine.js.map +1 -0
  298. package/dist/esm/components/onboarding/animated-status/index.d.ts +5 -0
  299. package/dist/esm/components/onboarding/animated-status/index.d.ts.map +1 -0
  300. package/dist/esm/components/onboarding/animated-status/index.js +4 -0
  301. package/dist/esm/components/onboarding/animated-status/index.js.map +1 -0
  302. package/dist/esm/components/onboarding/animated-status/presets.json +126 -0
  303. package/dist/esm/components/onboarding/animated-status/riv.d.ts +3 -0
  304. package/dist/esm/components/onboarding/animated-status/riv.d.ts.map +1 -0
  305. package/dist/esm/components/onboarding/animated-status/riv.js +4 -0
  306. package/dist/esm/components/onboarding/animated-status/riv.js.map +1 -0
  307. package/dist/esm/components/onboarding/index.d.ts +2 -0
  308. package/dist/esm/components/onboarding/index.d.ts.map +1 -1
  309. package/dist/esm/components/onboarding/index.js +4 -0
  310. package/dist/esm/components/onboarding/index.js.map +1 -1
  311. package/dist/esm/components/onboarding/presets.d.ts.map +1 -1
  312. package/dist/esm/components/onboarding/presets.js +6 -0
  313. package/dist/esm/components/onboarding/presets.js.map +1 -1
  314. package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.d.ts +4 -6
  315. package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.d.ts.map +1 -1
  316. package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.js +42 -6
  317. package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.js.map +1 -1
  318. package/dist/esm/components/onboarding/send-completion/SendCompletionView.d.ts +47 -0
  319. package/dist/esm/components/onboarding/send-completion/SendCompletionView.d.ts.map +1 -0
  320. package/dist/esm/components/onboarding/send-completion/SendCompletionView.js +108 -0
  321. package/dist/esm/components/onboarding/send-completion/SendCompletionView.js.map +1 -0
  322. package/dist/esm/components/onboarding/send-completion/SendStage.d.ts +9 -0
  323. package/dist/esm/components/onboarding/send-completion/SendStage.d.ts.map +1 -0
  324. package/dist/esm/components/onboarding/send-completion/SendStage.js +34 -0
  325. package/dist/esm/components/onboarding/send-completion/SendStage.js.map +1 -0
  326. package/dist/esm/components/onboarding/send-completion/SendStage.types.d.ts +33 -0
  327. package/dist/esm/components/onboarding/send-completion/SendStage.types.d.ts.map +1 -0
  328. package/dist/esm/components/onboarding/send-completion/SendStage.types.js +3 -0
  329. package/dist/esm/components/onboarding/send-completion/SendStage.types.js.map +1 -0
  330. package/dist/esm/components/onboarding/send-completion/SendStage.web.d.ts +4 -0
  331. package/dist/esm/components/onboarding/send-completion/SendStage.web.d.ts.map +1 -0
  332. package/dist/esm/components/onboarding/send-completion/SendStage.web.js +104 -0
  333. package/dist/esm/components/onboarding/send-completion/SendStage.web.js.map +1 -0
  334. package/dist/esm/components/onboarding/send-completion/SendStill.d.ts +11 -0
  335. package/dist/esm/components/onboarding/send-completion/SendStill.d.ts.map +1 -0
  336. package/dist/esm/components/onboarding/send-completion/SendStill.js +14 -0
  337. package/dist/esm/components/onboarding/send-completion/SendStill.js.map +1 -0
  338. package/dist/esm/components/onboarding/send-completion/contract.d.ts +99 -0
  339. package/dist/esm/components/onboarding/send-completion/contract.d.ts.map +1 -0
  340. package/dist/esm/components/onboarding/send-completion/contract.js +76 -0
  341. package/dist/esm/components/onboarding/send-completion/contract.js.map +1 -0
  342. package/dist/esm/components/onboarding/send-completion/engine.d.ts +20 -0
  343. package/dist/esm/components/onboarding/send-completion/engine.d.ts.map +1 -0
  344. package/dist/esm/components/onboarding/send-completion/engine.js +28 -0
  345. package/dist/esm/components/onboarding/send-completion/engine.js.map +1 -0
  346. package/dist/esm/components/onboarding/send-completion/index.d.ts +6 -0
  347. package/dist/esm/components/onboarding/send-completion/index.d.ts.map +1 -0
  348. package/dist/esm/components/onboarding/send-completion/index.js +6 -0
  349. package/dist/esm/components/onboarding/send-completion/index.js.map +1 -0
  350. package/dist/esm/components/onboarding/send-completion/presets.json +132 -0
  351. package/dist/esm/components/onboarding/send-completion/riv.d.ts +3 -0
  352. package/dist/esm/components/onboarding/send-completion/riv.d.ts.map +1 -0
  353. package/dist/esm/components/onboarding/send-completion/riv.js +4 -0
  354. package/dist/esm/components/onboarding/send-completion/riv.js.map +1 -0
  355. package/dist/esm/components/onboarding/shared/actions-data.d.ts.map +1 -1
  356. package/dist/esm/components/onboarding/shared/actions-data.js +2 -0
  357. package/dist/esm/components/onboarding/shared/actions-data.js.map +1 -1
  358. package/dist/esm/components/onboarding/shared/configColor.d.ts +29 -0
  359. package/dist/esm/components/onboarding/shared/configColor.d.ts.map +1 -0
  360. package/dist/esm/components/onboarding/shared/configColor.js +69 -0
  361. package/dist/esm/components/onboarding/shared/configColor.js.map +1 -0
  362. package/dist/esm/components/onboarding/shared/contract.d.ts +1 -1
  363. package/dist/esm/components/onboarding/shared/contract.d.ts.map +1 -1
  364. package/dist/esm/components/onboarding/shared/contract.js +4 -0
  365. package/dist/esm/components/onboarding/shared/contract.js.map +1 -1
  366. package/dist/esm/components/onboarding/shared/describe.d.ts.map +1 -1
  367. package/dist/esm/components/onboarding/shared/describe.js +1 -1
  368. package/dist/esm/components/onboarding/shared/describe.js.map +1 -1
  369. package/dist/esm/components/onboarding/shared/mock.d.ts +2 -0
  370. package/dist/esm/components/onboarding/shared/mock.d.ts.map +1 -1
  371. package/dist/esm/components/onboarding/shared/mock.js +2 -0
  372. package/dist/esm/components/onboarding/shared/mock.js.map +1 -1
  373. package/dist/esm/components/onboarding/views.d.ts.map +1 -1
  374. package/dist/esm/components/onboarding/views.js +8 -0
  375. package/dist/esm/components/onboarding/views.js.map +1 -1
  376. package/dist/esm/motion/MotionPlayer.d.ts +22 -0
  377. package/dist/esm/motion/MotionPlayer.d.ts.map +1 -0
  378. package/dist/esm/motion/MotionPlayer.js +39 -0
  379. package/dist/esm/motion/MotionPlayer.js.map +1 -0
  380. package/dist/esm/motion/agent.d.ts +146 -0
  381. package/dist/esm/motion/agent.d.ts.map +1 -0
  382. package/dist/esm/motion/agent.js +278 -0
  383. package/dist/esm/motion/agent.js.map +1 -0
  384. package/dist/esm/motion/cat/Cat.d.ts +43 -0
  385. package/dist/esm/motion/cat/Cat.d.ts.map +1 -0
  386. package/dist/esm/motion/cat/Cat.js +74 -0
  387. package/dist/esm/motion/cat/Cat.js.map +1 -0
  388. package/dist/esm/motion/cat/animation.d.ts +86 -0
  389. package/dist/esm/motion/cat/animation.d.ts.map +1 -0
  390. package/dist/esm/motion/cat/animation.js +193 -0
  391. package/dist/esm/motion/cat/animation.js.map +1 -0
  392. package/dist/esm/motion/cat/art.generated.d.ts +53 -0
  393. package/dist/esm/motion/cat/art.generated.d.ts.map +1 -0
  394. package/dist/esm/motion/cat/art.generated.js +34 -0
  395. package/dist/esm/motion/cat/art.generated.js.map +1 -0
  396. package/dist/esm/motion/cat/config.d.ts +103 -0
  397. package/dist/esm/motion/cat/config.d.ts.map +1 -0
  398. package/dist/esm/motion/cat/config.js +129 -0
  399. package/dist/esm/motion/cat/config.js.map +1 -0
  400. package/dist/esm/motion/cat/index.d.ts +13 -0
  401. package/dist/esm/motion/cat/index.d.ts.map +1 -0
  402. package/dist/esm/motion/cat/index.js +13 -0
  403. package/dist/esm/motion/cat/index.js.map +1 -0
  404. package/dist/esm/motion/cat/rig.d.ts +44 -0
  405. package/dist/esm/motion/cat/rig.d.ts.map +1 -0
  406. package/dist/esm/motion/cat/rig.js +86 -0
  407. package/dist/esm/motion/cat/rig.js.map +1 -0
  408. package/dist/esm/motion/cat/scene.d.ts +66 -0
  409. package/dist/esm/motion/cat/scene.d.ts.map +1 -0
  410. package/dist/esm/motion/cat/scene.js +137 -0
  411. package/dist/esm/motion/cat/scene.js.map +1 -0
  412. package/dist/esm/motion/configurable/config.d.ts +80 -0
  413. package/dist/esm/motion/configurable/config.d.ts.map +1 -0
  414. package/dist/esm/motion/configurable/config.js +468 -0
  415. package/dist/esm/motion/configurable/config.js.map +1 -0
  416. package/dist/esm/motion/configurable/controls.d.ts +74 -0
  417. package/dist/esm/motion/configurable/controls.d.ts.map +1 -0
  418. package/dist/esm/motion/configurable/controls.js +38 -0
  419. package/dist/esm/motion/configurable/controls.js.map +1 -0
  420. package/dist/esm/motion/easing.d.ts +4 -0
  421. package/dist/esm/motion/easing.d.ts.map +1 -0
  422. package/dist/esm/motion/easing.js +58 -0
  423. package/dist/esm/motion/easing.js.map +1 -0
  424. package/dist/esm/motion/fit.d.ts +8 -0
  425. package/dist/esm/motion/fit.d.ts.map +1 -0
  426. package/dist/esm/motion/fit.js +8 -0
  427. package/dist/esm/motion/fit.js.map +1 -0
  428. package/dist/esm/motion/index.d.ts +27 -0
  429. package/dist/esm/motion/index.d.ts.map +1 -0
  430. package/dist/esm/motion/index.js +21 -0
  431. package/dist/esm/motion/index.js.map +1 -0
  432. package/dist/esm/motion/neon/GlowRenderer.d.ts +31 -0
  433. package/dist/esm/motion/neon/GlowRenderer.d.ts.map +1 -0
  434. package/dist/esm/motion/neon/GlowRenderer.js +14 -0
  435. package/dist/esm/motion/neon/GlowRenderer.js.map +1 -0
  436. package/dist/esm/motion/neon/NeonCanvas.d.ts +42 -0
  437. package/dist/esm/motion/neon/NeonCanvas.d.ts.map +1 -0
  438. package/dist/esm/motion/neon/NeonCanvas.js +92 -0
  439. package/dist/esm/motion/neon/NeonCanvas.js.map +1 -0
  440. package/dist/esm/motion/neon/NeonText.d.ts +26 -0
  441. package/dist/esm/motion/neon/NeonText.d.ts.map +1 -0
  442. package/dist/esm/motion/neon/NeonText.js +103 -0
  443. package/dist/esm/motion/neon/NeonText.js.map +1 -0
  444. package/dist/esm/motion/neon/NeonTextFrame.d.ts +29 -0
  445. package/dist/esm/motion/neon/NeonTextFrame.d.ts.map +1 -0
  446. package/dist/esm/motion/neon/NeonTextFrame.js +33 -0
  447. package/dist/esm/motion/neon/NeonTextFrame.js.map +1 -0
  448. package/dist/esm/motion/neon/artwork.d.ts +29 -0
  449. package/dist/esm/motion/neon/artwork.d.ts.map +1 -0
  450. package/dist/esm/motion/neon/artwork.js +98 -0
  451. package/dist/esm/motion/neon/artwork.js.map +1 -0
  452. package/dist/esm/motion/neon/audio.d.ts +49 -0
  453. package/dist/esm/motion/neon/audio.d.ts.map +1 -0
  454. package/dist/esm/motion/neon/audio.js +161 -0
  455. package/dist/esm/motion/neon/audio.js.map +1 -0
  456. package/dist/esm/motion/neon/config.d.ts +319 -0
  457. package/dist/esm/motion/neon/config.d.ts.map +1 -0
  458. package/dist/esm/motion/neon/config.js +319 -0
  459. package/dist/esm/motion/neon/config.js.map +1 -0
  460. package/dist/esm/motion/neon/flicker.d.ts +82 -0
  461. package/dist/esm/motion/neon/flicker.d.ts.map +1 -0
  462. package/dist/esm/motion/neon/flicker.js +187 -0
  463. package/dist/esm/motion/neon/flicker.js.map +1 -0
  464. package/dist/esm/motion/neon/fonts.d.ts +29 -0
  465. package/dist/esm/motion/neon/fonts.d.ts.map +1 -0
  466. package/dist/esm/motion/neon/fonts.js +47 -0
  467. package/dist/esm/motion/neon/fonts.js.map +1 -0
  468. package/dist/esm/motion/neon/frame.d.ts +22 -0
  469. package/dist/esm/motion/neon/frame.d.ts.map +1 -0
  470. package/dist/esm/motion/neon/frame.js +20 -0
  471. package/dist/esm/motion/neon/frame.js.map +1 -0
  472. package/dist/esm/motion/neon/glitch.d.ts +64 -0
  473. package/dist/esm/motion/neon/glitch.d.ts.map +1 -0
  474. package/dist/esm/motion/neon/glitch.js +108 -0
  475. package/dist/esm/motion/neon/glitch.js.map +1 -0
  476. package/dist/esm/motion/neon/index.d.ts +29 -0
  477. package/dist/esm/motion/neon/index.d.ts.map +1 -0
  478. package/dist/esm/motion/neon/index.js +28 -0
  479. package/dist/esm/motion/neon/index.js.map +1 -0
  480. package/dist/esm/motion/neon/layers.d.ts +56 -0
  481. package/dist/esm/motion/neon/layers.d.ts.map +1 -0
  482. package/dist/esm/motion/neon/layers.js +64 -0
  483. package/dist/esm/motion/neon/layers.js.map +1 -0
  484. package/dist/esm/motion/neon/material.d.ts +68 -0
  485. package/dist/esm/motion/neon/material.d.ts.map +1 -0
  486. package/dist/esm/motion/neon/material.js +51 -0
  487. package/dist/esm/motion/neon/material.js.map +1 -0
  488. package/dist/esm/motion/neon/random.d.ts +15 -0
  489. package/dist/esm/motion/neon/random.d.ts.map +1 -0
  490. package/dist/esm/motion/neon/random.js +37 -0
  491. package/dist/esm/motion/neon/random.js.map +1 -0
  492. package/dist/esm/motion/neon/scene.d.ts +255 -0
  493. package/dist/esm/motion/neon/scene.d.ts.map +1 -0
  494. package/dist/esm/motion/neon/scene.js +532 -0
  495. package/dist/esm/motion/neon/scene.js.map +1 -0
  496. package/dist/esm/motion/neon/synth.d.ts +18 -0
  497. package/dist/esm/motion/neon/synth.d.ts.map +1 -0
  498. package/dist/esm/motion/neon/synth.js +208 -0
  499. package/dist/esm/motion/neon/synth.js.map +1 -0
  500. package/dist/esm/motion/neon/typography.d.ts +53 -0
  501. package/dist/esm/motion/neon/typography.d.ts.map +1 -0
  502. package/dist/esm/motion/neon/typography.js +74 -0
  503. package/dist/esm/motion/neon/typography.js.map +1 -0
  504. package/dist/esm/motion/neon/wall.d.ts +62 -0
  505. package/dist/esm/motion/neon/wall.d.ts.map +1 -0
  506. package/dist/esm/motion/neon/wall.js +106 -0
  507. package/dist/esm/motion/neon/wall.js.map +1 -0
  508. package/dist/esm/motion/paperfold/PaperFold.d.ts +36 -0
  509. package/dist/esm/motion/paperfold/PaperFold.d.ts.map +1 -0
  510. package/dist/esm/motion/paperfold/PaperFold.js +37 -0
  511. package/dist/esm/motion/paperfold/PaperFold.js.map +1 -0
  512. package/dist/esm/motion/paperfold/PaperFoldFrame.d.ts +39 -0
  513. package/dist/esm/motion/paperfold/PaperFoldFrame.d.ts.map +1 -0
  514. package/dist/esm/motion/paperfold/PaperFoldFrame.js +283 -0
  515. package/dist/esm/motion/paperfold/PaperFoldFrame.js.map +1 -0
  516. package/dist/esm/motion/paperfold/PaperFoldPlayer.d.ts +27 -0
  517. package/dist/esm/motion/paperfold/PaperFoldPlayer.d.ts.map +1 -0
  518. package/dist/esm/motion/paperfold/PaperFoldPlayer.js +56 -0
  519. package/dist/esm/motion/paperfold/PaperFoldPlayer.js.map +1 -0
  520. package/dist/esm/motion/paperfold/art.d.ts +148 -0
  521. package/dist/esm/motion/paperfold/art.d.ts.map +1 -0
  522. package/dist/esm/motion/paperfold/art.js +374 -0
  523. package/dist/esm/motion/paperfold/art.js.map +1 -0
  524. package/dist/esm/motion/paperfold/config.d.ts +47 -0
  525. package/dist/esm/motion/paperfold/config.d.ts.map +1 -0
  526. package/dist/esm/motion/paperfold/config.js +96 -0
  527. package/dist/esm/motion/paperfold/config.js.map +1 -0
  528. package/dist/esm/motion/paperfold/controls.d.ts +57 -0
  529. package/dist/esm/motion/paperfold/controls.d.ts.map +1 -0
  530. package/dist/esm/motion/paperfold/controls.js +506 -0
  531. package/dist/esm/motion/paperfold/controls.js.map +1 -0
  532. package/dist/esm/motion/paperfold/engine.d.ts +397 -0
  533. package/dist/esm/motion/paperfold/engine.d.ts.map +1 -0
  534. package/dist/esm/motion/paperfold/engine.js +699 -0
  535. package/dist/esm/motion/paperfold/engine.js.map +1 -0
  536. package/dist/esm/motion/paperfold/fonts.d.ts +3 -0
  537. package/dist/esm/motion/paperfold/fonts.d.ts.map +1 -0
  538. package/dist/esm/motion/paperfold/fonts.js +21 -0
  539. package/dist/esm/motion/paperfold/fonts.js.map +1 -0
  540. package/dist/esm/motion/paperfold/index.d.ts +17 -0
  541. package/dist/esm/motion/paperfold/index.d.ts.map +1 -0
  542. package/dist/esm/motion/paperfold/index.js +17 -0
  543. package/dist/esm/motion/paperfold/index.js.map +1 -0
  544. package/dist/esm/motion/paperfold/manipulate.d.ts +59 -0
  545. package/dist/esm/motion/paperfold/manipulate.d.ts.map +1 -0
  546. package/dist/esm/motion/paperfold/manipulate.js +161 -0
  547. package/dist/esm/motion/paperfold/manipulate.js.map +1 -0
  548. package/dist/esm/motion/paperfold/presets.d.ts +9 -0
  549. package/dist/esm/motion/paperfold/presets.d.ts.map +1 -0
  550. package/dist/esm/motion/paperfold/presets.js +115 -0
  551. package/dist/esm/motion/paperfold/presets.js.map +1 -0
  552. package/dist/esm/motion/paperfold/template.d.ts +3 -0
  553. package/dist/esm/motion/paperfold/template.d.ts.map +1 -0
  554. package/dist/esm/motion/paperfold/template.js +37 -0
  555. package/dist/esm/motion/paperfold/template.js.map +1 -0
  556. package/dist/esm/motion/player.d.ts +35 -0
  557. package/dist/esm/motion/player.d.ts.map +1 -0
  558. package/dist/esm/motion/player.js +197 -0
  559. package/dist/esm/motion/player.js.map +1 -0
  560. package/dist/esm/motion/promo/PromoFrame.d.ts +31 -0
  561. package/dist/esm/motion/promo/PromoFrame.d.ts.map +1 -0
  562. package/dist/esm/motion/promo/PromoFrame.js +288 -0
  563. package/dist/esm/motion/promo/PromoFrame.js.map +1 -0
  564. package/dist/esm/motion/promo/PromoShowcasePlayer.d.ts +25 -0
  565. package/dist/esm/motion/promo/PromoShowcasePlayer.d.ts.map +1 -0
  566. package/dist/esm/motion/promo/PromoShowcasePlayer.js +56 -0
  567. package/dist/esm/motion/promo/PromoShowcasePlayer.js.map +1 -0
  568. package/dist/esm/motion/promo/config.d.ts +91 -0
  569. package/dist/esm/motion/promo/config.d.ts.map +1 -0
  570. package/dist/esm/motion/promo/config.js +550 -0
  571. package/dist/esm/motion/promo/config.js.map +1 -0
  572. package/dist/esm/motion/promo/controls.d.ts +86 -0
  573. package/dist/esm/motion/promo/controls.d.ts.map +1 -0
  574. package/dist/esm/motion/promo/controls.js +567 -0
  575. package/dist/esm/motion/promo/controls.js.map +1 -0
  576. package/dist/esm/motion/promo/easing.d.ts +3 -0
  577. package/dist/esm/motion/promo/easing.d.ts.map +1 -0
  578. package/dist/esm/motion/promo/easing.js +32 -0
  579. package/dist/esm/motion/promo/easing.js.map +1 -0
  580. package/dist/esm/motion/promo/engine.d.ts +205 -0
  581. package/dist/esm/motion/promo/engine.d.ts.map +1 -0
  582. package/dist/esm/motion/promo/engine.js +551 -0
  583. package/dist/esm/motion/promo/engine.js.map +1 -0
  584. package/dist/esm/motion/promo/fonts.d.ts +7 -0
  585. package/dist/esm/motion/promo/fonts.d.ts.map +1 -0
  586. package/dist/esm/motion/promo/fonts.js +16 -0
  587. package/dist/esm/motion/promo/fonts.js.map +1 -0
  588. package/dist/esm/motion/promo/icons.d.ts +7 -0
  589. package/dist/esm/motion/promo/icons.d.ts.map +1 -0
  590. package/dist/esm/motion/promo/icons.js +26 -0
  591. package/dist/esm/motion/promo/icons.js.map +1 -0
  592. package/dist/esm/motion/promo/index.d.ts +15 -0
  593. package/dist/esm/motion/promo/index.d.ts.map +1 -0
  594. package/dist/esm/motion/promo/index.js +15 -0
  595. package/dist/esm/motion/promo/index.js.map +1 -0
  596. package/dist/esm/motion/promo/presets.d.ts +13 -0
  597. package/dist/esm/motion/promo/presets.d.ts.map +1 -0
  598. package/dist/esm/motion/promo/presets.js +40 -0
  599. package/dist/esm/motion/promo/presets.js.map +1 -0
  600. package/dist/esm/motion/promo/template.d.ts +8 -0
  601. package/dist/esm/motion/promo/template.d.ts.map +1 -0
  602. package/dist/esm/motion/promo/template.js +35 -0
  603. package/dist/esm/motion/promo/template.js.map +1 -0
  604. package/dist/esm/motion/replication2/Replication2Player.d.ts +26 -0
  605. package/dist/esm/motion/replication2/Replication2Player.d.ts.map +1 -0
  606. package/dist/esm/motion/replication2/Replication2Player.js +90 -0
  607. package/dist/esm/motion/replication2/Replication2Player.js.map +1 -0
  608. package/dist/esm/motion/replication2/config.d.ts +78 -0
  609. package/dist/esm/motion/replication2/config.d.ts.map +1 -0
  610. package/dist/esm/motion/replication2/config.js +341 -0
  611. package/dist/esm/motion/replication2/config.js.map +1 -0
  612. package/dist/esm/motion/replication2/controls.d.ts +70 -0
  613. package/dist/esm/motion/replication2/controls.d.ts.map +1 -0
  614. package/dist/esm/motion/replication2/controls.js +283 -0
  615. package/dist/esm/motion/replication2/controls.js.map +1 -0
  616. package/dist/esm/motion/replication2/driver.d.ts +23 -0
  617. package/dist/esm/motion/replication2/driver.d.ts.map +1 -0
  618. package/dist/esm/motion/replication2/driver.js +65 -0
  619. package/dist/esm/motion/replication2/driver.js.map +1 -0
  620. package/dist/esm/motion/replication2/easing.d.ts +19 -0
  621. package/dist/esm/motion/replication2/easing.d.ts.map +1 -0
  622. package/dist/esm/motion/replication2/easing.js +92 -0
  623. package/dist/esm/motion/replication2/easing.js.map +1 -0
  624. package/dist/esm/motion/replication2/engine.d.ts +236 -0
  625. package/dist/esm/motion/replication2/engine.d.ts.map +1 -0
  626. package/dist/esm/motion/replication2/engine.js +470 -0
  627. package/dist/esm/motion/replication2/engine.js.map +1 -0
  628. package/dist/esm/motion/replication2/html.d.ts +30 -0
  629. package/dist/esm/motion/replication2/html.d.ts.map +1 -0
  630. package/dist/esm/motion/replication2/html.js +83 -0
  631. package/dist/esm/motion/replication2/html.js.map +1 -0
  632. package/dist/esm/motion/replication2/index.d.ts +15 -0
  633. package/dist/esm/motion/replication2/index.d.ts.map +1 -0
  634. package/dist/esm/motion/replication2/index.js +15 -0
  635. package/dist/esm/motion/replication2/index.js.map +1 -0
  636. package/dist/esm/motion/replication2/measure.d.ts +3 -0
  637. package/dist/esm/motion/replication2/measure.d.ts.map +1 -0
  638. package/dist/esm/motion/replication2/measure.js +27 -0
  639. package/dist/esm/motion/replication2/measure.js.map +1 -0
  640. package/dist/esm/motion/replication2/metrics.d.ts +6 -0
  641. package/dist/esm/motion/replication2/metrics.d.ts.map +1 -0
  642. package/dist/esm/motion/replication2/metrics.js +7 -0
  643. package/dist/esm/motion/replication2/metrics.js.map +1 -0
  644. package/dist/esm/motion/replication2/presets.d.ts +13 -0
  645. package/dist/esm/motion/replication2/presets.d.ts.map +1 -0
  646. package/dist/esm/motion/replication2/presets.js +63 -0
  647. package/dist/esm/motion/replication2/presets.js.map +1 -0
  648. package/dist/esm/motion/replication2/riv.d.ts +3 -0
  649. package/dist/esm/motion/replication2/riv.d.ts.map +1 -0
  650. package/dist/esm/motion/replication2/riv.js +4 -0
  651. package/dist/esm/motion/replication2/riv.js.map +1 -0
  652. package/dist/esm/motion/replication2/rive-contract.d.ts +27 -0
  653. package/dist/esm/motion/replication2/rive-contract.d.ts.map +1 -0
  654. package/dist/esm/motion/replication2/rive-contract.js +153 -0
  655. package/dist/esm/motion/replication2/rive-contract.js.map +1 -0
  656. package/dist/esm/motion/replication2/template.d.ts +8 -0
  657. package/dist/esm/motion/replication2/template.d.ts.map +1 -0
  658. package/dist/esm/motion/replication2/template.js +32 -0
  659. package/dist/esm/motion/replication2/template.js.map +1 -0
  660. package/dist/esm/motion/sample.d.ts +61 -0
  661. package/dist/esm/motion/sample.d.ts.map +1 -0
  662. package/dist/esm/motion/sample.js +138 -0
  663. package/dist/esm/motion/sample.js.map +1 -0
  664. package/dist/esm/motion/templates/hey-template.d.ts +3 -0
  665. package/dist/esm/motion/templates/hey-template.d.ts.map +1 -0
  666. package/dist/esm/motion/templates/hey-template.js +1549 -0
  667. package/dist/esm/motion/templates/hey-template.js.map +1 -0
  668. package/dist/esm/motion/templates/index.d.ts +22 -0
  669. package/dist/esm/motion/templates/index.d.ts.map +1 -0
  670. package/dist/esm/motion/templates/index.js +15 -0
  671. package/dist/esm/motion/templates/index.js.map +1 -0
  672. package/dist/esm/motion/templates/word-motion.d.ts +3 -0
  673. package/dist/esm/motion/templates/word-motion.d.ts.map +1 -0
  674. package/dist/esm/motion/templates/word-motion.js +1162 -0
  675. package/dist/esm/motion/templates/word-motion.js.map +1 -0
  676. package/dist/esm/motion/types.d.ts +192 -0
  677. package/dist/esm/motion/types.d.ts.map +1 -0
  678. package/dist/esm/motion/types.js +2 -0
  679. package/dist/esm/motion/types.js.map +1 -0
  680. package/dist/esm/motion/typesurface/TypeSurfaceCanvas.d.ts +32 -0
  681. package/dist/esm/motion/typesurface/TypeSurfaceCanvas.d.ts.map +1 -0
  682. package/dist/esm/motion/typesurface/TypeSurfaceCanvas.js +81 -0
  683. package/dist/esm/motion/typesurface/TypeSurfaceCanvas.js.map +1 -0
  684. package/dist/esm/motion/typesurface/art.d.ts +21 -0
  685. package/dist/esm/motion/typesurface/art.d.ts.map +1 -0
  686. package/dist/esm/motion/typesurface/art.js +854 -0
  687. package/dist/esm/motion/typesurface/art.js.map +1 -0
  688. package/dist/esm/motion/typesurface/config.d.ts +284 -0
  689. package/dist/esm/motion/typesurface/config.d.ts.map +1 -0
  690. package/dist/esm/motion/typesurface/config.js +280 -0
  691. package/dist/esm/motion/typesurface/config.js.map +1 -0
  692. package/dist/esm/motion/typesurface/construct.d.ts +284 -0
  693. package/dist/esm/motion/typesurface/construct.d.ts.map +1 -0
  694. package/dist/esm/motion/typesurface/construct.js +866 -0
  695. package/dist/esm/motion/typesurface/construct.js.map +1 -0
  696. package/dist/esm/motion/typesurface/engine.d.ts +102 -0
  697. package/dist/esm/motion/typesurface/engine.d.ts.map +1 -0
  698. package/dist/esm/motion/typesurface/engine.js +627 -0
  699. package/dist/esm/motion/typesurface/engine.js.map +1 -0
  700. package/dist/esm/motion/typesurface/fonts.d.ts +25 -0
  701. package/dist/esm/motion/typesurface/fonts.d.ts.map +1 -0
  702. package/dist/esm/motion/typesurface/fonts.js +40 -0
  703. package/dist/esm/motion/typesurface/fonts.js.map +1 -0
  704. package/dist/esm/motion/typesurface/index.d.ts +21 -0
  705. package/dist/esm/motion/typesurface/index.d.ts.map +1 -0
  706. package/dist/esm/motion/typesurface/index.js +21 -0
  707. package/dist/esm/motion/typesurface/index.js.map +1 -0
  708. package/dist/esm/motion/typesurface/layout.d.ts +57 -0
  709. package/dist/esm/motion/typesurface/layout.d.ts.map +1 -0
  710. package/dist/esm/motion/typesurface/layout.js +122 -0
  711. package/dist/esm/motion/typesurface/layout.js.map +1 -0
  712. package/dist/esm/motion/typesurface/ops.d.ts +70 -0
  713. package/dist/esm/motion/typesurface/ops.d.ts.map +1 -0
  714. package/dist/esm/motion/typesurface/ops.js +164 -0
  715. package/dist/esm/motion/typesurface/ops.js.map +1 -0
  716. package/dist/esm/motion/typesurface/presets.d.ts +51 -0
  717. package/dist/esm/motion/typesurface/presets.d.ts.map +1 -0
  718. package/dist/esm/motion/typesurface/presets.js +250 -0
  719. package/dist/esm/motion/typesurface/presets.js.map +1 -0
  720. package/dist/esm/motion/typesurface/renderer.d.ts +88 -0
  721. package/dist/esm/motion/typesurface/renderer.d.ts.map +1 -0
  722. package/dist/esm/motion/typesurface/renderer.js +732 -0
  723. package/dist/esm/motion/typesurface/renderer.js.map +1 -0
  724. package/dist/esm/motion/typesurface/shaders.d.ts +17 -0
  725. package/dist/esm/motion/typesurface/shaders.d.ts.map +1 -0
  726. package/dist/esm/motion/typesurface/shaders.js +319 -0
  727. package/dist/esm/motion/typesurface/shaders.js.map +1 -0
  728. package/dist/esm/motion/typesurface/surfaces.d.ts +108 -0
  729. package/dist/esm/motion/typesurface/surfaces.d.ts.map +1 -0
  730. package/dist/esm/motion/typesurface/surfaces.js +216 -0
  731. package/dist/esm/motion/typesurface/surfaces.js.map +1 -0
  732. package/dist/esm/motion/typesurface/text.d.ts +17 -0
  733. package/dist/esm/motion/typesurface/text.d.ts.map +1 -0
  734. package/dist/esm/motion/typesurface/text.js +28 -0
  735. package/dist/esm/motion/typesurface/text.js.map +1 -0
  736. package/dist/esm/motion/typesurface/timeline.d.ts +15 -0
  737. package/dist/esm/motion/typesurface/timeline.d.ts.map +1 -0
  738. package/dist/esm/motion/typesurface/timeline.js +57 -0
  739. package/dist/esm/motion/typesurface/timeline.js.map +1 -0
  740. package/dist/esm/motion/validate.d.ts +22 -0
  741. package/dist/esm/motion/validate.d.ts.map +1 -0
  742. package/dist/esm/motion/validate.js +84 -0
  743. package/dist/esm/motion/validate.js.map +1 -0
  744. package/dist/esm/native/RiveReceiptStage.d.ts +25 -2
  745. package/dist/esm/native/RiveReceiptStage.d.ts.map +1 -1
  746. package/dist/esm/native/RiveReceiptStage.js +7 -148
  747. package/dist/esm/native/RiveReceiptStage.js.map +1 -1
  748. package/dist/esm/native/riveReceiptStageFactory.d.ts +26 -0
  749. package/dist/esm/native/riveReceiptStageFactory.d.ts.map +1 -0
  750. package/dist/esm/native/riveReceiptStageFactory.js +159 -0
  751. package/dist/esm/native/riveReceiptStageFactory.js.map +1 -0
  752. package/dist/esm/tokens/stage.d.ts +7 -0
  753. package/dist/esm/tokens/stage.d.ts.map +1 -0
  754. package/dist/esm/tokens/stage.js +7 -0
  755. package/dist/esm/tokens/stage.js.map +1 -0
  756. package/docs/TYPE-SURFACE.md +183 -0
  757. package/package.json +38 -2
  758. package/spec/examples/components/onboarding/animated-status/case1.json +42 -0
  759. package/spec/examples/components/onboarding/animated-status/case2.json +42 -0
  760. package/spec/examples/components/onboarding/animated-status/case3.json +42 -0
  761. package/spec/examples/components/onboarding/animated-status/case4.json +42 -0
  762. package/spec/examples/components/onboarding/animated-status/case5.json +42 -0
  763. package/spec/examples/components/onboarding/send-completion/case1.json +48 -0
  764. package/spec/examples/components/onboarding/send-completion/case2.json +48 -0
  765. package/spec/examples/components/onboarding/send-completion/case3.json +48 -0
  766. package/spec/examples/components/onboarding/send-completion/case4.json +48 -0
  767. package/spec/examples/components/onboarding/send-completion/case5.json +48 -0
  768. package/spec/families/onboarding.schema.json +610 -1
  769. package/src/agent/AgentComponent.tsx +1 -1
  770. package/src/agent/manifests.ts +83 -1
  771. package/src/agent/result.ts +6 -0
  772. package/src/agent/types.ts +1 -1
  773. package/src/components/catalog.ts +21 -1
  774. package/src/components/onboarding/animated-status/AnimatedStage.tsx +18 -0
  775. package/src/components/onboarding/animated-status/AnimatedStage.types.ts +30 -0
  776. package/src/components/onboarding/animated-status/AnimatedStage.web.tsx +99 -0
  777. package/src/components/onboarding/animated-status/AnimatedStatusView.tsx +109 -0
  778. package/src/components/onboarding/animated-status/AnimatedStill.tsx +23 -0
  779. package/src/components/onboarding/animated-status/contract.ts +105 -0
  780. package/src/components/onboarding/animated-status/engine.ts +49 -0
  781. package/src/components/onboarding/animated-status/index.ts +8 -0
  782. package/src/components/onboarding/animated-status/presets.json +126 -0
  783. package/src/components/onboarding/animated-status/riv.ts +4 -0
  784. package/src/components/onboarding/index.ts +4 -0
  785. package/src/components/onboarding/presets.ts +6 -0
  786. package/src/components/onboarding/receipt-printer/ReceiptStage.tsx +46 -7
  787. package/src/components/onboarding/send-completion/SendCompletionView.tsx +164 -0
  788. package/src/components/onboarding/send-completion/SendStage.tsx +27 -0
  789. package/src/components/onboarding/send-completion/SendStage.types.ts +32 -0
  790. package/src/components/onboarding/send-completion/SendStage.web.tsx +116 -0
  791. package/src/components/onboarding/send-completion/SendStill.tsx +19 -0
  792. package/src/components/onboarding/send-completion/contract.ts +127 -0
  793. package/src/components/onboarding/send-completion/engine.ts +37 -0
  794. package/src/components/onboarding/send-completion/index.ts +10 -0
  795. package/src/components/onboarding/send-completion/presets.json +132 -0
  796. package/src/components/onboarding/send-completion/riv.ts +4 -0
  797. package/src/components/onboarding/shared/actions-data.ts +2 -0
  798. package/src/components/onboarding/shared/configColor.ts +72 -0
  799. package/src/components/onboarding/shared/contract.ts +4 -0
  800. package/src/components/onboarding/shared/describe.ts +1 -1
  801. package/src/components/onboarding/shared/mock.ts +2 -0
  802. package/src/components/onboarding/views.ts +8 -0
  803. package/src/motion/MotionPlayer.tsx +62 -0
  804. package/src/motion/agent.ts +288 -0
  805. package/src/motion/cat/Cat.tsx +118 -0
  806. package/src/motion/cat/animation.ts +206 -0
  807. package/src/motion/cat/art.generated.ts +44 -0
  808. package/src/motion/cat/config.ts +186 -0
  809. package/src/motion/cat/index.ts +26 -0
  810. package/src/motion/cat/rig.ts +102 -0
  811. package/src/motion/cat/scene.ts +181 -0
  812. package/src/motion/configurable/config.ts +420 -0
  813. package/src/motion/configurable/controls.ts +93 -0
  814. package/src/motion/easing.ts +55 -0
  815. package/src/motion/fit.ts +8 -0
  816. package/src/motion/index.ts +29 -0
  817. package/src/motion/neon/GlowRenderer.tsx +83 -0
  818. package/src/motion/neon/NeonCanvas.tsx +175 -0
  819. package/src/motion/neon/NeonText.tsx +113 -0
  820. package/src/motion/neon/NeonTextFrame.tsx +67 -0
  821. package/src/motion/neon/artwork.ts +95 -0
  822. package/src/motion/neon/audio.ts +162 -0
  823. package/src/motion/neon/config.ts +484 -0
  824. package/src/motion/neon/flicker.ts +225 -0
  825. package/src/motion/neon/fonts.ts +76 -0
  826. package/src/motion/neon/frame.ts +34 -0
  827. package/src/motion/neon/glitch.ts +142 -0
  828. package/src/motion/neon/index.ts +41 -0
  829. package/src/motion/neon/layers.tsx +209 -0
  830. package/src/motion/neon/material.ts +88 -0
  831. package/src/motion/neon/random.ts +40 -0
  832. package/src/motion/neon/scene.ts +610 -0
  833. package/src/motion/neon/synth.ts +188 -0
  834. package/src/motion/neon/typography.ts +102 -0
  835. package/src/motion/neon/wall.ts +157 -0
  836. package/src/motion/paperfold/PaperFold.tsx +45 -0
  837. package/src/motion/paperfold/PaperFoldFrame.tsx +576 -0
  838. package/src/motion/paperfold/PaperFoldPlayer.tsx +80 -0
  839. package/src/motion/paperfold/art.ts +455 -0
  840. package/src/motion/paperfold/config.ts +98 -0
  841. package/src/motion/paperfold/controls.ts +557 -0
  842. package/src/motion/paperfold/engine.ts +852 -0
  843. package/src/motion/paperfold/fonts.ts +21 -0
  844. package/src/motion/paperfold/index.ts +30 -0
  845. package/src/motion/paperfold/manipulate.ts +188 -0
  846. package/src/motion/paperfold/presets.ts +117 -0
  847. package/src/motion/paperfold/template.ts +38 -0
  848. package/src/motion/player.ts +207 -0
  849. package/src/motion/promo/PromoFrame.tsx +501 -0
  850. package/src/motion/promo/PromoShowcasePlayer.tsx +78 -0
  851. package/src/motion/promo/config.ts +479 -0
  852. package/src/motion/promo/controls.ts +643 -0
  853. package/src/motion/promo/easing.ts +36 -0
  854. package/src/motion/promo/engine.ts +587 -0
  855. package/src/motion/promo/fonts.ts +16 -0
  856. package/src/motion/promo/icons.tsx +29 -0
  857. package/src/motion/promo/index.ts +24 -0
  858. package/src/motion/promo/presets.ts +40 -0
  859. package/src/motion/promo/template.ts +36 -0
  860. package/src/motion/replication2/Replication2Player.tsx +115 -0
  861. package/src/motion/replication2/config.ts +323 -0
  862. package/src/motion/replication2/controls.ts +336 -0
  863. package/src/motion/replication2/driver.ts +92 -0
  864. package/src/motion/replication2/easing.ts +88 -0
  865. package/src/motion/replication2/engine.ts +539 -0
  866. package/src/motion/replication2/html.ts +87 -0
  867. package/src/motion/replication2/index.ts +14 -0
  868. package/src/motion/replication2/measure.ts +28 -0
  869. package/src/motion/replication2/metrics.ts +7 -0
  870. package/src/motion/replication2/presets.ts +63 -0
  871. package/src/motion/replication2/riv.ts +4 -0
  872. package/src/motion/replication2/rive-contract.ts +165 -0
  873. package/src/motion/replication2/template.ts +33 -0
  874. package/src/motion/sample.ts +173 -0
  875. package/src/motion/templates/hey-template.ts +1553 -0
  876. package/src/motion/templates/index.ts +17 -0
  877. package/src/motion/templates/word-motion.ts +1166 -0
  878. package/src/motion/types.ts +162 -0
  879. package/src/motion/typesurface/TypeSurfaceCanvas.tsx +101 -0
  880. package/src/motion/typesurface/art.ts +639 -0
  881. package/src/motion/typesurface/config.ts +512 -0
  882. package/src/motion/typesurface/construct.ts +828 -0
  883. package/src/motion/typesurface/engine.ts +612 -0
  884. package/src/motion/typesurface/fonts.ts +63 -0
  885. package/src/motion/typesurface/index.ts +20 -0
  886. package/src/motion/typesurface/layout.ts +133 -0
  887. package/src/motion/typesurface/ops.ts +196 -0
  888. package/src/motion/typesurface/presets.ts +271 -0
  889. package/src/motion/typesurface/renderer.ts +639 -0
  890. package/src/motion/typesurface/shaders.ts +325 -0
  891. package/src/motion/typesurface/surfaces.ts +300 -0
  892. package/src/motion/typesurface/text.ts +35 -0
  893. package/src/motion/typesurface/timeline.ts +58 -0
  894. package/src/motion/validate.ts +101 -0
  895. package/src/native/RiveReceiptStage.tsx +8 -155
  896. package/src/native/riveReceiptStageFactory.tsx +175 -0
  897. package/src/tokens/stage.ts +6 -0
  898. package/tools/ask/dist/components.mjs +8010 -88
  899. package/tools/ask/dist/neon.js +69 -0
  900. package/tools/ask/mcp.mjs +166 -2
  901. package/tools/ask/neon-render.mjs +143 -0
@@ -0,0 +1,280 @@
1
+ import { sanitizeObject } from './construct';
2
+ import { hasSurface } from './surfaces';
3
+ export const TS_SURFACES = ['newspaper', 'paper', 'bottle', 'wrapper', 'fabric'];
4
+ export const TS_TEXT_MATERIALS = ['ink', 'print', 'foil', 'emboss'];
5
+ export const TS_BLEND_MODES = ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-burn', 'soft-light'];
6
+ export const TS_ALIGNS = ['left', 'center', 'right'];
7
+ export const TS_FOLD_ORIENTATIONS = ['vertical', 'horizontal'];
8
+ export const TS_FOLD_DIRECTIONS = ['over', 'under'];
9
+ export const TS_ROLL_EDGES = ['bottom', 'top', 'left', 'right'];
10
+ export const TS_FOLD_SIDES = ['far', 'near'];
11
+ /** The folds and the wraps, in the order they are applied. Up to four of each. */
12
+ export const TS_FOLD_KEYS = ['fold', 'fold2', 'fold3', 'fold4'];
13
+ export const TS_WRAP_KEYS = ['wrap1', 'wrap2', 'wrap3', 'wrap4'];
14
+ export const TS_ANIMATABLE = ['wrap', 'morph', 'perspective', 'curve', 'fold', 'fold2', 'fold3', 'fold4', 'wrap1', 'wrap2', 'wrap3', 'wrap4', 'roll', 'crumple', 'wave', 'wrinkle', 'blend'];
15
+ /** Where each animatable amount lives in the config. */
16
+ export const TS_ANIMATABLE_PATHS = {
17
+ wrap: 'deformation.wrap', morph: 'deformation.morph', perspective: 'deformation.perspective', curve: 'deformation.curve',
18
+ fold: 'deformation.fold.amount', fold2: 'deformation.fold2.amount', fold3: 'deformation.fold3.amount', fold4: 'deformation.fold4.amount',
19
+ wrap1: 'deformation.wrap1.amount', wrap2: 'deformation.wrap2.amount', wrap3: 'deformation.wrap3.amount', wrap4: 'deformation.wrap4.amount', roll: 'deformation.roll.amount',
20
+ crumple: 'deformation.crumple.amount', wave: 'deformation.wave', wrinkle: 'deformation.wrinkle', blend: 'material.blend',
21
+ };
22
+ const FOLD_OFF = { amount: 0, position: 0.5, angle: 180, width: 0.035, influence: 0.7, orientation: 'vertical', direction: 'over', side: 'far' };
23
+ const WRAP_OFF = { amount: 0, position: 0.7, radius: 0.06, angle: 300, orientation: 'vertical', direction: 'under', side: 'far' };
24
+ /** Every transformation at rest: flat, floating, un-inked. States and presets start here. */
25
+ export const REST_DEFORMATION = {
26
+ wrap: 0, morph: 0, perspective: 0, tiltX: 0, tiltY: 0, skew: 0, curve: 0,
27
+ fold: FOLD_OFF,
28
+ fold2: { ...FOLD_OFF, orientation: 'horizontal' },
29
+ fold3: { ...FOLD_OFF, position: 0.25 },
30
+ fold4: { ...FOLD_OFF, position: 0.25, orientation: 'horizontal' },
31
+ wrap1: WRAP_OFF,
32
+ wrap2: { ...WRAP_OFF, side: 'near', position: 0.3 },
33
+ wrap3: { ...WRAP_OFF, orientation: 'horizontal' },
34
+ wrap4: { ...WRAP_OFF, orientation: 'horizontal', side: 'near', position: 0.3 },
35
+ roll: { amount: 0, edge: 'bottom', radius: 0.085, direction: 'under' },
36
+ crumple: { amount: 0, scale: 1 },
37
+ wave: 0, wrinkle: 0,
38
+ };
39
+ export const DEFAULT_TYPE_SURFACE = {
40
+ version: 1,
41
+ text: 'BREAKING NEWS',
42
+ typography: {
43
+ fontFamily: "'Anton', 'Impact', sans-serif", fontWeight: 400, fontStyle: 'normal', fontSize: 128, letterSpacing: 2, lineHeight: 1,
44
+ align: 'center', color: '#E0271B', gradient: { enabled: false, from: '#E0271B', to: '#7A0C06', angle: 90 }, opacity: 1, blendMode: 'multiply',
45
+ },
46
+ placement: { x: 0.5, y: 0.34, rotation: 0, maxWidth: 900 },
47
+ surface: { type: 'newspaper', state: 'flat', seed: 7, color: null },
48
+ object: null,
49
+ deformation: { ...REST_DEFORMATION, wrap: 1 },
50
+ material: {
51
+ type: 'ink', blend: 0.75, inkStrength: 0.9, inkSpread: 0.35, inkRoughness: 0.4, paperInfluence: 0.75, grainInfluence: 0.5, halftone: 0,
52
+ displacement: 0.6, surfaceContrast: 1, lift: 0.1, shadow: 0.6, gloss: 0.1, emboss: 0.15,
53
+ },
54
+ view: { yaw: 0, pitch: 0, zoom: 1, roll: 0, autoCenter: true, motion: 1 },
55
+ animation: {
56
+ duration: 9000, loop: true,
57
+ stages: [
58
+ { key: 'wrap', start: 0.04, end: 0.24, easing: 'ease-in-out', label: 'wrap' },
59
+ { key: 'blend', start: 0.3, end: 0.62, easing: 'ease-in-out', label: 'print' },
60
+ ],
61
+ },
62
+ };
63
+ const n = (path, label, group, min, max, step, hint, unit) => ({ path, label, group, kind: 'number', min, max, step, hint, unit });
64
+ const e = (path, label, group, options, hint) => ({ path, label, group, kind: 'enum', options, hint });
65
+ const c = (path, label, group, hint) => ({ path, label, group, kind: 'color', hint });
66
+ const b = (path, label, group, hint) => ({ path, label, group, kind: 'boolean', hint });
67
+ const foldControls = (key, name) => [
68
+ n(`deformation.${key}.amount`, `${name} amount`, 'fold', 0, 1, 0.01, 'how far the fold has gone; the angle reached is angle × amount'),
69
+ n(`deformation.${key}.position`, `${name} position`, 'fold', 0.05, 0.95, 0.005, 'where the crease runs, across the surface'),
70
+ n(`deformation.${key}.angle`, `${name} angle`, 'fold', 0, 180, 1, 'the angle at full amount; 180 folds flat', '°'),
71
+ n(`deformation.${key}.width`, `${name} width`, 'fold', 0.004, 0.5, 0.001, 'the rounded crease, as a share of the width'),
72
+ n(`deformation.${key}.influence`, `${name} influence`, 'fold', 0, 1, 0.01, 'how strongly the crease shades the paper and the letters'),
73
+ e(`deformation.${key}.orientation`, `${name} orientation`, 'fold', TS_FOLD_ORIENTATIONS, 'a vertical crease folds left/right; horizontal folds top/bottom'),
74
+ e(`deformation.${key}.direction`, `${name} direction`, 'fold', TS_FOLD_DIRECTIONS, 'over lifts toward the camera; under tucks beneath'),
75
+ e(`deformation.${key}.side`, `${name} side`, 'fold', TS_FOLD_SIDES, 'which side moves: far = right/below the crease, near = left/above'),
76
+ ];
77
+ const wrapControls = (key, name) => [
78
+ n(`deformation.${key}.amount`, `${name} amount`, 'wraps', 0, 1, 0.01, 'how far round the rod the sheet has wrapped'),
79
+ n(`deformation.${key}.position`, `${name} position`, 'wraps', 0.02, 0.98, 0.005, 'where the wrap starts, across the surface'),
80
+ n(`deformation.${key}.radius`, `${name} radius`, 'wraps', 0.01, 0.5, 0.005, 'the rod, as a share of the width'),
81
+ n(`deformation.${key}.angle`, `${name} angle`, 'wraps', 0, 360, 1, 'how far round at full amount; 360 goes all the way', '°'),
82
+ e(`deformation.${key}.orientation`, `${name} orientation`, 'wraps', TS_FOLD_ORIENTATIONS, 'vertical rod or horizontal rod'),
83
+ e(`deformation.${key}.direction`, `${name} direction`, 'wraps', TS_FOLD_DIRECTIONS, 'over wraps toward the camera; under wraps away'),
84
+ e(`deformation.${key}.side`, `${name} side`, 'wraps', TS_FOLD_SIDES, 'which side wraps: far = right/below, near = left/above'),
85
+ ];
86
+ /** Every knob: path, range, unit and what it does. Validation, the playground and agents all read this. */
87
+ export const TS_CONTROLS = [
88
+ { path: 'text', label: 'Text', group: 'text', kind: 'text', hint: 'any words; \\n breaks a line' },
89
+ { path: 'typography.fontFamily', label: 'Font family', group: 'typography', kind: 'text', hint: 'any CSS font-family list the page has loaded' },
90
+ n('typography.fontWeight', 'Weight', 'typography', 100, 900, 100, 'font weight'),
91
+ e('typography.fontStyle', 'Style', 'typography', ['normal', 'italic'], 'upright or italic'),
92
+ n('typography.fontSize', 'Size', 'typography', 12, 400, 1, 'surface units; the surface is 1000 wide', 'u'),
93
+ n('typography.letterSpacing', 'Letter spacing', 'typography', -40, 120, 1, 'extra space between letters', 'u'),
94
+ n('typography.lineHeight', 'Line height', 'typography', 0.6, 2.5, 0.01, 'line pitch as a multiple of the size'),
95
+ e('typography.align', 'Alignment', 'typography', TS_ALIGNS, 'how lines align in the block'),
96
+ c('typography.color', 'Colour', 'typography', 'the letters'),
97
+ b('typography.gradient.enabled', 'Gradient', 'typography', 'fill the letters with a two-colour gradient'),
98
+ c('typography.gradient.from', 'Gradient from', 'typography', 'first stop'),
99
+ c('typography.gradient.to', 'Gradient to', 'typography', 'last stop'),
100
+ n('typography.gradient.angle', 'Gradient angle', 'typography', 0, 360, 1, '0 runs left → right; 90 runs top → bottom', '°'),
101
+ n('typography.opacity', 'Opacity', 'typography', 0, 1, 0.01, 'of the letters'),
102
+ e('typography.blendMode', 'Blend mode', 'typography', TS_BLEND_MODES, 'how the letters combine with the surface once printed'),
103
+ n('placement.x', 'Position X', 'placement', 0, 1, 0.001, 'centre of the text, 0–1 across the surface'),
104
+ n('placement.y', 'Position Y', 'placement', 0, 1, 0.001, 'centre of the text, 0–1 down the surface'),
105
+ n('placement.rotation', 'Rotation', 'placement', -180, 180, 0.5, 'on the surface, clockwise', '°'),
106
+ n('placement.maxWidth', 'Max width', 'placement', 0, 1000, 5, 'lines wrap past this width; 0 never wraps', 'u'),
107
+ e('surface.type', 'Surface', 'surface', TS_SURFACES, 'what the text meets'),
108
+ { path: 'surface.state', label: 'State', group: 'surface', kind: 'text', hint: 'a named state of the surface (flat, folded, crumpled…)' },
109
+ n('surface.seed', 'Seed', 'surface', 0, 99999, 1, 'every crease, wrinkle, photo and line of copy'),
110
+ n('deformation.wrap', 'Wrap', 'deformation', 0, 1, 0.01, 'floating typography → conformed to the surface'),
111
+ n('deformation.morph', 'Morph', 'deformation', 0, 1, 0.01, 'letters peel off and land one at a time'),
112
+ n('deformation.perspective', 'Perspective', 'deformation', 0, 1, 0.01, 'from straight above to a low, wide-angle view'),
113
+ n('deformation.tiltX', 'Horizontal distortion', 'deformation', -1, 1, 0.01, 'turns the object left/right'),
114
+ n('deformation.tiltY', 'Vertical distortion', 'deformation', -1, 1, 0.01, 'tips the object toward/away'),
115
+ n('deformation.skew', 'Skew', 'deformation', -1, 1, 0.01, 'shears the surface in its own plane'),
116
+ n('deformation.curve', 'Curve', 'deformation', 0, 1, 0.01, 'cylindrical curvature: a label on a bottle, a bent plate, an inflated pack'),
117
+ ...foldControls('fold', 'Fold'),
118
+ ...foldControls('fold2', 'Second fold'),
119
+ ...foldControls('fold3', 'Third fold'),
120
+ ...foldControls('fold4', 'Fourth fold'),
121
+ ...wrapControls('wrap1', 'Wrap 1'),
122
+ ...wrapControls('wrap2', 'Wrap 2'),
123
+ ...wrapControls('wrap3', 'Wrap 3'),
124
+ ...wrapControls('wrap4', 'Wrap 4'),
125
+ n('deformation.roll.amount', 'Roll', 'deformation', 0, 1, 0.01, 'rolls the surface up from one edge'),
126
+ e('deformation.roll.edge', 'Roll from', 'deformation', TS_ROLL_EDGES, 'the edge that rolls first'),
127
+ n('deformation.roll.radius', 'Roll radius', 'deformation', 0.03, 0.3, 0.005, 'outer radius of the roll, as a share of the width'),
128
+ e('deformation.roll.direction', 'Roll direction', 'deformation', TS_FOLD_DIRECTIONS, 'under keeps the printed side outside'),
129
+ n('deformation.crumple.amount', 'Crumple', 'deformation', 0, 1, 0.01, 'creased facets; past 0.6 the sheet is crushed'),
130
+ n('deformation.crumple.scale', 'Crumple scale', 'deformation', 0.4, 2.5, 0.01, 'size of the facets'),
131
+ n('deformation.wave', 'Wave', 'deformation', 0, 1, 0.01, 'soft waves: fabric drape, a rippled pane'),
132
+ n('deformation.wrinkle', 'Wrinkle', 'deformation', 0, 1, 0.01, 'fine wrinkles: film, creased cloth'),
133
+ e('material.type', 'Material', 'material', TS_TEXT_MATERIALS, 'how the letters join the surface'),
134
+ n('material.blend', 'Blend', 'material', 0, 1, 0.01, 'floating → lit by the surface → printed → embedded'),
135
+ n('material.inkStrength', 'Ink strength', 'material', 0, 1, 0.01, 'how dark and saturated the ink prints'),
136
+ n('material.inkSpread', 'Ink spread', 'material', 0, 1, 0.01, 'ink bleeding into the fibres'),
137
+ n('material.inkRoughness', 'Ink roughness', 'material', 0, 1, 0.01, 'ragged, uneven ink edges'),
138
+ n('material.paperInfluence', 'Paper influence', 'material', 0, 1, 0.01, 'how much of the surface colour shows through'),
139
+ n('material.grainInfluence', 'Grain influence', 'material', 0, 1, 0.01, 'paper grain breaking up the ink'),
140
+ n('material.halftone', 'Halftone', 'material', 0, 1, 0.01, 'embedded ink becomes a printing screen'),
141
+ n('material.displacement', 'Displacement', 'material', 0, 4, 0.05, 'ink misregistration, surface units', 'u'),
142
+ n('material.surfaceContrast', 'Surface contrast', 'material', 0, 1.5, 0.01, 'how much surface light and shadow fall on the letters'),
143
+ n('material.lift', 'Float height', 'material', 0, 0.4, 0.005, 'how high floating letters hover'),
144
+ n('material.shadow', 'Float shadow', 'material', 0, 1, 0.01, 'the shadow the letters cast while floating'),
145
+ n('material.gloss', 'Gloss', 'material', 0, 1, 0.01, 'varnish on the letters'),
146
+ n('material.emboss', 'Emboss', 'material', 0, 1, 0.01, 'relief depth'),
147
+ n('view.yaw', 'Orbit', 'view', -180, 180, 0.5, 'camera left/right', '°'),
148
+ n('view.pitch', 'Tilt', 'view', -30, 60, 0.5, 'camera tilt, added to perspective', '°'),
149
+ n('view.zoom', 'Zoom', 'view', 0.4, 3, 0.01, '1 fills the frame'),
150
+ n('view.roll', 'Object angle', 'view', -180, 180, 0.5, 'turns the object on the table', '°'),
151
+ b('view.autoCenter', 'Auto-centre', 'view', 'keep the object centred while it folds and rolls'),
152
+ n('view.motion', 'Ambient motion', 'view', 0, 2, 0.01, 'time-driven motion: fabric in a breeze, a bottle turning'),
153
+ n('animation.duration', 'Length', 'animation', 1000, 60000, 100, 'one pass of the timeline', 'ms'),
154
+ b('animation.loop', 'Loop', 'animation', 'play again from the start'),
155
+ ];
156
+ export const MAX_TS_TEXT_LENGTH = 160;
157
+ const isObj = (v) => typeof v === 'object' && v !== null && !Array.isArray(v);
158
+ export const isHexColor = (v) => typeof v === 'string' && /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i.test(v);
159
+ export function getPath(obj, path) {
160
+ return path.split('.').reduce((o, k) => (isObj(o) ? o[k] : undefined), obj);
161
+ }
162
+ export function setPath(obj, path, value) {
163
+ const [head, ...rest] = path.split('.');
164
+ const o = (isObj(obj) ? obj : {});
165
+ return { ...o, [head]: rest.length ? setPath(o[head], rest.join('.'), value) : value };
166
+ }
167
+ /** Deep merge of plain objects; arrays and scalars in `over` replace. */
168
+ function merge(base, over) {
169
+ if (!isObj(base) || !isObj(over))
170
+ return (over === undefined ? base : over);
171
+ const out = { ...base };
172
+ // An object replaces the one before it: merging two part lists means nothing.
173
+ for (const [k, v] of Object.entries(over))
174
+ out[k] = v === undefined ? out[k] : k === 'object' ? v : merge(base[k], v);
175
+ return out;
176
+ }
177
+ /** Defaults ← input. Pure; does not validate (see `validateTypeSurface` / `sanitizeTypeSurface`). */
178
+ export function resolveTypeSurface(input = {}, base = DEFAULT_TYPE_SURFACE) {
179
+ return merge(base, input);
180
+ }
181
+ function checkControl(ctl, v) {
182
+ switch (ctl.kind) {
183
+ case 'number':
184
+ if (typeof v !== 'number' || !Number.isFinite(v))
185
+ return `${ctl.label} must be a number.`;
186
+ if (v < ctl.min || v > ctl.max)
187
+ return `${ctl.label} must be between ${ctl.min} and ${ctl.max}.`;
188
+ return null;
189
+ case 'enum':
190
+ if (ctl.path === 'surface.type' && typeof v === 'string' && hasSurface(v))
191
+ return null;
192
+ return ctl.options.includes(v) ? null : `${ctl.label} must be one of: ${ctl.options.join(', ')}.`;
193
+ case 'color': return isHexColor(v) ? null : `${ctl.label} must be a hex colour like #E0271B.`;
194
+ case 'boolean': return typeof v === 'boolean' ? null : `${ctl.label} must be true or false.`;
195
+ case 'text':
196
+ if (typeof v !== 'string')
197
+ return `${ctl.label} must be text.`;
198
+ if (ctl.path === 'text' && v.length > MAX_TS_TEXT_LENGTH)
199
+ return `Text is limited to ${MAX_TS_TEXT_LENGTH} characters.`;
200
+ if (ctl.path === 'typography.fontFamily' && !v.trim())
201
+ return 'Font family must name a font.';
202
+ return null;
203
+ }
204
+ }
205
+ function checkStages(stages) {
206
+ if (!Array.isArray(stages))
207
+ return [{ path: 'animation.stages', message: 'Stages must be a list.' }];
208
+ const errors = [];
209
+ stages.forEach((s, i) => {
210
+ const p = `animation.stages.${i}`;
211
+ if (!isObj(s)) {
212
+ errors.push({ path: p, message: 'A stage must be an object.' });
213
+ return;
214
+ }
215
+ if (!TS_ANIMATABLE.includes(s.key))
216
+ errors.push({ path: `${p}.key`, message: `A stage drives one of: ${TS_ANIMATABLE.join(', ')}.` });
217
+ const t = (k) => typeof s[k] === 'number' && Number.isFinite(s[k]) && s[k] >= 0 && s[k] <= 1;
218
+ if (!t('start') || !t('end'))
219
+ errors.push({ path: p, message: 'start and end are 0–1 of the timeline.' });
220
+ else if (s.end < s.start)
221
+ errors.push({ path: p, message: 'end must not come before start.' });
222
+ if ((s.outStart !== undefined || s.outEnd !== undefined)) {
223
+ if (!t('outStart') || !t('outEnd'))
224
+ errors.push({ path: p, message: 'outStart and outEnd are 0–1 of the timeline.' });
225
+ else if (s.outEnd < s.outStart || s.outStart < s.end)
226
+ errors.push({ path: p, message: 'A stage goes out after it comes in: end ≤ outStart ≤ outEnd.' });
227
+ }
228
+ });
229
+ return errors;
230
+ }
231
+ /** `[]` when the config can be drawn; otherwise every problem as `{ path, message }`. Never throws. */
232
+ export function validateTypeSurface(config) {
233
+ if (!isObj(config))
234
+ return [{ path: '', message: 'The config must be an object.' }];
235
+ const errors = [];
236
+ const built = config.object !== undefined && config.object !== null;
237
+ for (const ctl of TS_CONTROLS) {
238
+ // `surface.type: 'object'` says the object is the surface; it needs one.
239
+ if (ctl.path === 'surface.type' && config.surface && config.surface.type === 'object') {
240
+ if (!built)
241
+ errors.push({ path: ctl.path, message: 'Surface is “object” but the config has no object.' });
242
+ continue;
243
+ }
244
+ const msg = checkControl(ctl, getPath(config, ctl.path));
245
+ if (msg)
246
+ errors.push({ path: ctl.path, message: msg });
247
+ }
248
+ errors.push(...checkStages(getPath(config, 'animation.stages')));
249
+ if (built)
250
+ errors.push(...sanitizeObject(config.object).errors);
251
+ return errors;
252
+ }
253
+ /**
254
+ * A config that always draws: every invalid field is replaced by its default and named in
255
+ * `invalid`. The renderer draws the result and the playground lists what it replaced.
256
+ */
257
+ export function sanitizeTypeSurface(input) {
258
+ let config = resolveTypeSurface(isObj(input) ? input : {});
259
+ const invalid = [];
260
+ // An object is repaired as a whole: numbers clamped, bad parts dropped, null if nothing can be drawn.
261
+ if (config.object !== null) {
262
+ const fixed = sanitizeObject(config.object);
263
+ if (fixed.errors.length) {
264
+ config = { ...config, object: fixed.object };
265
+ invalid.push(...fixed.errors.map((e) => e.path));
266
+ }
267
+ }
268
+ for (const err of validateTypeSurface(config)) {
269
+ if (err.path.startsWith('animation.stages')) {
270
+ config = { ...config, animation: { ...config.animation, stages: [] } };
271
+ if (!invalid.includes('animation.stages'))
272
+ invalid.push('animation.stages');
273
+ continue;
274
+ }
275
+ config = setPath(config, err.path, getPath(DEFAULT_TYPE_SURFACE, err.path));
276
+ invalid.push(err.path);
277
+ }
278
+ return { config, invalid };
279
+ }
280
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/motion/typesurface/config.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,cAAc,EAAqB,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAU,CAAC;AAE1F,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM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.
3
+ *
4
+ * primitives cylinder, sphere, ring, revolve (any profile), tube (along a path), box
5
+ * manipulators taper, flare, bulge, twist, bend, scale: applied to a part, in order
6
+ * materials plastic, matte, ceramic, glass, metal, chrome, in any colour
7
+ * text wraps one round part: printed straight onto it, or on a paper label
8
+ * recipes tumbler, mug, can, bottle: compositions of the above, nothing they alone can do
9
+ *
10
+ * An object is JSON (`TSObjectSpec`) and lives in the config as `object`, so what an agent builds
11
+ * is a preset it can save and edit later. `describeConstruction()` is the machine-readable
12
+ * manifest: every primitive, what can be done to it, and every parameter with its range, so an
13
+ * agent composes a tumbler (cylinder + taper + ring) without one having been written for it.
14
+ * `sanitizeObject` reads the same manifest: it never throws and always returns something drawable.
15
+ *
16
+ * Frame: y is up and is the object's axis; x is to the right of the camera, z toward it. Units are
17
+ * the lab's world units (the wine bottle's body is 0.36 in radius); the camera frames whatever is
18
+ * built. Pure; no DOM, no React.
19
+ */
20
+ import { type Vec3 } from './ops';
21
+ export type TSParam = {
22
+ type: 'number';
23
+ min: number;
24
+ max: number;
25
+ default: number;
26
+ unit?: string;
27
+ hint: string;
28
+ } | {
29
+ type: 'boolean';
30
+ default: boolean;
31
+ hint: string;
32
+ } | {
33
+ type: 'enum';
34
+ options: readonly string[];
35
+ default: string;
36
+ hint: string;
37
+ }
38
+ /** A list of points: `dims` numbers each, at least `min` of them. */
39
+ | {
40
+ type: 'points';
41
+ dims: 2 | 3;
42
+ min: number;
43
+ max: number;
44
+ hint: string;
45
+ };
46
+ export declare const TS_MANIPULATOR_IDS: readonly ["taper", "flare", "bulge", "twist", "bend", "scale"];
47
+ export type TSManipulatorId = (typeof TS_MANIPULATOR_IDS)[number];
48
+ /** What can be done to a part. Each acts in the part's own frame, before it is turned and placed. */
49
+ export declare const TS_MANIPULATORS: Record<TSManipulatorId, {
50
+ summary: string;
51
+ keepsRound: boolean;
52
+ params: Record<string, TSParam>;
53
+ }>;
54
+ export declare const TS_PRIMITIVE_IDS: readonly ["cylinder", "sphere", "ring", "revolve", "tube", "box"];
55
+ export type TSPrimitiveId = (typeof TS_PRIMITIVE_IDS)[number];
56
+ /** A manipulator a primitive accepts, plus `material` (every part) and `text-wrap` (it can carry the text). */
57
+ export type TSCapability = TSManipulatorId | 'material' | 'text-wrap';
58
+ /** What an object is built from. `origin` says where `at` puts the part. */
59
+ export declare const TS_PRIMITIVES: Record<TSPrimitiveId, {
60
+ summary: string;
61
+ origin: 'base' | 'centre' | 'path';
62
+ capabilities: readonly TSCapability[];
63
+ params: Record<string, TSParam>;
64
+ }>;
65
+ export declare const TS_OBJECT_MATERIAL_IDS: readonly ["plastic", "matte", "ceramic", "glass", "metal", "chrome"];
66
+ export type TSObjectMaterialId = (typeof TS_OBJECT_MATERIAL_IDS)[number];
67
+ /** How a part shades. `metalness` tints the reflection with the colour; `reflection` is how much of the studio it shows. */
68
+ export declare const TS_OBJECT_MATERIALS: Record<TSObjectMaterialId, {
69
+ summary: string;
70
+ metalness: number;
71
+ roughness: number;
72
+ reflection: number;
73
+ gain: number;
74
+ }>;
75
+ export declare const TS_OBJECT_TABLES: readonly ["studio", "desk", "wood"];
76
+ export type TSOp = {
77
+ op: TSManipulatorId;
78
+ } & Record<string, number | string>;
79
+ export type TSPartMaterial = {
80
+ type: TSObjectMaterialId;
81
+ color: string;
82
+ /** Override the material's own roughness / metalness, 0–1. */
83
+ roughness?: number;
84
+ metalness?: number;
85
+ };
86
+ export type TSPart = {
87
+ /** Unique within the object; `text.on` names one. */
88
+ id: string;
89
+ shape: TSPrimitiveId;
90
+ /** The primitive's parameters (`TS_PRIMITIVES[shape].params`); anything omitted takes its default. */
91
+ params: Record<string, unknown>;
92
+ /** Manipulators, applied in order. */
93
+ ops: TSOp[];
94
+ material: TSPartMaterial;
95
+ /** Where the part goes, in the object's frame. */
96
+ at: [number, number, number];
97
+ /** Degrees about x, then y, then z. */
98
+ rotate: [number, number, number];
99
+ };
100
+ export type TSObjectText = {
101
+ /** The part the text wraps. It must be round, on the axis and unturned. */
102
+ on: string;
103
+ /** Centre of the text area along the part's height, 0 bottom – 1 top. */
104
+ y: number;
105
+ /** Height of the text area, as a share of the part's height. */
106
+ height: number;
107
+ /** How far round the part the text area reaches, degrees (360 goes all the way). */
108
+ arc: number;
109
+ /** A paper label in this colour; null prints straight onto the part. */
110
+ label: string | null;
111
+ };
112
+ export type TSObjectSpec = {
113
+ name: string;
114
+ parts: TSPart[];
115
+ text: TSObjectText;
116
+ scene: {
117
+ table: (typeof TS_OBJECT_TABLES)[number];
118
+ backdrop: [string, string];
119
+ };
120
+ };
121
+ export declare const TS_OBJECT_TEXT_PARAMS: Record<'y' | 'height' | 'arc', TSParam>;
122
+ export declare const MAX_OBJECT_PARTS = 24;
123
+ /** How much of a round part's circumference reads from the front, degrees: text wider than this runs out of sight. */
124
+ export declare const OBJECT_FRONT_ARC = 110;
125
+ export type TSObjectError = {
126
+ path: string;
127
+ message: string;
128
+ };
129
+ /**
130
+ * A spec that always builds: every bad field is replaced (numbers are clamped, the rest take their
131
+ * default, parts and manipulators that make no sense are dropped) and named in `errors`. Returns
132
+ * `object: null` only when nothing in it can be drawn.
133
+ */
134
+ export declare function sanitizeObject(input: unknown, base?: string): {
135
+ object: TSObjectSpec | null;
136
+ errors: TSObjectError[];
137
+ };
138
+ /** `[]` when the spec is drawable as written; otherwise every problem as `{ path, message }`. Never throws. */
139
+ export declare function validateObject(spec: unknown, base?: string): TSObjectError[];
140
+ export type ResolvedMaterial = {
141
+ color: string;
142
+ metalness: number;
143
+ roughness: number;
144
+ reflection: number;
145
+ gain: number;
146
+ };
147
+ /** One part's triangles in the object's index buffer, and how they shade. */
148
+ export type PartRange = {
149
+ id: string;
150
+ start: number;
151
+ count: number;
152
+ material: ResolvedMaterial;
153
+ };
154
+ export type BuiltObject = {
155
+ positions: Float32Array;
156
+ normals: Float32Array;
157
+ indices: Uint32Array;
158
+ count: number;
159
+ ranges: PartRange[];
160
+ bounds: {
161
+ min: Vec3;
162
+ max: Vec3;
163
+ };
164
+ /** The part that carries the text: its extent along y and its outer radius at any height. */
165
+ host: {
166
+ id: string;
167
+ y0: number;
168
+ y1: number;
169
+ radiusAt: (y: number) => number;
170
+ color: string;
171
+ };
172
+ };
173
+ export declare function resolveMaterial(m: TSPartMaterial): ResolvedMaterial;
174
+ /**
175
+ * Build a spec into one mesh in the object's frame: every part through its manipulators, turned and
176
+ * placed, with smooth normals and a triangle range per part. The spec is repaired first (omitted
177
+ * parameters take their defaults); it throws only when nothing in it can be drawn.
178
+ */
179
+ export declare function buildObject(input: TSObjectSpec): BuiltObject;
180
+ export type TSRecipeOptions = {
181
+ color?: string;
182
+ material?: TSObjectMaterialId;
183
+ accent?: string;
184
+ label?: string | null;
185
+ };
186
+ /**
187
+ * Semantic starting points. A recipe is only a composition of the primitives and manipulators above,
188
+ * returned as a plain spec to edit: nothing here is special-cased anywhere else, so an object with
189
+ * no recipe is built the same way, part by part.
190
+ */
191
+ export declare const TS_RECIPES: Record<string, {
192
+ summary: string;
193
+ composition: string;
194
+ build: (o?: TSRecipeOptions) => TSObjectSpec;
195
+ }>;
196
+ /** A recipe's spec, ready to edit; unknown names fall back to a plain cylinder so something always draws. */
197
+ export declare function createObject(recipe: string, options?: TSRecipeOptions): TSObjectSpec;
198
+ /**
199
+ * Everything an agent needs to compose an object, as JSON: the primitives and what each can take,
200
+ * the manipulators, the materials, how text attaches, the recipes and what cannot be done.
201
+ */
202
+ export declare function describeConstruction(): {
203
+ frame: string;
204
+ part: {
205
+ shape: string;
206
+ origin: {
207
+ base: string;
208
+ centre: string;
209
+ path: string;
210
+ };
211
+ };
212
+ primitives: Record<"box" | "ring" | "tube" | "cylinder" | "sphere" | "revolve", {
213
+ summary: string;
214
+ origin: "base" | "centre" | "path";
215
+ capabilities: readonly TSCapability[];
216
+ params: Record<string, TSParam>;
217
+ }>;
218
+ manipulators: Record<"scale" | "taper" | "flare" | "bulge" | "twist" | "bend", {
219
+ summary: string;
220
+ keepsRound: boolean;
221
+ params: Record<string, TSParam>;
222
+ }>;
223
+ materials: Record<"glass" | "plastic" | "matte" | "ceramic" | "metal" | "chrome", {
224
+ summary: string;
225
+ metalness: number;
226
+ roughness: number;
227
+ reflection: number;
228
+ gain: number;
229
+ }>;
230
+ text: {
231
+ summary: string;
232
+ params: Record<"y" | "height" | "arc", TSParam>;
233
+ label: string;
234
+ carriers: ("box" | "ring" | "tube" | "cylinder" | "sphere" | "revolve")[];
235
+ sizing: {
236
+ unit: string;
237
+ frontArc: number;
238
+ rule: string;
239
+ helper: string;
240
+ };
241
+ rules: string[];
242
+ };
243
+ scene: {
244
+ table: readonly ["studio", "desk", "wood"];
245
+ backdrop: string;
246
+ };
247
+ view: {
248
+ summary: string;
249
+ states: {
250
+ wrapped: string;
251
+ lying: string;
252
+ turned: string;
253
+ tipped: string;
254
+ };
255
+ apply: string;
256
+ controls: {
257
+ 'deformation.tiltX': string;
258
+ 'deformation.tiltY': string;
259
+ 'view.roll': string;
260
+ 'view.zoom': string;
261
+ };
262
+ avoid: string;
263
+ };
264
+ recipes: {
265
+ [k: string]: {
266
+ summary: string;
267
+ composition: string;
268
+ defaults: {
269
+ color: string;
270
+ material: "glass" | "plastic" | "matte" | "ceramic" | "metal" | "chrome";
271
+ label: null;
272
+ };
273
+ options: {
274
+ color: string;
275
+ material: string;
276
+ accent: string;
277
+ label: string;
278
+ };
279
+ use: string;
280
+ };
281
+ };
282
+ limits: string[];
283
+ };
284
+ //# sourceMappingURL=construct.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"construct.d.ts","sourceRoot":"","sources":["../../../../src/motion/typesurface/construct.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,MAAM,OAAO,GACf;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;I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