@asyra/core 0.2.5 → 0.5.1

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 (518) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/dist/apis/create-apis.d.ts +8 -0
  4. package/dist/apis/create-apis.d.ts.map +1 -0
  5. package/dist/apis/create-apis.js +272 -0
  6. package/dist/apis/create-apis.js.map +1 -0
  7. package/dist/apis/element-properties.d.ts +10 -0
  8. package/dist/apis/element-properties.d.ts.map +1 -0
  9. package/dist/apis/element-properties.js +33 -0
  10. package/dist/apis/element-properties.js.map +1 -0
  11. package/dist/apis/element-selection.d.ts +4 -2
  12. package/dist/apis/element-selection.d.ts.map +1 -1
  13. package/dist/apis/element-selection.js +155 -6
  14. package/dist/apis/element-selection.js.map +1 -1
  15. package/dist/apis/feature-system.d.ts +11 -0
  16. package/dist/apis/feature-system.d.ts.map +1 -0
  17. package/dist/apis/feature-system.js +9 -0
  18. package/dist/apis/feature-system.js.map +1 -0
  19. package/dist/apis/index.d.ts +1 -2
  20. package/dist/apis/index.d.ts.map +1 -1
  21. package/dist/apis/index.js +1 -24
  22. package/dist/apis/index.js.map +1 -1
  23. package/dist/apis/input-system.d.ts +1 -1
  24. package/dist/apis/input-system.d.ts.map +1 -1
  25. package/dist/apis/props.d.ts +18 -2
  26. package/dist/apis/props.d.ts.map +1 -1
  27. package/dist/apis/props.js +28 -9
  28. package/dist/apis/props.js.map +1 -1
  29. package/dist/apis/render.d.ts +39 -2
  30. package/dist/apis/render.d.ts.map +1 -1
  31. package/dist/apis/render.js +35 -2
  32. package/dist/apis/render.js.map +1 -1
  33. package/dist/apis/scene-bounds.d.ts +4 -0
  34. package/dist/apis/scene-bounds.d.ts.map +1 -0
  35. package/dist/apis/scene-bounds.js +112 -0
  36. package/dist/apis/scene-bounds.js.map +1 -0
  37. package/dist/apis/scene-tree.d.ts +24 -2
  38. package/dist/apis/scene-tree.d.ts.map +1 -1
  39. package/dist/apis/scene-tree.js +116 -25
  40. package/dist/apis/scene-tree.js.map +1 -1
  41. package/dist/apis/system-properties.d.ts +18 -0
  42. package/dist/apis/system-properties.d.ts.map +1 -0
  43. package/dist/apis/system-properties.js +21 -0
  44. package/dist/apis/system-properties.js.map +1 -0
  45. package/dist/apis/ui-context.d.ts +10 -0
  46. package/dist/apis/ui-context.d.ts.map +1 -0
  47. package/dist/apis/ui-context.js +22 -0
  48. package/dist/apis/ui-context.js.map +1 -0
  49. package/dist/canvas-pipeline-debugger/debugger.d.ts +29 -0
  50. package/dist/canvas-pipeline-debugger/debugger.d.ts.map +1 -0
  51. package/dist/canvas-pipeline-debugger/debugger.js +251 -0
  52. package/dist/canvas-pipeline-debugger/debugger.js.map +1 -0
  53. package/dist/canvas-pipeline-debugger/index.d.ts +2 -0
  54. package/dist/canvas-pipeline-debugger/index.d.ts.map +1 -0
  55. package/dist/canvas-pipeline-debugger/index.js +2 -0
  56. package/dist/canvas-pipeline-debugger/index.js.map +1 -0
  57. package/dist/contracts/index.d.ts +4 -0
  58. package/dist/contracts/index.d.ts.map +1 -0
  59. package/dist/contracts/index.js +2 -0
  60. package/dist/contracts/index.js.map +1 -0
  61. package/dist/core.d.ts +264 -40
  62. package/dist/core.d.ts.map +1 -1
  63. package/dist/core.js +1278 -40
  64. package/dist/core.js.map +1 -1
  65. package/dist/data-channel-observer.d.ts +35 -0
  66. package/dist/data-channel-observer.d.ts.map +1 -0
  67. package/dist/data-channel-observer.js +77 -0
  68. package/dist/data-channel-observer.js.map +1 -0
  69. package/dist/define-component.d.ts +102 -0
  70. package/dist/define-component.d.ts.map +1 -0
  71. package/dist/define-component.js +429 -0
  72. package/dist/define-component.js.map +1 -0
  73. package/dist/define-property-component.d.ts +29 -0
  74. package/dist/define-property-component.d.ts.map +1 -0
  75. package/dist/define-property-component.js +140 -0
  76. package/dist/define-property-component.js.map +1 -0
  77. package/dist/feature-integration.d.ts +16 -0
  78. package/dist/feature-integration.d.ts.map +1 -0
  79. package/dist/feature-integration.js +19 -0
  80. package/dist/feature-integration.js.map +1 -0
  81. package/dist/index.d.ts +45 -1
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +18 -1
  84. package/dist/index.js.map +1 -1
  85. package/dist/types/app-runtime.d.ts +21 -0
  86. package/dist/types/app-runtime.d.ts.map +1 -0
  87. package/dist/types/app-runtime.js +2 -0
  88. package/dist/types/app-runtime.js.map +1 -0
  89. package/dist/types/canonical-changes.d.ts +39 -0
  90. package/dist/types/canonical-changes.d.ts.map +1 -0
  91. package/dist/types/canonical-changes.js +2 -0
  92. package/dist/types/canonical-changes.js.map +1 -0
  93. package/dist/types/deps.d.ts +0 -2
  94. package/dist/types/deps.d.ts.map +1 -1
  95. package/dist/types/element-properties.d.ts +24 -0
  96. package/dist/types/element-properties.d.ts.map +1 -0
  97. package/dist/types/element-properties.js +2 -0
  98. package/dist/types/element-properties.js.map +1 -0
  99. package/dist/types/element-selection.d.ts +5 -1
  100. package/dist/types/element-selection.d.ts.map +1 -1
  101. package/dist/types/feature-system.d.ts +5 -0
  102. package/dist/types/feature-system.d.ts.map +1 -0
  103. package/dist/types/feature-system.js +2 -0
  104. package/dist/types/feature-system.js.map +1 -0
  105. package/dist/types/index.d.ts +19 -14
  106. package/dist/types/index.d.ts.map +1 -1
  107. package/dist/types/index.js +1 -1
  108. package/dist/types/index.js.map +1 -1
  109. package/dist/types/load-migration.d.ts +12 -0
  110. package/dist/types/load-migration.d.ts.map +1 -0
  111. package/dist/types/load-migration.js +16 -0
  112. package/dist/types/load-migration.js.map +1 -0
  113. package/dist/types/load-validation.d.ts +12 -0
  114. package/dist/types/load-validation.d.ts.map +1 -0
  115. package/dist/types/load-validation.js +2 -0
  116. package/dist/types/load-validation.js.map +1 -0
  117. package/dist/types/props.d.ts +8 -1
  118. package/dist/types/props.d.ts.map +1 -1
  119. package/dist/types/render.d.ts +20 -1
  120. package/dist/types/render.d.ts.map +1 -1
  121. package/dist/types/scene-tree.d.ts +21 -9
  122. package/dist/types/scene-tree.d.ts.map +1 -1
  123. package/dist/types/system-properties.d.ts +19 -0
  124. package/dist/types/system-properties.d.ts.map +1 -0
  125. package/dist/types/system-properties.js +2 -0
  126. package/dist/types/system-properties.js.map +1 -0
  127. package/dist/types/ui-context.d.ts +11 -0
  128. package/dist/types/ui-context.d.ts.map +1 -0
  129. package/dist/types/ui-context.js +2 -0
  130. package/dist/types/ui-context.js.map +1 -0
  131. package/dist/types/vector.d.ts +131 -0
  132. package/dist/types/vector.d.ts.map +1 -0
  133. package/dist/types/vector.js +83 -0
  134. package/dist/types/vector.js.map +1 -0
  135. package/package.json +44 -12
  136. package/.turbo/turbo-test$colon$ci.log +0 -132
  137. package/.turbo/turbo-test$colon$local.log +0 -21
  138. package/.turbo/turbo-test.log +0 -0
  139. package/CHANGELOG.md +0 -86
  140. package/coverage/base.css +0 -224
  141. package/coverage/block-navigation.js +0 -87
  142. package/coverage/clover.xml +0 -991
  143. package/coverage/coverage-final.json +0 -14952
  144. package/coverage/favicon.png +0 -0
  145. package/coverage/index.html +0 -236
  146. package/coverage/prettify.css +0 -1
  147. package/coverage/prettify.js +0 -2
  148. package/coverage/sort-arrow-sprite.png +0 -0
  149. package/coverage/sorter.js +0 -196
  150. package/coverage/src/apis/element-selection.ts.html +0 -133
  151. package/coverage/src/apis/index.html +0 -266
  152. package/coverage/src/apis/index.ts.html +0 -175
  153. package/coverage/src/apis/input-system.ts.html +0 -121
  154. package/coverage/src/apis/interaction-core.ts.html +0 -190
  155. package/coverage/src/apis/props.ts.html +0 -124
  156. package/coverage/src/apis/render.ts.html +0 -130
  157. package/coverage/src/apis/scene-tree.ts.html +0 -292
  158. package/coverage/src/apis/system-context.ts.html +0 -154
  159. package/coverage/src/apis/transaction.ts.html +0 -124
  160. package/coverage/src/apis/undo.ts.html +0 -124
  161. package/coverage/src/apis/viewport.ts.html +0 -193
  162. package/coverage/src/combinations.ts.html +0 -223
  163. package/coverage/src/core.ts.html +0 -559
  164. package/coverage/src/index.html +0 -146
  165. package/coverage/src/index.ts.html +0 -97
  166. package/coverage/src/requests/factory.ts.html +0 -127
  167. package/coverage/src/requests/index.html +0 -206
  168. package/coverage/src/requests/index.ts.html +0 -154
  169. package/coverage/src/requests/props.ts.html +0 -133
  170. package/coverage/src/requests/render.ts.html +0 -187
  171. package/coverage/src/requests/scene-tree.ts.html +0 -163
  172. package/coverage/src/requests/selection.ts.html +0 -127
  173. package/coverage/src/requests/system-context.ts.html +0 -130
  174. package/coverage/src/subscribes/index.html +0 -116
  175. package/coverage/src/subscribes/index.ts.html +0 -109
  176. package/coverage/src/subscribes/input-system/index.html +0 -176
  177. package/coverage/src/subscribes/input-system/index.ts.html +0 -226
  178. package/coverage/src/subscribes/input-system/primary-tool.ts.html +0 -160
  179. package/coverage/src/subscribes/input-system/render.ts.html +0 -484
  180. package/coverage/src/subscribes/input-system/undo.ts.html +0 -172
  181. package/coverage/src/subscribes/input-system/viewport.ts.html +0 -259
  182. package/coverage/src/subscribes/interaction-core/create-element.ts.html +0 -151
  183. package/coverage/src/subscribes/interaction-core/index.html +0 -236
  184. package/coverage/src/subscribes/interaction-core/index.ts.html +0 -289
  185. package/coverage/src/subscribes/interaction-core/primary-tool.ts.html +0 -109
  186. package/coverage/src/subscribes/interaction-core/reset-element-size.ts.html +0 -127
  187. package/coverage/src/subscribes/interaction-core/resize-element.ts.html +0 -181
  188. package/coverage/src/subscribes/interaction-core/select-elements.ts.html +0 -109
  189. package/coverage/src/subscribes/interaction-core/transaction.ts.html +0 -130
  190. package/coverage/src/subscribes/interaction-core/undoredo.ts.html +0 -133
  191. package/coverage/src/subscribes/interaction-core/viewport.ts.html +0 -193
  192. package/coverage/src/types/deps.ts.html +0 -118
  193. package/coverage/src/types/element-selection.ts.html +0 -100
  194. package/coverage/src/types/index.html +0 -266
  195. package/coverage/src/types/index.ts.html +0 -385
  196. package/coverage/src/types/input-system.ts.html +0 -100
  197. package/coverage/src/types/interaction-core.ts.html +0 -127
  198. package/coverage/src/types/props.ts.html +0 -109
  199. package/coverage/src/types/render.ts.html +0 -106
  200. package/coverage/src/types/requests/factory.ts.html +0 -127
  201. package/coverage/src/types/requests/index.html +0 -206
  202. package/coverage/src/types/requests/index.ts.html +0 -214
  203. package/coverage/src/types/requests/props.ts.html +0 -133
  204. package/coverage/src/types/requests/render.ts.html +0 -139
  205. package/coverage/src/types/requests/scene-tree.ts.html +0 -133
  206. package/coverage/src/types/requests/selection.ts.html +0 -127
  207. package/coverage/src/types/requests/system-context.ts.html +0 -142
  208. package/coverage/src/types/scene-tree.ts.html +0 -178
  209. package/coverage/src/types/system-context/index.html +0 -161
  210. package/coverage/src/types/system-context/index.ts.html +0 -112
  211. package/coverage/src/types/system-context/key-state.ts.html +0 -106
  212. package/coverage/src/types/system-context/mouse-state.ts.html +0 -106
  213. package/coverage/src/types/system-context/primary-tool.ts.html +0 -112
  214. package/coverage/src/types/transaction.ts.html +0 -103
  215. package/coverage/src/types/undo.ts.html +0 -103
  216. package/coverage/src/types/viewport.ts.html +0 -127
  217. package/dist/__tests__/core.test.d.ts +0 -2
  218. package/dist/__tests__/core.test.d.ts.map +0 -1
  219. package/dist/__tests__/core.test.js +0 -122
  220. package/dist/__tests__/core.test.js.map +0 -1
  221. package/dist/apis/interaction-core.d.ts +0 -3
  222. package/dist/apis/interaction-core.d.ts.map +0 -1
  223. package/dist/apis/interaction-core.js +0 -22
  224. package/dist/apis/interaction-core.js.map +0 -1
  225. package/dist/apis/system-context.d.ts +0 -3
  226. package/dist/apis/system-context.d.ts.map +0 -1
  227. package/dist/apis/system-context.js +0 -16
  228. package/dist/apis/system-context.js.map +0 -1
  229. package/dist/apis/transaction.d.ts +0 -3
  230. package/dist/apis/transaction.d.ts.map +0 -1
  231. package/dist/apis/transaction.js +0 -12
  232. package/dist/apis/transaction.js.map +0 -1
  233. package/dist/apis/undo.d.ts +0 -3
  234. package/dist/apis/undo.d.ts.map +0 -1
  235. package/dist/apis/undo.js +0 -12
  236. package/dist/apis/undo.js.map +0 -1
  237. package/dist/apis/viewport.d.ts +0 -4
  238. package/dist/apis/viewport.d.ts.map +0 -1
  239. package/dist/apis/viewport.js +0 -27
  240. package/dist/apis/viewport.js.map +0 -1
  241. package/dist/combinations.d.ts +0 -4
  242. package/dist/combinations.d.ts.map +0 -1
  243. package/dist/combinations.js +0 -42
  244. package/dist/combinations.js.map +0 -1
  245. package/dist/requests/factory copy.d.ts +0 -7
  246. package/dist/requests/factory copy.d.ts.map +0 -1
  247. package/dist/requests/factory copy.js +0 -10
  248. package/dist/requests/factory copy.js.map +0 -1
  249. package/dist/requests/factory.d.ts +0 -7
  250. package/dist/requests/factory.d.ts.map +0 -1
  251. package/dist/requests/factory.js +0 -10
  252. package/dist/requests/factory.js.map +0 -1
  253. package/dist/requests/index.d.ts +0 -3
  254. package/dist/requests/index.d.ts.map +0 -1
  255. package/dist/requests/index.js +0 -21
  256. package/dist/requests/index.js.map +0 -1
  257. package/dist/requests/primary-tool.d.ts +0 -7
  258. package/dist/requests/primary-tool.d.ts.map +0 -1
  259. package/dist/requests/primary-tool.js +0 -13
  260. package/dist/requests/primary-tool.js.map +0 -1
  261. package/dist/requests/props copy.d.ts +0 -7
  262. package/dist/requests/props copy.d.ts.map +0 -1
  263. package/dist/requests/props copy.js +0 -13
  264. package/dist/requests/props copy.js.map +0 -1
  265. package/dist/requests/props.d.ts +0 -7
  266. package/dist/requests/props.d.ts.map +0 -1
  267. package/dist/requests/props.js +0 -13
  268. package/dist/requests/props.js.map +0 -1
  269. package/dist/requests/render.d.ts +0 -3
  270. package/dist/requests/render.d.ts.map +0 -1
  271. package/dist/requests/render.js +0 -22
  272. package/dist/requests/render.js.map +0 -1
  273. package/dist/requests/scene-tree.d.ts +0 -7
  274. package/dist/requests/scene-tree.d.ts.map +0 -1
  275. package/dist/requests/scene-tree.js +0 -17
  276. package/dist/requests/scene-tree.js.map +0 -1
  277. package/dist/requests/selection.d.ts +0 -7
  278. package/dist/requests/selection.d.ts.map +0 -1
  279. package/dist/requests/selection.js +0 -10
  280. package/dist/requests/selection.js.map +0 -1
  281. package/dist/requests/system-context copy.d.ts +0 -7
  282. package/dist/requests/system-context copy.d.ts.map +0 -1
  283. package/dist/requests/system-context copy.js +0 -19
  284. package/dist/requests/system-context copy.js.map +0 -1
  285. package/dist/requests/system-context.d.ts +0 -7
  286. package/dist/requests/system-context.d.ts.map +0 -1
  287. package/dist/requests/system-context.js +0 -10
  288. package/dist/requests/system-context.js.map +0 -1
  289. package/dist/requests/types.d.ts +0 -7
  290. package/dist/requests/types.d.ts.map +0 -1
  291. package/dist/requests/types.js +0 -4
  292. package/dist/requests/types.js.map +0 -1
  293. package/dist/requests/viewport.d.ts +0 -19
  294. package/dist/requests/viewport.d.ts.map +0 -1
  295. package/dist/requests/viewport.js +0 -6
  296. package/dist/requests/viewport.js.map +0 -1
  297. package/dist/subscribes/index.d.ts +0 -3
  298. package/dist/subscribes/index.d.ts.map +0 -1
  299. package/dist/subscribes/index.js +0 -7
  300. package/dist/subscribes/index.js.map +0 -1
  301. package/dist/subscribes/input-system/index.d.ts +0 -3
  302. package/dist/subscribes/input-system/index.d.ts.map +0 -1
  303. package/dist/subscribes/input-system/index.js +0 -26
  304. package/dist/subscribes/input-system/index.js.map +0 -1
  305. package/dist/subscribes/input-system/primary-tool.d.ts +0 -10
  306. package/dist/subscribes/input-system/primary-tool.d.ts.map +0 -1
  307. package/dist/subscribes/input-system/primary-tool.js +0 -15
  308. package/dist/subscribes/input-system/primary-tool.js.map +0 -1
  309. package/dist/subscribes/input-system/render.d.ts +0 -16
  310. package/dist/subscribes/input-system/render.d.ts.map +0 -1
  311. package/dist/subscribes/input-system/render.js +0 -97
  312. package/dist/subscribes/input-system/render.js.map +0 -1
  313. package/dist/subscribes/input-system/undo.d.ts +0 -10
  314. package/dist/subscribes/input-system/undo.d.ts.map +0 -1
  315. package/dist/subscribes/input-system/undo.js +0 -18
  316. package/dist/subscribes/input-system/undo.js.map +0 -1
  317. package/dist/subscribes/input-system/viewport.d.ts +0 -11
  318. package/dist/subscribes/input-system/viewport.d.ts.map +0 -1
  319. package/dist/subscribes/input-system/viewport.js +0 -36
  320. package/dist/subscribes/input-system/viewport.js.map +0 -1
  321. package/dist/subscribes/interaction-core/create-and-resize.d.ts +0 -5
  322. package/dist/subscribes/interaction-core/create-and-resize.d.ts.map +0 -1
  323. package/dist/subscribes/interaction-core/create-and-resize.js +0 -86
  324. package/dist/subscribes/interaction-core/create-and-resize.js.map +0 -1
  325. package/dist/subscribes/interaction-core/create-element copy.d.ts +0 -3
  326. package/dist/subscribes/interaction-core/create-element copy.d.ts.map +0 -1
  327. package/dist/subscribes/interaction-core/create-element copy.js +0 -17
  328. package/dist/subscribes/interaction-core/create-element copy.js.map +0 -1
  329. package/dist/subscribes/interaction-core/create-element.d.ts +0 -3
  330. package/dist/subscribes/interaction-core/create-element.d.ts.map +0 -1
  331. package/dist/subscribes/interaction-core/create-element.js +0 -17
  332. package/dist/subscribes/interaction-core/create-element.js.map +0 -1
  333. package/dist/subscribes/interaction-core/index.d.ts +0 -3
  334. package/dist/subscribes/interaction-core/index.d.ts.map +0 -1
  335. package/dist/subscribes/interaction-core/index.js +0 -42
  336. package/dist/subscribes/interaction-core/index.js.map +0 -1
  337. package/dist/subscribes/interaction-core/input-to-decision.d.ts +0 -5
  338. package/dist/subscribes/interaction-core/input-to-decision.d.ts.map +0 -1
  339. package/dist/subscribes/interaction-core/input-to-decision.js +0 -48
  340. package/dist/subscribes/interaction-core/input-to-decision.js.map +0 -1
  341. package/dist/subscribes/interaction-core/primary-tool.d.ts +0 -3
  342. package/dist/subscribes/interaction-core/primary-tool.d.ts.map +0 -1
  343. package/dist/subscribes/interaction-core/primary-tool.js +0 -7
  344. package/dist/subscribes/interaction-core/primary-tool.js.map +0 -1
  345. package/dist/subscribes/interaction-core/reset-element-size.d.ts +0 -5
  346. package/dist/subscribes/interaction-core/reset-element-size.d.ts.map +0 -1
  347. package/dist/subscribes/interaction-core/reset-element-size.js +0 -9
  348. package/dist/subscribes/interaction-core/reset-element-size.js.map +0 -1
  349. package/dist/subscribes/interaction-core/resize-element.d.ts +0 -3
  350. package/dist/subscribes/interaction-core/resize-element.d.ts.map +0 -1
  351. package/dist/subscribes/interaction-core/resize-element.js +0 -24
  352. package/dist/subscribes/interaction-core/resize-element.js.map +0 -1
  353. package/dist/subscribes/interaction-core/select-elements.d.ts +0 -3
  354. package/dist/subscribes/interaction-core/select-elements.d.ts.map +0 -1
  355. package/dist/subscribes/interaction-core/select-elements.js +0 -7
  356. package/dist/subscribes/interaction-core/select-elements.js.map +0 -1
  357. package/dist/subscribes/interaction-core/transaction.d.ts +0 -3
  358. package/dist/subscribes/interaction-core/transaction.d.ts.map +0 -1
  359. package/dist/subscribes/interaction-core/transaction.js +0 -10
  360. package/dist/subscribes/interaction-core/transaction.js.map +0 -1
  361. package/dist/subscribes/interaction-core/undoredo.d.ts +0 -3
  362. package/dist/subscribes/interaction-core/undoredo.d.ts.map +0 -1
  363. package/dist/subscribes/interaction-core/undoredo.js +0 -15
  364. package/dist/subscribes/interaction-core/undoredo.js.map +0 -1
  365. package/dist/subscribes/interaction-core/viewport.d.ts +0 -3
  366. package/dist/subscribes/interaction-core/viewport.d.ts.map +0 -1
  367. package/dist/subscribes/interaction-core/viewport.js +0 -29
  368. package/dist/subscribes/interaction-core/viewport.js.map +0 -1
  369. package/dist/subscribes/render.d.ts +0 -6
  370. package/dist/subscribes/render.d.ts.map +0 -1
  371. package/dist/subscribes/render.js +0 -28
  372. package/dist/subscribes/render.js.map +0 -1
  373. package/dist/types/interaction-core.d.ts +0 -11
  374. package/dist/types/interaction-core.d.ts.map +0 -1
  375. package/dist/types/interaction-core.js +0 -2
  376. package/dist/types/interaction-core.js.map +0 -1
  377. package/dist/types/requests/factory copy.d.ts +0 -12
  378. package/dist/types/requests/factory copy.d.ts.map +0 -1
  379. package/dist/types/requests/factory copy.js +0 -2
  380. package/dist/types/requests/factory copy.js.map +0 -1
  381. package/dist/types/requests/factory.d.ts +0 -12
  382. package/dist/types/requests/factory.d.ts.map +0 -1
  383. package/dist/types/requests/factory.js +0 -2
  384. package/dist/types/requests/factory.js.map +0 -1
  385. package/dist/types/requests/index.d.ts +0 -17
  386. package/dist/types/requests/index.d.ts.map +0 -1
  387. package/dist/types/requests/index.js +0 -4
  388. package/dist/types/requests/index.js.map +0 -1
  389. package/dist/types/requests/primary-tool.d.ts +0 -13
  390. package/dist/types/requests/primary-tool.d.ts.map +0 -1
  391. package/dist/types/requests/primary-tool.js +0 -2
  392. package/dist/types/requests/primary-tool.js.map +0 -1
  393. package/dist/types/requests/props copy.d.ts +0 -14
  394. package/dist/types/requests/props copy.d.ts.map +0 -1
  395. package/dist/types/requests/props copy.js +0 -2
  396. package/dist/types/requests/props copy.js.map +0 -1
  397. package/dist/types/requests/props.d.ts +0 -14
  398. package/dist/types/requests/props.d.ts.map +0 -1
  399. package/dist/types/requests/props.js +0 -2
  400. package/dist/types/requests/props.js.map +0 -1
  401. package/dist/types/requests/render.d.ts +0 -15
  402. package/dist/types/requests/render.d.ts.map +0 -1
  403. package/dist/types/requests/render.js +0 -2
  404. package/dist/types/requests/render.js.map +0 -1
  405. package/dist/types/requests/scene-tree.d.ts +0 -14
  406. package/dist/types/requests/scene-tree.d.ts.map +0 -1
  407. package/dist/types/requests/scene-tree.js +0 -2
  408. package/dist/types/requests/scene-tree.js.map +0 -1
  409. package/dist/types/requests/selection.d.ts +0 -12
  410. package/dist/types/requests/selection.d.ts.map +0 -1
  411. package/dist/types/requests/selection.js +0 -2
  412. package/dist/types/requests/selection.js.map +0 -1
  413. package/dist/types/requests/system-context.d.ts +0 -17
  414. package/dist/types/requests/system-context.d.ts.map +0 -1
  415. package/dist/types/requests/system-context.js +0 -2
  416. package/dist/types/requests/system-context.js.map +0 -1
  417. package/dist/types/requests/system.d.ts +0 -13
  418. package/dist/types/requests/system.d.ts.map +0 -1
  419. package/dist/types/requests/system.js +0 -2
  420. package/dist/types/requests/system.js.map +0 -1
  421. package/dist/types/requests/viewport.d.ts +0 -20
  422. package/dist/types/requests/viewport.d.ts.map +0 -1
  423. package/dist/types/requests/viewport.js +0 -6
  424. package/dist/types/requests/viewport.js.map +0 -1
  425. package/dist/types/requests.d.ts +0 -8
  426. package/dist/types/requests.d.ts.map +0 -1
  427. package/dist/types/requests.js +0 -2
  428. package/dist/types/requests.js.map +0 -1
  429. package/dist/types/system-context/index.d.ts +0 -8
  430. package/dist/types/system-context/index.d.ts.map +0 -1
  431. package/dist/types/system-context/index.js +0 -4
  432. package/dist/types/system-context/index.js.map +0 -1
  433. package/dist/types/system-context/key-state.d.ts +0 -6
  434. package/dist/types/system-context/key-state.d.ts.map +0 -1
  435. package/dist/types/system-context/key-state.js +0 -2
  436. package/dist/types/system-context/key-state.js.map +0 -1
  437. package/dist/types/system-context/mouse-state.d.ts +0 -6
  438. package/dist/types/system-context/mouse-state.d.ts.map +0 -1
  439. package/dist/types/system-context/mouse-state.js +0 -2
  440. package/dist/types/system-context/mouse-state.js.map +0 -1
  441. package/dist/types/system-context/primary-tool.d.ts +0 -8
  442. package/dist/types/system-context/primary-tool.d.ts.map +0 -1
  443. package/dist/types/system-context/primary-tool.js +0 -2
  444. package/dist/types/system-context/primary-tool.js.map +0 -1
  445. package/dist/types/transaction.d.ts +0 -6
  446. package/dist/types/transaction.d.ts.map +0 -1
  447. package/dist/types/transaction.js +0 -2
  448. package/dist/types/transaction.js.map +0 -1
  449. package/dist/types/undo.d.ts +0 -6
  450. package/dist/types/undo.d.ts.map +0 -1
  451. package/dist/types/undo.js +0 -2
  452. package/dist/types/undo.js.map +0 -1
  453. package/dist/types/viewport.d.ts +0 -12
  454. package/dist/types/viewport.d.ts.map +0 -1
  455. package/dist/types/viewport.js +0 -2
  456. package/dist/types/viewport.js.map +0 -1
  457. package/src/__tests__/core.test.ts +0 -153
  458. package/src/apis/element-selection.ts +0 -16
  459. package/src/apis/index.ts +0 -30
  460. package/src/apis/input-system.ts +0 -12
  461. package/src/apis/interaction-core.ts +0 -35
  462. package/src/apis/props.ts +0 -13
  463. package/src/apis/render.ts +0 -15
  464. package/src/apis/scene-tree.ts +0 -69
  465. package/src/apis/system-context.ts +0 -23
  466. package/src/apis/transaction.ts +0 -13
  467. package/src/apis/undo.ts +0 -13
  468. package/src/apis/viewport.ts +0 -36
  469. package/src/combinations.ts +0 -46
  470. package/src/core.ts +0 -158
  471. package/src/index.ts +0 -4
  472. package/src/requests/factory.ts +0 -14
  473. package/src/requests/index.ts +0 -23
  474. package/src/requests/props.ts +0 -16
  475. package/src/requests/render.ts +0 -34
  476. package/src/requests/scene-tree.ts +0 -26
  477. package/src/requests/selection.ts +0 -14
  478. package/src/requests/system-context.ts +0 -15
  479. package/src/subscribes/index.ts +0 -8
  480. package/src/subscribes/input-system/index.ts +0 -47
  481. package/src/subscribes/input-system/primary-tool.ts +0 -25
  482. package/src/subscribes/input-system/render.ts +0 -133
  483. package/src/subscribes/input-system/undo.ts +0 -29
  484. package/src/subscribes/input-system/viewport.ts +0 -58
  485. package/src/subscribes/interaction-core/create-element.ts +0 -22
  486. package/src/subscribes/interaction-core/index.ts +0 -68
  487. package/src/subscribes/interaction-core/primary-tool.ts +0 -8
  488. package/src/subscribes/interaction-core/reset-element-size.ts +0 -12
  489. package/src/subscribes/interaction-core/resize-element.ts +0 -31
  490. package/src/subscribes/interaction-core/select-elements.ts +0 -8
  491. package/src/subscribes/interaction-core/transaction.ts +0 -15
  492. package/src/subscribes/interaction-core/undoredo.ts +0 -16
  493. package/src/subscribes/interaction-core/viewport.ts +0 -35
  494. package/src/types/deps.ts +0 -11
  495. package/src/types/element-selection.ts +0 -5
  496. package/src/types/index.ts +0 -100
  497. package/src/types/input-system.ts +0 -5
  498. package/src/types/interaction-core.ts +0 -14
  499. package/src/types/props.ts +0 -8
  500. package/src/types/render.ts +0 -7
  501. package/src/types/requests/factory.ts +0 -14
  502. package/src/types/requests/index.ts +0 -43
  503. package/src/types/requests/props.ts +0 -16
  504. package/src/types/requests/render.ts +0 -18
  505. package/src/types/requests/scene-tree.ts +0 -16
  506. package/src/types/requests/selection.ts +0 -14
  507. package/src/types/requests/system-context.ts +0 -19
  508. package/src/types/scene-tree.ts +0 -31
  509. package/src/types/system-context/index.ts +0 -9
  510. package/src/types/system-context/key-state.ts +0 -7
  511. package/src/types/system-context/mouse-state.ts +0 -7
  512. package/src/types/system-context/primary-tool.ts +0 -9
  513. package/src/types/transaction.ts +0 -6
  514. package/src/types/undo.ts +0 -6
  515. package/src/types/viewport.ts +0 -14
  516. package/test-setup.ts +0 -6
  517. package/tsconfig.json +0 -22
  518. package/vitest.config.ts +0 -8
