@hatiolab/things-scene 10.0.0-beta.125 → 10.0.0-beta.127
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-types/components/container-abstract.d.ts +2 -6
- package/dist-types/components/container-abstract.d.ts.map +1 -1
- package/dist-types/components/data/data.d.ts.map +1 -1
- package/dist-types/components/line.d.ts.map +1 -1
- package/dist-types/components/mixins/holdable.d.ts +12 -0
- package/dist-types/components/mixins/holdable.d.ts.map +1 -0
- package/dist-types/components/mixins/move-handle.d.ts +9 -16
- package/dist-types/components/mixins/move-handle.d.ts.map +1 -1
- package/dist-types/components/polyline.d.ts +6 -0
- package/dist-types/components/polyline.d.ts.map +1 -1
- package/dist-types/components/root-container.d.ts +0 -11
- package/dist-types/components/root-container.d.ts.map +1 -1
- package/dist-types/diagnostics/contract-inspector.d.ts +1 -1
- package/dist-types/diagnostics/contract-inspector.d.ts.map +1 -1
- package/dist-types/diagnostics/data-lag-tracker.d.ts +31 -25
- package/dist-types/diagnostics/data-lag-tracker.d.ts.map +1 -1
- package/dist-types/diagnostics/inspector.d.ts +15 -15
- package/dist-types/diagnostics/inspector.d.ts.map +1 -1
- package/dist-types/diagnostics/loading-overlay.d.ts.map +1 -1
- package/dist-types/flow/auto-route.d.ts +36 -0
- package/dist-types/flow/auto-route.d.ts.map +1 -0
- package/dist-types/flow/face-anchors.d.ts +26 -0
- package/dist-types/flow/face-anchors.d.ts.map +1 -0
- package/dist-types/flow/flow-engine.d.ts +122 -0
- package/dist-types/flow/flow-engine.d.ts.map +1 -0
- package/dist-types/flow/flow-graph-coordinator.d.ts +80 -0
- package/dist-types/flow/flow-graph-coordinator.d.ts.map +1 -0
- package/dist-types/flow/flow-graph-validator.d.ts +33 -0
- package/dist-types/flow/flow-graph-validator.d.ts.map +1 -0
- package/dist-types/flow/flow-graph.d.ts +76 -0
- package/dist-types/flow/flow-graph.d.ts.map +1 -0
- package/dist-types/flow/flow-introspection.d.ts +36 -0
- package/dist-types/flow/flow-introspection.d.ts.map +1 -0
- package/dist-types/flow/flow-node.d.ts +69 -0
- package/dist-types/flow/flow-node.d.ts.map +1 -0
- package/dist-types/flow/flow-orientation-coordinator.d.ts +13 -0
- package/dist-types/flow/flow-orientation-coordinator.d.ts.map +1 -0
- package/dist-types/flow/flow-orientation.d.ts +42 -0
- package/dist-types/flow/flow-orientation.d.ts.map +1 -0
- package/dist-types/flow/flow-trace.d.ts +5 -0
- package/dist-types/flow/flow-trace.d.ts.map +1 -0
- package/dist-types/flow/index.d.ts +16 -0
- package/dist-types/flow/index.d.ts.map +1 -0
- package/dist-types/flow/segment-topology.d.ts +225 -0
- package/dist-types/flow/segment-topology.d.ts.map +1 -0
- package/dist-types/flow/station-host-inference.d.ts +23 -0
- package/dist-types/flow/station-host-inference.d.ts.map +1 -0
- package/dist-types/items/arrangement/centering-queue-strategy.d.ts +10 -0
- package/dist-types/items/arrangement/centering-queue-strategy.d.ts.map +1 -0
- package/dist-types/items/arrangement/gravity-strategy.d.ts +9 -0
- package/dist-types/items/arrangement/gravity-strategy.d.ts.map +1 -0
- package/dist-types/items/arrangement/grid-strategy.d.ts +11 -0
- package/dist-types/items/arrangement/grid-strategy.d.ts.map +1 -0
- package/dist-types/items/arrangement/index.d.ts +7 -0
- package/dist-types/items/arrangement/index.d.ts.map +1 -0
- package/dist-types/items/arrangement/queue-strategy.d.ts +9 -0
- package/dist-types/items/arrangement/queue-strategy.d.ts.map +1 -0
- package/dist-types/items/arrangement/shelf-strategy.d.ts +11 -0
- package/dist-types/items/arrangement/shelf-strategy.d.ts.map +1 -0
- package/dist-types/items/arrangement/stack-strategy.d.ts +9 -0
- package/dist-types/items/arrangement/stack-strategy.d.ts.map +1 -0
- package/dist-types/items/capacity-mixin.d.ts +298 -0
- package/dist-types/items/capacity-mixin.d.ts.map +1 -0
- package/dist-types/items/capacity.d.ts +53 -0
- package/dist-types/items/capacity.d.ts.map +1 -0
- package/dist-types/items/index.d.ts +5 -0
- package/dist-types/items/index.d.ts.map +1 -0
- package/dist-types/items/items-data-binding.d.ts +79 -0
- package/dist-types/items/items-data-binding.d.ts.map +1 -0
- package/dist-types/items/slot-record.d.ts +23 -0
- package/dist-types/items/slot-record.d.ts.map +1 -0
- package/dist-types/layer/modeler/index.d.ts +1 -0
- package/dist-types/layer/modeler/index.d.ts.map +1 -1
- package/dist-types/layer/modeler/move-handle-icon.d.ts +2 -0
- package/dist-types/layer/modeler/move-handle-icon.d.ts.map +1 -0
- package/dist-types/layer/modeler/move-handle-modeler.d.ts +18 -0
- package/dist-types/layer/modeler/move-handle-modeler.d.ts.map +1 -0
- package/dist-types/layer/modeler/path-handler.d.ts.map +1 -1
- package/dist-types/layer/modeling-layer.d.ts +10 -0
- package/dist-types/layer/modeling-layer.d.ts.map +1 -1
- package/dist-types/layer/selection-layer.d.ts +1 -1
- package/dist-types/layer/selection-layer.d.ts.map +1 -1
- package/dist-types/things-scene/application-context.d.ts +6 -2
- package/dist-types/things-scene/application-context.d.ts.map +1 -1
- package/dist-types/things-scene/index.d.ts +5 -2
- package/dist-types/things-scene/index.d.ts.map +1 -1
- package/dist-types/threed/managers/vertex-gizmo-manager.d.ts.map +1 -1
- package/dist-types/threed/three-capability.d.ts +2 -2
- package/dist-types/threed/three-capability.d.ts.map +1 -1
- package/dist-types/transfer/container-capacity-helpers.d.ts +18 -0
- package/dist-types/transfer/container-capacity-helpers.d.ts.map +1 -0
- package/dist-types/transfer/container-capacity.d.ts +5 -374
- package/dist-types/transfer/container-capacity.d.ts.map +1 -1
- package/dist-types/transfer/index.d.ts +3 -0
- package/dist-types/transfer/index.d.ts.map +1 -1
- package/dist-types/transfer/transferable-mixin.d.ts +259 -0
- package/dist-types/transfer/transferable-mixin.d.ts.map +1 -0
- package/package.json +1 -1
- package/things-scene-min.js +7 -7
- package/things-scene-min.js.map +1 -1
- package/things-scene-transfer.mjs +3 -2
- package/things-scene.mjs +3 -3
- package/things-scene.mjs.map +1 -1
|
@@ -1,380 +1,11 @@
|
|
|
1
|
-
import type { SlotDef, TransferOptions, Transferable, CarrierAttachPoint, ArrangementStrategy, CarrierDims, PlacementContext, SeatingPose } from './types.js';
|
|
2
1
|
import type Component from '../components/component.js';
|
|
3
|
-
|
|
4
|
-
export
|
|
2
|
+
export { TRANSFER_SLOT_KEY } from './container-capacity-helpers.js';
|
|
3
|
+
export { Capacity } from '../items/capacity-mixin.js';
|
|
4
|
+
export { Transferable } from './transferable-mixin.js';
|
|
5
5
|
type Constructor<T = object> = new (...args: any[]) => T;
|
|
6
6
|
/**
|
|
7
7
|
* Mixin that adds Transferable capacity to any ContainerAbstract subclass.
|
|
8
|
-
*
|
|
9
|
-
* The mixed-in class provides concrete implementations of all Transferable methods.
|
|
10
|
-
* Subclasses must implement `get slots(): SlotDef[]`; everything else has sensible defaults.
|
|
8
|
+
* = Transferable(Capacity(Base)). subclass 는 `get slots()` 만 override.
|
|
11
9
|
*/
|
|
12
|
-
export declare function ContainerCapacity<TBase extends Constructor<Component>>(Base: TBase):
|
|
13
|
-
new (...args: any[]): {
|
|
14
|
-
/** Declare the slot topology of this container. */
|
|
15
|
-
get slots(): SlotDef[];
|
|
16
|
-
/**
|
|
17
|
-
* ArrangementStrategy used when `slots` is empty or slotDef has no arrangement.
|
|
18
|
-
* Override in subclass to supply richer strategies (Stack, Queue, Grid, etc.).
|
|
19
|
-
*/
|
|
20
|
-
get arrangementStrategy(): ArrangementStrategy;
|
|
21
|
-
canReceive(component: any): boolean;
|
|
22
|
-
findSlot(component: any): SlotDef | null;
|
|
23
|
-
receive(component: any, options?: TransferOptions): Promise<void>;
|
|
24
|
-
dispatch(component: any, target: Transferable, options?: TransferOptions): Promise<void>;
|
|
25
|
-
route(_component: any): Transferable | null | Promise<Transferable | null>;
|
|
26
|
-
/**
|
|
27
|
-
* WCS resolves a pending route by providing the confirmed target.
|
|
28
|
-
* Subclasses that implement PendingPolicy must override this to
|
|
29
|
-
* unblock the waiting promise in route().
|
|
30
|
-
*/
|
|
31
|
-
resolveRoute(_component: any, _target: Transferable): void;
|
|
32
|
-
/**
|
|
33
|
-
* WCS rejects or times out a pending route.
|
|
34
|
-
* Fires 'transfer-rejected'; subclasses may trigger fallback routing.
|
|
35
|
-
*/
|
|
36
|
-
rejectRoute(component: any, reason?: string): void;
|
|
37
|
-
/**
|
|
38
|
-
* carrier 의 받아들일 회전 (parent-local quaternion). 기본 identity.
|
|
39
|
-
* 회전이 필요한 holder (induct = belt 진행 방향, rack cell = grid 정렬 등)
|
|
40
|
-
* 는 이 메소드만 override 하면 receive() 가 atomic 하게 적용한다.
|
|
41
|
-
*
|
|
42
|
-
* 반환값은 plain object {x,y,z,w} — THREE.Quaternion 도 그 인터페이스 만족.
|
|
43
|
-
*/
|
|
44
|
-
acceptanceRotation(_carrier: any, _slot?: SlotDef): {
|
|
45
|
-
x: number;
|
|
46
|
-
y: number;
|
|
47
|
-
z: number;
|
|
48
|
-
w: number;
|
|
49
|
-
} | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* canReceive 의 풍부한 버전. ok 면 slot 동봉, 아니면 reason 명시.
|
|
52
|
-
* drag-over UI 가 사유 표시하기 위함. canReceive 와 동일 결정 사용.
|
|
53
|
-
*/
|
|
54
|
-
canAccept(component: any): {
|
|
55
|
-
ok: true;
|
|
56
|
-
slot: SlotDef;
|
|
57
|
-
} | {
|
|
58
|
-
ok: false;
|
|
59
|
-
reason: string;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* receive 의 alias — Phase G2 contract 의 명시적 이름. 기존 receive 호출자도
|
|
63
|
-
* 그대로 작동.
|
|
64
|
-
*/
|
|
65
|
-
accept(component: any, options?: TransferOptions): Promise<void>;
|
|
66
|
-
/**
|
|
67
|
-
* Phase G5 — physical mover (robot-arm, AGV docking 등) 가 query 하는
|
|
68
|
-
* delivery world rotation. carrier 가 holder 에 도달했을 때 가져야 할
|
|
69
|
-
* world quaternion.
|
|
70
|
-
*
|
|
71
|
-
* delivery.world = holder.world.quat × acceptanceRotation_local
|
|
72
|
-
*
|
|
73
|
-
* source 가 이걸 미리 알면 TCP yaw 를 점진적으로 맞춰 carrier 가
|
|
74
|
-
* acceptance pose 에 도달한 채로 release → handoff 시 zero-delta → 시각적
|
|
75
|
-
* 점프 없음.
|
|
76
|
-
*
|
|
77
|
-
* acceptanceRotation 미정의 OR _realObject 미빌드 시 undefined.
|
|
78
|
-
*/
|
|
79
|
-
deliveryWorldRotation(carrier: any): {
|
|
80
|
-
x: number;
|
|
81
|
-
y: number;
|
|
82
|
-
z: number;
|
|
83
|
-
w: number;
|
|
84
|
-
} | undefined;
|
|
85
|
-
/**
|
|
86
|
-
* Phase G9 — physical mover 가 query 하는 delivery world position.
|
|
87
|
-
*
|
|
88
|
-
* carrier 가 holder 에 도달했을 때 가져야 할 world XYZ. position 만 — rotation
|
|
89
|
-
* 은 deliveryWorldRotation 이 별도로 제공. 두 결과를 합치면 source 의 trajectory
|
|
90
|
-
* endpoint 가 됨.
|
|
91
|
-
*
|
|
92
|
-
* 기본 구현 — receivingSurfaceY 가 있으면 belt 표면 위, 없으면 slot.localPosition,
|
|
93
|
-
* 둘 다 없으면 holder object3d 원점.
|
|
94
|
-
*
|
|
95
|
-
* surface_world_y = holder.localToWorld((0, receivingSurfaceY - geometricOffsetY, 0)).y
|
|
96
|
-
* surface_world_xz = holder.world.xz
|
|
97
|
-
*
|
|
98
|
-
* receivingSurfaceY 의 정의가 cz-formula-tuned (= beltTopY + parent.geometricOffsetY)
|
|
99
|
-
* 라 그 차분 (- parent.geometricOffsetY) 으로 raw local 표면 Y 를 뽑아낸다.
|
|
100
|
-
*
|
|
101
|
-
* 호출 전제: holder 의 _realObject 가 빌드돼 있고 obj3d.matrixWorld 가 최신.
|
|
102
|
-
* 빌드 안 된 상태면 undefined → 호출자가 fallback (예: 2D bounds 기반).
|
|
103
|
-
*/
|
|
104
|
-
deliveryWorldPosition(_carrier: any): {
|
|
105
|
-
x: number;
|
|
106
|
-
y: number;
|
|
107
|
-
z: number;
|
|
108
|
-
} | undefined;
|
|
109
|
-
attachPointFor(component: any): CarrierAttachPoint | null;
|
|
110
|
-
/**
|
|
111
|
-
* Phase PS — PlacementSurface contract 의 default 구현.
|
|
112
|
-
*
|
|
113
|
-
* 기존 합성 경로 (receive 의 ArrangementStrategy + receivingSurfaceY +
|
|
114
|
-
* slot.localPosition.z + acceptanceRotation → setState → cz 공식) 와
|
|
115
|
-
* *수치 동일* 한 안착 pose 를 holder object3d local frame 으로 반환 (I5).
|
|
116
|
-
* 동등성은 test/unit/transfer/test-placement-surface.js 가 증명.
|
|
117
|
-
*
|
|
118
|
-
* Invariants: I1 접촉 / I2 frame-explicit / I3 순수성 / I4 per-carrier 치수
|
|
119
|
-
* — operato-scene v10/plans/phase-placement-surface.md 참조.
|
|
120
|
-
*
|
|
121
|
-
* `carrier` 는 component (state 보유) 또는 plain 치수 객체. component 를
|
|
122
|
-
* 주면 dimension-aware ArrangementStrategy (CenteringSlotStrategy 등) 가
|
|
123
|
-
* 실제 state 를 그대로 읽는다.
|
|
124
|
-
*/
|
|
125
|
-
placementFor(carrier: CarrierDims | any, ctx?: PlacementContext): SeatingPose | null;
|
|
126
|
-
/**
|
|
127
|
-
* Phase PS P3a — SeatingPose.position.y (holder object3d local) → state.zPos
|
|
128
|
-
* 역산. cz 공식 `cz = zPos + sync − geoOffset + surfaceRaw` 의 역.
|
|
129
|
-
*
|
|
130
|
-
* write 조건 (null 반환) 은 기존 receive 의 zPos 분기와 동일하게 보존:
|
|
131
|
-
* 받침면도 slot.localPosition.z 도 없는 holder 는 carrier 의 zPos 를
|
|
132
|
-
* 변경하지 않는다 (보존 semantics).
|
|
133
|
-
*/
|
|
134
|
-
_zPosFromSeatY(seatY: number, carrierDepth: any, slot: SlotDef): number | null;
|
|
135
|
-
/**
|
|
136
|
-
* 받침면의 직관적 local Y — raw `receivingSurfaceY` (+parentGeoOffset 포함
|
|
137
|
-
* 함정) 에서 상쇄분을 제거한 값. placementFor / deliveryWorldPosition 이
|
|
138
|
-
* 공유 — 표면 산술의 단일 지점. null = 받침면 명세 없음.
|
|
139
|
-
*/
|
|
140
|
-
_receivingSurfaceLocalY(): number | null;
|
|
141
|
-
/**
|
|
142
|
-
* Count children currently assigned to `slotId`.
|
|
143
|
-
*
|
|
144
|
-
* Invariant: 자식이 `parent === this` 일 때만 count. 이전 cycle 의 *ghost
|
|
145
|
-
* child* (배열에는 남아있지만 parent 가 다른 컴포넌트로 옮겨간 경우) 또는
|
|
146
|
-
* *마크가 stale* 한 child 는 자동 제외 — 누적 결함 방지.
|
|
147
|
-
*/
|
|
148
|
-
_countOccupied(slotId: string): number;
|
|
149
|
-
_app: any;
|
|
150
|
-
_model: any;
|
|
151
|
-
_state: any;
|
|
152
|
-
_delta: any;
|
|
153
|
-
_animation: any;
|
|
154
|
-
_animate: any;
|
|
155
|
-
_parent: any;
|
|
156
|
-
_disposed: any;
|
|
157
|
-
_textHidden: any;
|
|
158
|
-
_text_substitutor: any;
|
|
159
|
-
_value_substitutor: any;
|
|
160
|
-
_mappings: any;
|
|
161
|
-
_realObject: import("../index.js").IRealObject | undefined;
|
|
162
|
-
_cachedState: any;
|
|
163
|
-
updatedAt: any;
|
|
164
|
-
fontSize: any;
|
|
165
|
-
__cache__: any;
|
|
166
|
-
created(): void;
|
|
167
|
-
added(parent: any): void;
|
|
168
|
-
removed(parent: any): void;
|
|
169
|
-
ready(): Promise<void>;
|
|
170
|
-
touch(): void;
|
|
171
|
-
clearCache(...attrs: any[]): void;
|
|
172
|
-
removeSelf(completely: any): void;
|
|
173
|
-
resetAnimation(): void;
|
|
174
|
-
dispose(): void;
|
|
175
|
-
get nature(): import("../index.js").ComponentNature;
|
|
176
|
-
get disposed(): boolean;
|
|
177
|
-
isLayer(): boolean;
|
|
178
|
-
isGroup(): boolean;
|
|
179
|
-
isContainer(): this is import("../types/component.js").Container;
|
|
180
|
-
isLine(): boolean;
|
|
181
|
-
isRoot(): boolean;
|
|
182
|
-
isRootModel(): boolean;
|
|
183
|
-
is3dish(): boolean;
|
|
184
|
-
get is3dMode(): boolean;
|
|
185
|
-
isIn3DSpace(): boolean;
|
|
186
|
-
isTemplate(): boolean;
|
|
187
|
-
isHTMLElement(): boolean;
|
|
188
|
-
isConnectable(): boolean;
|
|
189
|
-
isIdentifiable(): boolean;
|
|
190
|
-
isPositionable(): boolean;
|
|
191
|
-
replaceRefids(replaceMap: any): void;
|
|
192
|
-
get(property: any): any;
|
|
193
|
-
set(props: any, propval?: any): any;
|
|
194
|
-
getState(property: any): any;
|
|
195
|
-
setState(props: Partial<import("../index.js").State> | string, propval?: any): any;
|
|
196
|
-
get model(): any;
|
|
197
|
-
get state(): import("../index.js").State;
|
|
198
|
-
get refid(): any;
|
|
199
|
-
get hierarchy(): any;
|
|
200
|
-
get volatile(): never[];
|
|
201
|
-
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
202
|
-
contains(x: number, y: number): boolean;
|
|
203
|
-
move(offset: {
|
|
204
|
-
x: number;
|
|
205
|
-
y: number;
|
|
206
|
-
}, ...args: boolean[]): void;
|
|
207
|
-
symmetryX(x?: number): void;
|
|
208
|
-
symmetryY(y: number): void;
|
|
209
|
-
adjustResize(bounds: import("../index.js").BOUNDS, origin_bounds: import("../index.js").BOUNDS, diagonal: boolean): {
|
|
210
|
-
left: any;
|
|
211
|
-
top: any;
|
|
212
|
-
width: any;
|
|
213
|
-
height: any;
|
|
214
|
-
};
|
|
215
|
-
adjustRotation(rotation: number, step: boolean): number;
|
|
216
|
-
outline(progress: number): any;
|
|
217
|
-
get bounds(): import("../index.js").BOUNDS;
|
|
218
|
-
set bounds(b: import("../index.js").BOUNDS);
|
|
219
|
-
get center(): import("../index.js").POINT;
|
|
220
|
-
set center(p: import("../index.js").POINT);
|
|
221
|
-
get location(): import("../index.js").POINT;
|
|
222
|
-
set location(l: import("../index.js").POINT);
|
|
223
|
-
get rotate(): import("../index.js").POINT;
|
|
224
|
-
set rotate(r: import("../index.js").POINT);
|
|
225
|
-
get dimension(): import("../index.js").DIMENSION;
|
|
226
|
-
set dimension(d: import("../index.js").DIMENSION);
|
|
227
|
-
get path(): import("../index.js").POINT[];
|
|
228
|
-
set path(p: import("../index.js").POINT[]);
|
|
229
|
-
get drawPath(): import("../index.js").POINT[];
|
|
230
|
-
get rotatePoint(): import("../index.js").POINT;
|
|
231
|
-
get mutable(): boolean;
|
|
232
|
-
get resizable(): boolean;
|
|
233
|
-
get rotatable(): boolean;
|
|
234
|
-
buildRealObject(): import("../index.js").IRealObject | undefined;
|
|
235
|
-
get realObject(): import("../index.js").IRealObject | undefined;
|
|
236
|
-
draw(context?: import("../index.js").SceneRenderContext): void;
|
|
237
|
-
prerender(context: import("../index.js").SceneRenderContext): void;
|
|
238
|
-
render(context: import("../index.js").SceneRenderContext): void;
|
|
239
|
-
postrender(context: import("../index.js").SceneRenderContext): void;
|
|
240
|
-
prepare(resolve: (component: Component) => void, reject: (reason: any) => void): void;
|
|
241
|
-
prepareIf(condition: boolean): void;
|
|
242
|
-
drawText(context: import("../index.js").SceneRenderContext): void;
|
|
243
|
-
drawStroke(context: import("../index.js").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
244
|
-
drawFill(context: import("../index.js").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
245
|
-
get strokeStyle(): any;
|
|
246
|
-
set strokeStyle(v: any);
|
|
247
|
-
get fillStyle(): any;
|
|
248
|
-
set fillStyle(v: any);
|
|
249
|
-
get fontColor(): string;
|
|
250
|
-
set fontColor(v: string);
|
|
251
|
-
get rotation(): number;
|
|
252
|
-
set rotation(v: number);
|
|
253
|
-
get decorators(): string[];
|
|
254
|
-
get decotag(): string;
|
|
255
|
-
get hidden(): boolean;
|
|
256
|
-
set hidden(v: boolean);
|
|
257
|
-
get tag(): string;
|
|
258
|
-
set tag(v: string);
|
|
259
|
-
get appendum(): any;
|
|
260
|
-
set appendum(v: any);
|
|
261
|
-
defaultTextSubstitutor(): string;
|
|
262
|
-
textLines(context?: import("../index.js").SceneRenderContext): any[][];
|
|
263
|
-
get font(): string;
|
|
264
|
-
get lineHeight(): number;
|
|
265
|
-
get textSubstitutor(): () => string;
|
|
266
|
-
get text(): string;
|
|
267
|
-
set text(v: string);
|
|
268
|
-
get textBounds(): import("../index.js").BOUNDS;
|
|
269
|
-
get textRotation(): number;
|
|
270
|
-
get textHidden(): boolean;
|
|
271
|
-
set textHidden(v: boolean);
|
|
272
|
-
get hasTextProperty(): boolean;
|
|
273
|
-
animate(opts: import("../index.js").AnimationConfig): any;
|
|
274
|
-
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
275
|
-
serialize(...others: any[]): string;
|
|
276
|
-
trim(): void;
|
|
277
|
-
closeScene(data: any): void;
|
|
278
|
-
delta(attr?: string | object, value?: any): any;
|
|
279
|
-
invalidate(): void;
|
|
280
|
-
get value(): any;
|
|
281
|
-
set value(v: any);
|
|
282
|
-
get data(): any;
|
|
283
|
-
set data(v: any);
|
|
284
|
-
set tap(v: any);
|
|
285
|
-
get mappings(): any[];
|
|
286
|
-
get retention(): number;
|
|
287
|
-
get animation(): import("../index.js").AnimationController | undefined;
|
|
288
|
-
get started(): boolean;
|
|
289
|
-
set started(v: boolean);
|
|
290
|
-
get controls(): import("../index.js").Control[] | undefined;
|
|
291
|
-
findFirst(finder: string | ((c: Component) => boolean), ...others: any[]): Component | undefined;
|
|
292
|
-
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
293
|
-
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
294
|
-
findAnchor(name: string): any;
|
|
295
|
-
isDescendible(container: Component | any): boolean;
|
|
296
|
-
getContext(component?: unknown): any;
|
|
297
|
-
get root(): Component;
|
|
298
|
-
get rootModel(): Component;
|
|
299
|
-
get parent(): Component;
|
|
300
|
-
set parent(v: Component);
|
|
301
|
-
get anchors(): import("../index.js").Anchor[];
|
|
302
|
-
get scalable(): boolean;
|
|
303
|
-
get stuck(): boolean;
|
|
304
|
-
get capturable(): boolean;
|
|
305
|
-
get position(): string;
|
|
306
|
-
get origin(): string;
|
|
307
|
-
get offset(): import("../index.js").POINT;
|
|
308
|
-
get app(): import("../index.js").ApplicationContext;
|
|
309
|
-
drawEffect(context: import("../index.js").SceneRenderContext): void;
|
|
310
|
-
prepareFill(resolve: Function, reject: Function): void;
|
|
311
|
-
prepareFillIf(condition: boolean): void;
|
|
312
|
-
onchangeFill(after: Record<string, any>, before: Record<string, any>): void;
|
|
313
|
-
drawImage(context: import("../index.js").SceneRenderContext, image: HTMLImageElement, left: number, top: number, width: number, height: number): void;
|
|
314
|
-
mutateBounds(logic: ((bounds: import("../index.js").BOUNDS) => import("../index.js").BOUNDS | void) | null, context?: any): void;
|
|
315
|
-
mutatePath(beforeLogic: ((path: import("../index.js").POINT[]) => import("../index.js").POINT[] | void) | null, afterLogic: ((path: import("../index.js").POINT[]) => import("../index.js").POINT[] | void) | null, context?: any): void;
|
|
316
|
-
access(accessor: string): any;
|
|
317
|
-
substitute(template: string, data: any): string | undefined;
|
|
318
|
-
onchangeMappings(after: Record<string, any>, before: Record<string, any>): void;
|
|
319
|
-
onchangeData(after: Record<string, any>, before: Record<string, any>): void;
|
|
320
|
-
buildMappings(): void;
|
|
321
|
-
executeMappings(force?: boolean): void;
|
|
322
|
-
disposeMappings(): void;
|
|
323
|
-
ondropfile(transfered: FileList, files: string[]): void;
|
|
324
|
-
transcoordS2P(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
325
|
-
transcoordP2S(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
326
|
-
transcoordS2T(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
327
|
-
transcoordT2P(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
328
|
-
transcoordT2S(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
329
|
-
transcoordS2TR(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
330
|
-
transcoordS2O(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
331
|
-
transcoordC2S(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
332
|
-
transcoordS2C(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
333
|
-
toParent(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
334
|
-
fromParent(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
335
|
-
toScene(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
336
|
-
fromScene(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
337
|
-
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
338
|
-
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
339
|
-
toOther(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
340
|
-
on<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
341
|
-
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
342
|
-
off<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
343
|
-
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
344
|
-
once<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
345
|
-
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
346
|
-
trigger<K extends keyof import("../index.js").ComponentEventMap>(name: K, ...args: import("../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
347
|
-
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
348
|
-
delegate_on(delegator: any): /*elided*/ any;
|
|
349
|
-
delegate_off(delegator: any): /*elided*/ any;
|
|
350
|
-
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
351
|
-
calculateBounds?(): void;
|
|
352
|
-
oncreate_element?(element: HTMLElement): void;
|
|
353
|
-
removeComponent(component: Component, ghost?: boolean): void;
|
|
354
|
-
addComponent(component: Component, ghost?: boolean): void;
|
|
355
|
-
insertComponentAt(component: Component, index: number, ghost?: boolean): void;
|
|
356
|
-
getOverlay(component: Component): HTMLElement | undefined;
|
|
357
|
-
findById(id: string): Component | undefined;
|
|
358
|
-
findByRefid(ref: string | number): Component | undefined;
|
|
359
|
-
findAllById(id: string): Component[];
|
|
360
|
-
resize(): void;
|
|
361
|
-
fit(type?: string): void;
|
|
362
|
-
get components(): Component[] | undefined;
|
|
363
|
-
get layout(): any;
|
|
364
|
-
get auxOverlay(): HTMLElement | undefined;
|
|
365
|
-
get isReady(): boolean;
|
|
366
|
-
get unitScale(): number;
|
|
367
|
-
get selected(): Component[];
|
|
368
|
-
set selected(_v: Component[]);
|
|
369
|
-
get focused(): Component | null;
|
|
370
|
-
set focused(_v: Component | null);
|
|
371
|
-
get hasSameParentForAllSelected(): boolean;
|
|
372
|
-
set hasSameParentForAllSelected(_v: boolean);
|
|
373
|
-
get fitMode(): string | undefined;
|
|
374
|
-
set fitMode(_v: string | undefined);
|
|
375
|
-
get element(): HTMLElement | null;
|
|
376
|
-
set element(_v: HTMLElement | null);
|
|
377
|
-
};
|
|
378
|
-
} & TBase;
|
|
379
|
-
export {};
|
|
10
|
+
export declare function ContainerCapacity<TBase extends Constructor<Component>>(Base: TBase): any;
|
|
380
11
|
//# sourceMappingURL=container-capacity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-capacity.d.ts","sourceRoot":"","sources":["../../src/transfer/container-capacity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"container-capacity.d.ts","sourceRoot":"","sources":["../../src/transfer/container-capacity.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAA;AAKvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAGnE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,KAAK,WAAW,CAAC,CAAC,GAAG,MAAM,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;AAExD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,SAAS,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,KAAK,OAQlF"}
|
|
@@ -18,4 +18,7 @@ export { ReservationTable, reservationTable, standardYieldPolicy, NavGraph, buil
|
|
|
18
18
|
export type { LaneGeometry, Lane, ConflictPair, Intersection, NavPolygon, OpenZone, TimeWindow, Reservation, SpeedProfile, PathSegment, PathPlan, PathPlanOptions, Navigable, YieldDecision, YieldPolicy, ReservationEvent, AddResult, Conflict, ConflictRecord, NavNode, NavEdge, BuildNavGraphOptions } from '../navigation/index.js';
|
|
19
19
|
export * from '../types/polygon-path.js';
|
|
20
20
|
export * from '../types/polygon-path-arc.js';
|
|
21
|
+
export * from '../items/index.js';
|
|
22
|
+
export * from '../flow/index.js';
|
|
23
|
+
export { default as Holdable } from '../components/mixins/holdable.js';
|
|
21
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transfer/index.ts"],"names":[],"mappings":"AAIA,YAAY,EACV,IAAI,EACJ,KAAK,EACL,OAAO,EACP,eAAe,EACf,SAAS,EACT,OAAO,EACP,cAAc,EACd,eAAe,EACf,YAAY,EACZ,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,IAAI,EACJ,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,OAAO,EACP,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,eAAe,EACf,WAAW,EACX,UAAU,EACV,SAAS,EAET,QAAQ,EACR,cAAc,EACd,WAAW,EAC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,aAAa,EACb,aAAa,EACb,kBAAkB,EACnB,MAAM,wBAAwB,CAAA;AAC/B,YAAY,EACV,YAAY,EACZ,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,UAAU,EACV,WAAW,EACX,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,eAAe,EACf,SAAS,EACT,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,cAAc,EACd,OAAO,EACP,OAAO,EACP,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAG/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transfer/index.ts"],"names":[],"mappings":"AAIA,YAAY,EACV,IAAI,EACJ,KAAK,EACL,OAAO,EACP,eAAe,EACf,SAAS,EACT,OAAO,EACP,cAAc,EACd,eAAe,EACf,YAAY,EACZ,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,IAAI,EACJ,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,OAAO,EACP,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,eAAe,EACf,WAAW,EACX,UAAU,EACV,SAAS,EAET,QAAQ,EACR,cAAc,EACd,WAAW,EACX,eAAe,EACf,QAAQ,EAER,WAAW,EACX,gBAAgB,EAChB,WAAW,EACZ,MAAM,YAAY,CAAA;AAOnB,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAC/B,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAGnF,OAAO,EACL,WAAW,EACX,0BAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAA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