@operato/scene-storage 10.0.0-beta.22
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 +25 -0
- package/README.md +59 -0
- package/dist/asrs-crane-3d.d.ts +7 -0
- package/dist/asrs-crane-3d.js +164 -0
- package/dist/asrs-crane-3d.js.map +1 -0
- package/dist/asrs-crane.d.ts +47 -0
- package/dist/asrs-crane.js +104 -0
- package/dist/asrs-crane.js.map +1 -0
- package/dist/asrs-rack-3d.d.ts +7 -0
- package/dist/asrs-rack-3d.js +129 -0
- package/dist/asrs-rack-3d.js.map +1 -0
- package/dist/asrs-rack.d.ts +45 -0
- package/dist/asrs-rack.js +99 -0
- package/dist/asrs-rack.js.map +1 -0
- package/dist/box-3d.d.ts +11 -0
- package/dist/box-3d.js +166 -0
- package/dist/box-3d.js.map +1 -0
- package/dist/box.d.ts +36 -0
- package/dist/box.js +73 -0
- package/dist/box.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/pallet-3d.d.ts +11 -0
- package/dist/pallet-3d.js +162 -0
- package/dist/pallet-3d.js.map +1 -0
- package/dist/pallet.d.ts +56 -0
- package/dist/pallet.js +99 -0
- package/dist/pallet.js.map +1 -0
- package/dist/parcel-3d.d.ts +7 -0
- package/dist/parcel-3d.js +82 -0
- package/dist/parcel-3d.js.map +1 -0
- package/dist/parcel.d.ts +30 -0
- package/dist/parcel.js +67 -0
- package/dist/parcel.js.map +1 -0
- package/dist/spot-3d.d.ts +30 -0
- package/dist/spot-3d.js +176 -0
- package/dist/spot-3d.js.map +1 -0
- package/dist/spot.d.ts +41 -0
- package/dist/spot.js +177 -0
- package/dist/spot.js.map +1 -0
- package/dist/templates/index.d.ts +92 -0
- package/dist/templates/index.js +115 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/templates/spot.d.ts +24 -0
- package/dist/templates/spot.js +26 -0
- package/dist/templates/spot.js.map +1 -0
- package/icons/asrs-crane.png +0 -0
- package/icons/asrs-rack.png +0 -0
- package/icons/box-plastic.png +0 -0
- package/icons/box-wood.png +0 -0
- package/icons/pallet-plastic.png +0 -0
- package/icons/pallet-wood.png +0 -0
- package/icons/parcel.png +0 -0
- package/package.json +44 -0
- package/src/asrs-crane-3d.ts +191 -0
- package/src/asrs-crane.ts +130 -0
- package/src/asrs-rack-3d.ts +146 -0
- package/src/asrs-rack.ts +109 -0
- package/src/box-3d.ts +189 -0
- package/src/box.ts +99 -0
- package/src/index.ts +17 -0
- package/src/pallet-3d.ts +181 -0
- package/src/pallet.ts +125 -0
- package/src/parcel-3d.ts +90 -0
- package/src/parcel.ts +76 -0
- package/src/spot-3d.ts +200 -0
- package/src/spot.ts +197 -0
- package/src/templates/index.ts +115 -0
- package/src/templates/spot.ts +26 -0
- package/things-scene.config.js +5 -0
- package/translations/en.json +12 -0
- package/translations/ja.json +12 -0
- package/translations/ko.json +12 -0
- package/translations/ms.json +12 -0
- package/translations/zh.json +12 -0
- package/tsconfig.json +23 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* things-scene catalog templates for the storage domain — pallet/box/parcel
|
|
3
|
+
* variants, ASRS rack/crane, and the virtual `spot` placement marker.
|
|
4
|
+
*/
|
|
5
|
+
import spot from './spot.js'
|
|
6
|
+
const palletWood = new URL('../../icons/pallet-wood.png', import.meta.url).href
|
|
7
|
+
const palletPlastic = new URL('../../icons/pallet-plastic.png', import.meta.url).href
|
|
8
|
+
const boxWood = new URL('../../icons/box-wood.png', import.meta.url).href
|
|
9
|
+
const boxPlastic = new URL('../../icons/box-plastic.png', import.meta.url).href
|
|
10
|
+
const parcel = new URL('../../icons/parcel.png', import.meta.url).href
|
|
11
|
+
const asrsRack = new URL('../../icons/asrs-rack.png', import.meta.url).href
|
|
12
|
+
const asrsCrane = new URL('../../icons/asrs-crane.png', import.meta.url).href
|
|
13
|
+
|
|
14
|
+
export default [
|
|
15
|
+
{
|
|
16
|
+
type: 'pallet',
|
|
17
|
+
description: 'wood pallet (EUR / EPAL)',
|
|
18
|
+
group: 'storage',
|
|
19
|
+
icon: palletWood,
|
|
20
|
+
model: {
|
|
21
|
+
type: 'pallet',
|
|
22
|
+
top: 100,
|
|
23
|
+
left: 100,
|
|
24
|
+
width: 120,
|
|
25
|
+
height: 80,
|
|
26
|
+
material: 'wood'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
type: 'pallet',
|
|
31
|
+
description: 'plastic pallet',
|
|
32
|
+
group: 'storage',
|
|
33
|
+
icon: palletPlastic,
|
|
34
|
+
model: {
|
|
35
|
+
type: 'pallet',
|
|
36
|
+
top: 100,
|
|
37
|
+
left: 250,
|
|
38
|
+
width: 120,
|
|
39
|
+
height: 80,
|
|
40
|
+
material: 'plastic'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: 'box',
|
|
45
|
+
description: 'wood crate',
|
|
46
|
+
group: 'storage',
|
|
47
|
+
icon: boxWood,
|
|
48
|
+
model: {
|
|
49
|
+
type: 'box',
|
|
50
|
+
top: 100,
|
|
51
|
+
left: 400,
|
|
52
|
+
width: 80,
|
|
53
|
+
height: 80,
|
|
54
|
+
material: 'wood'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
type: 'box',
|
|
59
|
+
description: 'plastic tote',
|
|
60
|
+
group: 'storage',
|
|
61
|
+
icon: boxPlastic,
|
|
62
|
+
model: {
|
|
63
|
+
type: 'box',
|
|
64
|
+
top: 100,
|
|
65
|
+
left: 520,
|
|
66
|
+
width: 80,
|
|
67
|
+
height: 80,
|
|
68
|
+
material: 'plastic'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: 'parcel',
|
|
73
|
+
description: 'cardboard parcel',
|
|
74
|
+
group: 'storage',
|
|
75
|
+
icon: parcel,
|
|
76
|
+
model: {
|
|
77
|
+
type: 'parcel',
|
|
78
|
+
top: 100,
|
|
79
|
+
left: 640,
|
|
80
|
+
width: 60,
|
|
81
|
+
height: 90
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: 'asrs-rack',
|
|
86
|
+
description: 'AS/RS storage rack (multi-level)',
|
|
87
|
+
group: 'storage',
|
|
88
|
+
icon: asrsRack,
|
|
89
|
+
model: {
|
|
90
|
+
type: 'asrs-rack',
|
|
91
|
+
top: 300,
|
|
92
|
+
left: 100,
|
|
93
|
+
width: 800,
|
|
94
|
+
height: 200,
|
|
95
|
+
levels: 4,
|
|
96
|
+
bays: 5
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: 'asrs-crane',
|
|
101
|
+
description: 'AS/RS stacker crane',
|
|
102
|
+
group: 'storage',
|
|
103
|
+
icon: asrsCrane,
|
|
104
|
+
model: {
|
|
105
|
+
type: 'asrs-crane',
|
|
106
|
+
top: 550,
|
|
107
|
+
left: 400,
|
|
108
|
+
width: 100,
|
|
109
|
+
height: 200,
|
|
110
|
+
status: 'idle',
|
|
111
|
+
carriageHeight: 100
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
spot
|
|
115
|
+
]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Reuse parcel.png as a placeholder icon until a dedicated spot icon is drawn.
|
|
2
|
+
const icon = new URL('../../icons/parcel.png', import.meta.url).href
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
type: 'spot',
|
|
6
|
+
description: 'virtual pickup / drop zone — translucent floor pad that accepts carrier components as children',
|
|
7
|
+
group: 'storage' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|manufacturing|form|etc */,
|
|
8
|
+
icon,
|
|
9
|
+
model: {
|
|
10
|
+
type: 'spot',
|
|
11
|
+
top: 200,
|
|
12
|
+
left: 400,
|
|
13
|
+
width: 80,
|
|
14
|
+
height: 80,
|
|
15
|
+
text: 'SPOT_A',
|
|
16
|
+
fillStyle: '#3a8fbd',
|
|
17
|
+
strokeStyle: '#3a8fbd',
|
|
18
|
+
lineWidth: 1,
|
|
19
|
+
lineDash: 'dash',
|
|
20
|
+
alpha: 1,
|
|
21
|
+
fontColor: '#3a8fbd',
|
|
22
|
+
fontSize: 16,
|
|
23
|
+
fontFamily: 'sans-serif',
|
|
24
|
+
bold: true
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component.pallet": "pallet",
|
|
3
|
+
"component.box": "box",
|
|
4
|
+
"component.parcel": "parcel",
|
|
5
|
+
"component.asrs-rack": "ASRS rack",
|
|
6
|
+
"component.asrs-crane": "ASRS crane",
|
|
7
|
+
"label.tracking-id": "Tracking ID",
|
|
8
|
+
"label.levels": "Levels",
|
|
9
|
+
"label.bays": "Bays",
|
|
10
|
+
"label.carriage-height": "Carriage Height",
|
|
11
|
+
"label.material": "Material"
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component.pallet": "パレット",
|
|
3
|
+
"component.box": "ボックス",
|
|
4
|
+
"component.parcel": "荷物",
|
|
5
|
+
"component.asrs-rack": "自動倉庫ラック",
|
|
6
|
+
"component.asrs-crane": "自動倉庫クレーン",
|
|
7
|
+
"label.tracking-id": "追跡ID",
|
|
8
|
+
"label.levels": "段数",
|
|
9
|
+
"label.bays": "ベイ数",
|
|
10
|
+
"label.carriage-height": "キャリッジ高さ",
|
|
11
|
+
"label.material": "材質"
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component.pallet": "팔레트",
|
|
3
|
+
"component.box": "박스",
|
|
4
|
+
"component.parcel": "소포",
|
|
5
|
+
"component.asrs-rack": "자동창고 랙",
|
|
6
|
+
"component.asrs-crane": "자동창고 크레인",
|
|
7
|
+
"label.tracking-id": "추적 ID",
|
|
8
|
+
"label.levels": "단수",
|
|
9
|
+
"label.bays": "베이 수",
|
|
10
|
+
"label.carriage-height": "캐리지 높이",
|
|
11
|
+
"label.material": "재질"
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component.pallet": "palet",
|
|
3
|
+
"component.box": "kotak",
|
|
4
|
+
"component.parcel": "bungkusan",
|
|
5
|
+
"component.asrs-rack": "rak ASRS",
|
|
6
|
+
"component.asrs-crane": "kren ASRS",
|
|
7
|
+
"label.tracking-id": "ID Penjejakan",
|
|
8
|
+
"label.levels": "Tingkat",
|
|
9
|
+
"label.bays": "Bay",
|
|
10
|
+
"label.carriage-height": "Tinggi Pembawa",
|
|
11
|
+
"label.material": "Bahan"
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component.pallet": "托盘",
|
|
3
|
+
"component.box": "箱子",
|
|
4
|
+
"component.parcel": "包裹",
|
|
5
|
+
"component.asrs-rack": "自动仓储货架",
|
|
6
|
+
"component.asrs-crane": "自动仓储起重机",
|
|
7
|
+
"label.tracking-id": "追踪ID",
|
|
8
|
+
"label.levels": "层数",
|
|
9
|
+
"label.bays": "隔位数",
|
|
10
|
+
"label.carriage-height": "载具高度",
|
|
11
|
+
"label.material": "材质"
|
|
12
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2022",
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"moduleResolution": "bundler",
|
|
6
|
+
"noEmitOnError": true,
|
|
7
|
+
"lib": ["es2022", "dom"],
|
|
8
|
+
"strict": true,
|
|
9
|
+
"esModuleInterop": false,
|
|
10
|
+
"allowJs": true,
|
|
11
|
+
"allowSyntheticDefaultImports": true,
|
|
12
|
+
"experimentalDecorators": true,
|
|
13
|
+
"importHelpers": true,
|
|
14
|
+
"outDir": "dist",
|
|
15
|
+
"sourceMap": true,
|
|
16
|
+
"inlineSources": true,
|
|
17
|
+
"rootDir": "src",
|
|
18
|
+
"declaration": true,
|
|
19
|
+
"incremental": true,
|
|
20
|
+
"skipLibCheck": true
|
|
21
|
+
},
|
|
22
|
+
"include": ["**/*.ts", "*.d.ts"]
|
|
23
|
+
}
|