package/dist/core.d.ts CHANGED
@@ -1,66 +1,290 @@
1
- import type { PropsComponentRawData, SceneTreeRawData } from '@asyra/utils';
2
- import { Factory } from '@asyra/factory';
3
- import { InputSystem } from '@asyra/input-system';
1
+ import type { SceneTreeRawData, CoreRawData, PropertySchema, PositionData } from '@asyra/utils';
2
+ import { Factory, type SharedPublication, type FactoryMutationDeliverySequence } from '@asyra/factory';
3
+ import { InputSystem, type InputEventCombo } from '@asyra/input-system';
4
4
  import { SceneTree } from '@asyra/scene-tree';
5
- import { Render } from '@asyra/render';
6
- import { PropsManager } from '@asyra/props-manager';
5
+ import { PropsManager, registerPropertySchema, registerPropertyComponent, type PropertyTypeDefinition } from '@asyra/props-manager';
6
+ import type { PropertyRegistrationScope } from '@asyra/props-manager';
7
+ import { type FeatureAPI, type FeatureDefinition, type FeatureKeyMap } from '@asyra/feature-system';
7
8
  import { SelectionManager } from '@asyra/selection';
8
9
  import { SystemContext } from '@asyra/system-context';
9
- import { InteractionCore } from '@asyra/interaction-core';
10
- import { CoreAPIs, InputSystemAPIs, RenderAPIs, ViewportAPIs, UndoActionAPIs, SceneTreeAPIs, ElementSelectionAPIs, PropsAPIs, SystemContextAPIs, InteractionCoreAPIs, TransactionAPIs } from './types';
11
- interface CoreRawData {
12
- version: string;
13
- sceneTree: SceneTreeRawData;
14
- props: PropsComponentRawData;
15
- }
10
+ import type { FeatureSystemAPIs } from './types/feature-system.js';
11
+ import { Render, IRenderer, RenderOptions, type RenderEngineProviderCleanup, type RenderStrategy } from '@asyra/render';
12
+ import type { RenderEngineProvider } from '@asyra/render-engine';
13
+ import { type DocumentLoadSource, type IPersistenceProvider, type SaveHook, type LoadHook } from '@asyra/persistence';
14
+ import { type EventDefinition } from '@asyra/reactive-events';
15
+ import { CoreAPIs, ElementSelectionActionAPIs, InputSystemAPIs, RenderAPIs, SceneTreeAPIs, UIContextAPIs, SystemManagedPropertyAPIs } from './types/index.js';
16
+ import type { LoadDiagnosticsHook } from './types/load-validation.js';
17
+ import type { ApplyRemoteCanonicalChangeSlicesInput, CoreCollaborationSession } from './types/app-runtime.js';
18
+ import type { DataChannelObserverRegistration } from './data-channel-observer.js';
19
+ import * as dataChannelObserver from './data-channel-observer.js';
20
+ import { definePropertyComponent as definePropertyComponentRuntime, type PropertyChildRelationMetadata, type PropertyComponentDefinition } from './define-property-component.js';
21
+ import type { PropertyChildRelationDefinition } from '@asyra/props-manager';
22
+ import { defineComponentPropertyRelationForSceneTree as defineComponentPropertyRelationRuntime, type ComponentDefinition, type ComponentPropertyRelationMetadata, type UnregisterComponentOptions, type UnregisterComponentResult } from './define-component.js';
23
+ import { type RegistrationDefinitionMetadata, type RegistrationNodeMetadata, type RegistrationRef, type RegistrationRelationMetadata, type RelationOperationSuccess, type UnregisterRegistrationSuccess } from '@asyra/utils';
16
24
  interface CoreDeps {
17
25
  inputSystem: InputSystem;
18
26
  factory: Factory;
27
+ dataChannelObservers?: dataChannelObserver.DataChannelObserverRegistry;
19
28
  props: PropsManager;
20
29
  render: Render;
21
30
  sceneTree: SceneTree;
22
31
  selection: SelectionManager;
23
32
  systemContext: SystemContext;
24
- interactionCore: InteractionCore;
25
33
  }
