@cyclonium/core 0.0.100

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 (79) hide show
  1. package/lib/2d/transform-2d-component.d.ts +67 -0
  2. package/lib/2d/transform-2d-component.js +206 -0
  3. package/lib/decorator/legacy/apply-legacy-decorators.d.ts +5 -0
  4. package/lib/decorator/legacy/apply-legacy-decorators.js +12 -0
  5. package/lib/decorator/legacy/editable/common.d.ts +3 -0
  6. package/lib/decorator/legacy/editable/common.js +16 -0
  7. package/lib/decorator/legacy/editable/editable.d.ts +23 -0
  8. package/lib/decorator/legacy/editable/editable.js +61 -0
  9. package/lib/decorator/legacy/legacy-component-decorator.d.ts +11 -0
  10. package/lib/decorator/legacy/legacy-component-decorator.js +91 -0
  11. package/lib/decorator/legacy/legacy-decorator.d.ts +3 -0
  12. package/lib/decorator/legacy/legacy-decorator.js +3 -0
  13. package/lib/decorator/legacy/legacy-general-decorator.d.ts +32 -0
  14. package/lib/decorator/legacy/legacy-general-decorator.js +94 -0
  15. package/lib/decorator/legacy/utils.d.ts +6 -0
  16. package/lib/decorator/legacy/utils.js +17 -0
  17. package/lib/export/2d.d.ts +2 -0
  18. package/lib/export/2d.js +2 -0
  19. package/lib/export/framework.d.ts +4 -0
  20. package/lib/export/framework.js +4 -0
  21. package/lib/export/internal.d.ts +2 -0
  22. package/lib/export/internal.js +2 -0
  23. package/lib/export/legacy-decorator.d.ts +4 -0
  24. package/lib/export/legacy-decorator.js +4 -0
  25. package/lib/export/log.d.ts +2 -0
  26. package/lib/export/log.js +2 -0
  27. package/lib/export/math/bounds-2d.d.ts +2 -0
  28. package/lib/export/math/bounds-2d.js +2 -0
  29. package/lib/export/math/geometry.d.ts +2 -0
  30. package/lib/export/math/geometry.js +2 -0
  31. package/lib/export/math/mat3.d.ts +2 -0
  32. package/lib/export/math/mat3.js +2 -0
  33. package/lib/export/math/number.d.ts +2 -0
  34. package/lib/export/math/number.js +2 -0
  35. package/lib/export/math/ray.d.ts +2 -0
  36. package/lib/export/math/ray.js +2 -0
  37. package/lib/export/math/transform-2d.d.ts +2 -0
  38. package/lib/export/math/transform-2d.js +2 -0
  39. package/lib/export/math/trigonometry.d.ts +2 -0
  40. package/lib/export/math/trigonometry.js +2 -0
  41. package/lib/export/math/vec2.d.ts +2 -0
  42. package/lib/export/math/vec2.js +2 -0
  43. package/lib/export/utils.d.ts +5 -0
  44. package/lib/export/utils.js +5 -0
  45. package/lib/framework/component.d.ts +90 -0
  46. package/lib/framework/component.js +322 -0
  47. package/lib/framework/coroutine.d.ts +105 -0
  48. package/lib/framework/coroutine.js +278 -0
  49. package/lib/framework/execution-order.d.ts +12 -0
  50. package/lib/framework/execution-order.js +17 -0
  51. package/lib/framework/tasking.d.ts +17 -0
  52. package/lib/framework/tasking.js +82 -0
  53. package/lib/math/bounds-2d.d.ts +2 -0
  54. package/lib/math/bounds-2d.js +13 -0
  55. package/lib/math/geometry.d.ts +4 -0
  56. package/lib/math/geometry.js +19 -0
  57. package/lib/math/mat3.d.ts +2 -0
  58. package/lib/math/mat3.js +2 -0
  59. package/lib/math/number.d.ts +2 -0
  60. package/lib/math/number.js +2 -0
  61. package/lib/math/ray.d.ts +12 -0
  62. package/lib/math/ray.js +26 -0
  63. package/lib/math/transform-2d.d.ts +2 -0
  64. package/lib/math/transform-2d.js +2 -0
  65. package/lib/math/trigonometry.d.ts +2 -0
  66. package/lib/math/trigonometry.js +2 -0
  67. package/lib/math/vec2.d.ts +5 -0
  68. package/lib/math/vec2.js +17 -0
  69. package/lib/utils/assert.d.ts +5 -0
  70. package/lib/utils/assert.js +14 -0
  71. package/lib/utils/enum.d.ts +3 -0
  72. package/lib/utils/enum.js +15 -0
  73. package/lib/utils/inheritance.d.ts +2 -0
  74. package/lib/utils/inheritance.js +5 -0
  75. package/lib/utils/logger.d.ts +7 -0
  76. package/lib/utils/logger.js +19 -0
  77. package/lib/utils/raw.d.ts +6 -0
  78. package/lib/utils/raw.js +26 -0
  79. package/package.json +44 -0
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@cyclonium/core",
3
+ "version": "0.0.100",
4
+ "type": "module",
5
+ "files": [
6
+ "lib/**/*{.js,.d.ts}"
7
+ ],
8
+ "exports": {
9
+ "./internal": "./lib/export/internal.js",
10
+ "./framework": "./lib/export/framework.js",
11
+ "./utils": "./lib/export/utils.js",
12
+ "./legacy-decorator": "./lib/export/legacy-decorator.js",
13
+ "./2d": "./lib/export/2d.js",
14
+ "./log": "./lib/export/log.js",
15
+ "./math/bounds-2d": "./lib/export/math/bounds-2d.js",
16
+ "./math/vec2": "./lib/export/math/vec2.js",
17
+ "./math/number": "./lib/export/math/number.js",
18
+ "./math/trigonometry": "./lib/export/math/trigonometry.js",
19
+ "./math/mat3": "./lib/export/math/mat3.js",
20
+ "./math/geometry": "./lib/export/math/geometry.js",
21
+ "./math/ray": "./lib/export/math/ray.js",
22
+ "./math/transform-2d": "./lib/export/math/transform-2d.js"
23
+ },
24
+ "dependencies": {
25
+ "@cyclonium/algorithm": "0.0.100",
26
+ "@cyclonium/abort-controller": "0.0.100",
27
+ "@cyclonium/math": "0.0.100"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "^25.9.2",
31
+ "typescript": "^6.0.2",
32
+ "vitest": "^4.1.5",
33
+ "@cyclonium/types-cc": "0.0.100",
34
+ "@cyclonium/workflow": "0.0.100",
35
+ "@cyclonium/cc-test": "0.0.100"
36
+ },
37
+ "scripts": {
38
+ "build": "tsc -b",
39
+ "dev": "tsc --watch",
40
+ "test": "npm run test:compile && npm run t",
41
+ "test:compile": "tsc -b test/tsconfig.json",
42
+ "t": "vitest run"
43
+ }
44
+ }