@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.
- package/.turbo/turbo-test$colon$local.log +4 -13
- package/CHANGELOG.md +34 -0
- package/dist/subscribes/interaction-core/resize-element.d.ts.map +1 -1
- package/dist/subscribes/interaction-core/resize-element.js +0 -1
- package/dist/subscribes/interaction-core/resize-element.js.map +1 -1
- package/package.json +11 -11
|
@@ -3,16 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.9 [39m[90m/Users/asa/Desktop/workspace/asra/packages/core[39m
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
[32m✓[39m Core[2m (7)[22m
|
|
8
|
-
[32m✓[39m should load data correctly and call appropriate methods
|
|
9
|
-
[32m✓[39m should call sceneTreeInit if no sceneTree data is provided
|
|
10
|
-
[32m✓[39m should save data correctly and call appropriate methods
|
|
11
|
-
[32m✓[39m should delegate startTransaction to factory
|
|
12
|
-
[32m✓[39m should delegate switchPrimaryTool to systemContext
|
|
13
|
-
[32m✓[39m should delegate addRectangle to sceneTree
|
|
14
|
-
[32m✓[39m should call executeAction without error
|
|
15
|
-
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [32m✓[39m [2msrc/__tests__/[22mcore[2m.test.ts[22m[2m (7)[22m
|
|
6
|
+
[32m✓[39m [2msrc/__tests__/[22mcore[2m.test.ts[22m[2m (7)[22m
|
|
16
7
|
[32m✓[39m Core[2m (7)[22m
|
|
17
8
|
[32m✓[39m should load data correctly and call appropriate methods
|
|
18
9
|
[32m✓[39m should call sceneTreeInit if no sceneTree data is provided
|
|
@@ -24,7 +15,7 @@
|
|
|
24
15
|
|
|
25
16
|
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
26
17
|
[2m Tests [22m [1m[32m7 passed[39m[22m[90m (7)[39m
|
|
27
|
-
[2m Start at [22m
|
|
28
|
-
[2m Duration [22m
|
|
18
|
+
[2m Start at [22m 02:13:38
|
|
19
|
+
[2m Duration [22m 769ms[2m (transform 220ms, setup 6ms, collect 426ms, tests 6ms, environment 162ms, prepare 29ms)[22m
|
|
29
20
|
|
|
30
|
-
[?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;
|
|
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;
|
|
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;AAGzE,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,MAA6B,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
|
+
"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.
|
|
27
|
-
"@asyra/input-system": "^0.2.
|
|
28
|
-
"@asyra/interaction-core": "^0.2.
|
|
29
|
-
"@asyra/props-manager": "^0.2.
|
|
30
|
-
"@asyra/reactive-events": "^0.2.
|
|
31
|
-
"@asyra/render": "^0.2.
|
|
32
|
-
"@asyra/scene-tree": "^0.2.
|
|
33
|
-
"@asyra/selection": "^0.2.
|
|
34
|
-
"@asyra/system-context": "^0.2.
|
|
35
|
-
"@asyra/utils": "^0.2.
|
|
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
|
}
|