@asyra/core 0.2.3 → 0.2.5

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.
@@ -3,16 +3,7 @@
3
3
 
4
4
   RUN  v2.1.9 /Users/asa/Desktop/workspace/asra/packages/core
5
5
 
6
- [?25l ✓ src/__tests__/core.test.ts (7)
7
- ✓ Core (7)
8
- ✓ should load data correctly and call appropriate methods
9
- ✓ should call sceneTreeInit if no sceneTree data is provided
10
- ✓ should save data correctly and call appropriate methods
11
- ✓ should delegate startTransaction to factory
12
- ✓ should delegate switchPrimaryTool to systemContext
13
- ✓ should delegate addRectangle to sceneTree
14
- ✓ should call executeAction without error
15
-  ✓ src/__tests__/core.test.ts (7)
6
+ ✓ src/__tests__/core.test.ts (7)
16
7
  ✓ Core (7)
17
8
  ✓ should load data correctly and call appropriate methods
18
9
  ✓ should call sceneTreeInit if no sceneTree data is provided
@@ -24,7 +15,7 @@
24
15
 
25
16
   Test Files  1 passed (1)
26
17
   Tests  7 passed (7)
27
-  Start at  01:58:32
28
-  Duration  1.82s (transform 466ms, setup 22ms, collect 890ms, tests 10ms, environment 244ms, prepare 139ms)
18
+  Start at  02:13:38
19
+  Duration  769ms (transform 220ms, setup 6ms, collect 426ms, tests 6ms, environment 162ms, prepare 29ms)
29
20
 
30
- [?25h[?25h
21
+ [?25h
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @asyra/core
2
2
 
3
+ ## 0.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Auto-patch all packages.
8
+ - Updated dependencies
9
+ - @asyra/factory@0.2.5
10
+ - @asyra/input-system@0.2.5
11
+ - @asyra/interaction-core@0.2.5
12
+ - @asyra/props-manager@0.2.5
13
+ - @asyra/reactive-events@0.2.5
14
+ - @asyra/render@0.2.5
15
+ - @asyra/scene-tree@0.2.5
16
+ - @asyra/selection@0.2.5
17
+ - @asyra/system-context@0.2.5
18
+ - @asyra/utils@0.2.5
19
+
20
+ ## 0.2.4
21
+
22
+ ### Patch Changes
23
+
24
+ - Auto-patch all packages.
25
+ - Updated dependencies
26
+ - @asyra/factory@0.2.4
27
+ - @asyra/input-system@0.2.4
28
+ - @asyra/interaction-core@0.2.4
29
+ - @asyra/props-manager@0.2.4
30
+ - @asyra/reactive-events@0.2.4
31
+ - @asyra/render@0.2.4
32
+ - @asyra/scene-tree@0.2.4
33
+ - @asyra/selection@0.2.4
34
+ - @asyra/system-context@0.2.4
35
+ - @asyra/utils@0.2.4
36
+
3
37
  ## 0.2.3
4
38
 
5
39
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"resize-element.d.ts","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/resize-element.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAG9D,eAAO,MAAM,yBAAyB,GACpC,QAAQ,WAAW,CAAC,QAAQ,CAAC,EAC7B,MAAM,mBAAmB,SAyB1B,CAAA"}
1
+ {"version":3,"file":"resize-element.d.ts","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/resize-element.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAE9D,eAAO,MAAM,yBAAyB,GACpC,QAAQ,WAAW,CAAC,QAAQ,CAAC,EAC7B,MAAM,mBAAmB,SAyB1B,CAAA"}
@@ -1,5 +1,4 @@
1
1
  import { subscribeToDecideToResizeElement } from '@asyra/reactive-events';
2
- // import { PrimaryToolType } from '@asyra/utils'
3
2
  export const initResizeElementHandlers = (render, apis) => {
4
3
  subscribeToDecideToResizeElement(({ payload, options }) => {
5
4
  const { dragStart, position } = payload;
@@ -1 +1 @@
1
- {"version":3,"file":"resize-element.js","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/resize-element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AAEzE,iDA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AA6B,EAC7B,IAAyB,EACzB,EAAE;IACF,gCAAgC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;QACxD,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAA;QAEvC,MAAM,MAAM,GAAG,MAAM,CAAC,sBAAsB,CAAC;YAC3C,OAAO,EAAE,SAAS,CAAC,CAAC;YACpB,OAAO,EAAE,SAAS,CAAC,CAAC;SACrB,CAAC,CAAA;QACF,MAAM,MAAM,GAAG,MAAM,CAAC,sBAAsB,CAAC;YAC3C,OAAO,EAAE,QAAQ,CAAC,CAAC;YACnB,OAAO,EAAE,QAAQ,CAAC,CAAC;SACpB,CAAC,CAAA;QAEF,MAAM,GAAG,GAAG;YACV,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;YAC/B,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;SAChC,CAAA;QACD,MAAM,SAAS,GAAG;YAChB,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;YACpC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;SACtC,CAAA;QAED,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;IAC7C,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asyra/core",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Core of Asyra.",
5
5
  "author": "Asa Tsai",
6
6
  "license": "MIT",
@@ -23,15 +23,15 @@
23
23
  "vitest": "^2.1.8"
24
24
  },
25
25
  "dependencies": {
26
- "@asyra/factory": "^0.2.3",
27
- "@asyra/input-system": "^0.2.3",
28
- "@asyra/interaction-core": "^0.2.3",
29
- "@asyra/props-manager": "^0.2.3",
30
- "@asyra/reactive-events": "^0.2.3",
31
- "@asyra/render": "^0.2.3",
32
- "@asyra/scene-tree": "^0.2.3",
33
- "@asyra/selection": "^0.2.3",
34
- "@asyra/system-context": "^0.2.3",
35
- "@asyra/utils": "^0.2.3"
26
+ "@asyra/factory": "^0.2.5",
27
+ "@asyra/input-system": "^0.2.5",
28
+ "@asyra/interaction-core": "^0.2.5",
29
+ "@asyra/props-manager": "^0.2.5",
30
+ "@asyra/reactive-events": "^0.2.5",
31
+ "@asyra/render": "^0.2.5",
32
+ "@asyra/scene-tree": "^0.2.5",
33
+ "@asyra/selection": "^0.2.5",
34
+ "@asyra/system-context": "^0.2.5",
35
+ "@asyra/utils": "^0.2.5"
36
36
  }
37
37
  }