@jucie.io/cli 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (704) hide show
  1. package/dist/jucie.js +322 -0
  2. package/dist/stage/chunks/addAction-FSI6BXB4.js +1 -0
  3. package/dist/stage/chunks/addAnimationBinding-Y4VROY4L.js +1 -0
  4. package/dist/stage/chunks/addAttribute-CNJGHQSS.js +1 -0
  5. package/dist/stage/chunks/addComponent-VWD6O7CQ.js +1 -0
  6. package/dist/stage/chunks/addComputed-FQVHDUIE.js +1 -0
  7. package/dist/stage/chunks/addEvent-54ZE2DVJ.js +1 -0
  8. package/dist/stage/chunks/addLifecycleHook-VCCSTQ3G.js +1 -0
  9. package/dist/stage/chunks/addNode-AOA2MS25.js +1 -0
  10. package/dist/stage/chunks/addOption-ISGTUY6U.js +1 -0
  11. package/dist/stage/chunks/addParamToRoute-CRDV7MVF.js +1 -0
  12. package/dist/stage/chunks/addState-N3MBR533.js +1 -0
  13. package/dist/stage/chunks/addStore-PHY52777.js +1 -0
  14. package/dist/stage/chunks/addToken-QSTDKYFU.js +1 -0
  15. package/dist/stage/chunks/addValue-NBDF57UK.js +1 -0
  16. package/dist/stage/chunks/aiRelay-FSM6HGF7.js +1 -0
  17. package/dist/stage/chunks/assets-OAQXQVKM.js +1 -0
  18. package/dist/stage/chunks/bootstrap-LFMD2YRN.js +15 -0
  19. package/dist/stage/chunks/chunk-2SXGPNIX.js +1 -0
  20. package/dist/stage/chunks/chunk-2YZN7IFG.js +1 -0
  21. package/dist/stage/chunks/chunk-32FG2JVJ.js +1 -0
  22. package/dist/stage/chunks/chunk-32WBU6VH.js +1 -0
  23. package/dist/stage/chunks/chunk-45CXRNTO.js +1 -0
  24. package/dist/stage/chunks/chunk-45LFQ7GZ.js +1 -0
  25. package/dist/stage/chunks/chunk-4FPLUVEY.js +1 -0
  26. package/dist/stage/chunks/chunk-4MTM6BM7.js +1 -0
  27. package/dist/stage/chunks/chunk-4VALYMSL.js +1 -0
  28. package/dist/stage/chunks/chunk-4XNQRZ5E.js +1 -0
  29. package/dist/stage/chunks/chunk-4Y2YKFNP.js +1 -0
  30. package/dist/stage/chunks/chunk-5GOTVZFC.js +1 -0
  31. package/dist/stage/chunks/chunk-5OOKGI32.js +3 -0
  32. package/dist/stage/chunks/chunk-5PUPZLDN.js +1 -0
  33. package/dist/stage/chunks/chunk-5SOTDESD.js +1 -0
  34. package/dist/stage/chunks/chunk-5YRZZCXL.js +1 -0
  35. package/dist/stage/chunks/chunk-6EIGTDJQ.js +1 -0
  36. package/dist/stage/chunks/chunk-6GMURG26.js +1 -0
  37. package/dist/stage/chunks/chunk-6ZZBJPN5.js +1 -0
  38. package/dist/stage/chunks/chunk-73MAM44D.js +1 -0
  39. package/dist/stage/chunks/chunk-7L4V7JRT.js +1 -0
  40. package/dist/stage/chunks/chunk-AJVQKPCQ.js +1 -0
  41. package/dist/stage/chunks/chunk-AMAA7VJU.js +1 -0
  42. package/dist/stage/chunks/chunk-ARGFDBBK.js +1 -0
  43. package/dist/stage/chunks/chunk-BEYPHEBR.js +1 -0
  44. package/dist/stage/chunks/chunk-BS35FNXF.js +1 -0
  45. package/dist/stage/chunks/chunk-BVAPODQ7.js +5 -0
  46. package/dist/stage/chunks/chunk-C3DY5XVP.js +1 -0
  47. package/dist/stage/chunks/chunk-CUIKYKRZ.js +1 -0
  48. package/dist/stage/chunks/chunk-CVDUFBBG.js +1 -0
  49. package/dist/stage/chunks/chunk-D3V5OTLH.js +1 -0
  50. package/dist/stage/chunks/chunk-D6NZE747.js +1 -0
  51. package/dist/stage/chunks/chunk-DCOWKGJI.js +1 -0
  52. package/dist/stage/chunks/chunk-DSKLC3WF.js +1 -0
  53. package/dist/stage/chunks/chunk-EO7UBT4B.js +1 -0
  54. package/dist/stage/chunks/chunk-EPBR3BES.js +1 -0
  55. package/dist/stage/chunks/chunk-FSECMWCM.js +1 -0
  56. package/dist/stage/chunks/chunk-FTRUORC5.js +1 -0
  57. package/dist/stage/chunks/chunk-GDGHGTYN.js +1 -0
  58. package/dist/stage/chunks/chunk-GG4NWMR6.js +1 -0
  59. package/dist/stage/chunks/chunk-GIVV5ZCM.js +1 -0
  60. package/dist/stage/chunks/chunk-H3VC542J.js +1 -0
  61. package/dist/stage/chunks/chunk-HBEU7BDR.js +1 -0
  62. package/dist/stage/chunks/chunk-HBEWYDHO.js +1 -0
  63. package/dist/stage/chunks/chunk-HI7ALMQD.js +1 -0
  64. package/dist/stage/chunks/chunk-JKMOVSI4.js +1 -0
  65. package/dist/stage/chunks/chunk-K6PCHHH7.js +1 -0
  66. package/dist/stage/chunks/chunk-K7MC6G4X.js +1 -0
  67. package/dist/stage/chunks/chunk-KCVDFPJI.js +1 -0
  68. package/dist/stage/chunks/chunk-L4CU73MS.js +1 -0
  69. package/dist/stage/chunks/chunk-L7VQYHXR.js +1 -0
  70. package/dist/stage/chunks/chunk-LKQDYABR.js +1 -0
  71. package/dist/stage/chunks/chunk-LOILFK74.js +55 -0
  72. package/dist/stage/chunks/chunk-LR6DSVPP.js +1 -0
  73. package/dist/stage/chunks/chunk-MLL2ANA6.js +1 -0
  74. package/dist/stage/chunks/chunk-MXIF2FGR.js +1 -0
  75. package/dist/stage/chunks/chunk-N4AFW5M3.js +1 -0
  76. package/dist/stage/chunks/chunk-ODSNVDNS.js +1 -0
  77. package/dist/stage/chunks/chunk-OPVVANFS.js +1 -0
  78. package/dist/stage/chunks/chunk-OQ52NUNN.js +1 -0
  79. package/dist/stage/chunks/chunk-OWARHUEW.js +1 -0
  80. package/dist/stage/chunks/chunk-P3WBUN2B.js +1 -0
  81. package/dist/stage/chunks/chunk-P4ODI2G4.js +1 -0
  82. package/dist/stage/chunks/chunk-PSNKOX4A.js +37 -0
  83. package/dist/stage/chunks/chunk-PU3DZ3MV.js +1 -0
  84. package/dist/stage/chunks/chunk-QCZ4EDGZ.js +1 -0
  85. package/dist/stage/chunks/chunk-QG2BGE2O.js +1 -0
  86. package/dist/stage/chunks/chunk-QTBRJH2Q.js +1 -0
  87. package/dist/stage/chunks/chunk-RWJ7EPNM.js +1 -0
  88. package/dist/stage/chunks/chunk-RZ74UWF3.js +1 -0
  89. package/dist/stage/chunks/chunk-SECM4LZZ.js +1 -0
  90. package/dist/stage/chunks/chunk-SMO45CB3.js +1 -0
  91. package/dist/stage/chunks/chunk-SRRJXNKG.js +1 -0
  92. package/dist/stage/chunks/chunk-TBDEUSP4.js +1 -0
  93. package/dist/stage/chunks/chunk-TEUB5MUS.js +1 -0
  94. package/dist/stage/chunks/chunk-TV4PHWEG.js +1 -0
  95. package/dist/stage/chunks/chunk-U2OFNNHI.js +1 -0
  96. package/dist/stage/chunks/chunk-U3IV5DRQ.js +1 -0
  97. package/dist/stage/chunks/chunk-V4F2T2VR.js +1 -0
  98. package/dist/stage/chunks/chunk-V7BNWQS6.js +1 -0
  99. package/dist/stage/chunks/chunk-X2DYJVYZ.js +1 -0
  100. package/dist/stage/chunks/chunk-X6HJCJ3C.js +1 -0
  101. package/dist/stage/chunks/chunk-XKEDVW6X.js +1 -0
  102. package/dist/stage/chunks/chunk-YMUEID4R.js +1 -0
  103. package/dist/stage/chunks/chunk-YN5VQBDN.js +1 -0
  104. package/dist/stage/chunks/chunk-ZCAGAEP2.js +1 -0
  105. package/dist/stage/chunks/chunk-ZEWKYCOX.js +1 -0
  106. package/dist/stage/chunks/clearDestination-P3FTW7VJ.js +1 -0
  107. package/dist/stage/chunks/clearName-YFCAGL36.js +1 -0
  108. package/dist/stage/chunks/clearOptionsExpression-DF4IPDKH.js +1 -0
  109. package/dist/stage/chunks/clearRender-4YRSLAVX.js +1 -0
  110. package/dist/stage/chunks/clearRepeat-7TPSR6FL.js +1 -0
  111. package/dist/stage/chunks/contentEditor-VMXQHHFX.js +1 -0
  112. package/dist/stage/chunks/createAction-XVCUAVTP.js +1 -0
  113. package/dist/stage/chunks/createAnimation-YAXYGTZ2.js +1 -0
  114. package/dist/stage/chunks/createComputed-6XPJKJMP.js +1 -0
  115. package/dist/stage/chunks/createTextContent-BL7YGYP5.js +1 -0
  116. package/dist/stage/chunks/createValue-QMG7LOR4.js +1 -0
  117. package/dist/stage/chunks/disconnectNode-OY65I4GB.js +1 -0
  118. package/dist/stage/chunks/history-KHLKDDEZ.js +1 -0
  119. package/dist/stage/chunks/id-T5EU463K.js +1 -0
  120. package/dist/stage/chunks/main-3QLLHM43.js +1 -0
  121. package/dist/stage/chunks/main-7EICBMQ2.js +1 -0
  122. package/dist/stage/chunks/main-BLNWJ3UJ.js +1 -0
  123. package/dist/stage/chunks/main-NIVRMJR3.js +1 -0
  124. package/dist/stage/chunks/moveNodeToLastChildOf-PSU5X3UJ.js +1 -0
  125. package/dist/stage/chunks/nodeGraph-7M5JI3VA.js +1 -0
  126. package/dist/stage/chunks/normalizeEventName-6HVMB5GN.js +1 -0
  127. package/dist/stage/chunks/normalizeLayoutContext-NWKVWWWS.js +1 -0
  128. package/dist/stage/chunks/preview-bootstrap-LB3AH2CS.js +1 -0
  129. package/dist/stage/chunks/react-G5SWVCZA.js +1 -0
  130. package/dist/stage/chunks/removeAction-H3EDG2CG.js +1 -0
  131. package/dist/stage/chunks/removeAnimationBinding-JRXL2AOH.js +1 -0
  132. package/dist/stage/chunks/removeAttribute-6RYM7MYC.js +1 -0
  133. package/dist/stage/chunks/removeComputed-3HL3BXKY.js +1 -0
  134. package/dist/stage/chunks/removeEvent-CP3SVSHQ.js +1 -0
  135. package/dist/stage/chunks/removeLifecycleHook-Q76BUDFU.js +1 -0
  136. package/dist/stage/chunks/removeNode-OFMYW2LY.js +1 -0
  137. package/dist/stage/chunks/removeOption-Y6QYTQ7C.js +1 -0
  138. package/dist/stage/chunks/removeParamFromRoute-MHUMB7RO.js +1 -0
  139. package/dist/stage/chunks/removeState-HEDFV7HD.js +1 -0
  140. package/dist/stage/chunks/removeStore-BQDKUY3I.js +1 -0
  141. package/dist/stage/chunks/removeToken-CKODWTLX.js +1 -0
  142. package/dist/stage/chunks/removeValue-OTRFOOIB.js +1 -0
  143. package/dist/stage/chunks/screen-capture-bootstrap-BRQD4OSY.js +1 -0
  144. package/dist/stage/chunks/setDestination-3H4RDE7F.js +1 -0
  145. package/dist/stage/chunks/setHomePage-UZUWIELK.js +1 -0
  146. package/dist/stage/chunks/setHtmlId-V2DQ2Z6D.js +1 -0
  147. package/dist/stage/chunks/setName-QKDRLH7I.js +1 -0
  148. package/dist/stage/chunks/setNodeLayout-3LRJGZNL.js +1 -0
  149. package/dist/stage/chunks/setOptionsExpression-4NFPAI24.js +1 -0
  150. package/dist/stage/chunks/setRender-XQJWRRYD.js +1 -0
  151. package/dist/stage/chunks/setRepeat-PAW7YMSY.js +1 -0
  152. package/dist/stage/chunks/setTagName-Y7O7I6SO.js +1 -0
  153. package/dist/stage/chunks/updateAction-XSXILF2R.js +1 -0
  154. package/dist/stage/chunks/updateAnimationBinding-LQTVD3O6.js +1 -0
  155. package/dist/stage/chunks/updateAttribute-USA3HPEX.js +1 -0
  156. package/dist/stage/chunks/updateBounds-3L2AJ72O.js +1 -0
  157. package/dist/stage/chunks/updateComputed-UALAJ4RF.js +1 -0
  158. package/dist/stage/chunks/updateEvent-NXMQSGDQ.js +1 -0
  159. package/dist/stage/chunks/updateHtml-AEMCHPUQ.js +1 -0
  160. package/dist/stage/chunks/updateLifecycleHook-6MCUOVJH.js +1 -0
  161. package/dist/stage/chunks/updateOption-JCNXPYXP.js +1 -0
  162. package/dist/stage/chunks/updateRoute-CI3GOLVJ.js +1 -0
  163. package/dist/stage/chunks/updateState-QJID3WQV.js +1 -0
  164. package/dist/stage/chunks/updateStyle-FR7K7R73.js +1 -0
  165. package/dist/stage/chunks/updateToken-JX6R3YU7.js +1 -0
  166. package/dist/stage/chunks/updateValue-2B5ZNGZI.js +1 -0
  167. package/dist/stage/chunks/user-2EMXBDUX.js +1 -0
  168. package/dist/stage/chunks/validateStorePayload-PJ5AD64S.js +3 -0
  169. package/dist/stage/chunks/viewport-UOMSIPMH.js +1 -0
  170. package/dist/stage/chunks/window-KCOIKBXQ.js +1 -0
  171. package/dist/stage/design.js +1 -0
  172. package/dist/stage/dev.js +1 -0
  173. package/dist/stage/preview.js +1 -0
  174. package/dist/stage/prod.js +1 -0
  175. package/dist/stage-bundles/preact/chunks/addAction-5FCPHQHB.js +9 -0
  176. package/dist/stage-bundles/preact/chunks/addAnimationBinding-5UBXLWDB.js +7 -0
  177. package/dist/stage-bundles/preact/chunks/addAttribute-PWIHRX6Y.js +12 -0
  178. package/dist/stage-bundles/preact/chunks/addComponent-77PUZWLS.js +14 -0
  179. package/dist/stage-bundles/preact/chunks/addComputed-5J47SS67.js +9 -0
  180. package/dist/stage-bundles/preact/chunks/addEvent-P2KGVMLM.js +11 -0
  181. package/dist/stage-bundles/preact/chunks/addLifecycleHook-VSOAZGTG.js +8 -0
  182. package/dist/stage-bundles/preact/chunks/addNode-GCJR257S.js +19 -0
  183. package/dist/stage-bundles/preact/chunks/addOption-3U3LAV4C.js +8 -0
  184. package/dist/stage-bundles/preact/chunks/addParamToRoute-43UDJ4YE.js +7 -0
  185. package/dist/stage-bundles/preact/chunks/addState-ZWDA2CLN.js +11 -0
  186. package/dist/stage-bundles/preact/chunks/addStore-A4CRKMPO.js +7 -0
  187. package/dist/stage-bundles/preact/chunks/addToken-7P5NGEG4.js +8 -0
  188. package/dist/stage-bundles/preact/chunks/addValue-VQW7HQX7.js +8 -0
  189. package/dist/stage-bundles/preact/chunks/aiRelay-TFBJ7BF4.js +184 -0
  190. package/dist/stage-bundles/preact/chunks/assets-3W46CFCY.js +42 -0
  191. package/dist/stage-bundles/preact/chunks/bootstrap-VNVZAVV5.js +4080 -0
  192. package/dist/stage-bundles/preact/chunks/chunk-22J4JOPG.js +9 -0
  193. package/dist/stage-bundles/preact/chunks/chunk-236DY7EE.js +92 -0
  194. package/dist/stage-bundles/preact/chunks/chunk-2H2EQ2RG.js +24 -0
  195. package/dist/stage-bundles/preact/chunks/chunk-2Y25YY3N.js +12 -0
  196. package/dist/stage-bundles/preact/chunks/chunk-3MJKS6VX.js +19 -0
  197. package/dist/stage-bundles/preact/chunks/chunk-3NLDBJQD.js +12 -0
  198. package/dist/stage-bundles/preact/chunks/chunk-43L3STHY.js +172 -0
  199. package/dist/stage-bundles/preact/chunks/chunk-4A4WKSGY.js +66 -0
  200. package/dist/stage-bundles/preact/chunks/chunk-5C4ZCCYX.js +421 -0
  201. package/dist/stage-bundles/preact/chunks/chunk-65Q2CFW7.js +18 -0
  202. package/dist/stage-bundles/preact/chunks/chunk-667SIQGW.js +12 -0
  203. package/dist/stage-bundles/preact/chunks/chunk-6B6PKOOA.js +140 -0
  204. package/dist/stage-bundles/preact/chunks/chunk-6BXKZHN6.js +19 -0
  205. package/dist/stage-bundles/preact/chunks/chunk-6E57QUN7.js +21 -0
  206. package/dist/stage-bundles/preact/chunks/chunk-6QYYO5LM.js +12 -0
  207. package/dist/stage-bundles/preact/chunks/chunk-6R3QXFFF.js +47 -0
  208. package/dist/stage-bundles/preact/chunks/chunk-6RLI7CFQ.js +12 -0
  209. package/dist/stage-bundles/preact/chunks/chunk-6TDZGYJG.js +13 -0
  210. package/dist/stage-bundles/preact/chunks/chunk-AI3MQHWR.js +51 -0
  211. package/dist/stage-bundles/preact/chunks/chunk-BWZPEI76.js +18 -0
  212. package/dist/stage-bundles/preact/chunks/chunk-CHZVDVQC.js +8 -0
  213. package/dist/stage-bundles/preact/chunks/chunk-CJOJNMRC.js +8 -0
  214. package/dist/stage-bundles/preact/chunks/chunk-CXATTVPL.js +24 -0
  215. package/dist/stage-bundles/preact/chunks/chunk-CYH47R7O.js +49 -0
  216. package/dist/stage-bundles/preact/chunks/chunk-DBHMBCBM.js +14 -0
  217. package/dist/stage-bundles/preact/chunks/chunk-DCKGUW2M.js +8 -0
  218. package/dist/stage-bundles/preact/chunks/chunk-EB5FGFFG.js +12 -0
  219. package/dist/stage-bundles/preact/chunks/chunk-F6JYAVEC.js +15 -0
  220. package/dist/stage-bundles/preact/chunks/chunk-F77HGOQB.js +8 -0
  221. package/dist/stage-bundles/preact/chunks/chunk-FSIANI7E.js +11 -0
  222. package/dist/stage-bundles/preact/chunks/chunk-FZZDMYBZ.js +12 -0
  223. package/dist/stage-bundles/preact/chunks/chunk-H75SQT4U.js +105 -0
  224. package/dist/stage-bundles/preact/chunks/chunk-HPCVUQI4.js +224 -0
  225. package/dist/stage-bundles/preact/chunks/chunk-I5OE2BAU.js +25863 -0
  226. package/dist/stage-bundles/preact/chunks/chunk-IDGFZWZY.js +13 -0
  227. package/dist/stage-bundles/preact/chunks/chunk-IIIXGKVH.js +17 -0
  228. package/dist/stage-bundles/preact/chunks/chunk-ILZWSEWK.js +19 -0
  229. package/dist/stage-bundles/preact/chunks/chunk-IO3NSIEJ.js +8 -0
  230. package/dist/stage-bundles/preact/chunks/chunk-ISOZDDO2.js +157 -0
  231. package/dist/stage-bundles/preact/chunks/chunk-JDIO27MU.js +8 -0
  232. package/dist/stage-bundles/preact/chunks/chunk-JJVRBJGQ.js +1353 -0
  233. package/dist/stage-bundles/preact/chunks/chunk-K7ZULZJF.js +116 -0
  234. package/dist/stage-bundles/preact/chunks/chunk-KF4MVCJ6.js +13 -0
  235. package/dist/stage-bundles/preact/chunks/chunk-KHURU62K.js +27 -0
  236. package/dist/stage-bundles/preact/chunks/chunk-KKLU24SB.js +33 -0
  237. package/dist/stage-bundles/preact/chunks/chunk-KOBPYD4N.js +8 -0
  238. package/dist/stage-bundles/preact/chunks/chunk-LH4ZDX3T.js +58 -0
  239. package/dist/stage-bundles/preact/chunks/chunk-M3YT4JBL.js +12 -0
  240. package/dist/stage-bundles/preact/chunks/chunk-MAPYANXA.js +8 -0
  241. package/dist/stage-bundles/preact/chunks/chunk-MBN7CVNW.js +4290 -0
  242. package/dist/stage-bundles/preact/chunks/chunk-MMCB6GGX.js +8 -0
  243. package/dist/stage-bundles/preact/chunks/chunk-NCUWZXVZ.js +8 -0
  244. package/dist/stage-bundles/preact/chunks/chunk-O3KQTA3H.js +21 -0
  245. package/dist/stage-bundles/preact/chunks/chunk-OARTKQPG.js +153 -0
  246. package/dist/stage-bundles/preact/chunks/chunk-P7UUT7BU.js +12 -0
  247. package/dist/stage-bundles/preact/chunks/chunk-PHVB7SAE.js +22 -0
  248. package/dist/stage-bundles/preact/chunks/chunk-PKSFATQY.js +10 -0
  249. package/dist/stage-bundles/preact/chunks/chunk-PU2GET2S.js +18 -0
  250. package/dist/stage-bundles/preact/chunks/chunk-QBXKRHK5.js +11 -0
  251. package/dist/stage-bundles/preact/chunks/chunk-QCQXLZJH.js +18 -0
  252. package/dist/stage-bundles/preact/chunks/chunk-QIOKODGT.js +14 -0
  253. package/dist/stage-bundles/preact/chunks/chunk-R5DUYWXP.js +8 -0
  254. package/dist/stage-bundles/preact/chunks/chunk-RCIDQRAS.js +54 -0
  255. package/dist/stage-bundles/preact/chunks/chunk-RI7XWDHX.js +10 -0
  256. package/dist/stage-bundles/preact/chunks/chunk-RZG5LCPH.js +12 -0
  257. package/dist/stage-bundles/preact/chunks/chunk-S4NZQRJJ.js +12 -0
  258. package/dist/stage-bundles/preact/chunks/chunk-S5L2YBXG.js +143 -0
  259. package/dist/stage-bundles/preact/chunks/chunk-SF5BLQ7P.js +14 -0
  260. package/dist/stage-bundles/preact/chunks/chunk-SPTKNGHA.js +14 -0
  261. package/dist/stage-bundles/preact/chunks/chunk-TKHCH4WB.js +35 -0
  262. package/dist/stage-bundles/preact/chunks/chunk-TVB3GD7L.js +8 -0
  263. package/dist/stage-bundles/preact/chunks/chunk-TVGXBOIT.js +18 -0
  264. package/dist/stage-bundles/preact/chunks/chunk-U7U7L7XZ.js +31 -0
  265. package/dist/stage-bundles/preact/chunks/chunk-UFHA3ODE.js +528 -0
  266. package/dist/stage-bundles/preact/chunks/chunk-UHGV762U.js +12 -0
  267. package/dist/stage-bundles/preact/chunks/chunk-V6MKKC23.js +18 -0
  268. package/dist/stage-bundles/preact/chunks/chunk-VK4FEQKG.js +18 -0
  269. package/dist/stage-bundles/preact/chunks/chunk-VZNGMF63.js +12 -0
  270. package/dist/stage-bundles/preact/chunks/chunk-W5CGYUVM.js +8 -0
  271. package/dist/stage-bundles/preact/chunks/chunk-W7QH4UII.js +54 -0
  272. package/dist/stage-bundles/preact/chunks/chunk-WMV5J37V.js +8 -0
  273. package/dist/stage-bundles/preact/chunks/chunk-WXDXWNWW.js +8 -0
  274. package/dist/stage-bundles/preact/chunks/chunk-XKFPCFZH.js +8 -0
  275. package/dist/stage-bundles/preact/chunks/chunk-YCZNHFZA.js +15 -0
  276. package/dist/stage-bundles/preact/chunks/chunk-YEEGISBQ.js +23 -0
  277. package/dist/stage-bundles/preact/chunks/chunk-YM3NAGCN.js +8 -0
  278. package/dist/stage-bundles/preact/chunks/chunk-YMVTSVEM.js +26 -0
  279. package/dist/stage-bundles/preact/chunks/chunk-YXNMNEJV.js +329 -0
  280. package/dist/stage-bundles/preact/chunks/clearDestination-EMCIEDAP.js +7 -0
  281. package/dist/stage-bundles/preact/chunks/clearName-O7J77F77.js +7 -0
  282. package/dist/stage-bundles/preact/chunks/clearOptionsExpression-RGDXKYVX.js +7 -0
  283. package/dist/stage-bundles/preact/chunks/clearRender-DFMNHXXQ.js +7 -0
  284. package/dist/stage-bundles/preact/chunks/clearRepeat-436RGATR.js +7 -0
  285. package/dist/stage-bundles/preact/chunks/contentEditor-NLMG4U5G.js +67 -0
  286. package/dist/stage-bundles/preact/chunks/createAction-CKUAX4TU.js +8 -0
  287. package/dist/stage-bundles/preact/chunks/createAnimation-URI5366N.js +7 -0
  288. package/dist/stage-bundles/preact/chunks/createComputed-I23CA5NX.js +8 -0
  289. package/dist/stage-bundles/preact/chunks/createTextContent-K4G7KNQ5.js +10 -0
  290. package/dist/stage-bundles/preact/chunks/createValue-D5MP2SMM.js +7 -0
  291. package/dist/stage-bundles/preact/chunks/disconnectNode-GM5F3ZMB.js +8 -0
  292. package/dist/stage-bundles/preact/chunks/history-7PFZW7N6.js +51 -0
  293. package/dist/stage-bundles/preact/chunks/id-VSNJWKHU.js +53 -0
  294. package/dist/stage-bundles/preact/chunks/main-GQD7B74Q.js +103 -0
  295. package/dist/stage-bundles/preact/chunks/main-M2BBXKSW.js +154 -0
  296. package/dist/stage-bundles/preact/chunks/main-QDV3BMBP.js +109 -0
  297. package/dist/stage-bundles/preact/chunks/main-QOB4HBIK.js +31 -0
  298. package/dist/stage-bundles/preact/chunks/moveNodeToLastChildOf-Z6JUVLGM.js +12 -0
  299. package/dist/stage-bundles/preact/chunks/nodeGraph-TTOC6H4R.js +53 -0
  300. package/dist/stage-bundles/preact/chunks/normalizeEventName-2JPOX7Y6.js +128 -0
  301. package/dist/stage-bundles/preact/chunks/normalizeLayoutContext-Y44QODFX.js +9 -0
  302. package/dist/stage-bundles/preact/chunks/preact-FCSVXHIZ.js +39 -0
  303. package/dist/stage-bundles/preact/chunks/preview-bootstrap-QHWGL6NH.js +137 -0
  304. package/dist/stage-bundles/preact/chunks/removeAction-PPAIVTW3.js +7 -0
  305. package/dist/stage-bundles/preact/chunks/removeAnimationBinding-UQ24BSXP.js +7 -0
  306. package/dist/stage-bundles/preact/chunks/removeAttribute-P2IDGOQH.js +7 -0
  307. package/dist/stage-bundles/preact/chunks/removeComputed-7C66NNZA.js +7 -0
  308. package/dist/stage-bundles/preact/chunks/removeEvent-KTSOCV4C.js +7 -0
  309. package/dist/stage-bundles/preact/chunks/removeLifecycleHook-NKXLF3QT.js +7 -0
  310. package/dist/stage-bundles/preact/chunks/removeNode-A7C34C42.js +10 -0
  311. package/dist/stage-bundles/preact/chunks/removeOption-6HW62A5Y.js +7 -0
  312. package/dist/stage-bundles/preact/chunks/removeParamFromRoute-LIKPDVU4.js +7 -0
  313. package/dist/stage-bundles/preact/chunks/removeState-PO6J3JYQ.js +7 -0
  314. package/dist/stage-bundles/preact/chunks/removeStore-5ZZ57NHV.js +7 -0
  315. package/dist/stage-bundles/preact/chunks/removeToken-BKJE3U6Q.js +7 -0
  316. package/dist/stage-bundles/preact/chunks/removeValue-5FNPXWNL.js +7 -0
  317. package/dist/stage-bundles/preact/chunks/screen-capture-bootstrap-YWUN6QRP.js +128 -0
  318. package/dist/stage-bundles/preact/chunks/setDestination-DAYIYYIV.js +7 -0
  319. package/dist/stage-bundles/preact/chunks/setHomePage-MHCP4P24.js +7 -0
  320. package/dist/stage-bundles/preact/chunks/setHtmlId-3HYPFT3T.js +7 -0
  321. package/dist/stage-bundles/preact/chunks/setName-OQOO3URG.js +7 -0
  322. package/dist/stage-bundles/preact/chunks/setNodeLayout-PWQS32M2.js +10 -0
  323. package/dist/stage-bundles/preact/chunks/setOptionsExpression-XZZOJPCM.js +8 -0
  324. package/dist/stage-bundles/preact/chunks/setRender-NHXZZGME.js +10 -0
  325. package/dist/stage-bundles/preact/chunks/setRepeat-YZTZFDTQ.js +10 -0
  326. package/dist/stage-bundles/preact/chunks/setTagName-EGPQ66XI.js +7 -0
  327. package/dist/stage-bundles/preact/chunks/updateAction-ZSNXUEQA.js +9 -0
  328. package/dist/stage-bundles/preact/chunks/updateAnimationBinding-X2UXYQKJ.js +7 -0
  329. package/dist/stage-bundles/preact/chunks/updateAttribute-ODXM7YXA.js +12 -0
  330. package/dist/stage-bundles/preact/chunks/updateBounds-PEGOZ4FT.js +7 -0
  331. package/dist/stage-bundles/preact/chunks/updateComputed-6LNN453F.js +9 -0
  332. package/dist/stage-bundles/preact/chunks/updateEvent-ZHCKBJIM.js +11 -0
  333. package/dist/stage-bundles/preact/chunks/updateHtml-6BPU5PRY.js +7 -0
  334. package/dist/stage-bundles/preact/chunks/updateLifecycleHook-JEMQQYM5.js +8 -0
  335. package/dist/stage-bundles/preact/chunks/updateOption-SH33P5WW.js +8 -0
  336. package/dist/stage-bundles/preact/chunks/updateRoute-3RRPY2T5.js +7 -0
  337. package/dist/stage-bundles/preact/chunks/updateState-WRLF4SSC.js +11 -0
  338. package/dist/stage-bundles/preact/chunks/updateStyle-WAPTDAU5.js +7 -0
  339. package/dist/stage-bundles/preact/chunks/updateToken-CFIIILXB.js +7 -0
  340. package/dist/stage-bundles/preact/chunks/updateValue-JTEEC2B6.js +8 -0
  341. package/dist/stage-bundles/preact/chunks/user-ZLGCTRZX.js +44 -0
  342. package/dist/stage-bundles/preact/chunks/validateStorePayload-7A2INWJV.js +61 -0
  343. package/dist/stage-bundles/preact/chunks/viewport-OTNUF4XI.js +21 -0
  344. package/dist/stage-bundles/preact/chunks/window-73DBL24T.js +32 -0
  345. package/dist/stage-bundles/preact/entry.js +85 -0
  346. package/dist/stage-bundles/preact/framework-compat.js +103 -0
  347. package/dist/stage-bundles/preact/framework-hooks.js +35 -0
  348. package/dist/stage-bundles/preact/framework-jsx-runtime.js +102 -0
  349. package/dist/stage-bundles/preact/framework.js +33 -0
  350. package/dist/stage-bundles/preact/sdk.js +44 -0
  351. package/dist/stage-bundles/react/chunks/addAction-UV7MSISB.js +9 -0
  352. package/dist/stage-bundles/react/chunks/addAnimationBinding-M4VWTNNB.js +7 -0
  353. package/dist/stage-bundles/react/chunks/addAttribute-V4C3VUVK.js +12 -0
  354. package/dist/stage-bundles/react/chunks/addComponent-GUOHFGDG.js +14 -0
  355. package/dist/stage-bundles/react/chunks/addComputed-N3SUFIVQ.js +9 -0
  356. package/dist/stage-bundles/react/chunks/addEvent-GQCCRSGP.js +11 -0
  357. package/dist/stage-bundles/react/chunks/addLifecycleHook-GC5MHVSH.js +8 -0
  358. package/dist/stage-bundles/react/chunks/addNode-TX462HCE.js +19 -0
  359. package/dist/stage-bundles/react/chunks/addOption-7T3ZUC3A.js +8 -0
  360. package/dist/stage-bundles/react/chunks/addParamToRoute-Q6Z5A6RQ.js +7 -0
  361. package/dist/stage-bundles/react/chunks/addState-IKDWEJIW.js +11 -0
  362. package/dist/stage-bundles/react/chunks/addStore-SR7UK24M.js +7 -0
  363. package/dist/stage-bundles/react/chunks/addToken-2G5DPV5Z.js +8 -0
  364. package/dist/stage-bundles/react/chunks/addValue-UYM36PD7.js +8 -0
  365. package/dist/stage-bundles/react/chunks/aiRelay-RULC7GEA.js +184 -0
  366. package/dist/stage-bundles/react/chunks/assets-24YGC7SD.js +42 -0
  367. package/dist/stage-bundles/react/chunks/bootstrap-6YUSZ2AL.js +4080 -0
  368. package/dist/stage-bundles/react/chunks/chunk-22J4JOPG.js +9 -0
  369. package/dist/stage-bundles/react/chunks/chunk-236DY7EE.js +92 -0
  370. package/dist/stage-bundles/react/chunks/chunk-2H2EQ2RG.js +24 -0
  371. package/dist/stage-bundles/react/chunks/chunk-2Y25YY3N.js +12 -0
  372. package/dist/stage-bundles/react/chunks/chunk-3BDWFE4Q.js +1353 -0
  373. package/dist/stage-bundles/react/chunks/chunk-3MJKS6VX.js +19 -0
  374. package/dist/stage-bundles/react/chunks/chunk-3NLDBJQD.js +12 -0
  375. package/dist/stage-bundles/react/chunks/chunk-5C4ODH2L.js +198 -0
  376. package/dist/stage-bundles/react/chunks/chunk-5EXNWE4S.js +4290 -0
  377. package/dist/stage-bundles/react/chunks/chunk-65Q2CFW7.js +18 -0
  378. package/dist/stage-bundles/react/chunks/chunk-667SIQGW.js +12 -0
  379. package/dist/stage-bundles/react/chunks/chunk-6B6PKOOA.js +140 -0
  380. package/dist/stage-bundles/react/chunks/chunk-6BXKZHN6.js +19 -0
  381. package/dist/stage-bundles/react/chunks/chunk-6E57QUN7.js +21 -0
  382. package/dist/stage-bundles/react/chunks/chunk-6QYYO5LM.js +12 -0
  383. package/dist/stage-bundles/react/chunks/chunk-6R3QXFFF.js +47 -0
  384. package/dist/stage-bundles/react/chunks/chunk-6RLI7CFQ.js +12 -0
  385. package/dist/stage-bundles/react/chunks/chunk-6TDZGYJG.js +13 -0
  386. package/dist/stage-bundles/react/chunks/chunk-7MWSPEGH.js +172 -0
  387. package/dist/stage-bundles/react/chunks/chunk-A65NYJEZ.js +157 -0
  388. package/dist/stage-bundles/react/chunks/chunk-ABVPSM2D.js +278 -0
  389. package/dist/stage-bundles/react/chunks/chunk-AI3MQHWR.js +51 -0
  390. package/dist/stage-bundles/react/chunks/chunk-BWZPEI76.js +18 -0
  391. package/dist/stage-bundles/react/chunks/chunk-CHZVDVQC.js +8 -0
  392. package/dist/stage-bundles/react/chunks/chunk-CJOJNMRC.js +8 -0
  393. package/dist/stage-bundles/react/chunks/chunk-CXATTVPL.js +24 -0
  394. package/dist/stage-bundles/react/chunks/chunk-DBHMBCBM.js +14 -0
  395. package/dist/stage-bundles/react/chunks/chunk-DCKGUW2M.js +8 -0
  396. package/dist/stage-bundles/react/chunks/chunk-EB5FGFFG.js +12 -0
  397. package/dist/stage-bundles/react/chunks/chunk-F6JYAVEC.js +15 -0
  398. package/dist/stage-bundles/react/chunks/chunk-F77HGOQB.js +8 -0
  399. package/dist/stage-bundles/react/chunks/chunk-FSIANI7E.js +11 -0
  400. package/dist/stage-bundles/react/chunks/chunk-FZZDMYBZ.js +12 -0
  401. package/dist/stage-bundles/react/chunks/chunk-H75SQT4U.js +105 -0
  402. package/dist/stage-bundles/react/chunks/chunk-IDGFZWZY.js +13 -0
  403. package/dist/stage-bundles/react/chunks/chunk-IIIXGKVH.js +17 -0
  404. package/dist/stage-bundles/react/chunks/chunk-ILZWSEWK.js +19 -0
  405. package/dist/stage-bundles/react/chunks/chunk-IO3NSIEJ.js +8 -0
  406. package/dist/stage-bundles/react/chunks/chunk-JDIO27MU.js +8 -0
  407. package/dist/stage-bundles/react/chunks/chunk-K7ZULZJF.js +116 -0
  408. package/dist/stage-bundles/react/chunks/chunk-KF4MVCJ6.js +13 -0
  409. package/dist/stage-bundles/react/chunks/chunk-KHURU62K.js +27 -0
  410. package/dist/stage-bundles/react/chunks/chunk-KKLU24SB.js +33 -0
  411. package/dist/stage-bundles/react/chunks/chunk-KOBPYD4N.js +8 -0
  412. package/dist/stage-bundles/react/chunks/chunk-LH4ZDX3T.js +58 -0
  413. package/dist/stage-bundles/react/chunks/chunk-M3YT4JBL.js +12 -0
  414. package/dist/stage-bundles/react/chunks/chunk-MAPYANXA.js +8 -0
  415. package/dist/stage-bundles/react/chunks/chunk-MMCB6GGX.js +8 -0
  416. package/dist/stage-bundles/react/chunks/chunk-NCUWZXVZ.js +8 -0
  417. package/dist/stage-bundles/react/chunks/chunk-O3KQTA3H.js +21 -0
  418. package/dist/stage-bundles/react/chunks/chunk-P7UUT7BU.js +12 -0
  419. package/dist/stage-bundles/react/chunks/chunk-PHVB7SAE.js +22 -0
  420. package/dist/stage-bundles/react/chunks/chunk-PKSFATQY.js +10 -0
  421. package/dist/stage-bundles/react/chunks/chunk-PU2GET2S.js +18 -0
  422. package/dist/stage-bundles/react/chunks/chunk-QBXKRHK5.js +11 -0
  423. package/dist/stage-bundles/react/chunks/chunk-QCQXLZJH.js +18 -0
  424. package/dist/stage-bundles/react/chunks/chunk-QIOKODGT.js +14 -0
  425. package/dist/stage-bundles/react/chunks/chunk-QTTED7GZ.js +49 -0
  426. package/dist/stage-bundles/react/chunks/chunk-QVH24VHP.js +473 -0
  427. package/dist/stage-bundles/react/chunks/chunk-R5DUYWXP.js +8 -0
  428. package/dist/stage-bundles/react/chunks/chunk-RCIDQRAS.js +54 -0
  429. package/dist/stage-bundles/react/chunks/chunk-RI7XWDHX.js +10 -0
  430. package/dist/stage-bundles/react/chunks/chunk-RZDFRJVR.js +13065 -0
  431. package/dist/stage-bundles/react/chunks/chunk-RZG5LCPH.js +12 -0
  432. package/dist/stage-bundles/react/chunks/chunk-S4NZQRJJ.js +12 -0
  433. package/dist/stage-bundles/react/chunks/chunk-S5L2YBXG.js +143 -0
  434. package/dist/stage-bundles/react/chunks/chunk-SF5BLQ7P.js +14 -0
  435. package/dist/stage-bundles/react/chunks/chunk-SPTKNGHA.js +14 -0
  436. package/dist/stage-bundles/react/chunks/chunk-TKHCH4WB.js +35 -0
  437. package/dist/stage-bundles/react/chunks/chunk-TVB3GD7L.js +8 -0
  438. package/dist/stage-bundles/react/chunks/chunk-TVGXBOIT.js +18 -0
  439. package/dist/stage-bundles/react/chunks/chunk-U7U7L7XZ.js +31 -0
  440. package/dist/stage-bundles/react/chunks/chunk-UHGV762U.js +12 -0
  441. package/dist/stage-bundles/react/chunks/chunk-V6MKKC23.js +18 -0
  442. package/dist/stage-bundles/react/chunks/chunk-VK4FEQKG.js +18 -0
  443. package/dist/stage-bundles/react/chunks/chunk-VZNGMF63.js +12 -0
  444. package/dist/stage-bundles/react/chunks/chunk-W5CGYUVM.js +8 -0
  445. package/dist/stage-bundles/react/chunks/chunk-W7QH4UII.js +54 -0
  446. package/dist/stage-bundles/react/chunks/chunk-WMV5J37V.js +8 -0
  447. package/dist/stage-bundles/react/chunks/chunk-WXDXWNWW.js +8 -0
  448. package/dist/stage-bundles/react/chunks/chunk-XKFPCFZH.js +8 -0
  449. package/dist/stage-bundles/react/chunks/chunk-XVJJ3LG4.js +528 -0
  450. package/dist/stage-bundles/react/chunks/chunk-YCZNHFZA.js +15 -0
  451. package/dist/stage-bundles/react/chunks/chunk-YEEGISBQ.js +23 -0
  452. package/dist/stage-bundles/react/chunks/chunk-YM3NAGCN.js +8 -0
  453. package/dist/stage-bundles/react/chunks/chunk-YMVTSVEM.js +26 -0
  454. package/dist/stage-bundles/react/chunks/chunk-ZHZLVPR6.js +68 -0
  455. package/dist/stage-bundles/react/chunks/chunk-ZP3VSN3A.js +12093 -0
  456. package/dist/stage-bundles/react/chunks/clearDestination-KO6YHLX2.js +7 -0
  457. package/dist/stage-bundles/react/chunks/clearName-AAUKJ3OX.js +7 -0
  458. package/dist/stage-bundles/react/chunks/clearOptionsExpression-YGCMAZEE.js +7 -0
  459. package/dist/stage-bundles/react/chunks/clearRender-TTNIVIPG.js +7 -0
  460. package/dist/stage-bundles/react/chunks/clearRepeat-AZLSTBXI.js +7 -0
  461. package/dist/stage-bundles/react/chunks/contentEditor-HE34KY6R.js +67 -0
  462. package/dist/stage-bundles/react/chunks/createAction-N6UW7YDP.js +8 -0
  463. package/dist/stage-bundles/react/chunks/createAnimation-RIBXIT62.js +7 -0
  464. package/dist/stage-bundles/react/chunks/createComputed-KKULWYID.js +8 -0
  465. package/dist/stage-bundles/react/chunks/createTextContent-R5YRKNJL.js +10 -0
  466. package/dist/stage-bundles/react/chunks/createValue-SL4Y3LPI.js +7 -0
  467. package/dist/stage-bundles/react/chunks/disconnectNode-J6YACRLT.js +8 -0
  468. package/dist/stage-bundles/react/chunks/history-KTZZH7TG.js +51 -0
  469. package/dist/stage-bundles/react/chunks/id-WBHG2QOH.js +53 -0
  470. package/dist/stage-bundles/react/chunks/main-EMRULEYO.js +103 -0
  471. package/dist/stage-bundles/react/chunks/main-IVVVSUSO.js +109 -0
  472. package/dist/stage-bundles/react/chunks/main-Y7QHSAW7.js +154 -0
  473. package/dist/stage-bundles/react/chunks/main-YSWDZAGN.js +31 -0
  474. package/dist/stage-bundles/react/chunks/moveNodeToLastChildOf-IUKGA7IO.js +12 -0
  475. package/dist/stage-bundles/react/chunks/nodeGraph-GGV7TAPQ.js +53 -0
  476. package/dist/stage-bundles/react/chunks/normalizeEventName-EWVVRI6K.js +128 -0
  477. package/dist/stage-bundles/react/chunks/normalizeLayoutContext-TO4WKUWF.js +9 -0
  478. package/dist/stage-bundles/react/chunks/preview-bootstrap-FVKBRYC5.js +137 -0
  479. package/dist/stage-bundles/react/chunks/react-GONY7QDQ.js +44 -0
  480. package/dist/stage-bundles/react/chunks/removeAction-4PGYJ6CA.js +7 -0
  481. package/dist/stage-bundles/react/chunks/removeAnimationBinding-3SYE7FD3.js +7 -0
  482. package/dist/stage-bundles/react/chunks/removeAttribute-4QEKTGTP.js +7 -0
  483. package/dist/stage-bundles/react/chunks/removeComputed-5J772TBY.js +7 -0
  484. package/dist/stage-bundles/react/chunks/removeEvent-7ODGVHMT.js +7 -0
  485. package/dist/stage-bundles/react/chunks/removeLifecycleHook-3XIZU6TW.js +7 -0
  486. package/dist/stage-bundles/react/chunks/removeNode-DY2ULYNK.js +10 -0
  487. package/dist/stage-bundles/react/chunks/removeOption-V4NBH6EE.js +7 -0
  488. package/dist/stage-bundles/react/chunks/removeParamFromRoute-IMXTBRSZ.js +7 -0
  489. package/dist/stage-bundles/react/chunks/removeState-EBT6YGSZ.js +7 -0
  490. package/dist/stage-bundles/react/chunks/removeStore-UJA67G3O.js +7 -0
  491. package/dist/stage-bundles/react/chunks/removeToken-EDVBR3OL.js +7 -0
  492. package/dist/stage-bundles/react/chunks/removeValue-UPOTPB3T.js +7 -0
  493. package/dist/stage-bundles/react/chunks/screen-capture-bootstrap-XMTHAMIX.js +128 -0
  494. package/dist/stage-bundles/react/chunks/setDestination-M6MQACBQ.js +7 -0
  495. package/dist/stage-bundles/react/chunks/setHomePage-4U4Z3RU7.js +7 -0
  496. package/dist/stage-bundles/react/chunks/setHtmlId-MN7AQG5H.js +7 -0
  497. package/dist/stage-bundles/react/chunks/setName-W4MXGWGB.js +7 -0
  498. package/dist/stage-bundles/react/chunks/setNodeLayout-K2VNUD2H.js +10 -0
  499. package/dist/stage-bundles/react/chunks/setOptionsExpression-KQLKXH4C.js +8 -0
  500. package/dist/stage-bundles/react/chunks/setRender-UJAXCTRA.js +10 -0
  501. package/dist/stage-bundles/react/chunks/setRepeat-X5GZ4F2P.js +10 -0
  502. package/dist/stage-bundles/react/chunks/setTagName-5DMTFJTJ.js +7 -0
  503. package/dist/stage-bundles/react/chunks/updateAction-6KYOHLA3.js +9 -0
  504. package/dist/stage-bundles/react/chunks/updateAnimationBinding-SENX3Z5S.js +7 -0
  505. package/dist/stage-bundles/react/chunks/updateAttribute-VWGV37R7.js +12 -0
  506. package/dist/stage-bundles/react/chunks/updateBounds-WKOI6XJ3.js +7 -0
  507. package/dist/stage-bundles/react/chunks/updateComputed-7QBBBXFC.js +9 -0
  508. package/dist/stage-bundles/react/chunks/updateEvent-4PDSQ3Q4.js +11 -0
  509. package/dist/stage-bundles/react/chunks/updateHtml-EJFF2LPA.js +7 -0
  510. package/dist/stage-bundles/react/chunks/updateLifecycleHook-36JI5KSF.js +8 -0
  511. package/dist/stage-bundles/react/chunks/updateOption-ZEZ4TP7K.js +8 -0
  512. package/dist/stage-bundles/react/chunks/updateRoute-P5OTKOOG.js +7 -0
  513. package/dist/stage-bundles/react/chunks/updateState-B2RIQRWF.js +11 -0
  514. package/dist/stage-bundles/react/chunks/updateStyle-FN7CGZTJ.js +7 -0
  515. package/dist/stage-bundles/react/chunks/updateToken-DMJBW7ZK.js +7 -0
  516. package/dist/stage-bundles/react/chunks/updateValue-6FPRH4CG.js +8 -0
  517. package/dist/stage-bundles/react/chunks/user-MDIKS6ZN.js +44 -0
  518. package/dist/stage-bundles/react/chunks/validateStorePayload-HE65PPAB.js +61 -0
  519. package/dist/stage-bundles/react/chunks/viewport-DKL3EJOU.js +21 -0
  520. package/dist/stage-bundles/react/chunks/window-RCEXDLL7.js +32 -0
  521. package/dist/stage-bundles/react/entry.js +85 -0
  522. package/dist/stage-bundles/react/framework-dom-client.js +22 -0
  523. package/dist/stage-bundles/react/framework-dom.js +21 -0
  524. package/dist/stage-bundles/react/framework-jsx-runtime.js +73 -0
  525. package/dist/stage-bundles/react/framework.js +20 -0
  526. package/dist/stage-bundles/react/sdk.js +49 -0
  527. package/dist/stage-bundles/vue/chunks/addAction-5FCPHQHB.js +9 -0
  528. package/dist/stage-bundles/vue/chunks/addAnimationBinding-5UBXLWDB.js +7 -0
  529. package/dist/stage-bundles/vue/chunks/addAttribute-PWIHRX6Y.js +12 -0
  530. package/dist/stage-bundles/vue/chunks/addComponent-77PUZWLS.js +14 -0
  531. package/dist/stage-bundles/vue/chunks/addComputed-5J47SS67.js +9 -0
  532. package/dist/stage-bundles/vue/chunks/addEvent-P2KGVMLM.js +11 -0
  533. package/dist/stage-bundles/vue/chunks/addLifecycleHook-VSOAZGTG.js +8 -0
  534. package/dist/stage-bundles/vue/chunks/addNode-DMJXP7VV.js +19 -0
  535. package/dist/stage-bundles/vue/chunks/addOption-3U3LAV4C.js +8 -0
  536. package/dist/stage-bundles/vue/chunks/addParamToRoute-43UDJ4YE.js +7 -0
  537. package/dist/stage-bundles/vue/chunks/addState-ZWDA2CLN.js +11 -0
  538. package/dist/stage-bundles/vue/chunks/addStore-A4CRKMPO.js +7 -0
  539. package/dist/stage-bundles/vue/chunks/addToken-7P5NGEG4.js +8 -0
  540. package/dist/stage-bundles/vue/chunks/addValue-VQW7HQX7.js +8 -0
  541. package/dist/stage-bundles/vue/chunks/aiRelay-TFBJ7BF4.js +184 -0
  542. package/dist/stage-bundles/vue/chunks/assets-3W46CFCY.js +42 -0
  543. package/dist/stage-bundles/vue/chunks/bootstrap-Y4GN2FZZ.js +4078 -0
  544. package/dist/stage-bundles/vue/chunks/chunk-22J4JOPG.js +9 -0
  545. package/dist/stage-bundles/vue/chunks/chunk-2H2EQ2RG.js +24 -0
  546. package/dist/stage-bundles/vue/chunks/chunk-2Y25YY3N.js +12 -0
  547. package/dist/stage-bundles/vue/chunks/chunk-3MJKS6VX.js +19 -0
  548. package/dist/stage-bundles/vue/chunks/chunk-3N472G56.js +4290 -0
  549. package/dist/stage-bundles/vue/chunks/chunk-3NLDBJQD.js +12 -0
  550. package/dist/stage-bundles/vue/chunks/chunk-442CZ2YL.js +144 -0
  551. package/dist/stage-bundles/vue/chunks/chunk-44GL4NDX.js +25863 -0
  552. package/dist/stage-bundles/vue/chunks/chunk-4A4WKSGY.js +66 -0
  553. package/dist/stage-bundles/vue/chunks/chunk-4VX5AMMQ.js +54 -0
  554. package/dist/stage-bundles/vue/chunks/chunk-65Q2CFW7.js +18 -0
  555. package/dist/stage-bundles/vue/chunks/chunk-667SIQGW.js +12 -0
  556. package/dist/stage-bundles/vue/chunks/chunk-6BXKZHN6.js +19 -0
  557. package/dist/stage-bundles/vue/chunks/chunk-6E57QUN7.js +21 -0
  558. package/dist/stage-bundles/vue/chunks/chunk-6QYYO5LM.js +12 -0
  559. package/dist/stage-bundles/vue/chunks/chunk-6R3QXFFF.js +47 -0
  560. package/dist/stage-bundles/vue/chunks/chunk-6RLI7CFQ.js +12 -0
  561. package/dist/stage-bundles/vue/chunks/chunk-6TDZGYJG.js +13 -0
  562. package/dist/stage-bundles/vue/chunks/chunk-AI3MQHWR.js +51 -0
  563. package/dist/stage-bundles/vue/chunks/chunk-BWZPEI76.js +18 -0
  564. package/dist/stage-bundles/vue/chunks/chunk-CHZVDVQC.js +8 -0
  565. package/dist/stage-bundles/vue/chunks/chunk-CJOJNMRC.js +8 -0
  566. package/dist/stage-bundles/vue/chunks/chunk-CXATTVPL.js +24 -0
  567. package/dist/stage-bundles/vue/chunks/chunk-DBHMBCBM.js +14 -0
  568. package/dist/stage-bundles/vue/chunks/chunk-DCKGUW2M.js +8 -0
  569. package/dist/stage-bundles/vue/chunks/chunk-EB5FGFFG.js +12 -0
  570. package/dist/stage-bundles/vue/chunks/chunk-F6JYAVEC.js +15 -0
  571. package/dist/stage-bundles/vue/chunks/chunk-F77HGOQB.js +8 -0
  572. package/dist/stage-bundles/vue/chunks/chunk-FSIANI7E.js +11 -0
  573. package/dist/stage-bundles/vue/chunks/chunk-FZZDMYBZ.js +12 -0
  574. package/dist/stage-bundles/vue/chunks/chunk-GI5C7GB7.js +12838 -0
  575. package/dist/stage-bundles/vue/chunks/chunk-H75SQT4U.js +105 -0
  576. package/dist/stage-bundles/vue/chunks/chunk-IDGFZWZY.js +13 -0
  577. package/dist/stage-bundles/vue/chunks/chunk-IIIXGKVH.js +17 -0
  578. package/dist/stage-bundles/vue/chunks/chunk-ILZWSEWK.js +19 -0
  579. package/dist/stage-bundles/vue/chunks/chunk-IO3NSIEJ.js +8 -0
  580. package/dist/stage-bundles/vue/chunks/chunk-IRDAUQG3.js +49 -0
  581. package/dist/stage-bundles/vue/chunks/chunk-ISOZDDO2.js +157 -0
  582. package/dist/stage-bundles/vue/chunks/chunk-IVU4565D.js +26 -0
  583. package/dist/stage-bundles/vue/chunks/chunk-JDIO27MU.js +8 -0
  584. package/dist/stage-bundles/vue/chunks/chunk-JJVRBJGQ.js +1353 -0
  585. package/dist/stage-bundles/vue/chunks/chunk-JKOWPFOY.js +172 -0
  586. package/dist/stage-bundles/vue/chunks/chunk-K7ZULZJF.js +116 -0
  587. package/dist/stage-bundles/vue/chunks/chunk-KF4MVCJ6.js +13 -0
  588. package/dist/stage-bundles/vue/chunks/chunk-KHURU62K.js +27 -0
  589. package/dist/stage-bundles/vue/chunks/chunk-KKLU24SB.js +33 -0
  590. package/dist/stage-bundles/vue/chunks/chunk-KOBPYD4N.js +8 -0
  591. package/dist/stage-bundles/vue/chunks/chunk-LH4ZDX3T.js +58 -0
  592. package/dist/stage-bundles/vue/chunks/chunk-M3YT4JBL.js +12 -0
  593. package/dist/stage-bundles/vue/chunks/chunk-MAPYANXA.js +8 -0
  594. package/dist/stage-bundles/vue/chunks/chunk-MMCB6GGX.js +8 -0
  595. package/dist/stage-bundles/vue/chunks/chunk-NCUWZXVZ.js +8 -0
  596. package/dist/stage-bundles/vue/chunks/chunk-O3KQTA3H.js +21 -0
  597. package/dist/stage-bundles/vue/chunks/chunk-P7UUT7BU.js +12 -0
  598. package/dist/stage-bundles/vue/chunks/chunk-PHVB7SAE.js +22 -0
  599. package/dist/stage-bundles/vue/chunks/chunk-PKSFATQY.js +10 -0
  600. package/dist/stage-bundles/vue/chunks/chunk-PU2GET2S.js +18 -0
  601. package/dist/stage-bundles/vue/chunks/chunk-QBXKRHK5.js +11 -0
  602. package/dist/stage-bundles/vue/chunks/chunk-QCQXLZJH.js +18 -0
  603. package/dist/stage-bundles/vue/chunks/chunk-QIOKODGT.js +14 -0
  604. package/dist/stage-bundles/vue/chunks/chunk-R5DUYWXP.js +8 -0
  605. package/dist/stage-bundles/vue/chunks/chunk-RHAVY7VB.js +92 -0
  606. package/dist/stage-bundles/vue/chunks/chunk-RI7XWDHX.js +10 -0
  607. package/dist/stage-bundles/vue/chunks/chunk-RZG5LCPH.js +12 -0
  608. package/dist/stage-bundles/vue/chunks/chunk-S4NZQRJJ.js +12 -0
  609. package/dist/stage-bundles/vue/chunks/chunk-S5L2YBXG.js +143 -0
  610. package/dist/stage-bundles/vue/chunks/chunk-SF5BLQ7P.js +14 -0
  611. package/dist/stage-bundles/vue/chunks/chunk-SKOTGWTH.js +140 -0
  612. package/dist/stage-bundles/vue/chunks/chunk-SPTKNGHA.js +14 -0
  613. package/dist/stage-bundles/vue/chunks/chunk-TKHCH4WB.js +35 -0
  614. package/dist/stage-bundles/vue/chunks/chunk-TVB3GD7L.js +8 -0
  615. package/dist/stage-bundles/vue/chunks/chunk-TVGXBOIT.js +18 -0
  616. package/dist/stage-bundles/vue/chunks/chunk-U7U7L7XZ.js +31 -0
  617. package/dist/stage-bundles/vue/chunks/chunk-UFHA3ODE.js +528 -0
  618. package/dist/stage-bundles/vue/chunks/chunk-UHGV762U.js +12 -0
  619. package/dist/stage-bundles/vue/chunks/chunk-V6MKKC23.js +18 -0
  620. package/dist/stage-bundles/vue/chunks/chunk-VK4FEQKG.js +18 -0
  621. package/dist/stage-bundles/vue/chunks/chunk-VZNGMF63.js +12 -0
  622. package/dist/stage-bundles/vue/chunks/chunk-W5CGYUVM.js +8 -0
  623. package/dist/stage-bundles/vue/chunks/chunk-W7QH4UII.js +54 -0
  624. package/dist/stage-bundles/vue/chunks/chunk-WMV5J37V.js +8 -0
  625. package/dist/stage-bundles/vue/chunks/chunk-WXDXWNWW.js +8 -0
  626. package/dist/stage-bundles/vue/chunks/chunk-XKFPCFZH.js +8 -0
  627. package/dist/stage-bundles/vue/chunks/chunk-YCZNHFZA.js +15 -0
  628. package/dist/stage-bundles/vue/chunks/chunk-YEEGISBQ.js +23 -0
  629. package/dist/stage-bundles/vue/chunks/chunk-YM3NAGCN.js +8 -0
  630. package/dist/stage-bundles/vue/chunks/clearDestination-EMCIEDAP.js +7 -0
  631. package/dist/stage-bundles/vue/chunks/clearName-O7J77F77.js +7 -0
  632. package/dist/stage-bundles/vue/chunks/clearOptionsExpression-RGDXKYVX.js +7 -0
  633. package/dist/stage-bundles/vue/chunks/clearRender-DFMNHXXQ.js +7 -0
  634. package/dist/stage-bundles/vue/chunks/clearRepeat-436RGATR.js +7 -0
  635. package/dist/stage-bundles/vue/chunks/contentEditor-XVLK5LYS.js +67 -0
  636. package/dist/stage-bundles/vue/chunks/createAction-CKUAX4TU.js +8 -0
  637. package/dist/stage-bundles/vue/chunks/createAnimation-URI5366N.js +7 -0
  638. package/dist/stage-bundles/vue/chunks/createComputed-I23CA5NX.js +8 -0
  639. package/dist/stage-bundles/vue/chunks/createTextContent-K4G7KNQ5.js +10 -0
  640. package/dist/stage-bundles/vue/chunks/createValue-D5MP2SMM.js +7 -0
  641. package/dist/stage-bundles/vue/chunks/disconnectNode-GM5F3ZMB.js +8 -0
  642. package/dist/stage-bundles/vue/chunks/history-7PFZW7N6.js +51 -0
  643. package/dist/stage-bundles/vue/chunks/id-VSNJWKHU.js +53 -0
  644. package/dist/stage-bundles/vue/chunks/main-GQD7B74Q.js +103 -0
  645. package/dist/stage-bundles/vue/chunks/main-L3KI7XBW.js +154 -0
  646. package/dist/stage-bundles/vue/chunks/main-SWZDSGE3.js +109 -0
  647. package/dist/stage-bundles/vue/chunks/main-ULK5YAYM.js +31 -0
  648. package/dist/stage-bundles/vue/chunks/moveNodeToLastChildOf-X46IGL47.js +12 -0
  649. package/dist/stage-bundles/vue/chunks/nodeGraph-TTOC6H4R.js +53 -0
  650. package/dist/stage-bundles/vue/chunks/normalizeEventName-2JPOX7Y6.js +128 -0
  651. package/dist/stage-bundles/vue/chunks/normalizeLayoutContext-SY3L4IB7.js +9 -0
  652. package/dist/stage-bundles/vue/chunks/preview-bootstrap-SIVRGDR2.js +135 -0
  653. package/dist/stage-bundles/vue/chunks/removeAction-PPAIVTW3.js +7 -0
  654. package/dist/stage-bundles/vue/chunks/removeAnimationBinding-UQ24BSXP.js +7 -0
  655. package/dist/stage-bundles/vue/chunks/removeAttribute-P2IDGOQH.js +7 -0
  656. package/dist/stage-bundles/vue/chunks/removeComputed-7C66NNZA.js +7 -0
  657. package/dist/stage-bundles/vue/chunks/removeEvent-KTSOCV4C.js +7 -0
  658. package/dist/stage-bundles/vue/chunks/removeLifecycleHook-NKXLF3QT.js +7 -0
  659. package/dist/stage-bundles/vue/chunks/removeNode-A7C34C42.js +10 -0
  660. package/dist/stage-bundles/vue/chunks/removeOption-6HW62A5Y.js +7 -0
  661. package/dist/stage-bundles/vue/chunks/removeParamFromRoute-LIKPDVU4.js +7 -0
  662. package/dist/stage-bundles/vue/chunks/removeState-PO6J3JYQ.js +7 -0
  663. package/dist/stage-bundles/vue/chunks/removeStore-5ZZ57NHV.js +7 -0
  664. package/dist/stage-bundles/vue/chunks/removeToken-BKJE3U6Q.js +7 -0
  665. package/dist/stage-bundles/vue/chunks/removeValue-5FNPXWNL.js +7 -0
  666. package/dist/stage-bundles/vue/chunks/screen-capture-bootstrap-GV75P6QF.js +126 -0
  667. package/dist/stage-bundles/vue/chunks/setDestination-DAYIYYIV.js +7 -0
  668. package/dist/stage-bundles/vue/chunks/setHomePage-MHCP4P24.js +7 -0
  669. package/dist/stage-bundles/vue/chunks/setHtmlId-3HYPFT3T.js +7 -0
  670. package/dist/stage-bundles/vue/chunks/setName-OQOO3URG.js +7 -0
  671. package/dist/stage-bundles/vue/chunks/setNodeLayout-W5QFJBKT.js +10 -0
  672. package/dist/stage-bundles/vue/chunks/setOptionsExpression-XZZOJPCM.js +8 -0
  673. package/dist/stage-bundles/vue/chunks/setRender-NHXZZGME.js +10 -0
  674. package/dist/stage-bundles/vue/chunks/setRepeat-YZTZFDTQ.js +10 -0
  675. package/dist/stage-bundles/vue/chunks/setTagName-EGPQ66XI.js +7 -0
  676. package/dist/stage-bundles/vue/chunks/updateAction-ZSNXUEQA.js +9 -0
  677. package/dist/stage-bundles/vue/chunks/updateAnimationBinding-X2UXYQKJ.js +7 -0
  678. package/dist/stage-bundles/vue/chunks/updateAttribute-ODXM7YXA.js +12 -0
  679. package/dist/stage-bundles/vue/chunks/updateBounds-PEGOZ4FT.js +7 -0
  680. package/dist/stage-bundles/vue/chunks/updateComputed-6LNN453F.js +9 -0
  681. package/dist/stage-bundles/vue/chunks/updateEvent-ZHCKBJIM.js +11 -0
  682. package/dist/stage-bundles/vue/chunks/updateHtml-6BPU5PRY.js +7 -0
  683. package/dist/stage-bundles/vue/chunks/updateLifecycleHook-JEMQQYM5.js +8 -0
  684. package/dist/stage-bundles/vue/chunks/updateOption-SH33P5WW.js +8 -0
  685. package/dist/stage-bundles/vue/chunks/updateRoute-3RRPY2T5.js +7 -0
  686. package/dist/stage-bundles/vue/chunks/updateState-WRLF4SSC.js +11 -0
  687. package/dist/stage-bundles/vue/chunks/updateStyle-WAPTDAU5.js +7 -0
  688. package/dist/stage-bundles/vue/chunks/updateToken-CFIIILXB.js +7 -0
  689. package/dist/stage-bundles/vue/chunks/updateValue-JTEEC2B6.js +8 -0
  690. package/dist/stage-bundles/vue/chunks/user-ZLGCTRZX.js +44 -0
  691. package/dist/stage-bundles/vue/chunks/validateStorePayload-7A2INWJV.js +61 -0
  692. package/dist/stage-bundles/vue/chunks/viewport-OTNUF4XI.js +21 -0
  693. package/dist/stage-bundles/vue/chunks/vue-2GZIKYJR.js +37 -0
  694. package/dist/stage-bundles/vue/chunks/window-73DBL24T.js +32 -0
  695. package/dist/stage-bundles/vue/entry.js +85 -0
  696. package/dist/stage-bundles/vue/framework-jsx-runtime.js +34 -0
  697. package/dist/stage-bundles/vue/framework.js +352 -0
  698. package/dist/stage-bundles/vue/sdk.js +42 -0
  699. package/dist/templates/.gitignore.template +29 -0
  700. package/dist/templates/index.html.template +17 -0
  701. package/dist/templates/jucie.config.js.template +15 -0
  702. package/dist/templates/package.json.template +14 -0
  703. package/dist/templates/sceneGraph/wal.log +0 -0
  704. package/package.json +92 -0
