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