26
34
  declare class Core implements CoreAPIs {
27
- private readonly deps;
28
35
  version: string;
29
- startTransaction: TransactionAPIs['startTransaction'];
30
- endTransaction: TransactionAPIs['endTransaction'];
36
+ private readonly defaultRenderer;
37
+ private renderer;
38
+ private renderEngineProviderToken;
39
+ private loadSource;
40
+ private saveHooks;
41
+ private loadHooks;
42
+ private loadDiagnosticsHooks;
43
+ private compositionOpen;
44
+ private propertyTypeRedefinitionInProgress;
45
+ private readonly redefinedPropertyTypes;
46
+ private readonly dataChannelObservers;
47
+ private readonly registrationGraph;
48
+ private collaborationSession;
49
+ private collaborationDestroyPromise;
31
50
  setupInputSystem: InputSystemAPIs['setupInputSystem'];
32
51
  initRender: RenderAPIs['initRender'];
33
52
  renderIsReady: RenderAPIs['renderIsReady'];
34
- getViewportPosition: ViewportAPIs['getViewportPosition'];
35
- getViewportScale: ViewportAPIs['getViewportScale'];
36
- zoomFit: ViewportAPIs['zoomFit'];
37
- panTo: ViewportAPIs['panTo'];
38
- zoomToCenter: ViewportAPIs['zoomToCenter'];
39
- undo: UndoActionAPIs['undo'];
40
- redo: UndoActionAPIs['redo'];
53
+ registerRenderLayer: RenderAPIs['registerRenderLayer'];
54
+ unregisterRenderLayer: RenderAPIs['unregisterRenderLayer'];
55
+ createRenderGradientFillStyle: RenderAPIs['createRenderGradientFillStyle'];
56
+ createEvenOddFillStyle: RenderAPIs['createEvenOddFillStyle'];
57
+ createMeshProjection: RenderAPIs['createMeshProjection'];
58
+ registerRenderInteractionTargets: RenderAPIs['registerRenderInteractionTargets'];
59
+ updateRenderInteractionTarget: RenderAPIs['updateRenderInteractionTarget'];
60
+ unregisterRenderInteractionTarget: RenderAPIs['unregisterRenderInteractionTarget'];
61
+ clearRenderInteractionTargets: RenderAPIs['clearRenderInteractionTargets'];
62
+ registerRenderInteractionHandler: RenderAPIs['registerRenderInteractionHandler'];
63
+ unregisterRenderInteractionHandler: RenderAPIs['unregisterRenderInteractionHandler'];
64
+ propsLoadData: CoreAPIs['propsLoadData'];
65
+ propsSaveData: CoreAPIs['propsSaveData'];
66
+ preflightRestoreProperties: CoreAPIs['preflightRestoreProperties'];
67
+ applyRestoreProperties: CoreAPIs['applyRestoreProperties'];
68
+ updatePropertyComponents: CoreAPIs['updatePropertyComponents'];
69
+ updateElementProperties: CoreAPIs['updateElementProperties'];
70
+ patchElementProperties: CoreAPIs['patchElementProperties'];
71
+ applyCanonicalChanges: CoreAPIs['applyCanonicalChanges'];
41
72
  sceneTreeInit: SceneTreeAPIs['sceneTreeInit'];
42
73
  sceneTreeLoadData: SceneTreeAPIs['sceneTreeLoadData'];
43
74
  sceneTreeSaveData: SceneTreeAPIs['sceneTreeSaveData'];
44
- addRectangle: SceneTreeAPIs['addRectangle'];
45
- changeComputedData: SceneTreeAPIs['changeComputedData'];
46
- resizeElement: SceneTreeAPIs['resizeElement'];
47
- selectElements: ElementSelectionAPIs['selectElements'];
48
- propsLoadData: PropsAPIs['propsLoadData'];
49
- propsSaveData: PropsAPIs['propsSaveData'];
50
- switchPrimaryTool: SystemContextAPIs['switchPrimaryTool'];
51
- updateMouseState: SystemContextAPIs['updateMouseState'];
52
- updateKeyState: SystemContextAPIs['updateKeyState'];
53
- executeAction: InteractionCoreAPIs['executeAction'];
54
- startSession: InteractionCoreAPIs['startSession'];
55
- updateSession: InteractionCoreAPIs['updateSession'];
56
- endSession: InteractionCoreAPIs['endSession'];
75
+ createElement: SceneTreeAPIs['createElement'];
76
+ createElementInParent: SceneTreeAPIs['createElementInParent'];
77
+ createElementsInParent: SceneTreeAPIs['createElementsInParent'];
78
+ createElementsInParentFromCanonicalData: SceneTreeAPIs['createElementsInParentFromCanonicalData'];
79
+ getElementComputedData: SceneTreeAPIs['getElementComputedData'];
80
+ moveElements: SceneTreeAPIs['moveElements'];
81
+ applyHierarchyMoves: SceneTreeAPIs['applyHierarchyMoves'];
82
+ applyElementDataChanges: SceneTreeAPIs['applyElementDataChanges'];
83
+ removeSubtree: SceneTreeAPIs['removeSubtree'];
84
+ removeSubtreeFromCanonicalData: SceneTreeAPIs['removeSubtreeFromCanonicalData'];
85
+ removeElementsFromCanonicalData: SceneTreeAPIs['removeElementsFromCanonicalData'];
86
+ preflightRestoreSubtree: SceneTreeAPIs['preflightRestoreSubtree'];
87
+ applyRestoreSubtree: SceneTreeAPIs['applyRestoreSubtree'];
88
+ updateLocalComputedData: SceneTreeAPIs['updateLocalComputedData'];
89
+ patchLocalComputedData: SceneTreeAPIs['patchLocalComputedData'];
90
+ projectLocalComputedDataFromPropertyIds: SceneTreeAPIs['projectLocalComputedDataFromPropertyIds'];
91
+ getAllElementsBounds: SceneTreeAPIs['getAllElementsBounds'];
92
+ isContainerType: SceneTreeAPIs['isContainerType'];
93
+ selectByChannel: ElementSelectionActionAPIs['selectByChannel'];
94
+ selectElements: ElementSelectionActionAPIs['selectElements'];
95
+ selectVectorPoints: ElementSelectionActionAPIs['selectVectorPoints'];
96
+ selectVectorSegments: ElementSelectionActionAPIs['selectVectorSegments'];
97
+ initFeatureSystem: FeatureSystemAPIs['initFeatureSystem'];
98
+ defineUIProperty: UIContextAPIs['defineUIProperty'];
99
+ registerUIProperty: UIContextAPIs['registerUIProperty'];
100
+ getUIProperty: UIContextAPIs['getUIProperty'];
101
+ setUIProperty: UIContextAPIs['setUIProperty'];
102
+ getUIPropertySubject: UIContextAPIs['getUIPropertySubject'];
103
+ onUIPropertyChange: UIContextAPIs['onUIPropertyChange'];
104
+ defineSystemProperty: SystemManagedPropertyAPIs['defineSystemProperty'];
105
+ registerSystemProperty: SystemManagedPropertyAPIs['registerSystemProperty'];
106
+ getSystemProperty: SystemManagedPropertyAPIs['getSystemProperty'];
107
+ setSystemProperty: SystemManagedPropertyAPIs['setSystemProperty'];
108
+ getSystemPropertyObservable: SystemManagedPropertyAPIs['getSystemPropertyObservable'];
109
+ hasSystemProperty: SystemManagedPropertyAPIs['hasSystemProperty'];
110
+ unregisterSystemProperty: SystemManagedPropertyAPIs['unregisterSystemProperty'];
111
+ /**
112
+ * @deprecated App code must use the public Core facade. This dependency
113
+ * container remains temporarily available only for compatibility while
114
+ * package integrations migrate.
115
+ */
116
+ readonly deps: CoreDeps;
57
117
  constructor(deps: CoreDeps);
58
- load(data: CoreRawData): void;
59
- save(): Promise<{
60
- version: string;
118
+ /** Set an advanced full renderer replacement before startup. */
119
+ setRenderer(renderer: IRenderer): void;
120
+ destroyRenderer(): void;
121
+ registerCollaborationSession(session: CoreCollaborationSession): void;
122
+ destroy(): Promise<void>;
123
+ registerInputKeyCombinations(combinations: Record<string, InputEventCombo[]>): () => void;
124
+ getElementData(elementId: string): import("@asyra/utils").ElementRawData | undefined;
125
+ getCurrentWorkspaceId(): string;
126
+ getAllElementData(): readonly Readonly<{
127
+ elementId: string;
128
+ data: import("@asyra/utils").ElementRawData;
129
+ computed: {} | import("@asyra/utils").ComputedAttrs;
130
+ }>[];
131
+ getCanonicalElementCount(): number;
132
+ getCanonicalOwnerSnapshot(): {
133
+ props: import("@asyra/utils").PropsComponentRawData;
61
134
  sceneTree: SceneTreeRawData;
62
- props: PropsComponentRawData;
135
+ };
136
+ projectLocalComputedDataForElements(elementIds: readonly string[]): void;
137
+ updateElementData(elementId: string, values: Readonly<{
138
+ name?: string;
139
+ visible?: boolean;
140
+ lock?: boolean;
141
+ }>, options?: Parameters<SceneTree['applyPreparedElementMutation']>[1]): boolean;
142
+ getSelectedElementIds(): string[];
143
+ getSystemContextSnapshot(): import("@asyra/utils").SystemContextSnapshot;
144
+ getCanvas(): HTMLCanvasElement | null;
145
+ setCanvasCursor(cursor: string): boolean;
146
+ getCanvasBounds(): DOMRect | null;
147
+ getViewportPosition(): PositionData;
148
+ getViewportScale(): number;
149
+ getMousePosInWorkspace(mousePos: {
150
+ clientX: number;
151
+ clientY: number;
152
+ }): Readonly<{
153
+ x: number;
154
+ y: number;
63
155
  }>;
156
+ workspaceToCanvas(workspacePosition: PositionData): PositionData;
157
+ getElementIdAtClientPos(clientPos: {
158
+ x: number;
159
+ y: number;
160
+ }): string | null;
161
+ workspaceToElementLocal(elementId: string, workspacePosition: {
162
+ x: number;
163
+ y: number;
164
+ }): PositionData | null;
165
+ elementLocalToWorkspace(elementId: string, localPosition: {
166
+ x: number;
167
+ y: number;
168
+ }): PositionData | null;
169
+ elementSourceToWorkspace(elementId: string, sourcePosition: PositionData): PositionData | null;
170
+ workspaceToElementSource(elementId: string, workspacePosition: PositionData): PositionData | null;
171
+ getProjectedElementCount(): number;
172
+ hasProjectedElement(elementId: string): boolean;
173
+ subscribeToFrameComplete(subscriber: () => void): () => void;
174
+ getUndoHistoryDepth(): number;
175
+ subscribeToSharedPublication(subscriber: (publication: SharedPublication) => void): () => void;
176
+ subscribeToTransactionStatus(subscriber: Parameters<Factory['subscribeToTransactionStatus']>[0]): () => void;
177
+ observeSharedDataChannel(channel: Parameters<Factory['observeSharedDataChannel']>[0], subscriber: Parameters<Factory['observeSharedDataChannel']>[1]): () => void;
178
+ configureSharedDeliverySequence(sequence: FactoryMutationDeliverySequence): void;
179
+ applyRemoteCanonicalChangeSlices({ origin, slices }: ApplyRemoteCanonicalChangeSlicesInput): Promise<void>;
180
+ private createCollaborationBridge;
181
+ setRenderEngineProvider(provider: RenderEngineProvider): RenderEngineProviderCleanup;
182
+ hasRenderEngineProvider(): boolean;
183
+ isCompositionOpen(): boolean;
184
+ registerDataChannelObserver<TChange = unknown>(registration: DataChannelObserverRegistration<TChange>): void;
185
+ unregisterDataChannelObserver(name: string): boolean;
186
+ registerSharedDataChannel(name: Parameters<Factory['registerSharedDataChannel']>[0], channel: Parameters<Factory['registerSharedDataChannel']>[1]): void;
187
+ unregisterSharedDataChannel(name: Parameters<Factory['unregisterSharedDataChannel']>[0]): boolean;
188
+ hasSharedDataChannel(name: Parameters<Factory['hasSharedDataChannel']>[0]): boolean;
189
+ createLocalSharedDataChannel(): ReturnType<Factory['createLocalSharedDataChannel']>;
190
+ /** Set the read-only source used during Core startup. */
191
+ setLoadSource(source: DocumentLoadSource): void;
192
+ /**
193
+ * @deprecated Use setLoadSource. Core does not call provider save or clear.
194
+ * This compatibility adapter remains available through the 0.2.x migration
195
+ * window and is planned for removal in the next major release.
196
+ */
197
+ setPersistence(provider: IPersistenceProvider): void;
198
+ /**
199
+ * Register a hook to transform data before saving
200
+ * @param hook - Function that receives and returns CoreData
201
+ */
202
+ registerSaveHook(hook: SaveHook): void;
203
+ /**
204
+ * Register an app-owned hook in the synchronous load-migration chain.
205
+ * @param hook - Function that receives raw input and returns a versioned document
206
+ */
207
+ registerLoadHook(hook: LoadHook): void;
208
+ /**
209
+ * Register a hook to receive non-blocking load diagnostics.
210
+ * Hooks are called after load validation/apply finishes.
211
+ */
212
+ registerLoadDiagnosticsHook(hook: LoadDiagnosticsHook): () => void;
213
+ /**
214
+ * Start the framework with a custom renderer
215
+ * @param container - DOM element to attach canvas to
216
+ * @param renderOptions - Options for renderer initialization
217
+ */
218
+ start(container: HTMLElement, renderOptions: RenderOptions): Promise<void>;
219
+ private loadFromSource;
220
+ registerEvent<TPayload = unknown, TOptions = unknown>(event: string | EventDefinition<TPayload, TOptions>): import("@asyra/reactive-events").EventRegistration<TPayload, TOptions>;
221
+ unregisterEvent(event: string | EventDefinition): boolean;
222
+ subscribeEvent<TPayload = unknown, TOptions = unknown>(event: string | EventDefinition<TPayload, TOptions>, handler: (payload?: TPayload, options?: TOptions) => void): () => void;
223
+ registerPropertySchema(schema: PropertySchema, options?: Parameters<typeof registerPropertySchema>[1], registration?: RegistrationDefinitionMetadata): void;
224
+ getPropertySchema(type: string): PropertySchema | undefined;
225
+ definePropertyComponent(definition: PropertyComponentDefinition): ReturnType<typeof definePropertyComponentRuntime>;
226
+ registerPropertyComponent(type: string, component: Parameters<typeof registerPropertyComponent>[1], options?: Parameters<typeof registerPropertyComponent>[2]): void;
227
+ getPropertyComponent(type: string): import("@asyra/props-manager").PropertyComponentConstructor | undefined;
228
+ getPropertyTypeDefinition<TFields extends object = Record<string, unknown>>(type: string): Readonly<PropertyTypeDefinition<TFields>> | undefined;
229
+ redefinePropertyType<TFields extends object = Record<string, unknown>>(type: string, update: (current: Readonly<PropertyTypeDefinition<TFields>>) => PropertyTypeDefinition<TFields>): Readonly<PropertyTypeDefinition<TFields>>;
230
+ unregisterPropertyRegistration(type: string, scope?: PropertyRegistrationScope): import("@asyra/props-manager").PropertyRegistrationUnregisterResult;
231
+ definePropertyChildRelation(parentPropertyType: string, relation: PropertyChildRelationDefinition): RelationOperationSuccess;
232
+ removePropertyChildRelation(parentPropertyType: string, key: string): RelationOperationSuccess;
233
+ getPropertyChildRelations(parentPropertyType: string): readonly PropertyChildRelationMetadata[];
234
+ unregisterPropertyType(type: string): UnregisterRegistrationSuccess;
235
+ defineComponent(definition: ComponentDefinition): void;
236
+ unregisterComponent(type: string, options: UnregisterComponentOptions & {
237
+ detailed: true;
238
+ }): UnregisterComponentResult;
239
+ unregisterComponent(type: string, options?: UnregisterComponentOptions): boolean;
240
+ defineComponentPropertyRelation(componentType: string, property: Parameters<typeof defineComponentPropertyRelationRuntime>[1]): RelationOperationSuccess;
241
+ removeComponentPropertyRelation(componentType: string, propertyName: string): RelationOperationSuccess;
242
+ getComponentPropertyRelations(componentType: string): readonly ComponentPropertyRelationMetadata[];
243
+ defineFeature<API extends Record<string, unknown> = Record<string, unknown>, State extends Record<string, unknown> = Record<string, unknown>>(name: string, keyConfig: FeatureKeyMap | undefined, definition: FeatureDefinition<API, State>): {
244
+ api: FeatureAPI<API>;
245
+ dispose: () => boolean;
246
+ };
247
+ getFeature(featureName: string): FeatureAPI;
248
+ unregisterFeature(featureName: string): boolean;
249
+ registerRenderStrategy(type: string, strategy: RenderStrategy, registration?: RegistrationDefinitionMetadata): void;
250
+ unregisterRenderStrategy(type: string): boolean;
251
+ unregisterUIProperty(key: string): boolean;
252
+ getRegistration(ref: RegistrationRef): RegistrationNodeMetadata | undefined;
253
+ getRegistrations(): readonly RegistrationNodeMetadata[];
254
+ getRegistrationRelations(): readonly RegistrationRelationMetadata[];
255
+ defineSelection(type: Parameters<SelectionManager['register']>[0], selection: Parameters<SelectionManager['register']>[1]): void;
256
+ registerSelection(type: Parameters<SelectionManager['register']>[0], selection: Parameters<SelectionManager['register']>[1]): void;
257
+ unregisterSelection(type: Parameters<SelectionManager['unregister']>[0]): boolean;
258
+ getSelection(type: Parameters<SelectionManager['get']>[0]): import("@asyra/selection").BaseSelection | undefined;
259
+ getPresetDependencies(): {
260
+ sceneTree: SceneTree;
261
+ systemContext: SystemContext;
262
+ render: Render;
263
+ };
264
+ private assertCompositionOpen;
265
+ private assertPropertyTypeRedefinitionTarget;
266
+ private validateRedefinedPropertyRelations;
267
+ private failStructuralPropertyRelation;
268
+ private registrationConflict;
269
+ private assertRelationCanBeDefined;
270
+ private assertRelationCanBeRemoved;
271
+ private preflightRegistrationDefinition;
272
+ private assertRelationEndpointNotPending;
273
+ private defineRegistrationRelations;
274
+ private ensurePropertyNode;
275
+ private ensureComponentNode;
276
+ private ensureFeatureNode;
277
+ private ensureRenderStrategyNode;
278
+ private ensureUIPropertyNode;
279
+ private assertPropertyTypeUnused;
280
+ private assertComponentTypeUnused;
281
+ load(data: unknown): void;
282
+ save(): Promise<CoreRawData>;
283
+ private normalizeLoadData;
284
+ private runLoadHooks;
285
+ private applyLoadedData;
286
+ private composeLoadedData;
287
+ private emitLoadDiagnostics;
64
288
  }
65
289
  export { Core };
66
290
  declare const core: Core;
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC3E,OAAgB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAoB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAkB,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAe,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAc,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAkB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAC9D,OAAsB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAwB,E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