@operato/scene-storage 10.0.0-beta.47 → 10.0.0-beta.50
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/CHANGELOG.md +24 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/picking-station-3d.d.ts +20 -0
- package/dist/picking-station-3d.js +162 -0
- package/dist/picking-station-3d.js.map +1 -0
- package/dist/picking-station.d.ts +56 -0
- package/dist/picking-station.js +212 -0
- package/dist/picking-station.js.map +1 -0
- package/dist/rack-capability.d.ts +11 -0
- package/dist/rack-capability.js +25 -0
- package/dist/rack-capability.js.map +1 -0
- package/dist/rack-grid.js +3 -10
- package/dist/rack-grid.js.map +1 -1
- package/dist/spot.d.ts +19 -1
- package/dist/spot.js +63 -1
- package/dist/spot.js.map +1 -1
- package/dist/stockpile-3d.d.ts +55 -0
- package/dist/stockpile-3d.js +387 -0
- package/dist/stockpile-3d.js.map +1 -0
- package/dist/stockpile-grid-3d.d.ts +30 -0
- package/dist/stockpile-grid-3d.js +301 -0
- package/dist/stockpile-grid-3d.js.map +1 -0
- package/dist/stockpile-grid.d.ts +88 -0
- package/dist/stockpile-grid.js +429 -0
- package/dist/stockpile-grid.js.map +1 -0
- package/dist/stockpile.d.ts +133 -0
- package/dist/stockpile.js +439 -0
- package/dist/stockpile.js.map +1 -0
- package/dist/storage-rack.d.ts +12 -0
- package/dist/storage-rack.js +20 -10
- package/dist/storage-rack.js.map +1 -1
- package/dist/templates/index.d.ts +80 -0
- package/dist/templates/index.js +7 -1
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/picking-station.d.ts +20 -0
- package/dist/templates/picking-station.js +22 -0
- package/dist/templates/picking-station.js.map +1 -0
- package/dist/templates/stockpile-grid.d.ts +37 -0
- package/dist/templates/stockpile-grid.js +38 -0
- package/dist/templates/stockpile-grid.js.map +1 -0
- package/dist/templates/stockpile.d.ts +29 -0
- package/dist/templates/stockpile.js +31 -0
- package/dist/templates/stockpile.js.map +1 -0
- package/package.json +3 -3
- package/src/index.ts +14 -0
- package/src/picking-station-3d.ts +164 -0
- package/src/picking-station.ts +243 -0
- package/src/rack-capability.ts +26 -0
- package/src/rack-grid.ts +3 -8
- package/src/spot.ts +62 -0
- package/src/stockpile-3d.ts +412 -0
- package/src/stockpile-grid-3d.ts +327 -0
- package/src/stockpile-grid.ts +456 -0
- package/src/stockpile.ts +508 -0
- package/src/storage-rack.ts +21 -8
- package/src/templates/index.ts +7 -1
- package/src/templates/picking-station.ts +23 -0
- package/src/templates/stockpile-grid.ts +39 -0
- package/src/templates/stockpile.ts +32 -0
- package/test/test-rack-capability.ts +51 -0
- package/translations/en.json +18 -6
- package/translations/ja.json +18 -6
- package/translations/ko.json +17 -5
- package/translations/ms.json +18 -6
- package/translations/zh.json +17 -5
- package/tsconfig.tsbuildinfo +1 -1
package/dist/rack-grid.js
CHANGED
|
@@ -32,7 +32,7 @@ import { __decorate } from "tslib";
|
|
|
32
32
|
*/
|
|
33
33
|
import { Component, ContainerAbstract, Layout, Model, sceneComponent } from '@hatiolab/things-scene';
|
|
34
34
|
import * as THREE from 'three';
|
|
35
|
-
import { CarrierHolder, Placeable, SlotTarget } from '@operato/scene-base';
|
|
35
|
+
import { CarrierHolder, Placeable, SlotTarget, componentBoundingBox } from '@operato/scene-base';
|
|
36
36
|
import { RackGrid3D } from './rack-grid-3d.js';
|
|
37
37
|
// RackGridCell 의 refid 충돌 회피 — load 시 동적 생성되는 cell 의 refid 가 *부모
|
|
38
38
|
// RackGrid + 모델 안 다른 컴포넌트* refid 와 겹치지 않도록 *높은 시작값 + monotonic
|
|
@@ -163,15 +163,8 @@ let RackGrid = class RackGrid extends CarrierHolder(Placeable(ContainerAbstract)
|
|
|
163
163
|
return this.state?.isObstacle !== false;
|
|
164
164
|
}
|
|
165
165
|
obstacleBoundingBox() {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
return null;
|
|
169
|
-
return {
|
|
170
|
-
left: s.left, top: s.top,
|
|
171
|
-
width: s.width, height: s.height,
|
|
172
|
-
y: typeof s.zPos === 'number' ? s.zPos : 0,
|
|
173
|
-
zHeight: typeof s.depth === 'number' ? s.depth : 0
|
|
174
|
-
};
|
|
166
|
+
// scene-base 의 componentBoundingBox 위임 — rotation 적용된 AABB.
|
|
167
|
+
return componentBoundingBox(this);
|
|
175
168
|
}
|
|
176
169
|
static placement = 'floor';
|
|
177
170
|
static align = 'bottom';
|