@hatiolab/things-scene 10.1.59 → 10.1.61

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 (36) hide show
  1. package/dist-types/figure/figure-capability.d.ts +4 -4
  2. package/dist-types/figure/figure-capability.d.ts.map +1 -1
  3. package/dist-types/figure/{v3/figure-v3-compile-cache.d.ts → figure-compile-cache.d.ts} +14 -14
  4. package/dist-types/figure/figure-compile-cache.d.ts.map +1 -0
  5. package/dist-types/figure/figure-geometry.d.ts +11 -0
  6. package/dist-types/figure/figure-geometry.d.ts.map +1 -0
  7. package/dist-types/figure/figure-instance.d.ts +7 -2
  8. package/dist-types/figure/figure-instance.d.ts.map +1 -1
  9. package/dist-types/figure/{v3/figure-v3-part-component.d.ts → figure-part-component.d.ts} +59 -59
  10. package/dist-types/figure/figure-part-component.d.ts.map +1 -0
  11. package/dist-types/figure/{v3/figure-v3-real-object.d.ts → figure-real-object.d.ts} +12 -8
  12. package/dist-types/figure/figure-real-object.d.ts.map +1 -0
  13. package/dist-types/figure/figure-registry.d.ts +13 -0
  14. package/dist-types/figure/figure-registry.d.ts.map +1 -0
  15. package/dist-types/figure/{v3/figure-v3-rig.d.ts → figure-rig.d.ts} +30 -14
  16. package/dist-types/figure/figure-rig.d.ts.map +1 -0
  17. package/dist-types/figure/figure-shape.d.ts +1 -1
  18. package/dist-types/figure/{v3/figure-v3-top-view.d.ts → figure-top-view.d.ts} +3 -3
  19. package/dist-types/figure/figure-top-view.d.ts.map +1 -0
  20. package/dist-types/figure/index.d.ts +4 -4
  21. package/dist-types/figure/index.d.ts.map +1 -1
  22. package/dist-types/threed/instanced-set.d.ts +1 -1
  23. package/package.json +3 -3
  24. package/things-scene-min.js +6 -6
  25. package/things-scene-min.js.map +1 -1
  26. package/things-scene.mjs +3 -3
  27. package/things-scene.mjs.map +1 -1
  28. package/dist-types/figure/v3/figure-v3-compile-cache.d.ts.map +0 -1
  29. package/dist-types/figure/v3/figure-v3-geometry.d.ts +0 -11
  30. package/dist-types/figure/v3/figure-v3-geometry.d.ts.map +0 -1
  31. package/dist-types/figure/v3/figure-v3-part-component.d.ts.map +0 -1
  32. package/dist-types/figure/v3/figure-v3-real-object.d.ts.map +0 -1
  33. package/dist-types/figure/v3/figure-v3-registry.d.ts +0 -13
  34. package/dist-types/figure/v3/figure-v3-registry.d.ts.map +0 -1
  35. package/dist-types/figure/v3/figure-v3-rig.d.ts.map +0 -1
  36. package/dist-types/figure/v3/figure-v3-top-view.d.ts.map +0 -1
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Authored figures in things-scene.
3
3
  *
4
- * Reading this module wires `registerFigureV3()` up: `figure-instance.ts` hands its component class to the registry
4
+ * Reading this module wires `registerFigure()` up: `figure-instance.ts` hands its component class to the registry
5
5
  * seam as it loads, so the instance is read first.
6
6
  */
7
7
  export * from './figure-instance.js';
8
8
  export * from './figure-capability.js';
9
9
  export * from './figure-palette.js';
10
10
  export * from './figure-component.js';
11
- export * from './v3/figure-v3-registry.js';
12
- export { acquireV3Geometry, releaseV3Geometry, buildV3Geometry } from './v3/figure-v3-geometry.js';
13
- export * from './v3/figure-v3-part-component.js';
11
+ export * from './figure-registry.js';
12
+ export { acquireFigureGeometry, releaseFigureGeometry, buildFigureGeometry } from './figure-geometry.js';
13
+ export * from './figure-part-component.js';
14
14
  export * from './figure-shape.js';
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/figure/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,cAAc,sBAAsB,CAAA;AAKpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AAErC,cAAc,4BAA4B,CAAA;AAK1C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAClG,cAAc,kCAAkC,CAAA;AAChD,cAAc,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/figure/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,cAAc,sBAAsB,CAAA;AAKpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AAErC,cAAc,sBAAsB,CAAA;AAKpC,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AACxG,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA"}
@@ -137,7 +137,7 @@ export declare class InstancedSet {
137
137
  */
138
138
  setCount(count: number): void;
139
139
  /**
140
- * 인스턴스 하나의 행렬을 그대로 쓴다 — 자리와 회전이 이미 행렬로 있는 곳(V3 Figure 의 줄 복제). 자리·회전·크기로
140
+ * 인스턴스 하나의 행렬을 그대로 쓴다 — 자리와 회전이 이미 행렬로 있는 곳(Figure 의 줄 복제). 자리·회전·크기로
141
141
  * 나눠 다시 짓지 않는다.
142
142
  */
143
143
  setMatrix(index: number, matrix: THREE.Matrix4): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "10.1.59",
3
+ "version": "10.1.61",
4
4
  "description": "A high-performance 2D/3D scene graph library for building interactive visual editors, combining HTML5 Canvas and Three.js to enable facility visualization, data-driven animations, and real-time monitoring dashboards",
5
5
  "main": "things-scene-min.js",
6
6
  "module": "things-scene.mjs",
@@ -45,7 +45,7 @@
45
45
  ],
46
46
  "scripts": {
47
47
  "test": "mocha --exit --require should --require ./test/setup.js --node-option import=tsx test/**/test-*.js",
48
- "test:figure-v3": "TSX_TSCONFIG_PATH=./test/tsconfig.figure-model-src.json mocha --exit --require should --require ./test/setup.js --node-option import=./test/resolve-figure-model.mjs test/v3/figure-v3-rig.check.js",
48
+ "test:figure": "TSX_TSCONFIG_PATH=./test/tsconfig.figure-model-src.json mocha --exit --require should --require ./test/setup.js --node-option import=./test/resolve-figure-model.mjs test/figure-rig.check.js",
49
49
  "test:case": "mocha --require should --require ./test/setup.js --node-option import=tsx",
50
50
  "clean": "rimraf dist-types things-scene*.js *.js.map",
51
51
  "build": "yarn clean && yarn build:types && yarn build:rollup:prod",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "homepage": "https://github.com/hatiolab/things-scene#readme",
93
93
  "dependencies": {
94
- "@hatiolab/figure-model": "^0.1.89",
94
+ "@hatiolab/figure-model": "^0.1.93",
95
95
  "@wizpanda/super-gif": "^0.0.6",
96
96
  "dompurify": "^3.3.1",
97
97
  "jsonata": "^1.8.6",