@asyra/core 0.2.5 → 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 -21
  130. package/.turbo/turbo-test.log +0 -0
  131. package/CHANGELOG.md +0 -86
  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/coverage/base.css DELETED
@@ -1,224 +0,0 @@
1
- body, html {
2
- margin:0; padding: 0;
3
- height: 100%;
4
- }
5
- body {
6
- font-family: Helvetica Neue, Helvetica, Arial;
7
- font-size: 14px;
8
- color:#333;
9
- }
10
- .small { font-size: 12px; }
11
- *, *:after, *:before {
12
- -webkit-box-sizing:border-box;
13
- -moz-box-sizing:border-box;
14
- box-sizing:border-box;
15
- }
16
- h1 { font-size: 20px; margin: 0;}
17
- h2 { font-size: 14px; }
18
- pre {
19
- font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
20
- margin: 0;
21
- padding: 0;
22
- -moz-tab-size: 2;
23
- -o-tab-size: 2;
24
- tab-size: 2;
25
- }
26
- a { color:#0074D9; text-decoration:none; }
27
- a:hover { text-decoration:underline; }
28
- .strong { font-weight: bold; }
29
- .space-top1 { padding: 10px 0 0 0; }
30
- .pad2y { padding: 20px 0; }
31
- .pad1y { padding: 10px 0; }
32
- .pad2x { padding: 0 20px; }
33
- .pad2 { padding: 20px; }
34
- .pad1 { padding: 10px; }
35
- .space-left2 { padding-left:55px; }
36
- .space-right2 { padding-right:20px; }
37
- .center { text-align:center; }
38
- .clearfix { display:block; }
39
- .clearfix:after {
40
- content:'';
41
- display:block;
42
- height:0;
43
- clear:both;
44
- visibility:hidden;
45
- }
46
- .fl { float: left; }
47
- @media only screen and (max-width:640px) {
48
- .col3 { width:100%; max-width:100%; }
49
- .hide-mobile { display:none!important; }
50
- }
51
-
52
- .quiet {
53
- color: #7f7f7f;
54
- color: rgba(0,0,0,0.5);
55
- }
56
- .quiet a { opacity: 0.7; }
57
-
58
- .fraction {
59
- font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
60
- font-size: 10px;
61
- color: #555;
62
- background: #E8E8E8;
63
- padding: 4px 5px;
64
- border-radius: 3px;
65
- vertical-align: middle;
66
- }
67
-
68
- div.path a:link, div.path a:visited { color: #333; }
69
- table.coverage {
70
- border-collapse: collapse;
71
- margin: 10px 0 0 0;
72
- padding: 0;
73
- }
74
-
75
- table.coverage td {
76
- margin: 0;
77
- padding: 0;
78
- vertical-align: top;
79
- }
80
- table.coverage td.line-count {
81
- text-align: right;
82
- padding: 0 5px 0 20px;
83
- }
84
- table.coverage td.line-coverage {
85
- text-align: right;
86
- padding-right: 10px;
87
- min-width:20px;
88
- }
89
-
90
- table.coverage td span.cline-any {
91
- display: inline-block;
92
- padding: 0 5px;
93
- width: 100%;
94
- }
95
- .missing-if-branch {
96
- display: inline-block;
97
- margin-right: 5px;
98
- border-radius: 3px;
99
- position: relative;
100
- padding: 0 4px;
101
- background: #333;
102
- color: yellow;
103
- }
104
-
105
- .skip-if-branch {
106
- display: none;
107
- margin-right: 10px;
108
- position: relative;
109
- padding: 0 4px;
110
- background: #ccc;
111
- color: white;
112
- }
113
- .missing-if-branch .typ, .skip-if-branch .typ {
114
- color: inherit !important;
115
- }
116
- .coverage-summary {
117
- border-collapse: collapse;
118
- width: 100%;
119
- }
120
- .coverage-summary tr { border-bottom: 1px solid #bbb; }
121
- .keyline-all { border: 1px solid #ddd; }
122
- .coverage-summary td, .coverage-summary th { padding: 10px; }
123
- .coverage-summary tbody { border: 1px solid #bbb; }
124
- .coverage-summary td { border-right: 1px solid #bbb; }
125
- .coverage-summary td:last-child { border-right: none; }
126
- .coverage-summary th {
127
- text-align: left;
128
- font-weight: normal;
129
- white-space: nowrap;
130
- }
131
- .coverage-summary th.file { border-right: none !important; }
132
- .coverage-summary th.pct { }
133
- .coverage-summary th.pic,
134
- .coverage-summary th.abs,
135
- .coverage-summary td.pct,
136
- .coverage-summary td.abs { text-align: right; }
137
- .coverage-summary td.file { white-space: nowrap; }
138
- .coverage-summary td.pic { min-width: 120px !important; }
139
- .coverage-summary tfoot td { }
140
-
141
- .coverage-summary .sorter {
142
- height: 10px;
143
- width: 7px;
144
- display: inline-block;
145
- margin-left: 0.5em;
146
- background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
147
- }
148
- .coverage-summary .sorted .sorter {
149
- background-position: 0 -20px;
150
- }
151
- .coverage-summary .sorted-desc .sorter {
152
- background-position: 0 -10px;
153
- }
154
- .status-line { height: 10px; }
155
- /* yellow */
156
- .cbranch-no { background: yellow !important; color: #111; }
157
- /* dark red */
158
- .red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
159
- .low .chart { border:1px solid #C21F39 }
160
- .highlighted,
161
- .highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
162
- background: #C21F39 !important;
163
- }
164
- /* medium red */
165
- .cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
166
- /* light red */
167
- .low, .cline-no { background:#FCE1E5 }
168
- /* light green */
169
- .high, .cline-yes { background:rgb(230,245,208) }
170
- /* medium green */
171
- .cstat-yes { background:rgb(161,215,106) }
172
- /* dark green */
173
- .status-line.high, .high .cover-fill { background:rgb(77,146,33) }
174
- .high .chart { border:1px solid rgb(77,146,33) }
175
- /* dark yellow (gold) */
176
- .status-line.medium, .medium .cover-fill { background: #f9cd0b; }
177
- .medium .chart { border:1px solid #f9cd0b; }
178
- /* light yellow */
179
- .medium { background: #fff4c2; }
180
-
181
- .cstat-skip { background: #ddd; color: #111; }
182
- .fstat-skip { background: #ddd; color: #111 !important; }
183
- .cbranch-skip { background: #ddd !important; color: #111; }
184
-
185
- span.cline-neutral { background: #eaeaea; }
186
-
187
- .coverage-summary td.empty {
188
- opacity: .5;
189
- padding-top: 4px;
190
- padding-bottom: 4px;
191
- line-height: 1;
192
- color: #888;
193
- }
194
-
195
- .cover-fill, .cover-empty {
196
- display:inline-block;
197
- height: 12px;
198
- }
199
- .chart {
200
- line-height: 0;
201
- }
202
- .cover-empty {
203
- background: white;
204
- }
205
- .cover-full {
206
- border-right: none !important;
207
- }
208
- pre.prettyprint {
209
- border: none !important;
210
- padding: 0 !important;
211
- margin: 0 !important;
212
- }
213
- .com { color: #999 !important; }
214
- .ignore-none { color: #999; font-weight: normal; }
215
-
216
- .wrapper {
217
- min-height: 100%;
218
- height: auto !important;
219
- height: 100%;
220
- margin: 0 auto -48px;
221
- }
222
- .footer, .push {
223
- height: 48px;
224
- }
@@ -1,87 +0,0 @@
1
- /* eslint-disable */
2
- var jumpToCode = (function init() {
3
- // Classes of code we would like to highlight in the file view
4
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
5
-
6
- // Elements to highlight in the file listing view
7
- var fileListingElements = ['td.pct.low'];
8
-
9
- // We don't want to select elements that are direct descendants of another match
10
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
11
-
12
- // Selecter that finds elements on the page to which we can jump
13
- var selector =
14
- fileListingElements.join(', ') +
15
- ', ' +
16
- notSelector +
17
- missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
18
-
19
- // The NodeList of matching elements
20
- var missingCoverageElements = document.querySelectorAll(selector);
21
-
22
- var currentIndex;
23
-
24
- function toggleClass(index) {
25
- missingCoverageElements
26
- .item(currentIndex)
27
- .classList.remove('highlighted');
28
- missingCoverageElements.item(index).classList.add('highlighted');
29
- }
30
-
31
- function makeCurrent(index) {
32
- toggleClass(index);
33
- currentIndex = index;
34
- missingCoverageElements.item(index).scrollIntoView({
35
- behavior: 'smooth',
36
- block: 'center',
37
- inline: 'center'
38
- });
39
- }
40
-
41
- function goToPrevious() {
42
- var nextIndex = 0;
43
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
44
- nextIndex = missingCoverageElements.length - 1;
45
- } else if (missingCoverageElements.length > 1) {
46
- nextIndex = currentIndex - 1;
47
- }
48
-
49
- makeCurrent(nextIndex);
50
- }
51
-
52
- function goToNext() {
53
- var nextIndex = 0;
54
-
55
- if (
56
- typeof currentIndex === 'number' &&
57
- currentIndex < missingCoverageElements.length - 1
58
- ) {
59
- nextIndex = currentIndex + 1;
60
- }
61
-
62
- makeCurrent(nextIndex);
63
- }
64
-
65
- return function jump(event) {
66
- if (
67
- document.getElementById('fileSearch') === document.activeElement &&
68
- document.activeElement != null
69
- ) {
70
- // if we're currently focused on the search input, we don't want to navigate
71
- return;
72
- }
73
-
74
- switch (event.which) {
75
- case 78: // n
76
- case 74: // j
77
- goToNext();
78
- break;
79
- case 66: // b
80
- case 75: // k
81
- case 80: // p
82
- goToPrevious();
83
- break;
84
- }
85
- };
86
- })();
87
- window.addEventListener('keydown', jumpToCode);