@@ -0,0 +1,4290 @@
1
+ import {
2
+ setTextContent
3
+ } from "./chunk-YMVTSVEM.js";
4
+ import {
5
+ createFrame
6
+ } from "./chunk-3NLDBJQD.js";
7
+ import {
8
+ L
9
+ } from "./chunk-JJVRBJGQ.js";
10
+ import {
11
+ updateHtml
12
+ } from "./chunk-DCKGUW2M.js";
13
+ import {
14
+ addParamToRoute
15
+ } from "./chunk-KF4MVCJ6.js";
16
+ import {
17
+ removeParamFromRoute
18
+ } from "./chunk-W5CGYUVM.js";
19
+ import {
20
+ updateLifecycleHook
21
+ } from "./chunk-EB5FGFFG.js";
22
+ import {
23
+ removeLifecycleHook
24
+ } from "./chunk-MAPYANXA.js";
25
+ import {
26
+ addOption
27
+ } from "./chunk-UHGV762U.js";
28
+ import {
29
+ updateOption
30
+ } from "./chunk-IIIXGKVH.js";
31
+ import {
32
+ removeOption
33
+ } from "./chunk-CHZVDVQC.js";
34
+ import {
35
+ setOptionsExpression
36
+ } from "./chunk-U7U7L7XZ.js";
37
+ import {
38
+ clearOptionsExpression
39
+ } from "./chunk-CXATTVPL.js";
40
+ import {
41
+ setTagName
42
+ } from "./chunk-CJOJNMRC.js";
43
+ import {
44
+ addState
45
+ } from "./chunk-667SIQGW.js";
46
+ import {
47
+ updateState
48
+ } from "./chunk-RZG5LCPH.js";
49
+ import {
50
+ removeState
51
+ } from "./chunk-IO3NSIEJ.js";
52
+ import {
53
+ setHtmlId
54
+ } from "./chunk-MMCB6GGX.js";
55
+ import {
56
+ addAttribute
57
+ } from "./chunk-BWZPEI76.js";
58
+ import {
59
+ updateAttribute
60
+ } from "./chunk-6E57QUN7.js";
61
+ import {
62
+ removeAttribute
63
+ } from "./chunk-VZNGMF63.js";
64
+ import {
65
+ addLifecycleHook
66
+ } from "./chunk-P7UUT7BU.js";
67
+ import {
68
+ updateRoute
69
+ } from "./chunk-TVGXBOIT.js";
70
+ import {
71
+ setHomePage
72
+ } from "./chunk-VK4FEQKG.js";
73
+ import {
74
+ createDestination,
75
+ setDestination
76
+ } from "./chunk-SF5BLQ7P.js";
77
+ import {
78
+ clearDestination
79
+ } from "./chunk-F77HGOQB.js";
80
+ import {
81
+ createRepeat,
82
+ setRepeat
83
+ } from "./chunk-2H2EQ2RG.js";
84
+ import {
85
+ clearRepeat
86
+ } from "./chunk-XKFPCFZH.js";
87
+ import {
88
+ createRender,
89
+ setRender
90
+ } from "./chunk-V6MKKC23.js";
91
+ import {
92
+ clearRender
93
+ } from "./chunk-TVB3GD7L.js";
94
+ import {
95
+ removeStyle,
96
+ setNodeLayout
97
+ } from "./chunk-RCIDQRAS.js";
98
+ import {
99
+ clearName
100
+ } from "./chunk-WXDXWNWW.js";
101
+ import {
102
+ setName
103
+ } from "./chunk-JDIO27MU.js";
104
+ import {
105
+ addComponent,
106
+ clone,
107
+ cloneNodes,
108
+ copyNode
109
+ } from "./chunk-ISOZDDO2.js";
110
+ import {
111
+ addEvent
112
+ } from "./chunk-2Y25YY3N.js";
113
+ import {
114
+ updateEvent
115
+ } from "./chunk-S4NZQRJJ.js";
116
+ import {
117
+ removeEvent
118
+ } from "./chunk-WMV5J37V.js";
119
+ import {
120
+ addNode,
121
+ createNodeEntry
122
+ } from "./chunk-CYH47R7O.js";
123
+ import {
124
+ createFrameOverrides,
125
+ getFramePreset
126
+ } from "./chunk-6R3QXFFF.js";
127
+ import {
128
+ createTextContent
129
+ } from "./chunk-KHURU62K.js";
130
+ import {
131
+ createDescriptor
132
+ } from "./chunk-H75SQT4U.js";
133
+ import {
134
+ canMoveFrame,
135
+ getNodeLevel,
136
+ moveNodeToLastChildOf,
137
+ moveNodeToRoot
138
+ } from "./chunk-236DY7EE.js";
139
+ import {
140
+ canAcceptChildren
141
+ } from "./chunk-K7ZULZJF.js";
142
+ import {
143
+ applyNodePatch,
144
+ clearPosition,
145
+ normalizeLayoutContext,
146
+ resetNodeBehavior,
147
+ setNodeBehavior
148
+ } from "./chunk-6B6PKOOA.js";
149
+ import {
150
+ toBpKey,
151
+ updateStyle
152
+ } from "./chunk-W7QH4UII.js";
153
+ import {
154
+ updateBounds
155
+ } from "./chunk-22J4JOPG.js";
156
+ import {
157
+ removeNode,
158
+ removeNodeIdFromAllInstanceSlots
159
+ } from "./chunk-LH4ZDX3T.js";
160
+ import {
161
+ findDescendantIds
162
+ } from "./chunk-IDGFZWZY.js";
163
+ import {
164
+ disconnectNode
165
+ } from "./chunk-3MJKS6VX.js";
166
+ import {
167
+ nodeExists
168
+ } from "./chunk-KOBPYD4N.js";
169
+ import {
170
+ __export
171
+ } from "./chunk-4A4WKSGY.js";
172
+
173
+ // ../scene-graph/nodes/mutations/setActiveBreakpoint.js
174
+ function setActiveBreakpoint(state, id, breakpoint) {
175
+ const key = breakpoint ?? "default";
176
+ state.set([id, ".activeBreakpoint"], key);
177
+ if (key !== "default") {
178
+ state.push([id, "locked"], "width");
179
+ } else {
180
+ const locked = state.get([id, "locked"]) ?? [];
181
+ const index = locked.indexOf("width");
182
+ if (index !== -1) {
183
+ state.splice([id, "locked"], index, 1);
184
+ }
185
+ }
186
+ }
187
+
188
+ // ../scene-graph/nodes/mutations/clearActiveBreakpoint.js
189
+ function clearActiveBreakpoint(state, id) {
190
+ state.remove([id, ".activeBreakpoint"]);
191
+ }
192
+
193
+ // ../scene-graph/nodes/contracts/breakpoint.js
194
+ var breakpointContracts = L("node:breakpoint", (useContext) => {
195
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
196
+ if (!nodes) {
197
+ throw new Error("Node cache not found");
198
+ }
199
+ return {
200
+ set: {
201
+ namespace: "scene-graph",
202
+ schema: ["String", "Number"],
203
+ handler: (id, name) => {
204
+ setActiveBreakpoint(nodes, id, name);
205
+ }
206
+ },
207
+ clear: {
208
+ namespace: "scene-graph",
209
+ schema: ["String"],
210
+ handler: (id) => {
211
+ clearActiveBreakpoint(nodes, id);
212
+ }
213
+ }
214
+ };
215
+ });
216
+
217
+ // ../scene-graph/nodes/factories/createClassName.js
218
+ function createClassName({ name, mode, ...rest } = {}) {
219
+ return createDescriptor({ name, mode: mode ?? "value", ...rest });
220
+ }
221
+
222
+ // ../scene-graph/nodes/mutations/addClassName.js
223
+ function addClassName(state, id, input2 = {}) {
224
+ const opts = typeof input2 === "string" ? { value: input2 } : input2;
225
+ return state.push([id, "className"], createClassName({ mode: "value", ...opts }));
226
+ }
227
+
228
+ // ../scene-graph/nodes/mutations/updateClassName.js
229
+ function updateClassName(state, id, value, className) {
230
+ return state.setWhere([id, "className"], { value }, createClassName(className));
231
+ }
232
+
233
+ // ../scene-graph/nodes/mutations/removeClassName.js
234
+ function removeClassName(state, id, value) {
235
+ return state.removeWhere([id, "className"], { value });
236
+ }
237
+
238
+ // ../scene-graph/nodes/contracts/className.js
239
+ var classNameContracts = L("node:className", (useContext) => {
240
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
241
+ if (!nodes) throw new Error("Node cache not found");
242
+ return {
243
+ add: {
244
+ namespace: "scene-graph",
245
+ schema: ["String", "String"],
246
+ handler: (id, value) => addClassName(nodes, id, value)
247
+ },
248
+ update: {
249
+ namespace: "scene-graph",
250
+ schema: ["String", "String", "Object"],
251
+ handler: (id, value, className) => updateClassName(nodes, id, value, className)
252
+ },
253
+ remove: {
254
+ namespace: "scene-graph",
255
+ schema: ["String", "String"],
256
+ handler: (id, value) => removeClassName(nodes, id, value)
257
+ }
258
+ };
259
+ });
260
+
261
+ // ../scene-graph/nodes/operations/cutNodes.js
262
+ function cutNodes(state, ids) {
263
+ const descendantIds = ids.flatMap((id) => findDescendantIds(state, id));
264
+ ids.forEach((id) => {
265
+ disconnectNode(state, id);
266
+ });
267
+ ids = [...ids, ...descendantIds];
268
+ const nodes = {};
269
+ for (const id of ids) {
270
+ nodes[id] = state.remove([id]);
271
+ }
272
+ return clone(nodes);
273
+ }
274
+
275
+ // ../scene-graph/nodes/operations/copyNodes.js
276
+ function copyNodes(state, ids) {
277
+ const descendantIds = ids.flatMap((id) => findDescendantIds(state, id));
278
+ ids = [...ids, ...descendantIds];
279
+ const nodes = {};
280
+ for (const id of ids) {
281
+ const node = state.get([id]);
282
+ if (node) {
283
+ nodes[id] = node;
284
+ }
285
+ }
286
+ return clone(nodes);
287
+ }
288
+
289
+ // ../scene-graph/nodes/operations/moveNodeToTemp.js
290
+ function moveNodeToTemp(state, id) {
291
+ state.update(["temp", "children"], (children = []) => {
292
+ if (children.indexOf(id) === -1) {
293
+ return [...children, id];
294
+ }
295
+ return children;
296
+ });
297
+ return true;
298
+ }
299
+
300
+ // ../scene-graph/nodes/operations/moveNodeAfter.js
301
+ function moveNodeAfter(state, id, prev) {
302
+ if (!canMoveFrame(state, id, prev, "after")) {
303
+ moveNodeToRoot(state, id);
304
+ return;
305
+ }
306
+ const prevIsRoot = state.get(["app", "children"])?.includes(prev);
307
+ if (prevIsRoot) {
308
+ state.update(["app", "children"], (roots = []) => {
309
+ const previousIndex = roots.indexOf(prev);
310
+ if (previousIndex === -1) {
311
+ return [...roots, id];
312
+ }
313
+ const newRoots = [...roots];
314
+ newRoots.splice(previousIndex + 1, 0, id);
315
+ return newRoots;
316
+ });
317
+ normalizeLayoutContext(state, id, "app");
318
+ return true;
319
+ }
320
+ const path = state.findWhen("children", "includes", prev);
321
+ if (!path) {
322
+ return new Error("Failed to move node after: parent not found");
323
+ }
324
+ const parentId = path[0];
325
+ const childEx = state.get([id, "ex"]) ?? state.get([id, "type"]);
326
+ if (!canAcceptChildren(state, parentId, childEx)) return;
327
+ state.update(path, (children = []) => {
328
+ const indexOfPrev = children.indexOf(prev);
329
+ if (indexOfPrev === -1) {
330
+ return [...children, id];
331
+ }
332
+ const newChildren = [...children];
333
+ newChildren.splice(indexOfPrev + 1, 0, id);
334
+ return newChildren;
335
+ });
336
+ normalizeLayoutContext(state, id, parentId);
337
+ return true;
338
+ }
339
+
340
+ // ../scene-graph/nodes/operations/moveNodeBefore.js
341
+ function moveNodeBefore(state, id, next) {
342
+ if (!canMoveFrame(state, id, next, "before")) {
343
+ moveNodeToRoot(state, id);
344
+ return;
345
+ }
346
+ const nextIsRoot = state.get(["app", "children"])?.includes(next);
347
+ if (nextIsRoot) {
348
+ moveNodeToRoot(state, id);
349
+ return true;
350
+ }
351
+ const path = state.findWhen("children", "includes", next);
352
+ if (!path) {
353
+ return new Error("Failed to move node before: parent not found");
354
+ }
355
+ const parentId = path[0];
356
+ const childEx = state.get([id, "ex"]) ?? state.get([id, "type"]);
357
+ if (!canAcceptChildren(state, parentId, childEx)) return;
358
+ state.update(path, (children = []) => {
359
+ const indexOfNext = children.indexOf(next);
360
+ if (indexOfNext === -1) {
361
+ return [id, ...children];
362
+ }
363
+ const newChildren = [...children];
364
+ newChildren.splice(indexOfNext, 0, id);
365
+ return newChildren;
366
+ });
367
+ normalizeLayoutContext(state, id, parentId);
368
+ return true;
369
+ }
370
+
371
+ // ../scene-graph/nodes/operations/pasteNodes.js
372
+ function pasteNodes(state, nodes, { parent, after, before, root, temp } = {}) {
373
+ const [rootIds, clonedNodes] = cloneNodes(nodes);
374
+ for (const [id, node] of Object.entries(clonedNodes)) {
375
+ state.set(id, node);
376
+ }
377
+ if (temp) {
378
+ for (const id of rootIds) {
379
+ moveNodeToTemp(state, id);
380
+ }
381
+ }
382
+ if (root) {
383
+ for (const id of rootIds) {
384
+ moveNodeToRoot(state, id);
385
+ }
386
+ }
387
+ if (parent) {
388
+ for (const id of rootIds) {
389
+ moveNodeToLastChildOf(state, id, parent);
390
+ }
391
+ }
392
+ if (after) {
393
+ for (const id of rootIds) {
394
+ moveNodeAfter(state, id, after);
395
+ after = id;
396
+ }
397
+ }
398
+ if (before) {
399
+ for (const id of rootIds) {
400
+ moveNodeBefore(state, id, before);
401
+ before = id;
402
+ }
403
+ }
404
+ return rootIds;
405
+ }
406
+
407
+ // ../scene-graph/nodes/operations/duplicateNodes.js
408
+ function duplicateNodes(state, ids) {
409
+ let rootIds = [];
410
+ for (const id of ids) {
411
+ const nodes = copyNode(state, id);
412
+ rootIds = rootIds.concat(pasteNodes(state, nodes, { after: id }));
413
+ }
414
+ return rootIds;
415
+ }
416
+
417
+ // ../scene-graph/nodes/validators/canEditNode.js
418
+ function canEditNode(state, nodeId) {
419
+ const locked = state.get([nodeId, "locked"]);
420
+ return !locked || !locked.includes("*");
421
+ }
422
+
423
+ // ../scene-graph/nodes/contracts/clipboard.js
424
+ var clipboardContracts = L("node:clipboard", (useContext) => {
425
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
426
+ if (!nodes) {
427
+ throw new Error("Node cache not found");
428
+ }
429
+ return {
430
+ cut: {
431
+ namespace: "scene-graph",
432
+ schema: ["Array"],
433
+ handler: (ids) => {
434
+ const editableIds = ids.filter((id) => canEditNode(nodes, id));
435
+ if (editableIds.length === 0) return {};
436
+ const removedNodes = cutNodes(nodes, editableIds);
437
+ return removedNodes;
438
+ }
439
+ },
440
+ copy: {
441
+ namespace: "scene-graph",
442
+ schema: ["Array"],
443
+ handler: (ids) => {
444
+ const copiedNodes = copyNodes(nodes, ids);
445
+ return copiedNodes;
446
+ }
447
+ },
448
+ paste: {
449
+ namespace: "scene-graph",
450
+ schema: ["Object", "Object"],
451
+ handler: (nodesToPaste, opts) => {
452
+ const rootIds = pasteNodes(nodes, nodesToPaste, opts);
453
+ if (opts.parent) {
454
+ for (const id of rootIds) {
455
+ normalizeLayoutContext(nodes, id, opts.parent);
456
+ }
457
+ }
458
+ return rootIds;
459
+ }
460
+ },
461
+ duplicate: {
462
+ namespace: "scene-graph",
463
+ schema: ["Array", "Object", "Object"],
464
+ handler: (uids, opts, cb) => {
465
+ const rootIds = duplicateNodes(nodes, uids, opts);
466
+ if (cb && typeof cb === "function") {
467
+ cb(rootIds);
468
+ }
469
+ }
470
+ }
471
+ };
472
+ });
473
+
474
+ // ../scene-graph/nodes/mutations/setContextName.js
475
+ function setContextName(state, id, contextName) {
476
+ return state.set([id, "contextName"], contextName);
477
+ }
478
+
479
+ // ../scene-graph/nodes/mutations/updateContextName.js
480
+ function updateContextName(state, id, contextName) {
481
+ return state.set([id, "contextName"], contextName);
482
+ }
483
+
484
+ // ../scene-graph/nodes/mutations/clearContextName.js
485
+ function clearContextName(state, id) {
486
+ return state.set([id, "contextName"], null);
487
+ }
488
+
489
+ // ../scene-graph/nodes/contracts/contextName.js
490
+ var contextNameContracts = L("node:contextName", (useContext) => {
491
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
492
+ if (!nodes) {
493
+ throw new Error("Node cache not found");
494
+ }
495
+ return {
496
+ set: {
497
+ schema: ["String", "String"],
498
+ handler: (id, contextName) => {
499
+ setContextName(nodes, id, contextName);
500
+ },
501
+ namespace: "scene-graph"
502
+ },
503
+ update: {
504
+ schema: ["String", "String"],
505
+ handler: (id, contextName) => {
506
+ updateContextName(nodes, id, contextName);
507
+ },
508
+ namespace: "scene-graph"
509
+ },
510
+ clear: {
511
+ schema: ["String"],
512
+ handler: (id) => {
513
+ clearContextName(nodes, id);
514
+ },
515
+ namespace: "scene-graph"
516
+ }
517
+ };
518
+ });
519
+
520
+ // ../scene-graph/nodes/contracts/states.js
521
+ var statesContracts = L("node:state", (useContext) => {
522
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
523
+ if (!nodes) throw new Error("Node cache not found");
524
+ return {
525
+ add: {
526
+ namespace: "scene-graph",
527
+ schema: ["String", "String"],
528
+ handler: (id, name) => addState(nodes, id, name)
529
+ },
530
+ update: {
531
+ namespace: "scene-graph",
532
+ schema: ["String", "String", "Object"],
533
+ handler: (id, name, stateEntry) => updateState(nodes, id, name, stateEntry)
534
+ },
535
+ remove: {
536
+ namespace: "scene-graph",
537
+ schema: ["String", "String"],
538
+ handler: (id, name) => removeState(nodes, id, name)
539
+ }
540
+ };
541
+ });
542
+
543
+ // ../scene-graph/nodes/operations/addTemp.js
544
+ function addTemp(state, type, props) {
545
+ const id = createNodeEntry(state, type, props);
546
+ moveNodeToTemp(state, id);
547
+ return id;
548
+ }
549
+
550
+ // ../scene-graph/nodes/operations/addSlot.js
551
+ var SLOT_NAME_RE = /^Slot (\d+)$/;
552
+ function nextSlotName(state, parent) {
553
+ const children = state.get([parent, "children"]) ?? [];
554
+ let max = 0;
555
+ for (const childId of children) {
556
+ const child = state.get([childId]);
557
+ if (child?.type !== "slot") continue;
558
+ const match = SLOT_NAME_RE.exec(child.name ?? "");
559
+ if (match) max = Math.max(max, Number(match[1]));
560
+ }
561
+ return `Slot ${max + 1}`;
562
+ }
563
+ function addSlot(state, parent, props = {}) {
564
+ const name = props.name ?? nextSlotName(state, parent);
565
+ const id = createNodeEntry(state, "slot", { ...props, name });
566
+ state.update([parent, "children"], (children = []) => [...children, id]);
567
+ return id;
568
+ }
569
+
570
+ // ../scene-graph/nodes/contracts/add.js
571
+ var addContracts = L("node:add", (useContext) => {
572
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
573
+ if (!nodes) {
574
+ throw new Error("Node cache not found");
575
+ }
576
+ return {
577
+ element: {
578
+ namespace: "scene-graph",
579
+ schema: ["String", "Object", "Object"],
580
+ handler: (type, props, placement) => {
581
+ if (type === "slot") {
582
+ const id2 = addSlot(nodes, placement?.parent ?? "app", props);
583
+ return [id2];
584
+ }
585
+ const id = createNodeEntry(nodes, type, props);
586
+ if (placement?.after) {
587
+ moveNodeAfter(nodes, id, placement.after);
588
+ } else {
589
+ moveNodeToLastChildOf(nodes, id, placement?.parent ?? "app");
590
+ }
591
+ return [id];
592
+ }
593
+ },
594
+ tempNode: {
595
+ namespace: "scene-graph",
596
+ schema: ["String", "Object"],
597
+ handler: (type, props) => {
598
+ const id = addTemp(nodes, type, props);
599
+ return [id];
600
+ }
601
+ },
602
+ component: {
603
+ namespace: "scene-graph",
604
+ schema: ["String", "String", "Object"],
605
+ handler: (childId, name, bounds) => {
606
+ const id = addComponent(nodes, childId, name, bounds);
607
+ return [id];
608
+ }
609
+ },
610
+ duplicates: {
611
+ namespace: "scene-graph",
612
+ schema: ["Array"],
613
+ handler: (ids) => {
614
+ for (const id of ids) {
615
+ clearPosition(nodes, id);
616
+ }
617
+ const newIds = duplicateNodes(nodes, ids);
618
+ return newIds;
619
+ }
620
+ },
621
+ images: {
622
+ namespace: "scene-graph",
623
+ schema: ["Array"],
624
+ handler: (uploadedFiles) => {
625
+ const ids = [];
626
+ const endBatch = nodes.batch();
627
+ for (const uploadedFile of uploadedFiles) {
628
+ const id = addNode(nodes, "element", { tagName: "img", attributes: [{ name: "src", value: uploadedFile.url }, { name: "alt", value: uploadedFile.meta.name }] });
629
+ ids.push(id);
630
+ }
631
+ endBatch();
632
+ return ids;
633
+ }
634
+ }
635
+ };
636
+ });
637
+
638
+ // ../scene-graph/nodes/contracts/events.js
639
+ var eventsContracts = L("node:event", (useContext) => {
640
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
641
+ if (!nodes) throw new Error("Node cache not found");
642
+ return {
643
+ add: {
644
+ namespace: "scene-graph",
645
+ schema: ["String", "String"],
646
+ handler: (id, name) => addEvent(nodes, id, name)
647
+ },
648
+ update: {
649
+ namespace: "scene-graph",
650
+ schema: ["String", "String", "Object"],
651
+ handler: (id, name, event) => updateEvent(nodes, id, name, event)
652
+ },
653
+ remove: {
654
+ namespace: "scene-graph",
655
+ schema: ["String", "String"],
656
+ handler: (id, name) => removeEvent(nodes, id, name)
657
+ }
658
+ };
659
+ });
660
+
661
+ // ../scene-graph/nodes/contracts/attribute.js
662
+ var attributeContracts = L("node:attribute", (useContext) => {
663
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
664
+ if (!nodes) throw new Error("Node cache not found");
665
+ return {
666
+ add: {
667
+ namespace: "scene-graph",
668
+ schema: ["String", "String"],
669
+ handler: (id, input2) => addAttribute(nodes, id, input2)
670
+ },
671
+ update: {
672
+ namespace: "scene-graph",
673
+ schema: ["String", "String", "Object"],
674
+ handler: (id, name, attribute) => updateAttribute(nodes, id, name, attribute)
675
+ },
676
+ remove: {
677
+ namespace: "scene-graph",
678
+ schema: ["String", "String"],
679
+ handler: (id, name) => removeAttribute(nodes, id, name)
680
+ }
681
+ };
682
+ });
683
+
684
+ // ../scene-graph/nodes/factories/createProp.js
685
+ function createProp({ name, mode, ...rest } = {}) {
686
+ return createDescriptor({ name, mode: mode ?? "value", ...rest });
687
+ }
688
+
689
+ // ../scene-graph/nodes/mutations/addProp.js
690
+ function addProp(state, id, input2 = {}) {
691
+ const opts = typeof input2 === "string" ? { name: input2 } : input2;
692
+ const desc = createProp(opts);
693
+ return state.unshift([id, "props"], desc);
694
+ }
695
+
696
+ // ../scene-graph/nodes/mutations/updateProp.js
697
+ function updateProp(state, id, name, prop) {
698
+ const desc = createProp(prop);
699
+ const existing = state.findWhere([id, "props"], { name });
700
+ if (existing !== void 0) {
701
+ state.setWhere([id, "props"], { name }, desc);
702
+ } else {
703
+ state.push([id, "props"], desc);
704
+ }
705
+ }
706
+
707
+ // ../scene-graph/nodes/mutations/removeProp.js
708
+ function removeProp(state, id, name) {
709
+ if (typeof state.removeAllWhere === "function") {
710
+ state.removeAllWhere([id, "props"], { name });
711
+ } else {
712
+ state.removeWhere([id, "props"], { name });
713
+ }
714
+ }
715
+
716
+ // ../scene-graph/nodes/contracts/prop.js
717
+ var propContracts = L("node:prop", (useContext) => {
718
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
719
+ if (!nodes) throw new Error("Node cache not found");
720
+ return {
721
+ add: {
722
+ namespace: "scene-graph",
723
+ schema: ["String", "Object"],
724
+ handler: (id, input2) => addProp(nodes, id, input2)
725
+ },
726
+ update: {
727
+ namespace: "scene-graph",
728
+ schema: ["String", "String", "Object"],
729
+ handler: (id, name, prop) => updateProp(nodes, id, name, prop)
730
+ },
731
+ remove: {
732
+ namespace: "scene-graph",
733
+ schema: ["String", "String"],
734
+ handler: (id, name) => removeProp(nodes, id, name)
735
+ }
736
+ };
737
+ });
738
+
739
+ // ../scene-graph/nodes/mutations/updateSlot.js
740
+ function updateSlot(state, instanceId, slotId, updatedSlot) {
741
+ console.log("updateSlot", state, instanceId, slotId, updatedSlot);
742
+ state.updateWhere([instanceId, "slots"], { id: slotId }, (currentSlot) => {
743
+ console.log("currentSlot", currentSlot, "updatedSlot", updatedSlot);
744
+ switch (currentSlot.childrenType) {
745
+ case "text":
746
+ return {
747
+ ...currentSlot,
748
+ textContent: createDescriptor(updatedSlot)
749
+ };
750
+ default:
751
+ return currentSlot;
752
+ }
753
+ });
754
+ }
755
+
756
+ // ../scene-graph/nodes/factories/buildSlotsFromMeta.js
757
+ function buildSlotsFromMeta(metaSlots = []) {
758
+ if (!Array.isArray(metaSlots)) return [];
759
+ const fills = [];
760
+ for (const entry of metaSlots) {
761
+ if (!entry || typeof entry === "string") continue;
762
+ if (!entry.id) continue;
763
+ const childrenType = entry.childrenType ?? "children";
764
+ const shouldSeed = entry.required === true || childrenType === "text" && entry.textContent != null;
765
+ if (!shouldSeed) continue;
766
+ if (childrenType === "text") {
767
+ const value = entry.textContent?.value ?? "";
768
+ fills.push({
769
+ id: entry.id,
770
+ name: entry.name,
771
+ childrenType: "text",
772
+ textContent: createTextContent({ value }),
773
+ children: null
774
+ });
775
+ continue;
776
+ }
777
+ fills.push({
778
+ id: entry.id,
779
+ name: entry.name,
780
+ childrenType,
781
+ textContent: null,
782
+ children: []
783
+ });
784
+ }
785
+ return fills;
786
+ }
787
+ function mergeMissingSlotsFromMeta(existing = [], metaSlots = []) {
788
+ const current = Array.isArray(existing) ? [...existing] : [];
789
+ const byId = new Set(current.map((s) => s?.id).filter(Boolean));
790
+ for (const fill of buildSlotsFromMeta(metaSlots)) {
791
+ if (byId.has(fill.id)) continue;
792
+ current.push(fill);
793
+ byId.add(fill.id);
794
+ }
795
+ return current;
796
+ }
797
+
798
+ // ../scene-graph/nodes/mutations/ensureSlotsFromMeta.js
799
+ function ensureSlotsFromMeta(state, instanceId, metaSlots = []) {
800
+ if (!instanceId) return;
801
+ const existing = state.get([instanceId, "slots"]) ?? [];
802
+ const merged = mergeMissingSlotsFromMeta(existing, metaSlots);
803
+ const existingIds = new Set(existing.map((s) => s?.id).filter(Boolean));
804
+ const added = merged.some((s) => s?.id && !existingIds.has(s.id));
805
+ if (!added) return;
806
+ state.set([instanceId, "slots"], merged);
807
+ }
808
+
809
+ // ../scene-graph/nodes/contracts/slot.js
810
+ var slotContracts = L("node:slot", (useContext) => {
811
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
812
+ if (!nodes) throw new Error("Node cache not found");
813
+ return {
814
+ update: {
815
+ namespace: "scene-graph",
816
+ schema: ["String", "String", "Object"],
817
+ handler: (instanceId, slotId, slot) => {
818
+ console.log("updateSlot", instanceId, slotId, slot);
819
+ updateSlot(nodes, instanceId, slotId, slot);
820
+ }
821
+ },
822
+ ensureFromMeta: {
823
+ namespace: "scene-graph",
824
+ schema: ["String", "Array"],
825
+ handler: (instanceId, metaSlots) => {
826
+ ensureSlotsFromMeta(nodes, instanceId, metaSlots);
827
+ }
828
+ }
829
+ };
830
+ });
831
+
832
+ // ../scene-graph/nodes/contracts/html.js
833
+ var htmlContracts = L("node:html", (useContext) => {
834
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
835
+ if (!nodes) {
836
+ throw new Error("Node cache not found");
837
+ }
838
+ return {
839
+ update: {
840
+ schema: ["String", "String"],
841
+ handler: (id, html) => {
842
+ updateHtml(nodes, id, html);
843
+ },
844
+ namespace: "scene-graph"
845
+ }
846
+ };
847
+ });
848
+
849
+ // ../scene-graph/nodes/mutations/updateDestination.js
850
+ function updateDestination(state, id, destination) {
851
+ return state.update([id, "destination"], (currentDestination = {}) => {
852
+ return createDestination({
853
+ ...currentDestination,
854
+ ...destination
855
+ });
856
+ });
857
+ }
858
+
859
+ // ../scene-graph/nodes/contracts/destination.js
860
+ var destinationContracts = L("node:destination", (useContext) => {
861
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
862
+ if (!nodes) {
863
+ throw new Error("Node cache not found");
864
+ }
865
+ return {
866
+ set: {
867
+ namespace: "scene-graph",
868
+ schema: ["String", "Object"],
869
+ handler: (id, destination = {}) => {
870
+ setDestination(nodes, id, destination);
871
+ }
872
+ },
873
+ update: {
874
+ namespace: "scene-graph",
875
+ schema: ["String", "Object"],
876
+ handler: (id, destination) => {
877
+ updateDestination(nodes, id, destination);
878
+ }
879
+ },
880
+ remove: {
881
+ namespace: "scene-graph",
882
+ schema: ["String"],
883
+ handler: (id) => {
884
+ clearDestination(nodes, id);
885
+ }
886
+ }
887
+ };
888
+ });
889
+
890
+ // ../scene-graph/nodes/mutations/updatePosition.js
891
+ function updatePosition(state, id, position) {
892
+ return state.update([id, ".position"], (oldPosition = { x: 0, y: 0 }) => ({ ...oldPosition, ...position }));
893
+ }
894
+
895
+ // ../scene-graph/nodes/contracts/drag.js
896
+ var dragContracts = L("node:drag", (inject) => {
897
+ const state = inject("state");
898
+ const nodes = state?.ref(["nodes"]) ?? null;
899
+ let commit = null;
900
+ if (!state || !nodes) {
901
+ throw new Error("State or node cache not found");
902
+ }
903
+ return {
904
+ start: {
905
+ namespace: "scene-graph",
906
+ handler: () => commit = state.history?.group()
907
+ },
908
+ apply: {
909
+ namespace: "scene-graph",
910
+ schema: ["Array"],
911
+ handler: (patches) => {
912
+ for (const [id, patch] of patches) {
913
+ if (!id) continue;
914
+ if (!patch[".position"]) continue;
915
+ updatePosition(nodes, id, patch[".position"]);
916
+ }
917
+ }
918
+ },
919
+ end: {
920
+ namespace: "scene-graph",
921
+ schema: ["Array"],
922
+ handler: (ids) => {
923
+ for (const id of ids) {
924
+ if (!id) continue;
925
+ clearPosition(nodes, id);
926
+ }
927
+ if (commit) {
928
+ commit("Drag nodes");
929
+ commit = null;
930
+ } else {
931
+ state.history?.commit("Drag nodes");
932
+ }
933
+ }
934
+ },
935
+ clear: {
936
+ namespace: "scene-graph",
937
+ schema: ["Array"],
938
+ handler: (ids) => {
939
+ for (const id of ids) {
940
+ if (!id) continue;
941
+ clearPosition(nodes, id);
942
+ }
943
+ if (commit) {
944
+ commit();
945
+ commit = null;
946
+ }
947
+ }
948
+ }
949
+ };
950
+ });
951
+
952
+ // ../scene-graph/nodes/contracts/lifecycle.js
953
+ var lifecycleContracts = L("node:lifecycle", (useContext) => {
954
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
955
+ if (!nodes) throw new Error("Node cache not found");
956
+ return {
957
+ add: {
958
+ namespace: "scene-graph",
959
+ schema: ["String", "String"],
960
+ handler: (id, hookName) => addLifecycleHook(nodes, id, hookName)
961
+ },
962
+ update: {
963
+ namespace: "scene-graph",
964
+ schema: ["String", "String", "Object"],
965
+ handler: (id, key, hook) => updateLifecycleHook(nodes, id, key, hook)
966
+ },
967
+ remove: {
968
+ namespace: "scene-graph",
969
+ schema: ["String", "String"],
970
+ handler: (id, key) => removeLifecycleHook(nodes, id, key)
971
+ }
972
+ };
973
+ });
974
+
975
+ // ../scene-graph/nodes/mutations/addInteractionState.js
976
+ function addInteractionState(state, id, stateName) {
977
+ const current = state.get([id, ".interactionState"]) ?? [];
978
+ if (current.includes(stateName)) return;
979
+ return state.push([id, ".interactionState"], stateName);
980
+ }
981
+
982
+ // ../scene-graph/nodes/mutations/removeInteractionState.js
983
+ function removeInteractionState(state, id, stateName) {
984
+ const current = state.get([id, ".interactionState"]) ?? [];
985
+ const index = current.indexOf(stateName);
986
+ if (index === -1) return;
987
+ return state.splice([id, ".interactionState"], index, 1);
988
+ }
989
+
990
+ // ../scene-graph/nodes/mutations/clearInteractionState.js
991
+ function clearInteractionState(state, id) {
992
+ state.remove([id, ".interactionState"]);
993
+ return;
994
+ }
995
+
996
+ // ../scene-graph/nodes/contracts/interactionState.js
997
+ var interactionStateContracts = L("node:interactionState", (useContext) => {
998
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
999
+ if (!nodes) {
1000
+ throw new Error("Node cache not found");
1001
+ }
1002
+ return {
1003
+ add: {
1004
+ schema: ["String", "String"],
1005
+ namespace: "scene-graph",
1006
+ handler: (id, stateName) => {
1007
+ addInteractionState(nodes, id, stateName);
1008
+ }
1009
+ },
1010
+ remove: {
1011
+ namespace: "scene-graph",
1012
+ schema: ["String", "String"],
1013
+ handler: (id, stateName) => {
1014
+ removeInteractionState(nodes, id, stateName);
1015
+ }
1016
+ },
1017
+ clear: {
1018
+ namespace: "scene-graph",
1019
+ schema: ["String"],
1020
+ handler: (id) => {
1021
+ clearInteractionState(nodes, id);
1022
+ }
1023
+ }
1024
+ };
1025
+ });
1026
+
1027
+ // ../scene-graph/nodes/contracts/patch.js
1028
+ var patchContracts = L("node:patch", (useContext) => {
1029
+ const [state, sceneCompiler] = useContext("state", "sceneCompiler");
1030
+ const nodes = state?.ref(["nodes"]) ?? null;
1031
+ let commit = null;
1032
+ if (!state || !nodes) {
1033
+ throw new Error("State or node cache not found");
1034
+ }
1035
+ return {
1036
+ start: {
1037
+ namespace: "scene-graph",
1038
+ schema: "*",
1039
+ handler: () => {
1040
+ commit = state.history?.group();
1041
+ }
1042
+ },
1043
+ apply: {
1044
+ namespace: "scene-graph",
1045
+ schema: ["Array"],
1046
+ handler: (patches) => {
1047
+ const endBatch = state.batch();
1048
+ for (const [id, entry] of patches) {
1049
+ if (!id || !entry) continue;
1050
+ if (!canEditNode(nodes, id)) continue;
1051
+ const breakpoint = sceneCompiler.getActiveBreakpoint(id);
1052
+ applyNodePatch(nodes, id, entry, breakpoint);
1053
+ }
1054
+ endBatch();
1055
+ }
1056
+ },
1057
+ end: {
1058
+ namespace: "scene-graph",
1059
+ schema: ["String"],
1060
+ handler: (message = "Patch") => {
1061
+ if (commit) {
1062
+ commit(message);
1063
+ commit = null;
1064
+ } else {
1065
+ state.history?.commit(message);
1066
+ }
1067
+ }
1068
+ },
1069
+ clear: {
1070
+ namespace: "scene-graph",
1071
+ schema: ["Array"],
1072
+ handler: (ids) => {
1073
+ for (const id of ids) {
1074
+ if (!id) continue;
1075
+ clearPosition(nodes, id);
1076
+ }
1077
+ if (commit) {
1078
+ commit();
1079
+ commit = null;
1080
+ }
1081
+ }
1082
+ }
1083
+ };
1084
+ });
1085
+
1086
+ // ../scene-graph/nodes/contracts/behavior.js
1087
+ var behaviorContracts = L("node:behavior", (useContext) => {
1088
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1089
+ if (!nodes) {
1090
+ throw new Error("Node cache not found");
1091
+ }
1092
+ return {
1093
+ set: {
1094
+ schema: ["String", "Object"],
1095
+ handler: (id, behaviorUpdates) => {
1096
+ setNodeBehavior(nodes, id, behaviorUpdates);
1097
+ },
1098
+ namespace: "scene-graph"
1099
+ },
1100
+ update: {
1101
+ schema: ["Array"],
1102
+ handler: (patches) => {
1103
+ for (const [nodeId, patch] of patches) {
1104
+ applyNodePatch(nodes, nodeId, patch);
1105
+ }
1106
+ },
1107
+ namespace: "scene-graph"
1108
+ },
1109
+ clear: {
1110
+ schema: ["String"],
1111
+ handler: (id) => {
1112
+ resetNodeBehavior(nodes, id);
1113
+ },
1114
+ namespace: "scene-graph"
1115
+ }
1116
+ };
1117
+ });
1118
+
1119
+ // ../scene-graph/nodes/contracts/layout.js
1120
+ var layoutContracts = L("node:layout", (useContext) => {
1121
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1122
+ if (!nodes) {
1123
+ throw new Error("Node cache not found");
1124
+ }
1125
+ return {
1126
+ set: {
1127
+ schema: ["String", "String"],
1128
+ handler: (nodeId, layout) => {
1129
+ if (!canEditNode(nodes, nodeId)) return;
1130
+ return setNodeLayout(nodes, nodeId, layout);
1131
+ },
1132
+ namespace: "scene-graph"
1133
+ }
1134
+ };
1135
+ });
1136
+
1137
+ // ../scene-graph/nodes/factories/createSlotChild.js
1138
+ function createSlotChild({ id = null, name = void 0, children = [] } = {}) {
1139
+ return {
1140
+ id,
1141
+ name,
1142
+ children
1143
+ };
1144
+ }
1145
+
1146
+ // ../scene-graph/nodes/operations/moveNodeToSlotChildOf.js
1147
+ function insertIntoSlotChildren(children, id, { before, after } = {}) {
1148
+ if (children.includes(id)) return children;
1149
+ if (before) {
1150
+ const index = children.indexOf(before);
1151
+ if (index === -1) return [id, ...children];
1152
+ const next = [...children];
1153
+ next.splice(index, 0, id);
1154
+ return next;
1155
+ }
1156
+ if (after) {
1157
+ const index = children.indexOf(after);
1158
+ if (index === -1) return [...children, id];
1159
+ const next = [...children];
1160
+ next.splice(index + 1, 0, id);
1161
+ return next;
1162
+ }
1163
+ return [...children, id];
1164
+ }
1165
+ function moveNodeToSlotChildOf(state, id, instance, { slotId = null, name = void 0, before, after } = {}) {
1166
+ if (!nodeExists(state, instance)) return;
1167
+ if (!nodeExists(state, id)) return;
1168
+ if (!canMoveFrame(state, id, instance, "lastChildOf")) {
1169
+ moveNodeToRoot(state, id);
1170
+ return;
1171
+ }
1172
+ state.update([instance, "slots"], (slots = []) => {
1173
+ const slotIndex = slots.findIndex((slot) => slot.id === slotId);
1174
+ if (slotIndex === -1) {
1175
+ return [...slots, createSlotChild({ id: slotId, name, children: [id] })];
1176
+ }
1177
+ const existing = slots[slotIndex];
1178
+ const prevChildren = existing.children || [];
1179
+ const newSlots = [...slots];
1180
+ newSlots[slotIndex] = {
1181
+ ...existing,
1182
+ children: insertIntoSlotChildren(prevChildren, id, { before, after })
1183
+ };
1184
+ return newSlots;
1185
+ });
1186
+ normalizeLayoutContext(state, id, slotId || instance);
1187
+ return true;
1188
+ }
1189
+
1190
+ // ../scene-graph/nodes/validators/canNestUnder.js
1191
+ function canNestUnder(state, childId, parentId, moveType) {
1192
+ if (!nodeExists(state, childId)) return false;
1193
+ if (!nodeExists(state, parentId)) return false;
1194
+ const childEx = state.get([childId, "ex"]) ?? state.get([childId, "type"]);
1195
+ if (!canAcceptChildren(state, parentId, childEx)) return false;
1196
+ if (!canMoveFrame(state, childId, parentId, moveType)) return false;
1197
+ return true;
1198
+ }
1199
+
1200
+ // ../scene-graph/nodes/contracts/move.js
1201
+ var moveContracts = L("node:move", (useContext) => {
1202
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1203
+ if (!nodes) {
1204
+ throw new Error("Node cache not found");
1205
+ }
1206
+ return {
1207
+ apply: {
1208
+ namespace: "scene-graph",
1209
+ schema: ["Array", "Object"],
1210
+ handler: (ids, placement) => {
1211
+ console.log("moveContracts", ids, placement);
1212
+ const editableIds = ids.filter((id) => canEditNode(nodes, id));
1213
+ const validIds = [];
1214
+ const tempViewportsToRoot = [];
1215
+ for (const id of editableIds) {
1216
+ if (placement.before || placement.after) {
1217
+ validIds.push(id);
1218
+ } else if (placement.instance) {
1219
+ validIds.push(id);
1220
+ } else if (placement.parent) {
1221
+ if (canNestUnder(nodes, id, placement.parent, "lastChildOf")) {
1222
+ validIds.push(id);
1223
+ } else {
1224
+ const nodeLevel = getNodeLevel(nodes, id);
1225
+ if (nodeLevel === "temp") tempViewportsToRoot.push(id);
1226
+ }
1227
+ } else {
1228
+ validIds.push(id);
1229
+ }
1230
+ }
1231
+ if (validIds.length === 0 && tempViewportsToRoot.length === 0) return;
1232
+ for (const id of validIds) {
1233
+ disconnectNode(nodes, id);
1234
+ clearPosition(nodes, id);
1235
+ removeNodeIdFromAllInstanceSlots(nodes, id);
1236
+ }
1237
+ if (placement.instance) {
1238
+ for (const id of validIds) {
1239
+ moveNodeToSlotChildOf(nodes, id, placement.instance, {
1240
+ slotId: placement.slotId,
1241
+ name: placement.name,
1242
+ before: placement.before,
1243
+ after: placement.after
1244
+ });
1245
+ }
1246
+ } else if (placement.before) {
1247
+ for (const id of validIds) {
1248
+ moveNodeBefore(nodes, id, placement.before);
1249
+ }
1250
+ } else if (placement.after) {
1251
+ for (const id of validIds) {
1252
+ moveNodeAfter(nodes, id, placement.after);
1253
+ }
1254
+ } else if (placement.parent) {
1255
+ for (const id of validIds) {
1256
+ moveNodeToLastChildOf(nodes, id, placement.parent);
1257
+ }
1258
+ }
1259
+ for (const id of tempViewportsToRoot) {
1260
+ disconnectNode(nodes, id);
1261
+ clearPosition(nodes, id);
1262
+ moveNodeToRoot(nodes, id);
1263
+ }
1264
+ }
1265
+ }
1266
+ };
1267
+ });
1268
+
1269
+ // ../scene-graph/nodes/mutations/updateName.js
1270
+ function updateName(state, id, name) {
1271
+ return state.set([id, "name"], name);
1272
+ }
1273
+
1274
+ // ../scene-graph/nodes/contracts/name.js
1275
+ var nameContracts = L("node:name", (useContext) => {
1276
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1277
+ if (!nodes) {
1278
+ throw new Error("Node cache not found");
1279
+ }
1280
+ return {
1281
+ set: {
1282
+ schema: ["String", "String"],
1283
+ handler: (id, name) => {
1284
+ setName(nodes, id, name);
1285
+ },
1286
+ namespace: "scene-graph"
1287
+ },
1288
+ update: {
1289
+ schema: ["String", "String"],
1290
+ handler: (id, name) => {
1291
+ console.log("updateName", id, name);
1292
+ updateName(nodes, id, name);
1293
+ },
1294
+ namespace: "scene-graph"
1295
+ },
1296
+ clear: {
1297
+ schema: ["String"],
1298
+ handler: (id) => {
1299
+ clearName(nodes, id);
1300
+ },
1301
+ namespace: "scene-graph"
1302
+ }
1303
+ };
1304
+ });
1305
+
1306
+ // ../scene-graph/nodes/contracts/options.js
1307
+ var optionsContracts = L("node:options", (useContext) => {
1308
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1309
+ if (!nodes) {
1310
+ throw new Error("Node cache not found");
1311
+ }
1312
+ return {
1313
+ add: {
1314
+ schema: ["String", "Object"],
1315
+ handler: (id, option) => {
1316
+ addOption(nodes, id, option);
1317
+ },
1318
+ namespace: "scene-graph"
1319
+ },
1320
+ update: {
1321
+ schema: ["String", "String", "Object"],
1322
+ handler: (id, value, option) => {
1323
+ updateOption(nodes, id, value, option);
1324
+ },
1325
+ namespace: "scene-graph"
1326
+ },
1327
+ remove: {
1328
+ schema: ["String", "String"],
1329
+ handler: (id, value) => {
1330
+ removeOption(nodes, id, value);
1331
+ },
1332
+ namespace: "scene-graph"
1333
+ },
1334
+ setExpression: {
1335
+ schema: ["String", "Object"],
1336
+ handler: (id, expression) => {
1337
+ setOptionsExpression(nodes, id, expression);
1338
+ },
1339
+ namespace: "scene-graph"
1340
+ },
1341
+ clearExpression: {
1342
+ schema: ["String"],
1343
+ handler: (id) => {
1344
+ clearOptionsExpression(nodes, id);
1345
+ },
1346
+ namespace: "scene-graph"
1347
+ }
1348
+ };
1349
+ });
1350
+
1351
+ // ../scene-graph/nodes/contracts/order.js
1352
+ var orderContracts = L("node:order", (useContext) => {
1353
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1354
+ if (!nodes) {
1355
+ throw new Error("Node cache not found");
1356
+ }
1357
+ return {
1358
+ bringToFront: {
1359
+ schema: ["Array"],
1360
+ handler: (ids) => {
1361
+ for (const id of ids) {
1362
+ const path = nodes.findWhen("children", "includes", id);
1363
+ if (!path) continue;
1364
+ nodes.update(path, (children = []) => {
1365
+ const filtered = children.filter((c) => c !== id);
1366
+ return [...filtered, id];
1367
+ });
1368
+ }
1369
+ },
1370
+ namespace: "scene-graph"
1371
+ },
1372
+ sendToBack: {
1373
+ schema: ["Array"],
1374
+ handler: (ids) => {
1375
+ for (const id of ids) {
1376
+ const path = nodes.findWhen("children", "includes", id);
1377
+ if (!path) continue;
1378
+ nodes.update(path, (children = []) => {
1379
+ const filtered = children.filter((c) => c !== id);
1380
+ return [id, ...filtered];
1381
+ });
1382
+ }
1383
+ },
1384
+ namespace: "scene-graph"
1385
+ },
1386
+ moveForward: {
1387
+ schema: ["Array"],
1388
+ handler: (ids) => {
1389
+ for (const id of ids) {
1390
+ const path = nodes.findWhen("children", "includes", id);
1391
+ if (!path) continue;
1392
+ nodes.update(path, (children = []) => {
1393
+ const index = children.indexOf(id);
1394
+ if (index === -1 || index === children.length - 1) {
1395
+ return children;
1396
+ }
1397
+ const newChildren = [...children];
1398
+ [newChildren[index], newChildren[index + 1]] = [newChildren[index + 1], newChildren[index]];
1399
+ return newChildren;
1400
+ });
1401
+ }
1402
+ },
1403
+ namespace: "scene-graph"
1404
+ },
1405
+ moveBackward: {
1406
+ schema: ["Array"],
1407
+ handler: (ids) => {
1408
+ for (const id of ids) {
1409
+ const path = nodes.findWhen("children", "includes", id);
1410
+ if (!path) continue;
1411
+ nodes.update(path, (children = []) => {
1412
+ const index = children.indexOf(id);
1413
+ if (index === -1 || index === 0) {
1414
+ return children;
1415
+ }
1416
+ const newChildren = [...children];
1417
+ [newChildren[index], newChildren[index - 1]] = [newChildren[index - 1], newChildren[index]];
1418
+ return newChildren;
1419
+ });
1420
+ }
1421
+ },
1422
+ namespace: "scene-graph"
1423
+ }
1424
+ };
1425
+ });
1426
+
1427
+ // ../scene-graph/nodes/contracts/remove.js
1428
+ var removeContracts = L("node:remove", (useContext) => {
1429
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1430
+ if (!nodes) {
1431
+ throw new Error("Node cache not found");
1432
+ }
1433
+ return {
1434
+ nodes: {
1435
+ namespace: "scene-graph",
1436
+ schema: ["Array"],
1437
+ handler: (ids) => {
1438
+ for (const id of ids) {
1439
+ removeNode(nodes, id);
1440
+ }
1441
+ }
1442
+ }
1443
+ };
1444
+ });
1445
+
1446
+ // ../scene-graph/nodes/mutations/updateRender.js
1447
+ function updateRender(state, id, render) {
1448
+ return state.update([id, "render"], (current = {}) => {
1449
+ return createRender({ ...current, ...render });
1450
+ });
1451
+ }
1452
+
1453
+ // ../scene-graph/nodes/contracts/render.js
1454
+ var renderContracts = L("node:render", (useContext) => {
1455
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1456
+ if (!nodes) {
1457
+ throw new Error("Node cache not found");
1458
+ }
1459
+ return {
1460
+ set: {
1461
+ schema: ["String", "Object"],
1462
+ handler: (id, render) => {
1463
+ setRender(nodes, id, render);
1464
+ },
1465
+ namespace: "scene-graph"
1466
+ },
1467
+ update: {
1468
+ schema: ["String", "Object"],
1469
+ handler: (id, render) => {
1470
+ updateRender(nodes, id, render);
1471
+ },
1472
+ namespace: "scene-graph"
1473
+ },
1474
+ clear: {
1475
+ schema: ["String"],
1476
+ handler: (id) => {
1477
+ clearRender(nodes, id);
1478
+ },
1479
+ namespace: "scene-graph"
1480
+ }
1481
+ };
1482
+ });
1483
+
1484
+ // ../scene-graph/nodes/mutations/updateRepeat.js
1485
+ function updateRepeat(state, id, repeat) {
1486
+ return state.update([id, "repeat"], (current = {}) => {
1487
+ return createRepeat({ ...current, ...repeat });
1488
+ });
1489
+ }
1490
+
1491
+ // ../scene-graph/nodes/mutations/enableRepeat.js
1492
+ function enableRepeat(state, id) {
1493
+ const current = state.get([id, "repeat"]);
1494
+ if (!current) {
1495
+ return setRepeat(state, id, {});
1496
+ }
1497
+ return state;
1498
+ }
1499
+
1500
+ // ../scene-graph/nodes/mutations/disableRepeat.js
1501
+ function disableRepeat(state, id) {
1502
+ return clearRepeat(state, id);
1503
+ }
1504
+
1505
+ // ../scene-graph/nodes/contracts/repeat.js
1506
+ var repeatContracts = L("node:repeat", (useContext) => {
1507
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1508
+ if (!nodes) {
1509
+ throw new Error("Node cache not found");
1510
+ }
1511
+ return {
1512
+ set: {
1513
+ schema: ["String", "Object"],
1514
+ handler: (id, repeat) => {
1515
+ setRepeat(nodes, id, repeat);
1516
+ },
1517
+ namespace: "scene-graph"
1518
+ },
1519
+ update: {
1520
+ schema: ["String", "Object"],
1521
+ handler: (id, repeat) => {
1522
+ updateRepeat(nodes, id, repeat);
1523
+ },
1524
+ namespace: "scene-graph"
1525
+ },
1526
+ clear: {
1527
+ schema: ["String"],
1528
+ handler: (id) => {
1529
+ clearRepeat(nodes, id);
1530
+ },
1531
+ namespace: "scene-graph"
1532
+ },
1533
+ enable: {
1534
+ schema: ["String"],
1535
+ handler: (id) => {
1536
+ enableRepeat(nodes, id);
1537
+ },
1538
+ namespace: "scene-graph"
1539
+ },
1540
+ disable: {
1541
+ schema: ["String"],
1542
+ handler: (id) => {
1543
+ disableRepeat(nodes, id);
1544
+ },
1545
+ namespace: "scene-graph"
1546
+ }
1547
+ };
1548
+ });
1549
+
1550
+ // ../scene-graph/nodes/contracts/route.js
1551
+ var routeContracts = L("node:route", (useContext) => {
1552
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1553
+ if (!nodes) {
1554
+ throw new Error("Node cache not found");
1555
+ }
1556
+ return {
1557
+ update: {
1558
+ schema: ["String", "Object"],
1559
+ namespace: "scene-graph",
1560
+ handler: (id, route) => {
1561
+ updateRoute(nodes, id, route);
1562
+ }
1563
+ },
1564
+ addParam: {
1565
+ schema: ["String"],
1566
+ namespace: "scene-graph",
1567
+ handler: (id) => {
1568
+ addParamToRoute(nodes, id);
1569
+ }
1570
+ },
1571
+ removeParam: {
1572
+ namespace: "scene-graph",
1573
+ schema: ["String", "Number"],
1574
+ handler: (id, index) => {
1575
+ removeParamFromRoute(nodes, id, index);
1576
+ }
1577
+ },
1578
+ setHomePage: {
1579
+ schema: ["String", "Boolean"],
1580
+ namespace: "scene-graph",
1581
+ handler: (id, isHomePage) => {
1582
+ setHomePage(nodes, id, isHomePage);
1583
+ }
1584
+ }
1585
+ };
1586
+ });
1587
+
1588
+ // ../scene-graph/nodes/mutations/clearStyle.js
1589
+ function clearStyle(state, id, { breakpoint = "default", interactionState = [] } = {}) {
1590
+ const bpKey = toBpKey(breakpoint);
1591
+ return state.remove([id, "style", bpKey, ...interactionState]);
1592
+ }
1593
+
1594
+ // ../scene-graph/nodes/validators/isContainerNode.js
1595
+ function isContainerNode(state, id) {
1596
+ const node = state.get([id]);
1597
+ const t = node?.type;
1598
+ return t === "frame" || t === "component" || t === "viewport";
1599
+ }
1600
+
1601
+ // ../scene-graph/nodes/contracts/style.js
1602
+ var styleContracts = L("node:style", (useContext) => {
1603
+ const [state, sceneCompiler] = useContext("state", "sceneCompiler");
1604
+ const nodes = state?.ref(["nodes"]) ?? null;
1605
+ return {
1606
+ update: {
1607
+ schema: ["Object"],
1608
+ handler: (styleMap) => {
1609
+ for (const [id, style] of Object.entries(styleMap)) {
1610
+ if (!canEditNode(nodes, id)) continue;
1611
+ delete style.position;
1612
+ const breakpoint = isContainerNode(nodes, id) ? "default" : sceneCompiler.getActiveBreakpoint(id);
1613
+ updateStyle(nodes, id, style, { breakpoint });
1614
+ }
1615
+ },
1616
+ namespace: "scene-graph"
1617
+ },
1618
+ remove: {
1619
+ schema: ["Array", "Array"],
1620
+ handler: (ids, properties) => {
1621
+ for (const id of ids) {
1622
+ if (!canEditNode(nodes, id)) continue;
1623
+ const breakpoint = isContainerNode(nodes, id) ? "default" : sceneCompiler.getActiveBreakpoint(id);
1624
+ for (const property of properties) {
1625
+ removeStyle(nodes, id, property, { breakpoint });
1626
+ }
1627
+ }
1628
+ },
1629
+ namespace: "scene-graph"
1630
+ },
1631
+ clear: {
1632
+ schema: ["Array"],
1633
+ handler: (ids) => {
1634
+ for (const id of ids) {
1635
+ if (!canEditNode(nodes, id)) continue;
1636
+ const breakpoint = isContainerNode(nodes, id) ? "default" : sceneCompiler.getActiveBreakpoint(id);
1637
+ if (breakpoint === "default" || breakpoint == null) continue;
1638
+ clearStyle(nodes, id, { breakpoint });
1639
+ }
1640
+ },
1641
+ namespace: "scene-graph"
1642
+ }
1643
+ };
1644
+ });
1645
+
1646
+ // ../scene-graph/nodes/mutations/updateTagName.js
1647
+ function updateTagName(state, id, tagName) {
1648
+ return state.set([id, "tagName"], tagName);
1649
+ }
1650
+
1651
+ // ../scene-graph/nodes/mutations/clearTagName.js
1652
+ function clearTagName(state, id) {
1653
+ return state.set([id, "tagName"], null);
1654
+ }
1655
+
1656
+ // ../scene-graph/nodes/contracts/tagName.js
1657
+ var tagNameContracts = L("node:tagName", (useContext) => {
1658
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1659
+ if (!nodes) {
1660
+ throw new Error("Node cache not found");
1661
+ }
1662
+ return {
1663
+ set: {
1664
+ schema: ["String", "String"],
1665
+ handler: (id, tagName) => {
1666
+ setTagName(nodes, id, tagName);
1667
+ },
1668
+ namespace: "scene-graph"
1669
+ },
1670
+ update: {
1671
+ schema: ["String", "String"],
1672
+ handler: (id, tagName) => {
1673
+ updateTagName(nodes, id, tagName);
1674
+ },
1675
+ namespace: "scene-graph"
1676
+ },
1677
+ clear: {
1678
+ schema: ["String"],
1679
+ handler: (id) => {
1680
+ clearTagName(nodes, id);
1681
+ },
1682
+ namespace: "scene-graph"
1683
+ }
1684
+ };
1685
+ });
1686
+
1687
+ // ../scene-graph/nodes/mutations/updateTextContent.js
1688
+ function updateTextContent(state, id, patch = {}) {
1689
+ if (canAcceptChildren(state, id)) return;
1690
+ const p2 = typeof patch === "string" ? { value: patch } : patch;
1691
+ return state.update([id, "textContent"], (current = {}) => {
1692
+ const merged = { ...current, ...p2 };
1693
+ if (!Object.prototype.hasOwnProperty.call(p2, "specificPatterns") && current.specificPatterns !== void 0) {
1694
+ merged.specificPatterns = current.specificPatterns;
1695
+ }
1696
+ return createTextContent(merged);
1697
+ });
1698
+ }
1699
+
1700
+ // ../scene-graph/nodes/mutations/clearTextContent.js
1701
+ function clearTextContent(state, id) {
1702
+ return state.remove([id, "textContent"]);
1703
+ }
1704
+
1705
+ // ../scene-graph/nodes/mutations/setEditingTextContent.js
1706
+ function setEditingTextContent(state, id, value = true) {
1707
+ return state.set([id, ".editingTextContent"], value);
1708
+ }
1709
+
1710
+ // ../scene-graph/nodes/mutations/removeEditingTextContent.js
1711
+ function removeEditingTextContent(state, id) {
1712
+ return state.remove([id, ".editingTextContent"]);
1713
+ }
1714
+
1715
+ // ../scene-graph/nodes/contracts/textContent.js
1716
+ var textContentContracts = L("node:textContent", (useContext) => {
1717
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1718
+ if (!nodes) {
1719
+ throw new Error("Node cache not found");
1720
+ }
1721
+ let editingId = null;
1722
+ return {
1723
+ set: {
1724
+ schema: ["String", "Object"],
1725
+ handler: (id, textContent) => {
1726
+ setTextContent(nodes, id, textContent);
1727
+ },
1728
+ namespace: "scene-graph"
1729
+ },
1730
+ update: {
1731
+ schema: ["String", "Object"],
1732
+ handler: (id, textContent) => {
1733
+ updateTextContent(nodes, id, textContent);
1734
+ },
1735
+ namespace: "scene-graph"
1736
+ },
1737
+ clear: {
1738
+ schema: ["String"],
1739
+ handler: (id) => {
1740
+ clearTextContent(nodes, id);
1741
+ },
1742
+ namespace: "scene-graph"
1743
+ },
1744
+ "editing:enable": {
1745
+ schema: ["String"],
1746
+ namespace: "scene-graph",
1747
+ handler: (id) => {
1748
+ if (editingId) {
1749
+ setEditingTextContent(nodes, editingId, false);
1750
+ editingId = null;
1751
+ }
1752
+ editingId = id;
1753
+ setEditingTextContent(nodes, id, true);
1754
+ return true;
1755
+ }
1756
+ },
1757
+ "editing:disable": {
1758
+ schema: "*",
1759
+ namespace: "scene-graph",
1760
+ handler: (id) => {
1761
+ if (id) {
1762
+ setEditingTextContent(nodes, id, false);
1763
+ } else if (editingId) {
1764
+ setEditingTextContent(nodes, editingId, false);
1765
+ editingId = null;
1766
+ }
1767
+ editingId = null;
1768
+ return true;
1769
+ }
1770
+ },
1771
+ "editing:remove": {
1772
+ schema: ["String"],
1773
+ namespace: "scene-graph",
1774
+ handler: (id) => {
1775
+ removeEditingTextContent(nodes, id);
1776
+ return true;
1777
+ }
1778
+ }
1779
+ };
1780
+ });
1781
+
1782
+ // ../scene-graph/nodes/mutations/setType.js
1783
+ function setType(state, id, type) {
1784
+ return state.set([id, "type"], type);
1785
+ }
1786
+
1787
+ // ../scene-graph/nodes/mutations/updateType.js
1788
+ function updateType(state, id, type) {
1789
+ return state.set([id, "type"], type);
1790
+ }
1791
+
1792
+ // ../scene-graph/nodes/mutations/clearType.js
1793
+ function clearType(state, id) {
1794
+ return state.set([id, "type"], null);
1795
+ }
1796
+
1797
+ // ../scene-graph/nodes/contracts/type.js
1798
+ var typeContracts = L("node:type", (useContext) => {
1799
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1800
+ if (!nodes) {
1801
+ throw new Error("Node cache not found");
1802
+ }
1803
+ return {
1804
+ set: {
1805
+ schema: ["String", "String"],
1806
+ handler: (id, type) => {
1807
+ setType(nodes, id, type);
1808
+ },
1809
+ namespace: "scene-graph"
1810
+ },
1811
+ update: {
1812
+ schema: ["String", "String"],
1813
+ handler: (id, type) => {
1814
+ updateType(nodes, id, type);
1815
+ },
1816
+ namespace: "scene-graph"
1817
+ },
1818
+ clear: {
1819
+ schema: ["String"],
1820
+ handler: (id) => {
1821
+ clearType(nodes, id);
1822
+ },
1823
+ namespace: "scene-graph"
1824
+ }
1825
+ };
1826
+ });
1827
+
1828
+ // ../scene-graph/nodes/mutations/setFramePreset.js
1829
+ function setFramePreset(state, id, key, options = {}) {
1830
+ const { name, bounds } = createFrameOverrides(key, options);
1831
+ const current = state.get([id, "bounds"]) ?? {};
1832
+ state.set([id, "frame"], key);
1833
+ state.set([id, "name"], name);
1834
+ state.update([id, "bounds"], () => ({
1835
+ ...current,
1836
+ width: bounds.width,
1837
+ height: bounds.height
1838
+ }));
1839
+ }
1840
+
1841
+ // ../scene-graph/nodes/mutations/setViewport.js
1842
+ function setViewport(state, id, { name, width, height }) {
1843
+ if (name === "custom") {
1844
+ setFramePreset(state, id, "custom", { name, width, height });
1845
+ return;
1846
+ }
1847
+ const preset = getFramePreset(name);
1848
+ if (!preset) return new Error(`Invalid viewport name "${name}"`);
1849
+ setFramePreset(state, id, name);
1850
+ }
1851
+
1852
+ // ../scene-graph/nodes/mutations/clearViewport.js
1853
+ function clearViewport(state, id) {
1854
+ state.set([id, "frame"], void 0);
1855
+ return state.set([id, "viewport"], null);
1856
+ }
1857
+
1858
+ // ../scene-graph/nodes/contracts/viewport.js
1859
+ var viewportContracts = L("node:viewport", (useContext) => {
1860
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1861
+ if (!nodes) {
1862
+ throw new Error("Node cache not found");
1863
+ }
1864
+ return {
1865
+ set: {
1866
+ schema: ["String", "Object"],
1867
+ handler: (id, viewport) => {
1868
+ setViewport(nodes, id, viewport);
1869
+ },
1870
+ namespace: "scene-graph"
1871
+ },
1872
+ setPreset: {
1873
+ schema: ["String", "String", "Object"],
1874
+ handler: (id, key, options = {}) => {
1875
+ setFramePreset(nodes, id, key, options);
1876
+ },
1877
+ namespace: "scene-graph"
1878
+ },
1879
+ update: {
1880
+ schema: ["String", "Object"],
1881
+ handler: (id, boundsPatch) => {
1882
+ updateBounds(nodes, id, boundsPatch);
1883
+ },
1884
+ namespace: "scene-graph"
1885
+ },
1886
+ clear: {
1887
+ schema: ["String"],
1888
+ handler: (id) => {
1889
+ clearViewport(nodes, id);
1890
+ },
1891
+ namespace: "scene-graph"
1892
+ }
1893
+ };
1894
+ });
1895
+
1896
+ // ../scene-graph/nodes/mutations/clearHtmlId.js
1897
+ function clearHtmlId(state, nodeId) {
1898
+ return state.set([nodeId, "id"], null);
1899
+ }
1900
+
1901
+ // ../scene-graph/nodes/contracts/htmlId.js
1902
+ var htmlIdContracts = L("node:id", (useContext) => {
1903
+ const nodes = useContext("state")?.ref(["nodes"]) ?? null;
1904
+ if (!nodes) {
1905
+ throw new Error("Node cache not found");
1906
+ }
1907
+ return {
1908
+ set: {
1909
+ namespace: "scene-graph",
1910
+ schema: ["String", "String"],
1911
+ handler: (nodeId, id) => {
1912
+ setHtmlId(nodes, nodeId, id);
1913
+ }
1914
+ },
1915
+ clear: {
1916
+ namespace: "scene-graph",
1917
+ schema: ["String"],
1918
+ handler: (nodeId) => {
1919
+ clearHtmlId(nodes, nodeId);
1920
+ }
1921
+ }
1922
+ };
1923
+ });
1924
+
1925
+ // ../utilities/src/iterateEntries.js
1926
+ function iterateEntries(obj, callback) {
1927
+ const entries = Object.entries(obj);
1928
+ const result = {};
1929
+ for (const [key, value] of entries) {
1930
+ result[key] = callback(key, value);
1931
+ }
1932
+ return result;
1933
+ }
1934
+
1935
+ // ../utilities/src/deepMerge.js
1936
+ function deepMerge(target, source) {
1937
+ if (!source) return target;
1938
+ if (Array.isArray(source)) {
1939
+ return Array.isArray(target) ? [...target, ...source] : source;
1940
+ }
1941
+ if (!(source instanceof Object) || source === null) {
1942
+ return source;
1943
+ }
1944
+ return {
1945
+ ...target,
1946
+ ...iterateEntries(source, (key, value) => {
1947
+ if (Array.isArray(value)) {
1948
+ return Array.isArray(target[key]) ? [...target[key], ...value] : value;
1949
+ }
1950
+ if (value instanceof Object && value !== null) {
1951
+ return deepMerge(target[key] || {}, value);
1952
+ }
1953
+ return value;
1954
+ })
1955
+ };
1956
+ }
1957
+
1958
+ // ../scene-graph/nodes/factories/elements/form/index.js
1959
+ var form_exports = {};
1960
+ __export(form_exports, {
1961
+ fieldset: () => fieldset,
1962
+ legend: () => legend,
1963
+ meter: () => meter,
1964
+ progress: () => progress
1965
+ });
1966
+
1967
+ // ../scene-graph/nodes/factories/nodeDefaults.js
1968
+ var nodeDefaults = () => ({
1969
+ __version: 1,
1970
+ type: null,
1971
+ render: {
1972
+ name: null,
1973
+ mode: "value",
1974
+ value: true,
1975
+ binding: null,
1976
+ computed: null,
1977
+ code: null,
1978
+ error: null
1979
+ },
1980
+ name: null,
1981
+ id: null,
1982
+ tagName: null,
1983
+ viewport: null,
1984
+ layout: "none",
1985
+ draggable: true,
1986
+ resizable: true,
1987
+ selectable: true,
1988
+ locked: [],
1989
+ anchor: [],
1990
+ dimensions: [],
1991
+ childrenType: null,
1992
+ repeat: null,
1993
+ contextName: null,
1994
+ attributes: [],
1995
+ events: [],
1996
+ className: [],
1997
+ states: [],
1998
+ lifecycle: [],
1999
+ animations: [],
2000
+ style: {}
2001
+ });
2002
+
2003
+ // ../scene-graph/nodes/factories/elements/elementDefaults.js
2004
+ var elementDefaults = () => deepMerge(nodeDefaults(), {
2005
+ type: "element"
2006
+ });
2007
+
2008
+ // ../scene-graph/nodes/factories/elements/form/formDefaults.js
2009
+ var formDefaults = () => deepMerge(elementDefaults(), {
2010
+ tagName: "",
2011
+ anchor: ["top", "left"],
2012
+ dimensions: ["width", "height"],
2013
+ style: {
2014
+ default: {
2015
+ top: "0",
2016
+ left: "0",
2017
+ width: "auto",
2018
+ height: "auto"
2019
+ }
2020
+ }
2021
+ });
2022
+
2023
+ // ../scene-graph/nodes/factories/elements/form/fieldset.js
2024
+ var fieldset = () => deepMerge(formDefaults(), {
2025
+ tagName: "fieldset",
2026
+ style: {
2027
+ default: {
2028
+ border: "1px solid #cccccc",
2029
+ padding: "16px"
2030
+ }
2031
+ }
2032
+ });
2033
+
2034
+ // ../scene-graph/nodes/factories/elements/form/legend.js
2035
+ var legend = () => deepMerge(formDefaults(), {
2036
+ tagName: "legend",
2037
+ childrenType: "text",
2038
+ dimensions: ["width"],
2039
+ textContent: {
2040
+ value: "Legend",
2041
+ binding: null
2042
+ },
2043
+ style: {
2044
+ default: {
2045
+ "font-weight": "bold"
2046
+ }
2047
+ }
2048
+ });
2049
+
2050
+ // ../scene-graph/nodes/factories/elements/form/progress.js
2051
+ var progress = () => deepMerge(formDefaults(), {
2052
+ tagName: "progress",
2053
+ childrenType: "none",
2054
+ dimensions: ["width"],
2055
+ attributes: [
2056
+ {
2057
+ key: "value",
2058
+ value: "50"
2059
+ },
2060
+ {
2061
+ key: "max",
2062
+ value: "100"
2063
+ }
2064
+ ],
2065
+ style: {
2066
+ default: {
2067
+ width: "200px"
2068
+ }
2069
+ }
2070
+ });
2071
+
2072
+ // ../scene-graph/nodes/factories/elements/form/meter.js
2073
+ var meter = () => deepMerge(formDefaults(), {
2074
+ tagName: "meter",
2075
+ childrenType: "none",
2076
+ dimensions: ["width"],
2077
+ attributes: [
2078
+ {
2079
+ key: "value",
2080
+ value: "50"
2081
+ },
2082
+ {
2083
+ key: "min",
2084
+ value: "0"
2085
+ },
2086
+ {
2087
+ key: "max",
2088
+ value: "100"
2089
+ }
2090
+ ],
2091
+ style: {
2092
+ default: {
2093
+ width: "200px"
2094
+ }
2095
+ }
2096
+ });
2097
+
2098
+ // ../scene-graph/nodes/factories/elements/headings/index.js
2099
+ var headings_exports = {};
2100
+ __export(headings_exports, {
2101
+ h1: () => h1,
2102
+ h2: () => h2,
2103
+ h3: () => h3,
2104
+ h4: () => h4,
2105
+ h5: () => h5,
2106
+ h6: () => h6
2107
+ });
2108
+
2109
+ // ../scene-graph/nodes/factories/elements/headings/headingDefaults.js
2110
+ var headingDefaults = () => deepMerge(elementDefaults(), {
2111
+ tagName: "",
2112
+ childrenType: "text",
2113
+ anchor: ["top", "left"],
2114
+ dimensions: ["width"],
2115
+ textContent: {
2116
+ value: "",
2117
+ binding: null
2118
+ },
2119
+ style: {
2120
+ default: {
2121
+ top: "0",
2122
+ left: "0",
2123
+ margin: "0",
2124
+ width: "180px"
2125
+ }
2126
+ }
2127
+ });
2128
+
2129
+ // ../scene-graph/nodes/factories/elements/headings/h1.js
2130
+ var h1 = () => deepMerge(headingDefaults(), {
2131
+ tagName: "h1",
2132
+ textContent: {
2133
+ value: "Heading 1",
2134
+ binding: null
2135
+ }
2136
+ });
2137
+
2138
+ // ../scene-graph/nodes/factories/elements/headings/h2.js
2139
+ var h2 = () => deepMerge(headingDefaults(), {
2140
+ tagName: "h2",
2141
+ textContent: {
2142
+ value: "Heading 2",
2143
+ binding: null
2144
+ }
2145
+ });
2146
+
2147
+ // ../scene-graph/nodes/factories/elements/headings/h3.js
2148
+ var h3 = () => deepMerge(headingDefaults(), {
2149
+ tagName: "h3",
2150
+ textContent: {
2151
+ value: "Heading 3",
2152
+ binding: null
2153
+ }
2154
+ });
2155
+
2156
+ // ../scene-graph/nodes/factories/elements/headings/h4.js
2157
+ var h4 = () => deepMerge(headingDefaults(), {
2158
+ tagName: "h4",
2159
+ textContent: {
2160
+ value: "Heading 4",
2161
+ binding: null
2162
+ }
2163
+ });
2164
+
2165
+ // ../scene-graph/nodes/factories/elements/headings/h5.js
2166
+ var h5 = () => deepMerge(headingDefaults(), {
2167
+ tagName: "h5",
2168
+ textContent: {
2169
+ value: "Heading 5",
2170
+ binding: null
2171
+ }
2172
+ });
2173
+
2174
+ // ../scene-graph/nodes/factories/elements/headings/h6.js
2175
+ var h6 = () => deepMerge(headingDefaults(), {
2176
+ tagName: "h6",
2177
+ textContent: {
2178
+ value: "Heading 6",
2179
+ binding: null
2180
+ }
2181
+ });
2182
+
2183
+ // ../scene-graph/nodes/factories/elements/inputs/index.js
2184
+ var inputs_exports = {};
2185
+ __export(inputs_exports, {
2186
+ checkbox: () => checkbox,
2187
+ color: () => color,
2188
+ date: () => date,
2189
+ email: () => email,
2190
+ file: () => file,
2191
+ hidden: () => hidden,
2192
+ input: () => input,
2193
+ number: () => number,
2194
+ password: () => password,
2195
+ phone: () => phone,
2196
+ radio: () => radio,
2197
+ range: () => range,
2198
+ search: () => search,
2199
+ select: () => select,
2200
+ text: () => text,
2201
+ textarea: () => textarea
2202
+ });
2203
+
2204
+ // ../scene-graph/nodes/factories/elements/inputs/inputDefaults.js
2205
+ var inputDefaults = () => deepMerge(elementDefaults(), {
2206
+ tagName: "input",
2207
+ anchor: ["top", "left"],
2208
+ dimensions: ["width"],
2209
+ childrenType: "none",
2210
+ attributes: [],
2211
+ style: {
2212
+ default: {
2213
+ top: "0",
2214
+ left: "0",
2215
+ width: "auto",
2216
+ height: "auto"
2217
+ }
2218
+ }
2219
+ });
2220
+
2221
+ // ../scene-graph/nodes/factories/elements/inputs/checkbox.js
2222
+ var checkbox = () => deepMerge(inputDefaults(), {
2223
+ attributes: [
2224
+ {
2225
+ key: "type",
2226
+ value: "checkbox"
2227
+ }
2228
+ ]
2229
+ });
2230
+
2231
+ // ../scene-graph/nodes/factories/elements/inputs/email.js
2232
+ var email = () => deepMerge(inputDefaults(), {
2233
+ attributes: [
2234
+ {
2235
+ key: "type",
2236
+ value: "email"
2237
+ }
2238
+ ],
2239
+ style: {
2240
+ default: {
2241
+ width: "240px",
2242
+ height: "32px"
2243
+ }
2244
+ }
2245
+ });
2246
+
2247
+ // ../scene-graph/nodes/factories/elements/inputs/password.js
2248
+ var password = () => deepMerge(inputDefaults(), {
2249
+ attributes: [
2250
+ {
2251
+ key: "type",
2252
+ value: "password"
2253
+ }
2254
+ ],
2255
+ style: {
2256
+ default: {
2257
+ width: "240px",
2258
+ height: "32px"
2259
+ }
2260
+ }
2261
+ });
2262
+
2263
+ // ../scene-graph/nodes/factories/elements/inputs/phone.js
2264
+ var phone = () => deepMerge(inputDefaults(), {
2265
+ attributes: [
2266
+ {
2267
+ key: "type",
2268
+ value: "tel"
2269
+ }
2270
+ ],
2271
+ style: {
2272
+ default: {
2273
+ width: "240px",
2274
+ height: "32px"
2275
+ }
2276
+ }
2277
+ });
2278
+
2279
+ // ../scene-graph/nodes/factories/elements/inputs/radio.js
2280
+ var radio = () => deepMerge(inputDefaults(), {
2281
+ attributes: [
2282
+ {
2283
+ key: "type",
2284
+ value: "radio"
2285
+ }
2286
+ ],
2287
+ style: {
2288
+ default: {
2289
+ margin: "0"
2290
+ }
2291
+ }
2292
+ });
2293
+
2294
+ // ../scene-graph/nodes/factories/elements/inputs/text.js
2295
+ var text = () => deepMerge(inputDefaults(), {
2296
+ attributes: [
2297
+ {
2298
+ key: "type",
2299
+ value: "text"
2300
+ }
2301
+ ],
2302
+ style: {
2303
+ default: {
2304
+ width: "240px",
2305
+ height: "32px"
2306
+ }
2307
+ }
2308
+ });
2309
+
2310
+ // ../scene-graph/nodes/factories/elements/inputs/select.js
2311
+ var select = () => deepMerge(inputDefaults(), {
2312
+ tagName: "select",
2313
+ childrenType: "options",
2314
+ options: {
2315
+ type: "set",
2316
+ set: [],
2317
+ binding: null,
2318
+ expression: null,
2319
+ dependencies: [],
2320
+ valueKey: {
2321
+ value: "value",
2322
+ expression: null,
2323
+ dependencies: []
2324
+ },
2325
+ labelKey: {
2326
+ value: "label",
2327
+ expression: null,
2328
+ dependencies: []
2329
+ }
2330
+ },
2331
+ attributes: [],
2332
+ style: {
2333
+ default: {
2334
+ width: "240px",
2335
+ height: "32px"
2336
+ }
2337
+ }
2338
+ });
2339
+
2340
+ // ../scene-graph/nodes/factories/elements/inputs/color.js
2341
+ var color = () => deepMerge(inputDefaults(), {
2342
+ attributes: [
2343
+ {
2344
+ key: "type",
2345
+ value: "color"
2346
+ }
2347
+ ],
2348
+ style: {
2349
+ default: {
2350
+ width: "40px",
2351
+ height: "32px"
2352
+ }
2353
+ }
2354
+ });
2355
+
2356
+ // ../scene-graph/nodes/factories/elements/inputs/date.js
2357
+ var date = () => deepMerge(inputDefaults(), {
2358
+ attributes: [
2359
+ {
2360
+ key: "type",
2361
+ value: "date"
2362
+ }
2363
+ ],
2364
+ style: {
2365
+ default: {
2366
+ width: "240px",
2367
+ height: "32px"
2368
+ }
2369
+ }
2370
+ });
2371
+
2372
+ // ../scene-graph/nodes/factories/elements/inputs/file.js
2373
+ var file = () => deepMerge(inputDefaults(), {
2374
+ attributes: [
2375
+ {
2376
+ key: "type",
2377
+ value: "file"
2378
+ }
2379
+ ],
2380
+ style: {
2381
+ default: {
2382
+ width: "240px"
2383
+ }
2384
+ }
2385
+ });
2386
+
2387
+ // ../scene-graph/nodes/factories/elements/inputs/hidden.js
2388
+ var hidden = () => deepMerge(inputDefaults(), {
2389
+ attributes: [
2390
+ {
2391
+ key: "type",
2392
+ value: "hidden"
2393
+ }
2394
+ ]
2395
+ });
2396
+
2397
+ // ../scene-graph/nodes/factories/elements/inputs/number.js
2398
+ var number = () => deepMerge(inputDefaults(), {
2399
+ attributes: [
2400
+ {
2401
+ key: "type",
2402
+ value: "number"
2403
+ }
2404
+ ],
2405
+ style: {
2406
+ default: {
2407
+ width: "240px",
2408
+ height: "32px"
2409
+ }
2410
+ }
2411
+ });
2412
+
2413
+ // ../scene-graph/nodes/factories/elements/inputs/range.js
2414
+ var range = () => deepMerge(inputDefaults(), {
2415
+ dimensions: ["width"],
2416
+ attributes: [
2417
+ {
2418
+ key: "type",
2419
+ value: "range"
2420
+ }
2421
+ ],
2422
+ style: {
2423
+ default: {
2424
+ width: "240px"
2425
+ }
2426
+ }
2427
+ });
2428
+
2429
+ // ../scene-graph/nodes/factories/elements/inputs/search.js
2430
+ var search = () => deepMerge(inputDefaults(), {
2431
+ attributes: [
2432
+ {
2433
+ key: "type",
2434
+ value: "search"
2435
+ }
2436
+ ],
2437
+ style: {
2438
+ default: {
2439
+ width: "240px",
2440
+ height: "32px"
2441
+ }
2442
+ }
2443
+ });
2444
+
2445
+ // ../scene-graph/nodes/factories/elements/inputs/textarea.js
2446
+ var textarea = () => deepMerge(inputDefaults(), {
2447
+ tagName: "textarea",
2448
+ childrenType: "none",
2449
+ attributes: [],
2450
+ style: {
2451
+ default: {
2452
+ width: "240px",
2453
+ height: "80px"
2454
+ }
2455
+ }
2456
+ });
2457
+
2458
+ // ../scene-graph/nodes/factories/elements/inputs/input.js
2459
+ var input = () => deepMerge(inputDefaults(), {
2460
+ attributes: [],
2461
+ style: {
2462
+ default: {
2463
+ width: "240px",
2464
+ height: "32px"
2465
+ }
2466
+ }
2467
+ });
2468
+
2469
+ // ../scene-graph/nodes/factories/elements/interactive/index.js
2470
+ var interactive_exports = {};
2471
+ __export(interactive_exports, {
2472
+ a: () => a,
2473
+ button: () => button,
2474
+ details: () => details,
2475
+ dialog: () => dialog,
2476
+ summary: () => summary
2477
+ });
2478
+
2479
+ // ../scene-graph/nodes/factories/elements/interactive/interactiveDefaults.js
2480
+ var interactiveDefaults = () => deepMerge(elementDefaults(), {
2481
+ tagName: "",
2482
+ interactive: true,
2483
+ childrenType: "text",
2484
+ anchor: ["top", "left"],
2485
+ attributes: [],
2486
+ style: {
2487
+ default: {
2488
+ top: "0",
2489
+ left: "0",
2490
+ width: "auto",
2491
+ height: "auto",
2492
+ cursor: "pointer"
2493
+ }
2494
+ }
2495
+ });
2496
+
2497
+ // ../scene-graph/nodes/factories/elements/interactive/button.js
2498
+ var button = () => deepMerge(interactiveDefaults(), {
2499
+ tagName: "button",
2500
+ childrenType: "text",
2501
+ dimensions: ["width", "height"],
2502
+ textContent: {
2503
+ value: "Button text",
2504
+ binding: null
2505
+ },
2506
+ style: {
2507
+ default: {
2508
+ "background-color": "#e9e9e9",
2509
+ border: "1px solid #d5d5d5",
2510
+ "border-radius": "4px",
2511
+ padding: "6px 12px",
2512
+ width: "120px",
2513
+ height: "auto"
2514
+ }
2515
+ }
2516
+ });
2517
+
2518
+ // ../scene-graph/nodes/factories/elements/interactive/a.js
2519
+ var a = () => deepMerge(interactiveDefaults(), {
2520
+ tagName: "a",
2521
+ textContent: {
2522
+ value: "Link text",
2523
+ binding: null
2524
+ },
2525
+ destination: {
2526
+ type: "page",
2527
+ // Optional: 'route' | 'url' | 'component' | 'modal' | 'page'.
2528
+ id: null,
2529
+ path: null,
2530
+ target: null,
2531
+ // Optional: '_blank', '_self', etc. (used if it's an external URL)
2532
+ replace: false,
2533
+ // Optional: use history.replace instead of push (for internal routes)
2534
+ params: null,
2535
+ // Optional: route params for dynamic routes
2536
+ query: null
2537
+ // Optional: query string params (as object)
2538
+ },
2539
+ style: {}
2540
+ });
2541
+
2542
+ // ../scene-graph/nodes/factories/elements/interactive/details.js
2543
+ var details = () => deepMerge(interactiveDefaults(), {
2544
+ tagName: "details",
2545
+ childrenType: "children",
2546
+ dimensions: ["width", "height"],
2547
+ style: {
2548
+ default: {
2549
+ cursor: "default"
2550
+ }
2551
+ }
2552
+ });
2553
+
2554
+ // ../scene-graph/nodes/factories/elements/interactive/summary.js
2555
+ var summary = () => deepMerge(interactiveDefaults(), {
2556
+ tagName: "summary",
2557
+ textContent: {
2558
+ value: "Summary text",
2559
+ binding: null
2560
+ }
2561
+ });
2562
+
2563
+ // ../scene-graph/nodes/factories/elements/interactive/dialog.js
2564
+ var dialog = () => deepMerge(interactiveDefaults(), {
2565
+ tagName: "dialog",
2566
+ childrenType: "children",
2567
+ dimensions: ["width", "height"],
2568
+ style: {
2569
+ default: {
2570
+ cursor: "default",
2571
+ width: "300px",
2572
+ height: "200px"
2573
+ }
2574
+ }
2575
+ });
2576
+
2577
+ // ../scene-graph/nodes/factories/elements/layout/index.js
2578
+ var layout_exports = {};
2579
+ __export(layout_exports, {
2580
+ article: () => article,
2581
+ aside: () => aside,
2582
+ div: () => div,
2583
+ footer: () => footer,
2584
+ form: () => form,
2585
+ header: () => header,
2586
+ main: () => main,
2587
+ nav: () => nav,
2588
+ section: () => section,
2589
+ template: () => template
2590
+ });
2591
+
2592
+ // ../scene-graph/nodes/factories/elements/layout/layoutDefaults.js
2593
+ var layoutDefaults = () => deepMerge(elementDefaults(), {
2594
+ tagName: "",
2595
+ anchor: ["top", "left"],
2596
+ dimensions: ["width", "height"],
2597
+ childrenType: "children",
2598
+ children: [],
2599
+ style: {
2600
+ default: {
2601
+ top: "0",
2602
+ left: "0",
2603
+ width: "1px",
2604
+ height: "1px"
2605
+ }
2606
+ }
2607
+ });
2608
+
2609
+ // ../scene-graph/nodes/factories/elements/layout/aside.js
2610
+ var aside = () => deepMerge(layoutDefaults(), {
2611
+ tagName: "aside"
2612
+ });
2613
+
2614
+ // ../scene-graph/nodes/factories/elements/layout/footer.js
2615
+ var footer = () => deepMerge(layoutDefaults(), {
2616
+ tagName: "footer"
2617
+ });
2618
+
2619
+ // ../scene-graph/nodes/factories/elements/layout/form.js
2620
+ var form = () => deepMerge(layoutDefaults(), {
2621
+ tagName: "form"
2622
+ });
2623
+
2624
+ // ../scene-graph/nodes/factories/elements/layout/header.js
2625
+ var header = () => deepMerge(layoutDefaults(), {
2626
+ tagName: "header"
2627
+ });
2628
+
2629
+ // ../scene-graph/nodes/factories/elements/layout/main.js
2630
+ var main = () => deepMerge(layoutDefaults(), {
2631
+ tagName: "main"
2632
+ });
2633
+
2634
+ // ../scene-graph/nodes/factories/elements/layout/section.js
2635
+ var section = () => deepMerge(layoutDefaults(), {
2636
+ tagName: "section"
2637
+ });
2638
+
2639
+ // ../scene-graph/nodes/factories/elements/layout/article.js
2640
+ var article = () => deepMerge(layoutDefaults(), {
2641
+ tagName: "article"
2642
+ });
2643
+
2644
+ // ../scene-graph/nodes/factories/elements/layout/nav.js
2645
+ var nav = () => deepMerge(layoutDefaults(), {
2646
+ tagName: "nav"
2647
+ });
2648
+
2649
+ // ../scene-graph/nodes/factories/elements/layout/div.js
2650
+ var div = () => deepMerge(layoutDefaults(), {
2651
+ tagName: "div"
2652
+ });
2653
+
2654
+ // ../scene-graph/nodes/factories/elements/layout/template.js
2655
+ var template = () => deepMerge(layoutDefaults(), {
2656
+ type: "template",
2657
+ tagName: "template",
2658
+ html: "<div>HTML template</div>",
2659
+ style: {
2660
+ default: {
2661
+ top: "0",
2662
+ left: "0",
2663
+ width: "250px",
2664
+ height: "100px"
2665
+ }
2666
+ }
2667
+ });
2668
+
2669
+ // ../scene-graph/nodes/factories/elements/lists/index.js
2670
+ var lists_exports = {};
2671
+ __export(lists_exports, {
2672
+ dd: () => dd,
2673
+ dl: () => dl,
2674
+ dt: () => dt,
2675
+ li: () => li,
2676
+ ol: () => ol,
2677
+ ul: () => ul
2678
+ });
2679
+
2680
+ // ../scene-graph/nodes/factories/elements/lists/listDefaults.js
2681
+ var listDefaults = () => deepMerge(elementDefaults(), {
2682
+ tagName: "",
2683
+ anchor: ["top", "left"],
2684
+ dimensions: ["width", "height"],
2685
+ childrenType: "children",
2686
+ children: [],
2687
+ style: {
2688
+ default: {
2689
+ top: "0",
2690
+ left: "0",
2691
+ margin: "0",
2692
+ width: "100px",
2693
+ height: "10px"
2694
+ }
2695
+ }
2696
+ });
2697
+
2698
+ // ../scene-graph/nodes/factories/elements/lists/ol.js
2699
+ var ol = () => deepMerge(listDefaults(), {
2700
+ tagName: "ol"
2701
+ });
2702
+
2703
+ // ../scene-graph/nodes/factories/elements/lists/ul.js
2704
+ var ul = () => deepMerge(listDefaults(), {
2705
+ tagName: "ul"
2706
+ });
2707
+
2708
+ // ../scene-graph/nodes/factories/elements/lists/li.js
2709
+ var li = () => deepMerge(listDefaults(), {
2710
+ tagName: "li",
2711
+ children: []
2712
+ });
2713
+
2714
+ // ../scene-graph/nodes/factories/elements/lists/dl.js
2715
+ var dl = () => deepMerge(listDefaults(), {
2716
+ tagName: "dl"
2717
+ });
2718
+
2719
+ // ../scene-graph/nodes/factories/elements/lists/dt.js
2720
+ var dt = () => deepMerge(listDefaults(), {
2721
+ tagName: "dt",
2722
+ childrenType: "text",
2723
+ textContent: {
2724
+ value: "Term",
2725
+ binding: null
2726
+ }
2727
+ });
2728
+
2729
+ // ../scene-graph/nodes/factories/elements/lists/dd.js
2730
+ var dd = () => deepMerge(listDefaults(), {
2731
+ tagName: "dd",
2732
+ childrenType: "text",
2733
+ textContent: {
2734
+ value: "Description",
2735
+ binding: null
2736
+ },
2737
+ style: {
2738
+ default: {
2739
+ "margin-left": "0"
2740
+ }
2741
+ }
2742
+ });
2743
+
2744
+ // ../scene-graph/nodes/factories/elements/media/index.js
2745
+ var media_exports = {};
2746
+ __export(media_exports, {
2747
+ audio: () => audio,
2748
+ figcaption: () => figcaption,
2749
+ figure: () => figure,
2750
+ iframe: () => iframe,
2751
+ img: () => img,
2752
+ video: () => video
2753
+ });
2754
+
2755
+ // ../scene-graph/nodes/factories/elements/media/mediaDefaults.js
2756
+ var mediaDefaults = () => deepMerge(elementDefaults(), {
2757
+ tagName: "",
2758
+ anchor: ["top", "left"],
2759
+ dimensions: ["width", "height"],
2760
+ attributes: [],
2761
+ style: {
2762
+ default: {
2763
+ top: "0",
2764
+ left: "0",
2765
+ width: "auto",
2766
+ height: "auto",
2767
+ "object-fit": "contain"
2768
+ }
2769
+ }
2770
+ });
2771
+
2772
+ // ../scene-graph/nodes/factories/elements/media/img.js
2773
+ var img = () => deepMerge(mediaDefaults(), {
2774
+ tagName: "img",
2775
+ childrenType: "none"
2776
+ });
2777
+
2778
+ // ../scene-graph/nodes/factories/elements/media/video.js
2779
+ var video = () => deepMerge(mediaDefaults(), {
2780
+ tagName: "video",
2781
+ childrenType: "children",
2782
+ attributes: [
2783
+ { key: "controls", value: true }
2784
+ ],
2785
+ style: {
2786
+ default: {
2787
+ width: "320px",
2788
+ height: "240px"
2789
+ }
2790
+ }
2791
+ });
2792
+
2793
+ // ../scene-graph/nodes/factories/elements/media/audio.js
2794
+ var audio = () => deepMerge(mediaDefaults(), {
2795
+ tagName: "audio",
2796
+ childrenType: "none",
2797
+ dimensions: ["width"],
2798
+ attributes: [
2799
+ { key: "controls", value: true }
2800
+ ],
2801
+ style: {
2802
+ default: {
2803
+ width: "320px"
2804
+ }
2805
+ }
2806
+ });
2807
+
2808
+ // ../scene-graph/nodes/factories/elements/media/iframe.js
2809
+ var iframe = () => deepMerge(mediaDefaults(), {
2810
+ tagName: "iframe",
2811
+ childrenType: "none",
2812
+ dimensions: ["width", "height"],
2813
+ style: {
2814
+ default: {
2815
+ width: "320px",
2816
+ height: "240px",
2817
+ "object-fit": void 0
2818
+ }
2819
+ }
2820
+ });
2821
+
2822
+ // ../scene-graph/nodes/factories/elements/media/figure.js
2823
+ var figure = () => deepMerge(mediaDefaults(), {
2824
+ tagName: "figure",
2825
+ childrenType: "children",
2826
+ dimensions: ["width", "height"],
2827
+ style: {
2828
+ default: {
2829
+ width: "auto",
2830
+ height: "auto",
2831
+ margin: "0"
2832
+ }
2833
+ }
2834
+ });
2835
+
2836
+ // ../scene-graph/nodes/factories/elements/text/textDefaults.js
2837
+ var textDefaults = () => deepMerge(elementDefaults(), {
2838
+ tagName: "",
2839
+ childrenType: "text",
2840
+ anchor: ["top", "left"],
2841
+ textContent: {
2842
+ value: "",
2843
+ binding: null
2844
+ },
2845
+ style: {
2846
+ default: {
2847
+ top: "0",
2848
+ left: "0",
2849
+ margin: "0",
2850
+ width: "auto",
2851
+ height: "auto"
2852
+ }
2853
+ }
2854
+ });
2855
+
2856
+ // ../scene-graph/nodes/factories/elements/media/figcaption.js
2857
+ var figcaption = () => deepMerge(textDefaults(), {
2858
+ tagName: "figcaption",
2859
+ textContent: {
2860
+ value: "Caption text",
2861
+ binding: null
2862
+ },
2863
+ style: {
2864
+ default: {
2865
+ "font-size": "14px",
2866
+ color: "#666666"
2867
+ }
2868
+ }
2869
+ });
2870
+
2871
+ // ../scene-graph/nodes/factories/elements/tables/index.js
2872
+ var tables_exports = {};
2873
+ __export(tables_exports, {
2874
+ table: () => table,
2875
+ tbody: () => tbody,
2876
+ td: () => td,
2877
+ tfoot: () => tfoot,
2878
+ th: () => th,
2879
+ thead: () => thead,
2880
+ tr: () => tr
2881
+ });
2882
+
2883
+ // ../scene-graph/nodes/factories/elements/tables/tableDefaults.js
2884
+ var tableDefaults = () => deepMerge(elementDefaults(), {
2885
+ tagName: "",
2886
+ anchor: ["top", "left"],
2887
+ dimensions: ["width"],
2888
+ style: {
2889
+ default: {
2890
+ top: "0",
2891
+ left: "0",
2892
+ width: "auto"
2893
+ }
2894
+ }
2895
+ });
2896
+
2897
+ // ../scene-graph/nodes/factories/elements/tables/table.js
2898
+ var table = () => deepMerge(tableDefaults(), {
2899
+ tagName: "table",
2900
+ dimensions: ["width", "height"],
2901
+ style: {
2902
+ default: {
2903
+ "border-collapse": "collapse"
2904
+ }
2905
+ }
2906
+ });
2907
+
2908
+ // ../scene-graph/nodes/factories/elements/tables/thead.js
2909
+ var thead = () => deepMerge(tableDefaults(), {
2910
+ tagName: "thead"
2911
+ });
2912
+
2913
+ // ../scene-graph/nodes/factories/elements/tables/tbody.js
2914
+ var tbody = () => deepMerge(tableDefaults(), {
2915
+ tagName: "tbody"
2916
+ });
2917
+
2918
+ // ../scene-graph/nodes/factories/elements/tables/tfoot.js
2919
+ var tfoot = () => deepMerge(tableDefaults(), {
2920
+ tagName: "tfoot"
2921
+ });
2922
+
2923
+ // ../scene-graph/nodes/factories/elements/tables/tr.js
2924
+ var tr = () => deepMerge(tableDefaults(), {
2925
+ tagName: "tr"
2926
+ });
2927
+
2928
+ // ../scene-graph/nodes/factories/elements/tables/th.js
2929
+ var th = () => deepMerge(tableDefaults(), {
2930
+ tagName: "th",
2931
+ childrenType: "text",
2932
+ textContent: {
2933
+ value: "Header",
2934
+ binding: null
2935
+ },
2936
+ style: {
2937
+ default: {
2938
+ padding: "8px",
2939
+ "text-align": "left",
2940
+ "font-weight": "bold"
2941
+ }
2942
+ }
2943
+ });
2944
+
2945
+ // ../scene-graph/nodes/factories/elements/tables/td.js
2946
+ var td = () => deepMerge(tableDefaults(), {
2947
+ tagName: "td",
2948
+ childrenType: "text",
2949
+ textContent: {
2950
+ value: "Cell",
2951
+ binding: null
2952
+ },
2953
+ style: {
2954
+ default: {
2955
+ padding: "8px"
2956
+ }
2957
+ }
2958
+ });
2959
+
2960
+ // ../scene-graph/nodes/factories/elements/text/index.js
2961
+ var text_exports = {};
2962
+ __export(text_exports, {
2963
+ blockquote: () => blockquote,
2964
+ br: () => br,
2965
+ code: () => code,
2966
+ em: () => em,
2967
+ hr: () => hr,
2968
+ label: () => label,
2969
+ mark: () => mark,
2970
+ p: () => p,
2971
+ pre: () => pre,
2972
+ small: () => small,
2973
+ span: () => span,
2974
+ strong: () => strong
2975
+ });
2976
+
2977
+ // ../scene-graph/nodes/factories/elements/text/p.js
2978
+ var p = () => deepMerge(textDefaults(), {
2979
+ tagName: "p",
2980
+ textContent: {
2981
+ value: "Paragraph text",
2982
+ binding: null
2983
+ },
2984
+ style: {
2985
+ default: {
2986
+ "font-size": "16px",
2987
+ "line-height": "1.5",
2988
+ color: "#333333"
2989
+ }
2990
+ }
2991
+ });
2992
+
2993
+ // ../scene-graph/nodes/factories/elements/text/label.js
2994
+ var label = () => deepMerge(textDefaults(), {
2995
+ tagName: "label",
2996
+ textContent: {
2997
+ value: "Label text",
2998
+ binding: null
2999
+ },
3000
+ style: {
3001
+ default: {
3002
+ "font-size": "14px",
3003
+ "font-weight": "500",
3004
+ color: "#666666"
3005
+ }
3006
+ }
3007
+ });
3008
+
3009
+ // ../scene-graph/nodes/factories/elements/text/span.js
3010
+ var span = () => deepMerge(textDefaults(), {
3011
+ tagName: "span",
3012
+ textContent: {
3013
+ value: "",
3014
+ binding: null
3015
+ },
3016
+ style: {
3017
+ default: {
3018
+ "font-size": "16px",
3019
+ color: "#333333"
3020
+ }
3021
+ }
3022
+ });
3023
+
3024
+ // ../scene-graph/nodes/factories/elements/text/blockquote.js
3025
+ var blockquote = () => deepMerge(textDefaults(), {
3026
+ tagName: "blockquote",
3027
+ textContent: {
3028
+ value: "Blockquote text",
3029
+ binding: null
3030
+ },
3031
+ style: {
3032
+ default: {
3033
+ "font-size": "16px",
3034
+ "line-height": "1.5",
3035
+ color: "#333333",
3036
+ "padding-left": "16px",
3037
+ "border-left": "3px solid #cccccc"
3038
+ }
3039
+ }
3040
+ });
3041
+
3042
+ // ../scene-graph/nodes/factories/elements/text/pre.js
3043
+ var pre = () => deepMerge(textDefaults(), {
3044
+ tagName: "pre",
3045
+ textContent: {
3046
+ value: "Preformatted text",
3047
+ binding: null
3048
+ },
3049
+ style: {
3050
+ default: {
3051
+ "font-size": "14px",
3052
+ "font-family": "monospace",
3053
+ "line-height": "1.4",
3054
+ color: "#333333",
3055
+ "white-space": "pre"
3056
+ }
3057
+ }
3058
+ });
3059
+
3060
+ // ../scene-graph/nodes/factories/elements/text/code.js
3061
+ var code = () => deepMerge(textDefaults(), {
3062
+ tagName: "code",
3063
+ textContent: {
3064
+ value: "code",
3065
+ binding: null
3066
+ },
3067
+ style: {
3068
+ default: {
3069
+ "font-size": "14px",
3070
+ "font-family": "monospace",
3071
+ color: "#333333"
3072
+ }
3073
+ }
3074
+ });
3075
+
3076
+ // ../scene-graph/nodes/factories/elements/text/strong.js
3077
+ var strong = () => deepMerge(textDefaults(), {
3078
+ tagName: "strong",
3079
+ textContent: {
3080
+ value: "Bold text",
3081
+ binding: null
3082
+ },
3083
+ style: {
3084
+ default: {
3085
+ "font-size": "16px",
3086
+ "font-weight": "bold",
3087
+ color: "#333333"
3088
+ }
3089
+ }
3090
+ });
3091
+
3092
+ // ../scene-graph/nodes/factories/elements/text/em.js
3093
+ var em = () => deepMerge(textDefaults(), {
3094
+ tagName: "em",
3095
+ textContent: {
3096
+ value: "Emphasized text",
3097
+ binding: null
3098
+ },
3099
+ style: {
3100
+ default: {
3101
+ "font-size": "16px",
3102
+ "font-style": "italic",
3103
+ color: "#333333"
3104
+ }
3105
+ }
3106
+ });
3107
+
3108
+ // ../scene-graph/nodes/factories/elements/text/small.js
3109
+ var small = () => deepMerge(textDefaults(), {
3110
+ tagName: "small",
3111
+ textContent: {
3112
+ value: "Small text",
3113
+ binding: null
3114
+ },
3115
+ style: {
3116
+ default: {
3117
+ "font-size": "12px",
3118
+ color: "#666666"
3119
+ }
3120
+ }
3121
+ });
3122
+
3123
+ // ../scene-graph/nodes/factories/elements/text/mark.js
3124
+ var mark = () => deepMerge(textDefaults(), {
3125
+ tagName: "mark",
3126
+ textContent: {
3127
+ value: "Highlighted text",
3128
+ binding: null
3129
+ },
3130
+ style: {
3131
+ default: {
3132
+ "font-size": "16px",
3133
+ color: "#333333",
3134
+ "background-color": "#ffff00"
3135
+ }
3136
+ }
3137
+ });
3138
+
3139
+ // ../scene-graph/nodes/factories/elements/text/hr.js
3140
+ var hr = () => deepMerge(elementDefaults(), {
3141
+ tagName: "hr",
3142
+ anchor: ["top", "left"],
3143
+ dimensions: ["width"],
3144
+ childrenType: "none",
3145
+ style: {
3146
+ default: {
3147
+ top: "0",
3148
+ left: "0",
3149
+ width: "100%",
3150
+ border: "none",
3151
+ "border-top": "1px solid #cccccc"
3152
+ }
3153
+ }
3154
+ });
3155
+
3156
+ // ../scene-graph/nodes/factories/elements/text/br.js
3157
+ var br = () => deepMerge(elementDefaults(), {
3158
+ tagName: "br",
3159
+ childrenType: "none"
3160
+ });
3161
+
3162
+ // ../scene-graph/nodes/factories/elements/createElement.js
3163
+ var getAllElements = () => ({
3164
+ ...form_exports,
3165
+ ...headings_exports,
3166
+ ...inputs_exports,
3167
+ ...interactive_exports,
3168
+ ...layout_exports,
3169
+ ...lists_exports,
3170
+ ...media_exports,
3171
+ ...tables_exports,
3172
+ ...text_exports
3173
+ });
3174
+ var getElement = (name) => getAllElements()[name];
3175
+ var hasElement = (name) => !!getElement(name);
3176
+ function createElement(name) {
3177
+ if (!hasElement(name)) {
3178
+ return new Error(`Element ${name} not found`);
3179
+ }
3180
+ return getElement(name)();
3181
+ }
3182
+
3183
+ // ../scene-graph/nodes/factories/instances/instanceDefaults.js
3184
+ var instanceDefaults = () => deepMerge(nodeDefaults(), {
3185
+ name: null,
3186
+ type: "instance",
3187
+ component: null,
3188
+ library: null,
3189
+ props: [],
3190
+ slots: [],
3191
+ layout: "none",
3192
+ draggable: true,
3193
+ resizable: true,
3194
+ selectable: true,
3195
+ locked: [],
3196
+ anchor: ["top", "left"],
3197
+ dimensions: ["width", "height"],
3198
+ childrenType: "children"
3199
+ });
3200
+
3201
+ // ../scene-graph/nodes/factories/instances/createInstance.js
3202
+ function createInstance(component, library) {
3203
+ return deepMerge(instanceDefaults(), { component, library });
3204
+ }
3205
+
3206
+ // ../scene-graph/nodes/factories/graphics/graphicDefaults.js
3207
+ var graphicDefaults = () => deepMerge(nodeDefaults(), {
3208
+ type: "template",
3209
+ tagName: "div",
3210
+ props: {},
3211
+ template: [],
3212
+ style: {
3213
+ default: {
3214
+ top: "0",
3215
+ left: "0",
3216
+ margin: "0",
3217
+ width: "100px",
3218
+ height: "100px"
3219
+ }
3220
+ }
3221
+ });
3222
+
3223
+ // ../scene-graph/nodes/factories/graphics/rectangle.js
3224
+ var rectangle_default = () => deepMerge(graphicDefaults(), {
3225
+ name: "rectangle",
3226
+ props: {
3227
+ fill: {
3228
+ type: "color",
3229
+ default: "black"
3230
+ },
3231
+ stroke: {
3232
+ type: "color",
3233
+ default: "black"
3234
+ },
3235
+ strokeWidth: {
3236
+ type: "cssNumber",
3237
+ default: "1px",
3238
+ units: ["px", "rem", "em", "%"]
3239
+ }
3240
+ },
3241
+ context: {},
3242
+ template: [
3243
+ "svg",
3244
+ {
3245
+ xmlns: "http://www.w3.org/2000/svg",
3246
+ style: "width: 100%; height: 100%; top: 0; left: 0; position: absolute;"
3247
+ },
3248
+ [
3249
+ ["rect", {
3250
+ x: "0",
3251
+ y: "0",
3252
+ width: "100%",
3253
+ height: "100%",
3254
+ fill: { ref: "fill" }
3255
+ }]
3256
+ ]
3257
+ ]
3258
+ });
3259
+
3260
+ // ../scene-graph/nodes/factories/graphics/roundedRectangle.js
3261
+ var roundedRectangle_default = () => deepMerge(graphicDefaults(), {
3262
+ name: "rounded_rectangle",
3263
+ props: {
3264
+ rx: {
3265
+ type: "cssNumber",
3266
+ default: "10px",
3267
+ units: ["px", "rem", "em", "%"]
3268
+ },
3269
+ ry: {
3270
+ type: "cssNumber",
3271
+ default: "10px",
3272
+ units: ["px", "rem", "em", "%"]
3273
+ },
3274
+ fill: {
3275
+ type: "color",
3276
+ default: "black"
3277
+ },
3278
+ stroke: {
3279
+ type: "color",
3280
+ default: "black"
3281
+ },
3282
+ strokeWidth: {
3283
+ type: "cssNumber",
3284
+ default: "1px",
3285
+ units: ["px", "rem", "em", "%"]
3286
+ },
3287
+ width: {
3288
+ type: "cssNumber",
3289
+ default: "100px",
3290
+ units: ["px", "rem", "em", "%"]
3291
+ },
3292
+ height: {
3293
+ type: "cssNumber",
3294
+ default: "100px",
3295
+ units: ["px", "rem", "em", "%"]
3296
+ }
3297
+ },
3298
+ context: {},
3299
+ template: [
3300
+ "svg",
3301
+ {
3302
+ xmlns: "http://www.w3.org/2000/svg",
3303
+ style: "width: 100%; height: 100%;"
3304
+ },
3305
+ [
3306
+ ["rect", {
3307
+ x: "0",
3308
+ y: "0",
3309
+ width: "100%",
3310
+ height: "100%",
3311
+ fill: { ref: "fill" },
3312
+ rx: {
3313
+ ref: "rx"
3314
+ },
3315
+ ry: {
3316
+ ref: "ry"
3317
+ }
3318
+ }]
3319
+ ]
3320
+ ]
3321
+ });
3322
+
3323
+ // ../scene-graph/nodes/factories/graphics/ellipse.js
3324
+ var ellipse_default = () => deepMerge(defaults(), {
3325
+ name: "ellipse",
3326
+ props: {
3327
+ fill: {
3328
+ type: "color",
3329
+ default: "black"
3330
+ },
3331
+ stroke: {
3332
+ type: "color",
3333
+ default: "black"
3334
+ },
3335
+ strokeWidth: {
3336
+ type: "cssNumber",
3337
+ default: "1px",
3338
+ units: ["px", "rem", "em", "%"]
3339
+ }
3340
+ },
3341
+ context: {},
3342
+ template: [
3343
+ "svg",
3344
+ {
3345
+ xmlns: "http://www.w3.org/2000/svg",
3346
+ style: "width: 100%; height: 100%; top: 0; left: 0; position: absolute;",
3347
+ preserveAspectRatio: "none"
3348
+ },
3349
+ [
3350
+ ["svg", {
3351
+ viewBox: "0 0 100 100",
3352
+ width: "100%",
3353
+ height: "100%",
3354
+ top: "0",
3355
+ left: "0",
3356
+ preserveAspectRatio: "none"
3357
+ }, [
3358
+ ["ellipse", {
3359
+ cx: "50px",
3360
+ cy: "50px",
3361
+ rx: "50px",
3362
+ ry: "50px",
3363
+ fill: { ref: "fill" },
3364
+ strokeWidth: { ref: "strokeWidth" }
3365
+ }]
3366
+ ]]
3367
+ ]
3368
+ ]
3369
+ }, base());
3370
+
3371
+ // ../scene-graph/nodes/factories/graphics/triangle.js
3372
+ var triangle_default = () => deepMerge(graphicDefaults(), {
3373
+ name: "triangle",
3374
+ props: {
3375
+ fill: {
3376
+ type: "color",
3377
+ default: "black"
3378
+ },
3379
+ stroke: {
3380
+ type: "color",
3381
+ default: "black"
3382
+ },
3383
+ strokeWidth: {
3384
+ type: "cssNumber",
3385
+ default: "1px",
3386
+ units: ["px", "rem", "em", "%"]
3387
+ }
3388
+ },
3389
+ context: {},
3390
+ template: [
3391
+ "svg",
3392
+ {
3393
+ xmlns: "http://www.w3.org/2000/svg",
3394
+ style: "width: 100%; height: 100%; top: 0; left: 0; position: absolute;",
3395
+ preserveAspectRatio: "none"
3396
+ },
3397
+ [
3398
+ ["svg", {
3399
+ viewBox: "0 0 100 100",
3400
+ width: "100%",
3401
+ height: "100%",
3402
+ top: "0",
3403
+ left: "0",
3404
+ preserveAspectRatio: "none"
3405
+ }, [
3406
+ ["polygon", {
3407
+ points: "50,0 100,100 0,100",
3408
+ fill: { ref: "fill" },
3409
+ strokeWidth: { ref: "strokeWidth" }
3410
+ }]
3411
+ ]]
3412
+ ]
3413
+ ]
3414
+ });
3415
+
3416
+ // ../scene-graph/nodes/factories/graphics/createGraphic.js
3417
+ var getAllGraphics = () => ({
3418
+ rectangle: rectangle_default,
3419
+ roundedRectangle: roundedRectangle_default,
3420
+ ellipse: ellipse_default,
3421
+ triangle: triangle_default
3422
+ });
3423
+ var getGraphic = (name) => getAllGraphics()[name];
3424
+ var hasGraphic = (name) => !!getGraphic(name);
3425
+ function createGraphic(name) {
3426
+ if (!hasGraphic(name)) {
3427
+ return new Error(`Graphic ${name} not found`);
3428
+ }
3429
+ return deepMerge(getGraphic(name)());
3430
+ }
3431
+
3432
+ // ../scene-graph/nodes/factories/containers/containerDefaults.js
3433
+ var containerDefaults = () => deepMerge(nodeDefaults(), {
3434
+ childrenType: "*",
3435
+ bounds: {
3436
+ width: 0,
3437
+ height: 0,
3438
+ x: 0,
3439
+ y: 0
3440
+ },
3441
+ breakpoints: [
3442
+ { name: "Mobile", type: "mobile", min: 320, editable: false },
3443
+ { name: "Tablet", type: "mobile", min: 768, editable: false },
3444
+ { name: "Desktop", type: "desktop", min: 1280, editable: false }
3445
+ ]
3446
+ });
3447
+
3448
+ // ../scene-graph/nodes/factories/components/componentDefaults.js
3449
+ var componentDefaults = () => deepMerge(containerDefaults(), {
3450
+ name: "",
3451
+ type: "component",
3452
+ library: "local",
3453
+ props: [],
3454
+ emits: [],
3455
+ data: [],
3456
+ children: []
3457
+ });
3458
+
3459
+ // ../scene-graph/nodes/factories/components/createComponent.js
3460
+ function createComponent(children = [], name = "", viewport = null) {
3461
+ return deepMerge(componentDefaults(), { children, name, viewport });
3462
+ }
3463
+
3464
+ // ../scene-graph/nodes/factories/animations/animationDefaults.js
3465
+ var animationDefaults = () => ({
3466
+ __version: 1,
3467
+ type: "animation",
3468
+ scope: "node",
3469
+ name: null,
3470
+ duration: 300,
3471
+ easing: "ease",
3472
+ fill: "none",
3473
+ direction: "normal",
3474
+ iterations: 1,
3475
+ delay: 0,
3476
+ endDelay: 0,
3477
+ iterationStart: 0,
3478
+ composite: "replace",
3479
+ keyframes: []
3480
+ });
3481
+
3482
+ // ../scene-graph/nodes/factories/animations/createAnimation.js
3483
+ function createAnimation(props = {}) {
3484
+ const defaults2 = animationDefaults();
3485
+ return {
3486
+ ...defaults2,
3487
+ scope: props.scope ?? defaults2.scope,
3488
+ name: props.name ?? defaults2.name,
3489
+ duration: props.duration ?? defaults2.duration,
3490
+ easing: props.easing ?? defaults2.easing,
3491
+ fill: props.fill ?? defaults2.fill,
3492
+ direction: props.direction ?? defaults2.direction,
3493
+ iterations: props.iterations ?? defaults2.iterations,
3494
+ delay: props.delay ?? defaults2.delay,
3495
+ endDelay: props.endDelay ?? defaults2.endDelay,
3496
+ iterationStart: props.iterationStart ?? defaults2.iterationStart,
3497
+ composite: props.composite ?? defaults2.composite,
3498
+ keyframes: props.keyframes ?? defaults2.keyframes
3499
+ };
3500
+ }
3501
+
3502
+ // ../scene-graph/nodes/factories/elements/special/slot.js
3503
+ var slotDefaults = () => deepMerge(nodeDefaults(), {
3504
+ type: "slot",
3505
+ tagName: "slot",
3506
+ anchor: ["top", "left"],
3507
+ dimensions: ["width", "height"],
3508
+ draggable: true,
3509
+ resizable: false,
3510
+ selectable: true,
3511
+ locked: [],
3512
+ childrenType: "children",
3513
+ style: {
3514
+ default: {
3515
+ top: "0",
3516
+ left: "0",
3517
+ width: "100px",
3518
+ height: "80px",
3519
+ "min-width": "40px",
3520
+ "min-height": "40px"
3521
+ }
3522
+ },
3523
+ attributes: [],
3524
+ events: [],
3525
+ className: [
3526
+ {
3527
+ name: "slot",
3528
+ mode: "value",
3529
+ value: true,
3530
+ binding: null,
3531
+ computed: null,
3532
+ code: null,
3533
+ error: null,
3534
+ system: true
3535
+ }
3536
+ ],
3537
+ states: [],
3538
+ lifecycle: [],
3539
+ animations: []
3540
+ });
3541
+ function createSlot(name = "Slot 1") {
3542
+ return deepMerge(slotDefaults(), { name });
3543
+ }
3544
+
3545
+ // ../scene-graph/nodes/factories/createNode.js
3546
+ function getNode(type, { shape, tagName, viewport, width, height, name, component, library, children, ...rest }) {
3547
+ switch (type) {
3548
+ case "component":
3549
+ return createComponent(children, name, viewport);
3550
+ case "instance":
3551
+ return createInstance(component, library);
3552
+ case "frame":
3553
+ case "viewport":
3554
+ return createFrame(viewport, { width, height, name });
3555
+ case "element":
3556
+ return createElement(tagName);
3557
+ case "graphic":
3558
+ return createGraphic(shape);
3559
+ case "animation":
3560
+ return createAnimation({ name, ...rest });
3561
+ case "slot":
3562
+ return createSlot(name);
3563
+ }
3564
+ }
3565
+ function createNode(type, props) {
3566
+ const newNode = getNode(type, props);
3567
+ return newNode;
3568
+ }
3569
+
3570
+ // ../scene-graph/nodes/factories/elements/form/meta.js
3571
+ var meta = [
3572
+ {
3573
+ type: "element",
3574
+ displayName: "Fieldset",
3575
+ category: "form",
3576
+ swapGroup: null,
3577
+ keywords: ["form"],
3578
+ tagName: "fieldset"
3579
+ },
3580
+ {
3581
+ type: "element",
3582
+ displayName: "Legend",
3583
+ category: "form",
3584
+ swapGroup: null,
3585
+ keywords: ["form"],
3586
+ tagName: "legend"
3587
+ },
3588
+ {
3589
+ type: "element",
3590
+ displayName: "Progress",
3591
+ category: "form",
3592
+ swapGroup: null,
3593
+ keywords: ["form"],
3594
+ tagName: "progress"
3595
+ },
3596
+ {
3597
+ type: "element",
3598
+ displayName: "Meter",
3599
+ category: "form",
3600
+ swapGroup: null,
3601
+ keywords: ["form"],
3602
+ tagName: "meter"
3603
+ }
3604
+ ];
3605
+
3606
+ // ../scene-graph/nodes/factories/elements/headings/meta.js
3607
+ var meta2 = [
3608
+ {
3609
+ type: "element",
3610
+ displayName: "Heading 1",
3611
+ keywords: ["headings"],
3612
+ category: "headings",
3613
+ swapGroup: "headings",
3614
+ tagName: "h1"
3615
+ },
3616
+ {
3617
+ type: "element",
3618
+ displayName: "Heading 2",
3619
+ keywords: ["headings"],
3620
+ category: "headings",
3621
+ swapGroup: "headings",
3622
+ tagName: "h2"
3623
+ },
3624
+ {
3625
+ type: "element",
3626
+ displayName: "Heading 3",
3627
+ keywords: ["headings"],
3628
+ category: "headings",
3629
+ swapGroup: "headings",
3630
+ tagName: "h3"
3631
+ },
3632
+ {
3633
+ type: "element",
3634
+ displayName: "Heading 4",
3635
+ keywords: ["headings"],
3636
+ category: "headings",
3637
+ swapGroup: "headings",
3638
+ tagName: "h4"
3639
+ },
3640
+ {
3641
+ type: "element",
3642
+ displayName: "Heading 5",
3643
+ keywords: ["headings"],
3644
+ category: "headings",
3645
+ swapGroup: "headings",
3646
+ tagName: "h5"
3647
+ },
3648
+ {
3649
+ type: "element",
3650
+ displayName: "Heading 6",
3651
+ keywords: ["headings"],
3652
+ category: "headings",
3653
+ swapGroup: "headings",
3654
+ tagName: "h6"
3655
+ }
3656
+ ];
3657
+
3658
+ // ../scene-graph/nodes/factories/elements/inputs/meta.js
3659
+ var meta3 = [
3660
+ {
3661
+ type: "element",
3662
+ displayName: "Radio",
3663
+ category: "inputs",
3664
+ swapGroup: null,
3665
+ keywords: ["inputs"],
3666
+ tagName: "radio"
3667
+ },
3668
+ {
3669
+ type: "element",
3670
+ displayName: "Text",
3671
+ category: "inputs",
3672
+ swapGroup: null,
3673
+ keywords: ["inputs"],
3674
+ tagName: "text"
3675
+ },
3676
+ {
3677
+ type: "element",
3678
+ displayName: "Checkbox",
3679
+ category: "inputs",
3680
+ swapGroup: null,
3681
+ keywords: ["inputs"],
3682
+ tagName: "checkbox"
3683
+ },
3684
+ {
3685
+ type: "element",
3686
+ displayName: "Phone",
3687
+ category: "inputs",
3688
+ swapGroup: null,
3689
+ keywords: ["inputs"],
3690
+ tagName: "phone"
3691
+ },
3692
+ {
3693
+ type: "element",
3694
+ displayName: "Email",
3695
+ category: "inputs",
3696
+ swapGroup: null,
3697
+ keywords: ["inputs"],
3698
+ tagName: "email"
3699
+ },
3700
+ {
3701
+ type: "element",
3702
+ displayName: "Password",
3703
+ category: "inputs",
3704
+ swapGroup: null,
3705
+ keywords: ["inputs"],
3706
+ tagName: "password"
3707
+ },
3708
+ {
3709
+ type: "element",
3710
+ displayName: "Select",
3711
+ category: "inputs",
3712
+ swapGroup: null,
3713
+ keywords: ["inputs"],
3714
+ tagName: "select"
3715
+ },
3716
+ {
3717
+ type: "element",
3718
+ displayName: "Textarea",
3719
+ category: "inputs",
3720
+ swapGroup: null,
3721
+ keywords: ["inputs"],
3722
+ tagName: "textarea"
3723
+ },
3724
+ {
3725
+ type: "element",
3726
+ displayName: "Number",
3727
+ category: "inputs",
3728
+ swapGroup: null,
3729
+ keywords: ["inputs"],
3730
+ tagName: "number"
3731
+ },
3732
+ {
3733
+ type: "element",
3734
+ displayName: "Date",
3735
+ category: "inputs",
3736
+ swapGroup: null,
3737
+ keywords: ["inputs"],
3738
+ tagName: "date"
3739
+ },
3740
+ {
3741
+ type: "element",
3742
+ displayName: "Range",
3743
+ category: "inputs",
3744
+ swapGroup: null,
3745
+ keywords: ["inputs"],
3746
+ tagName: "range"
3747
+ },
3748
+ {
3749
+ type: "element",
3750
+ displayName: "File Upload",
3751
+ category: "inputs",
3752
+ swapGroup: null,
3753
+ keywords: ["inputs"],
3754
+ tagName: "file"
3755
+ },
3756
+ {
3757
+ type: "element",
3758
+ displayName: "Search",
3759
+ category: "inputs",
3760
+ swapGroup: null,
3761
+ keywords: ["inputs"],
3762
+ tagName: "search"
3763
+ },
3764
+ {
3765
+ type: "element",
3766
+ displayName: "Color Picker",
3767
+ category: "inputs",
3768
+ swapGroup: null,
3769
+ keywords: ["inputs"],
3770
+ tagName: "color"
3771
+ },
3772
+ {
3773
+ type: "element",
3774
+ displayName: "Hidden",
3775
+ category: "inputs",
3776
+ swapGroup: null,
3777
+ keywords: ["inputs"],
3778
+ tagName: "hidden"
3779
+ }
3780
+ ];
3781
+
3782
+ // ../scene-graph/nodes/factories/elements/interactive/meta.js
3783
+ var meta4 = [
3784
+ {
3785
+ type: "element",
3786
+ displayName: "Button",
3787
+ category: "interactive",
3788
+ swapGroup: "interactive",
3789
+ keywords: ["interactive"],
3790
+ tagName: "button"
3791
+ },
3792
+ {
3793
+ type: "element",
3794
+ displayName: "Link",
3795
+ category: "interactive",
3796
+ swapGroup: "interactive",
3797
+ keywords: ["interactive"],
3798
+ tagName: "a"
3799
+ },
3800
+ {
3801
+ type: "element",
3802
+ displayName: "Details",
3803
+ category: "interactive",
3804
+ swapGroup: null,
3805
+ keywords: ["interactive"],
3806
+ tagName: "details"
3807
+ },
3808
+ {
3809
+ type: "element",
3810
+ displayName: "Summary",
3811
+ category: "interactive",
3812
+ swapGroup: null,
3813
+ keywords: ["interactive"],
3814
+ tagName: "summary"
3815
+ },
3816
+ {
3817
+ type: "element",
3818
+ displayName: "Dialog",
3819
+ category: "interactive",
3820
+ swapGroup: null,
3821
+ keywords: ["interactive"],
3822
+ tagName: "dialog"
3823
+ }
3824
+ ];
3825
+
3826
+ // ../scene-graph/nodes/factories/elements/layout/meta.js
3827
+ var meta5 = [
3828
+ {
3829
+ type: "element",
3830
+ displayName: "Aside",
3831
+ category: "layout",
3832
+ swapGroup: "layout",
3833
+ keywords: ["layout"],
3834
+ tagName: "aside"
3835
+ },
3836
+ {
3837
+ type: "element",
3838
+ displayName: "Footer",
3839
+ category: "layout",
3840
+ swapGroup: "layout",
3841
+ keywords: ["layout"],
3842
+ tagName: "footer"
3843
+ },
3844
+ {
3845
+ type: "element",
3846
+ displayName: "Form",
3847
+ category: "layout",
3848
+ swapGroup: "layout",
3849
+ keywords: ["layout"],
3850
+ tagName: "form"
3851
+ },
3852
+ {
3853
+ type: "element",
3854
+ displayName: "Header",
3855
+ category: "layout",
3856
+ swapGroup: "layout",
3857
+ keywords: ["layout"],
3858
+ tagName: "header"
3859
+ },
3860
+ {
3861
+ type: "element",
3862
+ displayName: "Main",
3863
+ category: "layout",
3864
+ swapGroup: "layout",
3865
+ keywords: ["layout"],
3866
+ tagName: "main"
3867
+ },
3868
+ {
3869
+ type: "element",
3870
+ displayName: "Section",
3871
+ category: "layout",
3872
+ swapGroup: "layout",
3873
+ keywords: ["layout"],
3874
+ tagName: "section"
3875
+ },
3876
+ {
3877
+ type: "element",
3878
+ displayName: "Article",
3879
+ category: "layout",
3880
+ swapGroup: "layout",
3881
+ keywords: ["layout"],
3882
+ tagName: "article"
3883
+ },
3884
+ {
3885
+ type: "element",
3886
+ displayName: "Nav",
3887
+ category: "layout",
3888
+ swapGroup: "layout",
3889
+ keywords: ["layout"],
3890
+ tagName: "nav"
3891
+ },
3892
+ {
3893
+ type: "element",
3894
+ displayName: "Div",
3895
+ category: "layout",
3896
+ swapGroup: "layout",
3897
+ keywords: ["layout"],
3898
+ tagName: "div"
3899
+ },
3900
+ {
3901
+ type: "element",
3902
+ displayName: "Template",
3903
+ category: "layout",
3904
+ swapGroup: "layout",
3905
+ keywords: ["layout"],
3906
+ tagName: "template"
3907
+ }
3908
+ ];
3909
+
3910
+ // ../scene-graph/nodes/factories/elements/lists/meta.js
3911
+ var meta6 = [
3912
+ {
3913
+ type: "element",
3914
+ displayName: "Ordered List",
3915
+ category: "lists",
3916
+ swapGroup: "list-container",
3917
+ keywords: ["lists"],
3918
+ tagName: "ol"
3919
+ },
3920
+ {
3921
+ type: "element",
3922
+ displayName: "Unordered List",
3923
+ category: "lists",
3924
+ swapGroup: "list-container",
3925
+ keywords: ["lists"],
3926
+ tagName: "ul"
3927
+ },
3928
+ {
3929
+ type: "element",
3930
+ displayName: "List Item",
3931
+ category: "lists",
3932
+ swapGroup: null,
3933
+ keywords: ["lists"],
3934
+ tagName: "li"
3935
+ },
3936
+ {
3937
+ type: "element",
3938
+ displayName: "Definition List",
3939
+ category: "lists",
3940
+ swapGroup: "list-container",
3941
+ keywords: ["lists"],
3942
+ tagName: "dl"
3943
+ },
3944
+ {
3945
+ type: "element",
3946
+ displayName: "Definition Term",
3947
+ category: "lists",
3948
+ swapGroup: null,
3949
+ keywords: ["lists"],
3950
+ tagName: "dt"
3951
+ },
3952
+ {
3953
+ type: "element",
3954
+ displayName: "Definition Description",
3955
+ category: "lists",
3956
+ swapGroup: null,
3957
+ keywords: ["lists"],
3958
+ tagName: "dd"
3959
+ }
3960
+ ];
3961
+
3962
+ // ../scene-graph/nodes/factories/elements/media/meta.js
3963
+ var meta7 = [
3964
+ {
3965
+ type: "element",
3966
+ displayName: "Image",
3967
+ category: "media",
3968
+ swapGroup: null,
3969
+ keywords: ["media"],
3970
+ tagName: "img"
3971
+ },
3972
+ {
3973
+ type: "element",
3974
+ displayName: "Video",
3975
+ category: "media",
3976
+ swapGroup: null,
3977
+ keywords: ["media"],
3978
+ tagName: "video"
3979
+ },
3980
+ {
3981
+ type: "element",
3982
+ displayName: "Audio",
3983
+ category: "media",
3984
+ swapGroup: null,
3985
+ keywords: ["media"],
3986
+ tagName: "audio"
3987
+ },
3988
+ {
3989
+ type: "element",
3990
+ displayName: "Iframe",
3991
+ category: "media",
3992
+ swapGroup: null,
3993
+ keywords: ["media"],
3994
+ tagName: "iframe"
3995
+ },
3996
+ {
3997
+ type: "element",
3998
+ displayName: "Figure",
3999
+ category: "media",
4000
+ swapGroup: null,
4001
+ keywords: ["media"],
4002
+ tagName: "figure"
4003
+ },
4004
+ {
4005
+ type: "element",
4006
+ displayName: "Figcaption",
4007
+ category: "media",
4008
+ swapGroup: null,
4009
+ keywords: ["media"],
4010
+ tagName: "figcaption"
4011
+ }
4012
+ ];
4013
+
4014
+ // ../scene-graph/nodes/factories/elements/tables/meta.js
4015
+ var meta8 = [
4016
+ {
4017
+ type: "element",
4018
+ displayName: "Table",
4019
+ category: "tables",
4020
+ swapGroup: null,
4021
+ keywords: ["tables"],
4022
+ tagName: "table"
4023
+ },
4024
+ {
4025
+ type: "element",
4026
+ displayName: "Table Head",
4027
+ category: "tables",
4028
+ swapGroup: null,
4029
+ keywords: ["tables"],
4030
+ tagName: "thead"
4031
+ },
4032
+ {
4033
+ type: "element",
4034
+ displayName: "Table Body",
4035
+ category: "tables",
4036
+ swapGroup: null,
4037
+ keywords: ["tables"],
4038
+ tagName: "tbody"
4039
+ },
4040
+ {
4041
+ type: "element",
4042
+ displayName: "Table Foot",
4043
+ category: "tables",
4044
+ swapGroup: null,
4045
+ keywords: ["tables"],
4046
+ tagName: "tfoot"
4047
+ },
4048
+ {
4049
+ type: "element",
4050
+ displayName: "Table Row",
4051
+ category: "tables",
4052
+ swapGroup: null,
4053
+ keywords: ["tables"],
4054
+ tagName: "tr"
4055
+ },
4056
+ {
4057
+ type: "element",
4058
+ displayName: "Table Header Cell",
4059
+ category: "tables",
4060
+ swapGroup: null,
4061
+ keywords: ["tables"],
4062
+ tagName: "th"
4063
+ },
4064
+ {
4065
+ type: "element",
4066
+ displayName: "Table Cell",
4067
+ category: "tables",
4068
+ swapGroup: null,
4069
+ keywords: ["tables"],
4070
+ tagName: "td"
4071
+ }
4072
+ ];
4073
+
4074
+ // ../scene-graph/nodes/factories/elements/text/meta.js
4075
+ var meta9 = [{
4076
+ type: "element",
4077
+ displayName: "Paragraph",
4078
+ category: "text",
4079
+ swapGroup: "text",
4080
+ keywords: ["text"],
4081
+ tagName: "p"
4082
+ }, {
4083
+ type: "element",
4084
+ displayName: "Label",
4085
+ category: "text",
4086
+ swapGroup: "text",
4087
+ keywords: ["text"],
4088
+ tagName: "label"
4089
+ }, {
4090
+ type: "element",
4091
+ displayName: "Span",
4092
+ category: "text",
4093
+ swapGroup: "text",
4094
+ keywords: ["text"],
4095
+ tagName: "span"
4096
+ }, {
4097
+ type: "element",
4098
+ displayName: "Blockquote",
4099
+ category: "text",
4100
+ swapGroup: null,
4101
+ keywords: ["text"],
4102
+ tagName: "blockquote"
4103
+ }, {
4104
+ type: "element",
4105
+ displayName: "Preformatted",
4106
+ category: "text",
4107
+ swapGroup: null,
4108
+ keywords: ["text"],
4109
+ tagName: "pre"
4110
+ }, {
4111
+ type: "element",
4112
+ displayName: "Code",
4113
+ category: "text",
4114
+ swapGroup: "text",
4115
+ keywords: ["text"],
4116
+ tagName: "code"
4117
+ }, {
4118
+ type: "element",
4119
+ displayName: "Strong",
4120
+ category: "text",
4121
+ swapGroup: "text",
4122
+ keywords: ["text"],
4123
+ tagName: "strong"
4124
+ }, {
4125
+ type: "element",
4126
+ displayName: "Emphasis",
4127
+ category: "text",
4128
+ swapGroup: "text",
4129
+ keywords: ["text"],
4130
+ tagName: "em"
4131
+ }, {
4132
+ type: "element",
4133
+ displayName: "Small",
4134
+ category: "text",
4135
+ swapGroup: "text",
4136
+ keywords: ["text"],
4137
+ tagName: "small"
4138
+ }, {
4139
+ type: "element",
4140
+ displayName: "Mark",
4141
+ category: "text",
4142
+ swapGroup: null,
4143
+ keywords: ["text"],
4144
+ tagName: "mark"
4145
+ }, {
4146
+ type: "element",
4147
+ displayName: "Horizontal Rule",
4148
+ category: "text",
4149
+ swapGroup: null,
4150
+ keywords: ["text", "divider"],
4151
+ tagName: "hr"
4152
+ }, {
4153
+ type: "element",
4154
+ displayName: "Line Break",
4155
+ category: "text",
4156
+ swapGroup: null,
4157
+ keywords: ["text"],
4158
+ tagName: "br"
4159
+ }];
4160
+
4161
+ // ../scene-graph/nodes/factories/elements/special/meta.js
4162
+ var meta10 = [
4163
+ {
4164
+ type: "slot",
4165
+ displayName: "Slot",
4166
+ category: "special",
4167
+ keywords: ["slot", "placeholder", "component", "template"],
4168
+ tagName: "slot"
4169
+ }
4170
+ ];
4171
+
4172
+ // ../scene-graph/nodes/factories/elements/meta.js
4173
+ var meta11 = [
4174
+ ...meta5,
4175
+ ...meta2,
4176
+ ...meta3,
4177
+ ...meta4,
4178
+ ...meta6,
4179
+ ...meta7,
4180
+ ...meta9,
4181
+ ...meta,
4182
+ ...meta8,
4183
+ ...meta10
4184
+ ];
4185
+
4186
+ // ../scene-graph/nodes/factories/graphics/meta.js
4187
+ var meta12 = [
4188
+ {
4189
+ displayName: "Rectangle",
4190
+ keywords: ["rectangle"],
4191
+ category: "shapes",
4192
+ shape: "rectangle"
4193
+ },
4194
+ {
4195
+ displayName: "Rounded Rectangle",
4196
+ keywords: ["rounded", "rectangle"],
4197
+ category: "shapes",
4198
+ shape: "roundedRectangle"
4199
+ },
4200
+ {
4201
+ displayName: "Ellipse",
4202
+ keywords: ["ellipse"],
4203
+ category: "shapes",
4204
+ shape: "ellipse"
4205
+ },
4206
+ {
4207
+ displayName: "Triangle",
4208
+ keywords: ["triangle"],
4209
+ category: "shapes",
4210
+ shape: "triangle"
4211
+ }
4212
+ ];
4213
+
4214
+ // ../scene-graph/nodes/main.js
4215
+ var contracts = [
4216
+ breakpointContracts,
4217
+ classNameContracts,
4218
+ clipboardContracts,
4219
+ contextNameContracts,
4220
+ statesContracts,
4221
+ eventsContracts,
4222
+ addContracts,
4223
+ attributeContracts,
4224
+ propContracts,
4225
+ slotContracts,
4226
+ htmlContracts,
4227
+ destinationContracts,
4228
+ dragContracts,
4229
+ lifecycleContracts,
4230
+ interactionStateContracts,
4231
+ patchContracts,
4232
+ behaviorContracts,
4233
+ layoutContracts,
4234
+ moveContracts,
4235
+ nameContracts,
4236
+ optionsContracts,
4237
+ orderContracts,
4238
+ removeContracts,
4239
+ renderContracts,
4240
+ repeatContracts,
4241
+ routeContracts,
4242
+ styleContracts,
4243
+ tagNameContracts,
4244
+ textContentContracts,
4245
+ typeContracts,
4246
+ viewportContracts,
4247
+ htmlIdContracts
4248
+ ];
4249
+
4250
+ export {
4251
+ breakpointContracts,
4252
+ classNameContracts,
4253
+ clipboardContracts,
4254
+ contextNameContracts,
4255
+ statesContracts,
4256
+ addContracts,
4257
+ eventsContracts,
4258
+ attributeContracts,
4259
+ createProp,
4260
+ propContracts,
4261
+ buildSlotsFromMeta,
4262
+ mergeMissingSlotsFromMeta,
4263
+ slotContracts,
4264
+ htmlContracts,
4265
+ destinationContracts,
4266
+ dragContracts,
4267
+ lifecycleContracts,
4268
+ interactionStateContracts,
4269
+ patchContracts,
4270
+ behaviorContracts,
4271
+ layoutContracts,
4272
+ moveContracts,
4273
+ nameContracts,
4274
+ optionsContracts,
4275
+ orderContracts,
4276
+ removeContracts,
4277
+ renderContracts,
4278
+ repeatContracts,
4279
+ routeContracts,
4280
+ styleContracts,
4281
+ tagNameContracts,
4282
+ textContentContracts,
4283
+ typeContracts,
4284
+ viewportContracts,
4285
+ htmlIdContracts,
4286
+ createNode,
4287
+ meta11 as meta,
4288
+ meta12 as meta2,
4289
+ contracts
4290
+ };