@operato/scene-visualizer 9.2.2 → 10.0.0-beta.10
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/dist/carrier.d.ts +263 -0
- package/dist/carrier.js +272 -0
- package/dist/carrier.js.map +1 -0
- package/dist/desk.d.ts +238 -3
- package/dist/desk.js +1 -2
- package/dist/desk.js.map +1 -1
- package/dist/editors/index.d.ts +3 -0
- package/dist/editors/index.js +15 -0
- package/dist/editors/index.js.map +1 -1
- package/dist/editors/property-editor-gltf-fill-targets.d.ts +20 -0
- package/dist/editors/property-editor-gltf-fill-targets.js +313 -0
- package/dist/editors/property-editor-gltf-fill-targets.js.map +1 -0
- package/dist/editors/property-editor-gltf-info.d.ts +25 -3
- package/dist/editors/property-editor-gltf-info.js +333 -73
- package/dist/editors/property-editor-gltf-info.js.map +1 -1
- package/dist/editors/property-editor-gltf-play-targets.d.ts +25 -0
- package/dist/editors/property-editor-gltf-play-targets.js +388 -0
- package/dist/editors/property-editor-gltf-play-targets.js.map +1 -0
- package/dist/editors/property-editor-location-increase-pattern.js +87 -95
- package/dist/editors/property-editor-location-increase-pattern.js.map +1 -1
- package/dist/editors/property-editor-stocker-location.d.ts +13 -0
- package/dist/editors/property-editor-stocker-location.js +151 -0
- package/dist/editors/property-editor-stocker-location.js.map +1 -0
- package/dist/editors/property-editor-stocker-ports.d.ts +8 -0
- package/dist/editors/property-editor-stocker-ports.js +112 -0
- package/dist/editors/property-editor-stocker-ports.js.map +1 -0
- package/dist/effects/outline.js +1 -1
- package/dist/effects/outline.js.map +1 -1
- package/dist/index.d.ts +8 -17
- package/dist/index.js +10 -17
- package/dist/index.js.map +1 -1
- package/dist/rack-table-3d.d.ts +16 -0
- package/dist/rack-table-3d.js +95 -0
- package/dist/rack-table-3d.js.map +1 -0
- package/dist/rack-table-cell.d.ts +238 -3
- package/dist/rack-table-cell.js +44 -51
- package/dist/rack-table-cell.js.map +1 -1
- package/dist/rack-table-location.d.ts +37 -0
- package/dist/rack-table-location.js +227 -0
- package/dist/rack-table-location.js.map +1 -0
- package/dist/rack-table.d.ts +13 -29
- package/dist/rack-table.js +121 -380
- package/dist/rack-table.js.map +1 -1
- package/dist/rack.d.ts +16 -5
- package/dist/rack.js +106 -19
- package/dist/rack.js.map +1 -1
- package/dist/signal-tower.d.ts +492 -0
- package/dist/signal-tower.js +275 -0
- package/dist/signal-tower.js.map +1 -0
- package/dist/stock-hub.d.ts +25 -0
- package/dist/stock-hub.js +147 -0
- package/dist/stock-hub.js.map +1 -0
- package/dist/stock.d.ts +52 -8
- package/dist/stock.js +223 -120
- package/dist/stock.js.map +1 -1
- package/dist/stocker-3d.d.ts +23 -0
- package/dist/stocker-3d.js +352 -0
- package/dist/stocker-3d.js.map +1 -0
- package/dist/stocker-port-3d.d.ts +14 -0
- package/dist/stocker-port-3d.js +80 -0
- package/dist/stocker-port-3d.js.map +1 -0
- package/dist/stocker-port.d.ts +254 -0
- package/dist/stocker-port.js +123 -0
- package/dist/stocker-port.js.map +1 -0
- package/dist/stocker.d.ts +340 -0
- package/dist/stocker.js +370 -0
- package/dist/stocker.js.map +1 -0
- package/dist/tank.d.ts +492 -0
- package/dist/tank.js +312 -0
- package/dist/tank.js.map +1 -0
- package/dist/templates/carrier.d.ts +19 -0
- package/dist/templates/carrier.js +20 -0
- package/dist/templates/carrier.js.map +1 -0
- package/dist/templates/cube.js +1 -1
- package/dist/templates/cube.js.map +1 -1
- package/dist/templates/cylinder.js +3 -3
- package/dist/templates/cylinder.js.map +1 -1
- package/dist/templates/index.d.ts +38 -38
- package/dist/templates/index.js +15 -1
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/rack-table.d.ts +2 -0
- package/dist/templates/rack-table.js +4 -2
- package/dist/templates/rack-table.js.map +1 -1
- package/dist/templates/signal-tower.d.ts +21 -0
- package/dist/templates/signal-tower.js +22 -0
- package/dist/templates/signal-tower.js.map +1 -0
- package/dist/templates/sphere.d.ts +1 -0
- package/dist/templates/sphere.js +5 -4
- package/dist/templates/sphere.js.map +1 -1
- package/dist/templates/stock-hub.d.ts +14 -0
- package/dist/templates/stock-hub.js +15 -0
- package/dist/templates/stock-hub.js.map +1 -0
- package/dist/templates/stocker-port.d.ts +17 -0
- package/dist/templates/stocker-port.js +17 -0
- package/dist/templates/stocker-port.js.map +1 -0
- package/dist/templates/stocker.d.ts +27 -0
- package/dist/templates/stocker.js +38 -0
- package/dist/templates/stocker.js.map +1 -0
- package/dist/templates/tank.d.ts +21 -0
- package/dist/templates/tank.js +22 -0
- package/dist/templates/tank.js.map +1 -0
- package/dist/templates/vehicle.d.ts +19 -0
- package/dist/templates/vehicle.js +20 -0
- package/dist/templates/vehicle.js.map +1 -0
- package/dist/templates/visualizer.js +1 -1
- package/dist/templates/visualizer.js.map +1 -1
- package/dist/vehicle.d.ts +248 -0
- package/dist/vehicle.js +133 -0
- package/dist/vehicle.js.map +1 -0
- package/dist/visualizer.d.ts +5 -5
- package/dist/visualizer.js +72 -68
- package/dist/visualizer.js.map +1 -1
- package/icons/carrier.png +0 -0
- package/icons/signal-tower.png +0 -0
- package/icons/stock-hub.png +0 -0
- package/icons/tank.png +0 -0
- package/icons/vehicle.png +0 -0
- package/package.json +16 -18
- package/translations/en.json +6 -0
- package/translations/ja.json +5 -0
- package/translations/ko.json +6 -1
- package/translations/ms.json +5 -0
- package/translations/zh.json +5 -0
- package/dist/banner.d.ts +0 -15
- package/dist/banner.js +0 -76
- package/dist/banner.js.map +0 -1
- package/dist/camera.d.ts +0 -20
- package/dist/camera.js +0 -108
- package/dist/camera.js.map +0 -1
- package/dist/cube.d.ts +0 -13
- package/dist/cube.js +0 -38
- package/dist/cube.js.map +0 -1
- package/dist/cylinder.d.ts +0 -11
- package/dist/cylinder.js +0 -38
- package/dist/cylinder.js.map +0 -1
- package/dist/ellipse.d.ts +0 -5
- package/dist/ellipse.js +0 -22
- package/dist/ellipse.js.map +0 -1
- package/dist/gltf-object.d.ts +0 -20
- package/dist/gltf-object.js +0 -104
- package/dist/gltf-object.js.map +0 -1
- package/dist/html-overlay-element.d.ts +0 -1
- package/dist/html-overlay-element.js +0 -12
- package/dist/html-overlay-element.js.map +0 -1
- package/dist/light.d.ts +0 -15
- package/dist/light.js +0 -135
- package/dist/light.js.map +0 -1
- package/dist/polygon.d.ts +0 -17
- package/dist/polygon.js +0 -64
- package/dist/polygon.js.map +0 -1
- package/dist/rect.d.ts +0 -5
- package/dist/rect.js +0 -36
- package/dist/rect.js.map +0 -1
- package/dist/scene/component.d.ts +0 -1
- package/dist/scene/component.js +0 -29
- package/dist/scene/component.js.map +0 -1
- package/dist/sphere.d.ts +0 -11
- package/dist/sphere.js +0 -38
- package/dist/sphere.js.map +0 -1
- package/dist/sprite.d.ts +0 -9
- package/dist/sprite.js +0 -28
- package/dist/sprite.js.map +0 -1
- package/dist/text.d.ts +0 -1
- package/dist/text.js +0 -9
- package/dist/text.js.map +0 -1
- package/dist/three-container-editor.d.ts +0 -22
- package/dist/three-container-editor.js +0 -132
- package/dist/three-container-editor.js.map +0 -1
- package/dist/three-container.d.ts +0 -85
- package/dist/three-container.js +0 -565
- package/dist/three-container.js.map +0 -1
- package/dist/three-controls.d.ts +0 -11
- package/dist/three-controls.js +0 -616
- package/dist/three-controls.js.map +0 -1
- package/dist/three-layout.d.ts +0 -8
- package/dist/three-layout.js +0 -20
- package/dist/three-layout.js.map +0 -1
- package/dist/three-space.d.ts +0 -85
- package/dist/three-space.js +0 -570
- package/dist/three-space.js.map +0 -1
- package/dist/threed/common.d.ts +0 -22
- package/dist/threed/common.js +0 -19
- package/dist/threed/common.js.map +0 -1
- package/dist/threed/floor/floor.d.ts +0 -3
- package/dist/threed/floor/floor.js +0 -51
- package/dist/threed/floor/floor.js.map +0 -1
- package/dist/threed/html/elements.d.ts +0 -2
- package/dist/threed/html/elements.js +0 -21
- package/dist/threed/html/elements.js.map +0 -1
- package/dist/threed/index.d.ts +0 -15
- package/dist/threed/index.js +0 -16
- package/dist/threed/index.js.map +0 -1
- package/dist/threed/real-object-camera-meshed.d.ts +0 -12
- package/dist/threed/real-object-camera-meshed.js +0 -49
- package/dist/threed/real-object-camera-meshed.js.map +0 -1
- package/dist/threed/real-object-camera.d.ts +0 -9
- package/dist/threed/real-object-camera.js +0 -31
- package/dist/threed/real-object-camera.js.map +0 -1
- package/dist/threed/real-object-dom-element.d.ts +0 -9
- package/dist/threed/real-object-dom-element.js +0 -40
- package/dist/threed/real-object-dom-element.js.map +0 -1
- package/dist/threed/real-object-dummy.d.ts +0 -6
- package/dist/threed/real-object-dummy.js +0 -11
- package/dist/threed/real-object-dummy.js.map +0 -1
- package/dist/threed/real-object-extrude.d.ts +0 -21
- package/dist/threed/real-object-extrude.js +0 -173
- package/dist/threed/real-object-extrude.js.map +0 -1
- package/dist/threed/real-object-gltf.d.ts +0 -16
- package/dist/threed/real-object-gltf.js +0 -101
- package/dist/threed/real-object-gltf.js.map +0 -1
- package/dist/threed/real-object-group.d.ts +0 -5
- package/dist/threed/real-object-group.js +0 -11
- package/dist/threed/real-object-group.js.map +0 -1
- package/dist/threed/real-object-mesh.d.ts +0 -13
- package/dist/threed/real-object-mesh.js +0 -75
- package/dist/threed/real-object-mesh.js.map +0 -1
- package/dist/threed/real-object-plane.d.ts +0 -5
- package/dist/threed/real-object-plane.js +0 -22
- package/dist/threed/real-object-plane.js.map +0 -1
- package/dist/threed/real-object-scene.d.ts +0 -21
- package/dist/threed/real-object-scene.js +0 -67
- package/dist/threed/real-object-scene.js.map +0 -1
- package/dist/threed/real-object-sprite-2d.d.ts +0 -14
- package/dist/threed/real-object-sprite-2d.js +0 -45
- package/dist/threed/real-object-sprite-2d.js.map +0 -1
- package/dist/threed/real-object-sprite.d.ts +0 -11
- package/dist/threed/real-object-sprite.js +0 -50
- package/dist/threed/real-object-sprite.js.map +0 -1
- package/dist/threed/real-object-text.d.ts +0 -15
- package/dist/threed/real-object-text.js +0 -64
- package/dist/threed/real-object-text.js.map +0 -1
- package/dist/threed/real-object.d.ts +0 -64
- package/dist/threed/real-object.js +0 -260
- package/dist/threed/real-object.js.map +0 -1
- package/dist/threed/texture/canvas-texture.d.ts +0 -4
- package/dist/threed/texture/canvas-texture.js +0 -49
- package/dist/threed/texture/canvas-texture.js.map +0 -1
- package/dist/threed/texture/text-texture.d.ts +0 -8
- package/dist/threed/texture/text-texture.js +0 -79
- package/dist/threed/texture/text-texture.js.map +0 -1
- package/dist/threed/three-dimensional-container.d.ts +0 -8
- package/dist/threed/three-dimensional-container.js +0 -2
- package/dist/threed/three-dimensional-container.js.map +0 -1
- package/dist/threed/utils/bound-uv-generator.d.ts +0 -16
- package/dist/threed/utils/bound-uv-generator.js +0 -42
- package/dist/threed/utils/bound-uv-generator.js.map +0 -1
- package/dist/wall.d.ts +0 -13
- package/dist/wall.js +0 -45
- package/dist/wall.js.map +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
description: string;
|
|
4
|
+
group: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
model: {
|
|
7
|
+
type: string;
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
depth: number;
|
|
13
|
+
fillStyle: string;
|
|
14
|
+
strokeStyle: string;
|
|
15
|
+
lineWidth: number;
|
|
16
|
+
alpha: number;
|
|
17
|
+
value: number;
|
|
18
|
+
blink: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const icon = new URL('../../icons/signal-tower.png', import.meta.url).href;
|
|
2
|
+
export default {
|
|
3
|
+
type: 'signal-tower',
|
|
4
|
+
description: 'Signal Tower',
|
|
5
|
+
group: '3D' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,
|
|
6
|
+
icon,
|
|
7
|
+
model: {
|
|
8
|
+
type: 'signal-tower',
|
|
9
|
+
left: 100,
|
|
10
|
+
top: 100,
|
|
11
|
+
width: 10,
|
|
12
|
+
height: 120,
|
|
13
|
+
depth: 100,
|
|
14
|
+
fillStyle: '#333333',
|
|
15
|
+
strokeStyle: '#999',
|
|
16
|
+
lineWidth: 1,
|
|
17
|
+
alpha: 1,
|
|
18
|
+
value: 0,
|
|
19
|
+
blink: false
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=signal-tower.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signal-tower.js","sourceRoot":"","sources":["../../src/templates/signal-tower.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,8BAA8B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE1E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,cAAc;IAC3B,KAAK,EAAE,IAAI,CAAC,gGAAgG;IAC5G,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,GAAG;QACX,KAAK,EAAE,GAAG;QACV,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,KAAK;KACb;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/signal-tower.png', import.meta.url).href\n\nexport default {\n type: 'signal-tower',\n description: 'Signal Tower',\n group: '3D' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,\n icon,\n model: {\n type: 'signal-tower',\n left: 100,\n top: 100,\n width: 10,\n height: 120,\n depth: 100,\n fillStyle: '#333333',\n strokeStyle: '#999',\n lineWidth: 1,\n alpha: 1,\n value: 0,\n blink: false\n }\n}\n"]}
|
package/dist/templates/sphere.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sphere.js","sourceRoot":"","sources":["../../src/templates/sphere.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,wBAAwB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEpE,eAAe;IACb,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,WAAW;IACxB,KAAK,EAAE,IAAI,CAAC,gGAAgG;IAC5G,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,GAAG;QACP,EAAE,EAAE,GAAG;QACP,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"sphere.js","sourceRoot":"","sources":["../../src/templates/sphere.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,wBAAwB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEpE,eAAe;IACb,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,WAAW;IACxB,KAAK,EAAE,IAAI,CAAC,gGAAgG;IAC5G,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,GAAG;QACP,EAAE,EAAE,GAAG;QACP,EAAE,EAAE,EAAE;QACN,EAAE,EAAE,EAAE;QACN,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,CAAC;KACT;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/sphere.png', import.meta.url).href\n\nexport default {\n type: 'sphere',\n description: '3D sphere',\n group: '3D' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,\n icon,\n model: {\n type: 'sphere',\n cx: 100,\n cy: 100,\n rx: 50,\n ry: 50,\n rz: 50,\n zPos: 50,\n fillStyle: '#aaaaaa',\n strokeStyle: '#999',\n lineWidth: 1,\n alpha: 1\n }\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const icon = new URL('../../icons/stock-hub.png', import.meta.url).href;
|
|
2
|
+
export default {
|
|
3
|
+
type: 'stock-hub',
|
|
4
|
+
description: 'stock data hub',
|
|
5
|
+
group: 'warehouse' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,
|
|
6
|
+
icon,
|
|
7
|
+
model: {
|
|
8
|
+
type: 'stock-hub',
|
|
9
|
+
left: 100,
|
|
10
|
+
top: 100,
|
|
11
|
+
width: 60,
|
|
12
|
+
height: 60
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=stock-hub.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stock-hub.js","sourceRoot":"","sources":["../../src/templates/stock-hub.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,2BAA2B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEvE,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE,WAAW,CAAC,gGAAgG;IACnH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/stock-hub.png', import.meta.url).href\n\nexport default {\n type: 'stock-hub',\n description: 'stock data hub',\n group: 'warehouse' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,\n icon,\n model: {\n type: 'stock-hub',\n left: 100,\n top: 100,\n width: 60,\n height: 60\n }\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
description: string;
|
|
4
|
+
group: string;
|
|
5
|
+
icon: undefined;
|
|
6
|
+
model: {
|
|
7
|
+
type: string;
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
depth: number;
|
|
13
|
+
portType: string;
|
|
14
|
+
strokeStyle: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'stocker-port',
|
|
3
|
+
description: 'Stocker I/O Port',
|
|
4
|
+
group: '3D',
|
|
5
|
+
icon: undefined,
|
|
6
|
+
model: {
|
|
7
|
+
type: 'stocker-port',
|
|
8
|
+
left: 100,
|
|
9
|
+
top: 100,
|
|
10
|
+
width: 40,
|
|
11
|
+
height: 30,
|
|
12
|
+
depth: 20,
|
|
13
|
+
portType: 'in',
|
|
14
|
+
strokeStyle: '#666'
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=stocker-port.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stocker-port.js","sourceRoot":"","sources":["../../src/templates/stocker-port.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,kBAAkB;IAC/B,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,SAAS;IACf,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,MAAM;KACpB;CACF,CAAA","sourcesContent":["export default {\n type: 'stocker-port',\n description: 'Stocker I/O Port',\n group: '3D',\n icon: undefined,\n model: {\n type: 'stocker-port',\n left: 100,\n top: 100,\n width: 40,\n height: 30,\n depth: 20,\n portType: 'in',\n strokeStyle: '#666'\n }\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
description: string;
|
|
4
|
+
group: string;
|
|
5
|
+
icon: undefined;
|
|
6
|
+
model: {
|
|
7
|
+
type: string;
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
depth: number;
|
|
13
|
+
fillStyle: string;
|
|
14
|
+
strokeStyle: string;
|
|
15
|
+
lBays: number;
|
|
16
|
+
lLevels: number;
|
|
17
|
+
lDepth: number;
|
|
18
|
+
cranes: number;
|
|
19
|
+
rBays: number;
|
|
20
|
+
rLevels: number;
|
|
21
|
+
rDepth: number;
|
|
22
|
+
frontSide: string;
|
|
23
|
+
aisleRatio: number;
|
|
24
|
+
locationRule: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'stocker',
|
|
3
|
+
description: 'AS/RS Stocker',
|
|
4
|
+
group: '3D',
|
|
5
|
+
icon: undefined,
|
|
6
|
+
model: {
|
|
7
|
+
type: 'stocker',
|
|
8
|
+
left: 100,
|
|
9
|
+
top: 100,
|
|
10
|
+
width: 300,
|
|
11
|
+
height: 150,
|
|
12
|
+
depth: 80,
|
|
13
|
+
fillStyle: 'rgba(200,200,200,0.4)',
|
|
14
|
+
strokeStyle: '#999',
|
|
15
|
+
lBays: 10,
|
|
16
|
+
lLevels: 5,
|
|
17
|
+
lDepth: 1,
|
|
18
|
+
cranes: 1,
|
|
19
|
+
rBays: 10,
|
|
20
|
+
rLevels: 5,
|
|
21
|
+
rDepth: 1,
|
|
22
|
+
frontSide: 'auto',
|
|
23
|
+
aisleRatio: 0.15,
|
|
24
|
+
locationRule: JSON.stringify({
|
|
25
|
+
pattern: '{side}{bay}-{level}-{depth}',
|
|
26
|
+
sideLabels: { L: 'L', R: 'R' },
|
|
27
|
+
bayDir: 'ltr',
|
|
28
|
+
levelDir: 'btt',
|
|
29
|
+
bayStart: 1,
|
|
30
|
+
levelStart: 1,
|
|
31
|
+
depthStart: 1,
|
|
32
|
+
bayDigits: 2,
|
|
33
|
+
levelDigits: 2,
|
|
34
|
+
depthDigits: 0
|
|
35
|
+
})
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=stocker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stocker.js","sourceRoot":"","sources":["../../src/templates/stocker.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,SAAS;IACf,KAAK,EAAE;QACL,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,uBAAuB;QAClC,WAAW,EAAE,MAAM;QACnB,KAAK,EAAE,EAAE;QACT,OAAO,EAAE,CAAC;QACV,MAAM,EAAE,CAAC;QACT,MAAM,EAAE,CAAC;QACT,KAAK,EAAE,EAAE;QACT,OAAO,EAAE,CAAC;QACV,MAAM,EAAE,CAAC;QACT,SAAS,EAAE,MAAM;QACjB,UAAU,EAAE,IAAI;QAChB,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC;YAC3B,OAAO,EAAE,6BAA6B;YACtC,UAAU,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE;YAC9B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,CAAC;YACX,UAAU,EAAE,CAAC;YACb,UAAU,EAAE,CAAC;YACb,SAAS,EAAE,CAAC;YACZ,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,CAAC;SACf,CAAC;KACH;CACF,CAAA","sourcesContent":["export default {\n type: 'stocker',\n description: 'AS/RS Stocker',\n group: '3D',\n icon: undefined,\n model: {\n type: 'stocker',\n left: 100,\n top: 100,\n width: 300,\n height: 150,\n depth: 80,\n fillStyle: 'rgba(200,200,200,0.4)',\n strokeStyle: '#999',\n lBays: 10,\n lLevels: 5,\n lDepth: 1,\n cranes: 1,\n rBays: 10,\n rLevels: 5,\n rDepth: 1,\n frontSide: 'auto',\n aisleRatio: 0.15,\n locationRule: JSON.stringify({\n pattern: '{side}{bay}-{level}-{depth}',\n sideLabels: { L: 'L', R: 'R' },\n bayDir: 'ltr',\n levelDir: 'btt',\n bayStart: 1,\n levelStart: 1,\n depthStart: 1,\n bayDigits: 2,\n levelDigits: 2,\n depthDigits: 0\n })\n }\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
description: string;
|
|
4
|
+
group: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
model: {
|
|
7
|
+
type: string;
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
depth: number;
|
|
13
|
+
fillStyle: string;
|
|
14
|
+
strokeStyle: string;
|
|
15
|
+
lineWidth: number;
|
|
16
|
+
alpha: number;
|
|
17
|
+
value: number;
|
|
18
|
+
liquidColor: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const icon = new URL('../../icons/tank.png', import.meta.url).href;
|
|
2
|
+
export default {
|
|
3
|
+
type: 'tank',
|
|
4
|
+
description: 'Tank',
|
|
5
|
+
group: '3D' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,
|
|
6
|
+
icon,
|
|
7
|
+
model: {
|
|
8
|
+
type: 'tank',
|
|
9
|
+
left: 100,
|
|
10
|
+
top: 100,
|
|
11
|
+
width: 80,
|
|
12
|
+
height: 120,
|
|
13
|
+
depth: 100,
|
|
14
|
+
fillStyle: '#aaaaaa',
|
|
15
|
+
strokeStyle: '#999',
|
|
16
|
+
lineWidth: 1,
|
|
17
|
+
alpha: 1,
|
|
18
|
+
value: 50,
|
|
19
|
+
liquidColor: 'red'
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=tank.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tank.js","sourceRoot":"","sources":["../../src/templates/tank.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAElE,eAAe;IACb,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,MAAM;IACnB,KAAK,EAAE,IAAI,CAAC,gGAAgG;IAC5G,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,GAAG;QACX,KAAK,EAAE,GAAG;QACV,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,EAAE;QACT,WAAW,EAAE,KAAK;KACnB;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/tank.png', import.meta.url).href\n\nexport default {\n type: 'tank',\n description: 'Tank',\n group: '3D' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,\n icon,\n model: {\n type: 'tank',\n left: 100,\n top: 100,\n width: 80,\n height: 120,\n depth: 100,\n fillStyle: '#aaaaaa',\n strokeStyle: '#999',\n lineWidth: 1,\n alpha: 1,\n value: 50,\n liquidColor: 'red'\n }\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
description: string;
|
|
4
|
+
group: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
model: {
|
|
7
|
+
type: string;
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
depth: number;
|
|
13
|
+
fillStyle: string;
|
|
14
|
+
strokeStyle: string;
|
|
15
|
+
lineWidth: number;
|
|
16
|
+
alpha: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const icon = new URL('../../icons/vehicle.png', import.meta.url).href;
|
|
2
|
+
export default {
|
|
3
|
+
type: 'vehicle',
|
|
4
|
+
description: 'Vehicle (AGV/Cart)',
|
|
5
|
+
group: 'warehouse' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,
|
|
6
|
+
icon,
|
|
7
|
+
model: {
|
|
8
|
+
type: 'vehicle',
|
|
9
|
+
left: 100,
|
|
10
|
+
top: 100,
|
|
11
|
+
width: 120,
|
|
12
|
+
height: 80,
|
|
13
|
+
depth: 40,
|
|
14
|
+
fillStyle: '#888888',
|
|
15
|
+
strokeStyle: '#666',
|
|
16
|
+
lineWidth: 1,
|
|
17
|
+
alpha: 1
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=vehicle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vehicle.js","sourceRoot":"","sources":["../../src/templates/vehicle.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,yBAAyB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAErE,eAAe;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,oBAAoB;IACjC,KAAK,EAAE,WAAW,CAAC,gGAAgG;IACnH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,CAAC;KACT;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/vehicle.png', import.meta.url).href\n\nexport default {\n type: 'vehicle',\n description: 'Vehicle (AGV/Cart)',\n group: 'warehouse' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,\n icon,\n model: {\n type: 'vehicle',\n left: 100,\n top: 100,\n width: 120,\n height: 80,\n depth: 40,\n fillStyle: '#888888',\n strokeStyle: '#666',\n lineWidth: 1,\n alpha: 1\n }\n}\n"]}
|
|
@@ -2,7 +2,7 @@ const icon = new URL('../../icons/visualizer.png', import.meta.url).href;
|
|
|
2
2
|
export default {
|
|
3
3
|
type: 'visualizer',
|
|
4
4
|
description: '3D visualizer',
|
|
5
|
-
group: '
|
|
5
|
+
group: 'warehouse' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,
|
|
6
6
|
icon,
|
|
7
7
|
model: {
|
|
8
8
|
type: 'visualizer',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visualizer.js","sourceRoot":"","sources":["../../src/templates/visualizer.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"visualizer.js","sourceRoot":"","sources":["../../src/templates/visualizer.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,WAAW,CAAC,gGAAgG;IACnH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,SAAS,EAAE,UAAU;QACrB,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,KAAK;QACV,IAAI,EAAE,GAAG;QACT,MAAM,EAAE,KAAK;KACd;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/visualizer.png', import.meta.url).href\n\nexport default {\n type: 'visualizer',\n description: '3D visualizer',\n group: 'warehouse' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,\n icon,\n model: {\n type: 'visualizer',\n left: 100,\n top: 100,\n width: 800,\n height: 600,\n fillStyle: 'darkgray',\n fov: 60,\n near: 10,\n far: 10000,\n zoom: 100,\n threed: false\n }\n}\n"]}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { ComponentNature, Shape, RealObject } from '@hatiolab/things-scene';
|
|
2
|
+
export declare class Vehicle3D extends RealObject {
|
|
3
|
+
build(): void;
|
|
4
|
+
}
|
|
5
|
+
declare const Vehicle_base: (new (...args: any[]) => {
|
|
6
|
+
contains(x: number, y: number): boolean;
|
|
7
|
+
get path(): {
|
|
8
|
+
x: any;
|
|
9
|
+
y: any;
|
|
10
|
+
}[];
|
|
11
|
+
set path(path: {
|
|
12
|
+
x: any;
|
|
13
|
+
y: any;
|
|
14
|
+
}[]): any;
|
|
15
|
+
get anchors(): {
|
|
16
|
+
name: string;
|
|
17
|
+
position: {
|
|
18
|
+
x: any;
|
|
19
|
+
y: any;
|
|
20
|
+
};
|
|
21
|
+
}[];
|
|
22
|
+
get bounds(): any;
|
|
23
|
+
set bounds(bounds: any): any;
|
|
24
|
+
render(ctx: CanvasRenderingContext2D): void;
|
|
25
|
+
_app: any;
|
|
26
|
+
_model: any;
|
|
27
|
+
_state: any;
|
|
28
|
+
_delta: any;
|
|
29
|
+
_animation: any;
|
|
30
|
+
_animate: any;
|
|
31
|
+
_parent: any;
|
|
32
|
+
_disposed: any;
|
|
33
|
+
_textHidden: any;
|
|
34
|
+
_text_substitutor: any;
|
|
35
|
+
_value_substitutor: any;
|
|
36
|
+
_mappings: any;
|
|
37
|
+
_realObject: import("@hatiolab/things-scene").IRealObject | undefined;
|
|
38
|
+
_cachedState: any;
|
|
39
|
+
updatedAt: any;
|
|
40
|
+
fontSize: any;
|
|
41
|
+
__cache__: any;
|
|
42
|
+
created(): void;
|
|
43
|
+
added(parent: any): void;
|
|
44
|
+
removed(parent: any): void;
|
|
45
|
+
ready(): Promise<void>;
|
|
46
|
+
touch(): void;
|
|
47
|
+
clearCache(...attrs: any[]): void;
|
|
48
|
+
removeSelf(completely: any): void;
|
|
49
|
+
resetAnimation(): void;
|
|
50
|
+
dispose(): void;
|
|
51
|
+
get nature(): import("@hatiolab/things-scene").ComponentNature;
|
|
52
|
+
get disposed(): boolean;
|
|
53
|
+
isLayer(): boolean;
|
|
54
|
+
isGroup(): boolean;
|
|
55
|
+
isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component").Container;
|
|
56
|
+
isLine(): boolean;
|
|
57
|
+
isRoot(): boolean;
|
|
58
|
+
isRootModel(): boolean;
|
|
59
|
+
is3dish(): boolean;
|
|
60
|
+
get is3dMode(): boolean;
|
|
61
|
+
isIn3DSpace(): boolean;
|
|
62
|
+
isTemplate(): boolean;
|
|
63
|
+
isHTMLElement(): boolean;
|
|
64
|
+
isConnectable(): boolean;
|
|
65
|
+
isIdentifiable(): boolean;
|
|
66
|
+
isPositionable(): boolean;
|
|
67
|
+
replaceRefids(replaceMap: any): void;
|
|
68
|
+
get(property: any): any;
|
|
69
|
+
set(props: any, propval?: any): any;
|
|
70
|
+
getState(property: any): any;
|
|
71
|
+
setState(props: any, propval?: any): any;
|
|
72
|
+
get model(): any;
|
|
73
|
+
get state(): any;
|
|
74
|
+
get hierarchy(): any;
|
|
75
|
+
get volatile(): never[];
|
|
76
|
+
_applyProps(target: any, props: any, options: any): any;
|
|
77
|
+
move(offset: {
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
|
+
}, ...args: boolean[]): void;
|
|
81
|
+
symmetryX(x?: number): void;
|
|
82
|
+
symmetryY(y: number): void;
|
|
83
|
+
adjustResize(bounds: import("@hatiolab/things-scene").BOUNDS, origin_bounds: import("@hatiolab/things-scene").BOUNDS, diagonal: boolean): {
|
|
84
|
+
left: any;
|
|
85
|
+
top: any;
|
|
86
|
+
width: any;
|
|
87
|
+
height: any;
|
|
88
|
+
};
|
|
89
|
+
adjustRotation(rotation: number, step: boolean): number;
|
|
90
|
+
outline(progress: number): any;
|
|
91
|
+
get center(): import("@hatiolab/things-scene").POINT;
|
|
92
|
+
set center(p: import("@hatiolab/things-scene").POINT): any;
|
|
93
|
+
get location(): import("@hatiolab/things-scene").POINT;
|
|
94
|
+
set location(l: import("@hatiolab/things-scene").POINT): any;
|
|
95
|
+
get rotate(): import("@hatiolab/things-scene").POINT;
|
|
96
|
+
set rotate(r: import("@hatiolab/things-scene").POINT): any;
|
|
97
|
+
get dimension(): import("@hatiolab/things-scene").DIMENSION;
|
|
98
|
+
set dimension(d: import("@hatiolab/things-scene").DIMENSION): any;
|
|
99
|
+
get drawPath(): import("@hatiolab/things-scene").POINT[];
|
|
100
|
+
get rotatePoint(): import("@hatiolab/things-scene").POINT;
|
|
101
|
+
get mutable(): boolean;
|
|
102
|
+
get resizable(): boolean;
|
|
103
|
+
get rotatable(): boolean;
|
|
104
|
+
buildRealObject(): import("@hatiolab/things-scene").IRealObject | undefined;
|
|
105
|
+
get realObject(): import("@hatiolab/things-scene").IRealObject | undefined;
|
|
106
|
+
draw(context?: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
107
|
+
prerender(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
108
|
+
postrender(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
109
|
+
prepare(resolve: (component: import("@hatiolab/things-scene").Component) => void, reject: (reason: any) => void): void;
|
|
110
|
+
prepareIf(condition: boolean): void;
|
|
111
|
+
drawText(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
112
|
+
drawStroke(context: import("@hatiolab/things-scene").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
113
|
+
drawFill(context: import("@hatiolab/things-scene").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
114
|
+
get strokeStyle(): any;
|
|
115
|
+
set strokeStyle(v: any): any;
|
|
116
|
+
get fillStyle(): any;
|
|
117
|
+
set fillStyle(v: any): any;
|
|
118
|
+
get fontColor(): string;
|
|
119
|
+
set fontColor(v: string): any;
|
|
120
|
+
get rotation(): number;
|
|
121
|
+
set rotation(v: number): any;
|
|
122
|
+
get decorators(): string[];
|
|
123
|
+
get decotag(): string;
|
|
124
|
+
get hidden(): boolean;
|
|
125
|
+
set hidden(v: boolean): any;
|
|
126
|
+
get tag(): string;
|
|
127
|
+
set tag(v: string): any;
|
|
128
|
+
get appendum(): any;
|
|
129
|
+
set appendum(v: any): any;
|
|
130
|
+
defaultTextSubstitutor(): string;
|
|
131
|
+
textLines(context?: import("@hatiolab/things-scene").SceneRenderContext): any[][];
|
|
132
|
+
get font(): string;
|
|
133
|
+
get lineHeight(): number;
|
|
134
|
+
get textSubstitutor(): () => string;
|
|
135
|
+
get text(): string;
|
|
136
|
+
set text(v: string): any;
|
|
137
|
+
get textBounds(): import("@hatiolab/things-scene").BOUNDS;
|
|
138
|
+
get textRotation(): number;
|
|
139
|
+
get textHidden(): boolean;
|
|
140
|
+
set textHidden(v: boolean): any;
|
|
141
|
+
get hasTextProperty(): boolean;
|
|
142
|
+
animate(opts: import("@hatiolab/things-scene").AnimationConfig): any;
|
|
143
|
+
effect(context: import("@hatiolab/things-scene").SceneRenderContext, model: any): void;
|
|
144
|
+
serialize(...others: any[]): string;
|
|
145
|
+
trim(): void;
|
|
146
|
+
closeScene(data: any): void;
|
|
147
|
+
delta(attr?: string | object, value?: any): any;
|
|
148
|
+
invalidate(): void;
|
|
149
|
+
get value(): any;
|
|
150
|
+
set value(v: any): any;
|
|
151
|
+
get data(): any;
|
|
152
|
+
set data(v: any): any;
|
|
153
|
+
set tap(v: any): any;
|
|
154
|
+
get mappings(): any[];
|
|
155
|
+
get retention(): number;
|
|
156
|
+
get animation(): import("@hatiolab/things-scene").AnimationController | undefined;
|
|
157
|
+
get started(): boolean;
|
|
158
|
+
set started(v: boolean): any;
|
|
159
|
+
get controls(): import("@hatiolab/things-scene").Control[] | undefined;
|
|
160
|
+
findFirst(finder: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): import("@hatiolab/things-scene").Component | undefined;
|
|
161
|
+
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
162
|
+
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
163
|
+
findAnchor(name: string): any;
|
|
164
|
+
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
165
|
+
getContext(component?: unknown): any;
|
|
166
|
+
get root(): import("@hatiolab/things-scene").Component;
|
|
167
|
+
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
168
|
+
get parent(): import("@hatiolab/things-scene").Component;
|
|
169
|
+
set parent(v: import("@hatiolab/things-scene").Component): any;
|
|
170
|
+
get scalable(): boolean;
|
|
171
|
+
get stuck(): boolean;
|
|
172
|
+
get capturable(): boolean;
|
|
173
|
+
get position(): string;
|
|
174
|
+
get origin(): string;
|
|
175
|
+
get offset(): import("@hatiolab/things-scene").POINT;
|
|
176
|
+
get app(): import("@hatiolab/things-scene").ApplicationContext;
|
|
177
|
+
drawEffect(context: import("@hatiolab/things-scene").SceneRenderContext): void;
|
|
178
|
+
prepareFill(resolve: Function, reject: Function): void;
|
|
179
|
+
prepareFillIf(condition: boolean): void;
|
|
180
|
+
onchangeFill(after: Record<string, any>, before: Record<string, any>): void;
|
|
181
|
+
drawImage(context: import("@hatiolab/things-scene").SceneRenderContext, image: HTMLImageElement, left: number, top: number, width: number, height: number): void;
|
|
182
|
+
mutateBounds(logic: ((bounds: import("@hatiolab/things-scene").BOUNDS) => import("@hatiolab/things-scene").BOUNDS | void) | null, context?: any): void;
|
|
183
|
+
mutatePath(beforeLogic: ((path: import("@hatiolab/things-scene").POINT[]) => import("@hatiolab/things-scene").POINT[] | void) | null, afterLogic: ((path: import("@hatiolab/things-scene").POINT[]) => import("@hatiolab/things-scene").POINT[] | void) | null, context?: any): void;
|
|
184
|
+
access(accessor: string): any;
|
|
185
|
+
substitute(template: string, data: any): string | undefined;
|
|
186
|
+
onchangeMappings(after: Record<string, any>, before: Record<string, any>): void;
|
|
187
|
+
onchangeData(after: Record<string, any>, before: Record<string, any>): void;
|
|
188
|
+
buildMappings(): void;
|
|
189
|
+
executeMappings(force?: boolean): void;
|
|
190
|
+
disposeMappings(): void;
|
|
191
|
+
ondropfile(transfered: FileList, files: string[]): void;
|
|
192
|
+
transcoordS2P(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
193
|
+
transcoordP2S(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
194
|
+
transcoordS2T(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
195
|
+
transcoordT2P(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
196
|
+
transcoordT2S(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
197
|
+
transcoordS2TR(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
transcoordS2O(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
199
|
+
transcoordC2S(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
200
|
+
transcoordS2C(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
201
|
+
toParent(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
202
|
+
fromParent(x: number, y: number, rp?: import("@hatiolab/things-scene").POINT): import("@hatiolab/things-scene").POINT;
|
|
203
|
+
toScene(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
204
|
+
fromScene(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
205
|
+
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
206
|
+
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
207
|
+
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
208
|
+
on(name: string | object, callback: Function, context?: any): any;
|
|
209
|
+
off(name?: string | object, callback?: Function, context?: any): any;
|
|
210
|
+
once(name: string | object, callback: Function, context?: any): any;
|
|
211
|
+
trigger(name: string, ...args: any[]): any;
|
|
212
|
+
delegate_on(delegator: any): any;
|
|
213
|
+
delegate_off(delegator: any): any;
|
|
214
|
+
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
215
|
+
calculateBounds?(): void;
|
|
216
|
+
oncreate_element?(element: HTMLElement): void;
|
|
217
|
+
removeComponent(component: import("@hatiolab/things-scene").Component, ghost?: boolean): void;
|
|
218
|
+
addComponent(component: import("@hatiolab/things-scene").Component, ghost?: boolean): void;
|
|
219
|
+
insertComponentAt(component: import("@hatiolab/things-scene").Component, index: number, ghost?: boolean): void;
|
|
220
|
+
getOverlay(component: import("@hatiolab/things-scene").Component): HTMLElement | undefined;
|
|
221
|
+
findById(id: string): import("@hatiolab/things-scene").Component | undefined;
|
|
222
|
+
findByRefid(ref: string | number): import("@hatiolab/things-scene").Component | undefined;
|
|
223
|
+
findAllById(id: string): import("@hatiolab/things-scene").Component[];
|
|
224
|
+
resize(): void;
|
|
225
|
+
fit(type?: string): void;
|
|
226
|
+
get components(): import("@hatiolab/things-scene").Component[] | undefined;
|
|
227
|
+
get layout(): any;
|
|
228
|
+
get auxOverlay(): HTMLElement | undefined;
|
|
229
|
+
get isReady(): boolean;
|
|
230
|
+
get unitScale(): number;
|
|
231
|
+
get selected(): import("@hatiolab/things-scene").Component[];
|
|
232
|
+
set selected(_v: import("@hatiolab/things-scene").Component[]): any;
|
|
233
|
+
get focused(): import("@hatiolab/things-scene").Component | null;
|
|
234
|
+
set focused(_v: import("@hatiolab/things-scene").Component | null): any;
|
|
235
|
+
get hasSameParentForAllSelected(): boolean;
|
|
236
|
+
set hasSameParentForAllSelected(_v: boolean): any;
|
|
237
|
+
get fitMode(): string | undefined;
|
|
238
|
+
set fitMode(_v: string | undefined): any;
|
|
239
|
+
get element(): HTMLElement | null;
|
|
240
|
+
set element(_v: HTMLElement | null): any;
|
|
241
|
+
}) & typeof Shape;
|
|
242
|
+
export declare class Vehicle extends Vehicle_base {
|
|
243
|
+
is3dish(): boolean;
|
|
244
|
+
buildRealObject(): RealObject | undefined;
|
|
245
|
+
get nature(): ComponentNature;
|
|
246
|
+
render(ctx: CanvasRenderingContext2D): void;
|
|
247
|
+
}
|
|
248
|
+
export {};
|