@hatiolab/things-scene 10.0.0-beta.90 → 10.0.0-beta.91
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.d.ts +1 -1
- package/dist-types/components/html-overlay-container.d.ts +1 -1
- package/dist-types/interfaces/layout.d.ts +35 -1
- package/dist-types/interfaces/layout.d.ts.map +1 -1
- package/dist-types/layout/absolute.d.ts +2 -2
- package/dist-types/layout/card.d.ts +2 -2
- package/dist-types/layout/linear-horizontal.d.ts +2 -2
- package/dist-types/layout/linear-vertical.d.ts +2 -2
- package/dist-types/layout/table.d.ts +3 -3
- package/dist-types/things-scene/index.d.ts +0 -1
- package/dist-types/things-scene/index.d.ts.map +1 -1
- package/dist-types/threed/factories/backdrop.d.ts +66 -66
- package/dist-types/threed/factories/banner.d.ts +33 -33
- package/dist-types/threed/factories/camera.d.ts +33 -33
- package/dist-types/threed/factories/cube.d.ts +33 -33
- package/dist-types/threed/factories/decal.d.ts +66 -66
- package/dist-types/threed/factories/gltf-object.d.ts +66 -66
- package/dist-types/threed/factories/sprite.d.ts +33 -33
- package/dist-types/threed/factories/wall.d.ts +33 -33
- package/dist-types/types/component.d.ts +6 -177
- package/dist-types/types/component.d.ts.map +1 -1
- package/package.json +1 -1
- package/things-scene-min.js.map +1 -1
- package/things-scene.mjs.map +1 -1
|
@@ -244,7 +244,7 @@ export default class Container extends Container_base {
|
|
|
244
244
|
isPositionable(): boolean;
|
|
245
245
|
setElementProperties(element: any): void;
|
|
246
246
|
get layout(): import("../index.js").LAYOUT | {
|
|
247
|
-
reflow(container: import("../types/component.js").Container, component?: import("../index.js").
|
|
247
|
+
reflow(container: import("../types/component.js").Container, component?: import("../index.js").ComponentInterface): void;
|
|
248
248
|
capturables(container: any): any;
|
|
249
249
|
drawables(container: any): any;
|
|
250
250
|
isStuck(component: any): boolean;
|
|
@@ -239,7 +239,7 @@ export default class HTMLOverlayContainer extends HTMLOverlayContainer_base {
|
|
|
239
239
|
render(context: any): void;
|
|
240
240
|
is3dish(): boolean;
|
|
241
241
|
get layout(): import("../index.js").LAYOUT | {
|
|
242
|
-
reflow(container: import("../types/component.js").Container, component?: import("../index.js").
|
|
242
|
+
reflow(container: import("../types/component.js").Container, component?: import("../index.js").ComponentInterface): void;
|
|
243
243
|
capturables(container: any): any;
|
|
244
244
|
drawables(container: any): any;
|
|
245
245
|
isStuck(component: any): boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type Component from '../components/component.js';
|
|
2
|
+
import type Container from '../components/container.js';
|
|
1
3
|
/**
|
|
2
|
-
* 레이아웃 인터페이스
|
|
4
|
+
* 레이아웃 인터페이스 (구현체용)
|
|
3
5
|
*/
|
|
4
6
|
export interface LAYOUT {
|
|
5
7
|
reflow(container: any, component?: any): void;
|
|
@@ -9,6 +11,38 @@ export interface LAYOUT {
|
|
|
9
11
|
keyNavigate?(container: any, component: any, e: KeyboardEvent): any | undefined;
|
|
10
12
|
joinType?: boolean;
|
|
11
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* 레이아웃 인터페이스 (Public API — 외부 타입 어노테이션용)
|
|
16
|
+
*
|
|
17
|
+
* A layout strategy defines how a container arranges its child components.
|
|
18
|
+
* Only components with `position: 'static'` should be affected by layout.
|
|
19
|
+
*/
|
|
20
|
+
export interface Layout {
|
|
21
|
+
/**
|
|
22
|
+
* Recalculates the positions and sizes of child components.
|
|
23
|
+
*/
|
|
24
|
+
reflow(container: Container, component?: Component): void;
|
|
25
|
+
/**
|
|
26
|
+
* Returns components that are eligible for interaction.
|
|
27
|
+
*/
|
|
28
|
+
capturables(container: Container): Component[];
|
|
29
|
+
/**
|
|
30
|
+
* Returns components that should be rendered.
|
|
31
|
+
*/
|
|
32
|
+
drawables(container: Container): Component[];
|
|
33
|
+
/**
|
|
34
|
+
* Determines whether the given component is "stuck" in its layout position.
|
|
35
|
+
*/
|
|
36
|
+
isStuck(component: Component): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* (Optional) Key navigation handler for keyboard interaction within the layout.
|
|
39
|
+
*/
|
|
40
|
+
keyNavigate?(container: Container, component: Component, e: KeyboardEvent): Component | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* (Optional) Whether the layout joins component types.
|
|
43
|
+
*/
|
|
44
|
+
joinType?: boolean;
|
|
45
|
+
}
|
|
12
46
|
/**
|
|
13
47
|
* 레이아웃 레지스트리 인터페이스
|
|
14
48
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/interfaces/layout.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IAC7C,WAAW,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,EAAE,CAAA;IAClC,SAAS,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,EAAE,CAAA;IAChC,OAAO,CAAC,SAAS,EAAE,GAAG,GAAG,OAAO,CAAA;IAChC,WAAW,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,EAAE,aAAa,GAAG,GAAG,GAAG,SAAS,CAAA;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,IAAI,IAAI;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACnC"}
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/interfaces/layout.ts"],"names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AC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,IAAI,IAAI;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACnC"}
|
|
@@ -2,8 +2,8 @@ import type { LAYOUT } from '../interfaces/layout.js';
|
|
|
2
2
|
import type { Component, Container } from '../types/component.js';
|
|
3
3
|
declare class AbsoluteLayout implements LAYOUT {
|
|
4
4
|
reflow(container: Container, component?: Component): void;
|
|
5
|
-
capturables(container: Container): Component[];
|
|
6
|
-
drawables(container: Container): Component[];
|
|
5
|
+
capturables(container: Container): import("../index.js").Component[];
|
|
6
|
+
drawables(container: Container): import("../index.js").Component[];
|
|
7
7
|
isStuck(component: Component): boolean;
|
|
8
8
|
ABSOLUTE: boolean;
|
|
9
9
|
}
|
|
@@ -2,8 +2,8 @@ import type { LAYOUT } from '../interfaces/layout.js';
|
|
|
2
2
|
import type { Component, Container } from '../types/component.js';
|
|
3
3
|
declare class CardLayout implements LAYOUT {
|
|
4
4
|
reflow(container: Container): void;
|
|
5
|
-
capturables(container: Container): Component[];
|
|
6
|
-
drawables(container: Container): Component[];
|
|
5
|
+
capturables(container: Container): import("../index.js").Component[];
|
|
6
|
+
drawables(container: Container): import("../index.js").Component[];
|
|
7
7
|
isStuck(component: Component): boolean;
|
|
8
8
|
}
|
|
9
9
|
declare const cardLayout: CardLayout;
|
|
@@ -2,8 +2,8 @@ import type { LAYOUT } from '../interfaces/layout.js';
|
|
|
2
2
|
import type { Component, Container } from '../types/component.js';
|
|
3
3
|
declare class LinearHorizontal implements LAYOUT {
|
|
4
4
|
reflow(container: Container): void;
|
|
5
|
-
capturables(container: Container): Component[];
|
|
6
|
-
drawables(container: Container): Component[];
|
|
5
|
+
capturables(container: Container): import("../index.js").Component[];
|
|
6
|
+
drawables(container: Container): import("../index.js").Component[];
|
|
7
7
|
isStuck(component: Component): boolean;
|
|
8
8
|
}
|
|
9
9
|
declare const linearHorizontal: LinearHorizontal;
|
|
@@ -2,8 +2,8 @@ import type { LAYOUT } from '../interfaces/layout.js';
|
|
|
2
2
|
import type { Component, Container } from '../types/component.js';
|
|
3
3
|
declare class LinearVertical implements LAYOUT {
|
|
4
4
|
reflow(container: Container): void;
|
|
5
|
-
capturables(container: Container): Component[];
|
|
6
|
-
drawables(container: Container): Component[];
|
|
5
|
+
capturables(container: Container): import("../index.js").Component[];
|
|
6
|
+
drawables(container: Container): import("../index.js").Component[];
|
|
7
7
|
isStuck(component: Component): boolean;
|
|
8
8
|
}
|
|
9
9
|
declare const linearVertical: LinearVertical;
|
|
@@ -2,10 +2,10 @@ import type { LAYOUT } from '../interfaces/layout.js';
|
|
|
2
2
|
import type { Component, Container } from '../types/component.js';
|
|
3
3
|
declare class TableLayout implements LAYOUT {
|
|
4
4
|
reflow(container: Container): void;
|
|
5
|
-
capturables(container: Container): Component[];
|
|
6
|
-
drawables(container: Container): Component[];
|
|
5
|
+
capturables(container: Container): import("../index.js").Component[];
|
|
6
|
+
drawables(container: Container): import("../index.js").Component[];
|
|
7
7
|
isStuck(component: Component): boolean;
|
|
8
|
-
keyNavigate(container: Container, component: Component, e: KeyboardEvent): Component | undefined;
|
|
8
|
+
keyNavigate(container: Container, component: Component, e: KeyboardEvent): import("../index.js").Component | undefined;
|
|
9
9
|
joinType: boolean;
|
|
10
10
|
}
|
|
11
11
|
declare const tableLayout: TableLayout;
|
|
@@ -21,7 +21,6 @@ export * from '../animation/index.js';
|
|
|
21
21
|
export * from '../components/index.js';
|
|
22
22
|
export * from '../layout/index.js';
|
|
23
23
|
export * from '../types/index.js';
|
|
24
|
-
export type { Component } from '../types/component.js';
|
|
25
24
|
export type { POINT, SCALE, TRANSLATE, POSITION, LOCATION, ROTATION, DIMENSION, BOUNDS, DELTA, FITMODE, ComponentNature, Anchor, LinkEndConfig, ControlHandler, Control, Decorator, PopupOptions, ChangeFunction, Class, Properties, State, Style } from '../interfaces/types.js';
|
|
26
25
|
export type { ReferenceProvider, DataSubscriptionProvider, PersistentDataStorage } from '../interfaces/providers.js';
|
|
27
26
|
export type { SceneRenderContext, DrawOptions, StyleOptions, FillStyle, StrokeStyle, TextStyle, Shadow, IFillDrawer, IStrokeDrawer, ITextDrawer, ILineTipDrawer, IImageDrawer } from '../interfaces/rendering.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/things-scene/index.ts"],"names":[],"mappings":"AAIA,OAAO,mBAAmB,CAAA;AAE1B,OAAO,QAAQ,MAAM,qBAAqB,CAAA;AAC1C,OAAO,UAAU,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAEzE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,yBAAiB,KAAK,CAAC;IACd,MAAM,OAAO,iBAAW,CAAA;IACxB,MAAM,SAAS,mBAAa,CAAA;IAC5B,MAAM,MAAM,gBAAU,CAAA;IACtB,MAAM,KAAK,eAAS,CAAA;CAC5B;AAED,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AAE/D,cAAc,aAAa,CAAA;AAE3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AAGjC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/things-scene/index.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AM,2BAA2B,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAClH,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AACnE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAGhF,cAAc,oBAAoB,CAAA;AAGlC,cAAc,oBAAoB,CAAA"}
|
|
@@ -121,7 +121,7 @@ declare const Backdrop_base: {
|
|
|
121
121
|
draw(context?: import("../../index.js").SceneRenderContext): void;
|
|
122
122
|
prerender(context: import("../../index.js").SceneRenderContext): void;
|
|
123
123
|
postrender(context: import("../../index.js").SceneRenderContext): void;
|
|
124
|
-
prepare(resolve: (component: import("../../
|
|
124
|
+
prepare(resolve: (component: import("../../index.js").Component) => void, reject: (reason: any) => void): void;
|
|
125
125
|
prepareIf(condition: boolean): void;
|
|
126
126
|
drawText(context: import("../../index.js").SceneRenderContext): void;
|
|
127
127
|
drawStroke(context: import("../../index.js").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
@@ -171,16 +171,16 @@ declare const Backdrop_base: {
|
|
|
171
171
|
get started(): boolean;
|
|
172
172
|
set started(v: boolean);
|
|
173
173
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
174
|
-
findFirst(finder: string | ((c: import("../../
|
|
175
|
-
findAll(s: string | ((c: import("../../
|
|
176
|
-
capture(x: number, y: number, except?: (c: import("../../
|
|
174
|
+
findFirst(finder: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): import("../../index.js").Component | undefined;
|
|
175
|
+
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
176
|
+
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
177
177
|
findAnchor(name: string): any;
|
|
178
|
-
isDescendible(container: import("../../
|
|
178
|
+
isDescendible(container: import("../../index.js").Component): boolean;
|
|
179
179
|
getContext(component?: unknown): any;
|
|
180
|
-
get root(): import("../../
|
|
181
|
-
get rootModel(): import("../../
|
|
182
|
-
get parent(): import("../../
|
|
183
|
-
set parent(v: import("../../
|
|
180
|
+
get root(): import("../../index.js").Component;
|
|
181
|
+
get rootModel(): import("../../index.js").Component;
|
|
182
|
+
get parent(): import("../../index.js").Component;
|
|
183
|
+
set parent(v: import("../../index.js").Component);
|
|
184
184
|
get anchors(): import("../../index.js").Anchor[];
|
|
185
185
|
get scalable(): boolean;
|
|
186
186
|
get stuck(): boolean;
|
|
@@ -205,20 +205,20 @@ declare const Backdrop_base: {
|
|
|
205
205
|
ondropfile(transfered: FileList, files: string[]): void;
|
|
206
206
|
transcoordS2P(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
207
207
|
transcoordP2S(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
208
|
-
transcoordS2T(x: number, y: number, top?: import("../../
|
|
209
|
-
transcoordT2P(x: number, y: number, top?: import("../../
|
|
210
|
-
transcoordT2S(x: number, y: number, top?: import("../../
|
|
211
|
-
transcoordS2TR(x: number, y: number, top?: import("../../
|
|
212
|
-
transcoordS2O(x: number, y: number, target: import("../../
|
|
213
|
-
transcoordC2S(x: number, y: number, top?: import("../../
|
|
214
|
-
transcoordS2C(x: number, y: number, top?: import("../../
|
|
208
|
+
transcoordS2T(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
209
|
+
transcoordT2P(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
210
|
+
transcoordT2S(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
211
|
+
transcoordS2TR(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
212
|
+
transcoordS2O(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
213
|
+
transcoordC2S(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
214
|
+
transcoordS2C(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
215
215
|
toParent(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
216
216
|
fromParent(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
217
|
-
toScene(x: number, y: number, top?: import("../../
|
|
218
|
-
fromScene(x: number, y: number, top?: import("../../
|
|
219
|
-
toLocal(x: number, y: number, top?: import("../../
|
|
220
|
-
toGlobal(x: number, y: number, top?: import("../../
|
|
221
|
-
toOther(x: number, y: number, target: import("../../
|
|
217
|
+
toScene(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
218
|
+
fromScene(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
219
|
+
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
220
|
+
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
221
|
+
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
222
222
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
223
223
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
224
224
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
@@ -228,24 +228,24 @@ declare const Backdrop_base: {
|
|
|
228
228
|
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
229
229
|
calculateBounds?(): void;
|
|
230
230
|
oncreate_element?(element: HTMLElement): void;
|
|
231
|
-
removeComponent(component: import("../../
|
|
232
|
-
addComponent(component: import("../../
|
|
233
|
-
insertComponentAt(component: import("../../
|
|
234
|
-
getOverlay(component: import("../../
|
|
235
|
-
findById(id: string): import("../../
|
|
236
|
-
findByRefid(ref: string | number): import("../../
|
|
237
|
-
findAllById(id: string): import("../../
|
|
231
|
+
removeComponent(component: import("../../index.js").Component, ghost?: boolean): void;
|
|
232
|
+
addComponent(component: import("../../index.js").Component, ghost?: boolean): void;
|
|
233
|
+
insertComponentAt(component: import("../../index.js").Component, index: number, ghost?: boolean): void;
|
|
234
|
+
getOverlay(component: import("../../index.js").Component): HTMLElement | undefined;
|
|
235
|
+
findById(id: string): import("../../index.js").Component | undefined;
|
|
236
|
+
findByRefid(ref: string | number): import("../../index.js").Component | undefined;
|
|
237
|
+
findAllById(id: string): import("../../index.js").Component[];
|
|
238
238
|
resize(): void;
|
|
239
239
|
fit(type?: string): void;
|
|
240
|
-
get components(): import("../../
|
|
240
|
+
get components(): import("../../index.js").Component[] | undefined;
|
|
241
241
|
get layout(): any;
|
|
242
242
|
get auxOverlay(): HTMLElement | undefined;
|
|
243
243
|
get isReady(): boolean;
|
|
244
244
|
get unitScale(): number;
|
|
245
|
-
get selected(): import("../../
|
|
246
|
-
set selected(_v: import("../../
|
|
247
|
-
get focused(): import("../../
|
|
248
|
-
set focused(_v: import("../../
|
|
245
|
+
get selected(): import("../../index.js").Component[];
|
|
246
|
+
set selected(_v: import("../../index.js").Component[]);
|
|
247
|
+
get focused(): import("../../index.js").Component | null;
|
|
248
|
+
set focused(_v: import("../../index.js").Component | null);
|
|
249
249
|
get hasSameParentForAllSelected(): boolean;
|
|
250
250
|
set hasSameParentForAllSelected(_v: boolean);
|
|
251
251
|
get fitMode(): string | undefined;
|
|
@@ -359,7 +359,7 @@ declare const Backdrop_base: {
|
|
|
359
359
|
draw(context?: import("../../index.js").SceneRenderContext): void;
|
|
360
360
|
prerender(context: import("../../index.js").SceneRenderContext): void;
|
|
361
361
|
postrender(context: import("../../index.js").SceneRenderContext): void;
|
|
362
|
-
prepare(resolve: (component: import("../../
|
|
362
|
+
prepare(resolve: (component: import("../../index.js").Component) => void, reject: (reason: any) => void): void;
|
|
363
363
|
prepareIf(condition: boolean): void;
|
|
364
364
|
drawText(context: import("../../index.js").SceneRenderContext): void;
|
|
365
365
|
drawStroke(context: import("../../index.js").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
@@ -410,16 +410,16 @@ declare const Backdrop_base: {
|
|
|
410
410
|
get started(): boolean;
|
|
411
411
|
set started(v: boolean);
|
|
412
412
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
413
|
-
findFirst(finder: string | ((c: import("../../
|
|
414
|
-
findAll(s: string | ((c: import("../../
|
|
415
|
-
capture(x: number, y: number, except?: (c: import("../../
|
|
413
|
+
findFirst(finder: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): import("../../index.js").Component | undefined;
|
|
414
|
+
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
415
|
+
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
416
416
|
findAnchor(name: string): any;
|
|
417
|
-
isDescendible(container: import("../../
|
|
417
|
+
isDescendible(container: import("../../index.js").Component): boolean;
|
|
418
418
|
getContext(component?: unknown): any;
|
|
419
|
-
get root(): import("../../
|
|
420
|
-
get rootModel(): import("../../
|
|
421
|
-
get parent(): import("../../
|
|
422
|
-
set parent(v: import("../../
|
|
419
|
+
get root(): import("../../index.js").Component;
|
|
420
|
+
get rootModel(): import("../../index.js").Component;
|
|
421
|
+
get parent(): import("../../index.js").Component;
|
|
422
|
+
set parent(v: import("../../index.js").Component);
|
|
423
423
|
get scalable(): boolean;
|
|
424
424
|
get stuck(): boolean;
|
|
425
425
|
get capturable(): boolean;
|
|
@@ -444,20 +444,20 @@ declare const Backdrop_base: {
|
|
|
444
444
|
ondropfile(transfered: FileList, files: string[]): void;
|
|
445
445
|
transcoordS2P(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
446
446
|
transcoordP2S(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
447
|
-
transcoordS2T(x: number, y: number, top?: import("../../
|
|
448
|
-
transcoordT2P(x: number, y: number, top?: import("../../
|
|
449
|
-
transcoordT2S(x: number, y: number, top?: import("../../
|
|
450
|
-
transcoordS2TR(x: number, y: number, top?: import("../../
|
|
451
|
-
transcoordS2O(x: number, y: number, target: import("../../
|
|
452
|
-
transcoordC2S(x: number, y: number, top?: import("../../
|
|
453
|
-
transcoordS2C(x: number, y: number, top?: import("../../
|
|
447
|
+
transcoordS2T(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
448
|
+
transcoordT2P(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
449
|
+
transcoordT2S(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
450
|
+
transcoordS2TR(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
451
|
+
transcoordS2O(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
452
|
+
transcoordC2S(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
453
|
+
transcoordS2C(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
454
454
|
toParent(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
455
455
|
fromParent(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
456
|
-
toScene(x: number, y: number, top?: import("../../
|
|
457
|
-
fromScene(x: number, y: number, top?: import("../../
|
|
458
|
-
toLocal(x: number, y: number, top?: import("../../
|
|
459
|
-
toGlobal(x: number, y: number, top?: import("../../
|
|
460
|
-
toOther(x: number, y: number, target: import("../../
|
|
456
|
+
toScene(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
457
|
+
fromScene(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
458
|
+
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
459
|
+
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
460
|
+
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
461
461
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
462
462
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
463
463
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
@@ -467,24 +467,24 @@ declare const Backdrop_base: {
|
|
|
467
467
|
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
468
468
|
calculateBounds?(): void;
|
|
469
469
|
oncreate_element?(element: HTMLElement): void;
|
|
470
|
-
removeComponent(component: import("../../
|
|
471
|
-
addComponent(component: import("../../
|
|
472
|
-
insertComponentAt(component: import("../../
|
|
473
|
-
getOverlay(component: import("../../
|
|
474
|
-
findById(id: string): import("../../
|
|
475
|
-
findByRefid(ref: string | number): import("../../
|
|
476
|
-
findAllById(id: string): import("../../
|
|
470
|
+
removeComponent(component: import("../../index.js").Component, ghost?: boolean): void;
|
|
471
|
+
addComponent(component: import("../../index.js").Component, ghost?: boolean): void;
|
|
472
|
+
insertComponentAt(component: import("../../index.js").Component, index: number, ghost?: boolean): void;
|
|
473
|
+
getOverlay(component: import("../../index.js").Component): HTMLElement | undefined;
|
|
474
|
+
findById(id: string): import("../../index.js").Component | undefined;
|
|
475
|
+
findByRefid(ref: string | number): import("../../index.js").Component | undefined;
|
|
476
|
+
findAllById(id: string): import("../../index.js").Component[];
|
|
477
477
|
resize(): void;
|
|
478
478
|
fit(type?: string): void;
|
|
479
|
-
get components(): import("../../
|
|
479
|
+
get components(): import("../../index.js").Component[] | undefined;
|
|
480
480
|
get layout(): any;
|
|
481
481
|
get auxOverlay(): HTMLElement | undefined;
|
|
482
482
|
get isReady(): boolean;
|
|
483
483
|
get unitScale(): number;
|
|
484
|
-
get selected(): import("../../
|
|
485
|
-
set selected(_v: import("../../
|
|
486
|
-
get focused(): import("../../
|
|
487
|
-
set focused(_v: import("../../
|
|
484
|
+
get selected(): import("../../index.js").Component[];
|
|
485
|
+
set selected(_v: import("../../index.js").Component[]);
|
|
486
|
+
get focused(): import("../../index.js").Component | null;
|
|
487
|
+
set focused(_v: import("../../index.js").Component | null);
|
|
488
488
|
get hasSameParentForAllSelected(): boolean;
|
|
489
489
|
set hasSameParentForAllSelected(_v: boolean);
|
|
490
490
|
get fitMode(): string | undefined;
|
|
@@ -114,7 +114,7 @@ declare const Banner_base: {
|
|
|
114
114
|
draw(context?: import("../../index.js").SceneRenderContext): void;
|
|
115
115
|
prerender(context: import("../../index.js").SceneRenderContext): void;
|
|
116
116
|
postrender(context: import("../../index.js").SceneRenderContext): void;
|
|
117
|
-
prepare(resolve: (component: import("../../
|
|
117
|
+
prepare(resolve: (component: import("../../index.js").Component) => void, reject: (reason: any) => void): void;
|
|
118
118
|
prepareIf(condition: boolean): void;
|
|
119
119
|
drawText(context: import("../../index.js").SceneRenderContext): void;
|
|
120
120
|
drawStroke(context: import("../../index.js").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
@@ -165,16 +165,16 @@ declare const Banner_base: {
|
|
|
165
165
|
get started(): boolean;
|
|
166
166
|
set started(v: boolean);
|
|
167
167
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
168
|
-
findFirst(finder: string | ((c: import("../../
|
|
169
|
-
findAll(s: string | ((c: import("../../
|
|
170
|
-
capture(x: number, y: number, except?: (c: import("../../
|
|
168
|
+
findFirst(finder: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): import("../../index.js").Component | undefined;
|
|
169
|
+
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
170
|
+
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
171
171
|
findAnchor(name: string): any;
|
|
172
|
-
isDescendible(container: import("../../
|
|
172
|
+
isDescendible(container: import("../../index.js").Component): boolean;
|
|
173
173
|
getContext(component?: unknown): any;
|
|
174
|
-
get root(): import("../../
|
|
175
|
-
get rootModel(): import("../../
|
|
176
|
-
get parent(): import("../../
|
|
177
|
-
set parent(v: import("../../
|
|
174
|
+
get root(): import("../../index.js").Component;
|
|
175
|
+
get rootModel(): import("../../index.js").Component;
|
|
176
|
+
get parent(): import("../../index.js").Component;
|
|
177
|
+
set parent(v: import("../../index.js").Component);
|
|
178
178
|
get scalable(): boolean;
|
|
179
179
|
get stuck(): boolean;
|
|
180
180
|
get capturable(): boolean;
|
|
@@ -199,20 +199,20 @@ declare const Banner_base: {
|
|
|
199
199
|
ondropfile(transfered: FileList, files: string[]): void;
|
|
200
200
|
transcoordS2P(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
201
201
|
transcoordP2S(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
202
|
-
transcoordS2T(x: number, y: number, top?: import("../../
|
|
203
|
-
transcoordT2P(x: number, y: number, top?: import("../../
|
|
204
|
-
transcoordT2S(x: number, y: number, top?: import("../../
|
|
205
|
-
transcoordS2TR(x: number, y: number, top?: import("../../
|
|
206
|
-
transcoordS2O(x: number, y: number, target: import("../../
|
|
207
|
-
transcoordC2S(x: number, y: number, top?: import("../../
|
|
208
|
-
transcoordS2C(x: number, y: number, top?: import("../../
|
|
202
|
+
transcoordS2T(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
203
|
+
transcoordT2P(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
204
|
+
transcoordT2S(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
205
|
+
transcoordS2TR(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
206
|
+
transcoordS2O(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
207
|
+
transcoordC2S(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
208
|
+
transcoordS2C(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
209
209
|
toParent(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
210
210
|
fromParent(x: number, y: number, rp?: import("../../index.js").POINT): import("../../index.js").POINT;
|
|
211
|
-
toScene(x: number, y: number, top?: import("../../
|
|
212
|
-
fromScene(x: number, y: number, top?: import("../../
|
|
213
|
-
toLocal(x: number, y: number, top?: import("../../
|
|
214
|
-
toGlobal(x: number, y: number, top?: import("../../
|
|
215
|
-
toOther(x: number, y: number, target: import("../../
|
|
211
|
+
toScene(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
212
|
+
fromScene(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
213
|
+
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
214
|
+
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
215
|
+
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
216
216
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
217
217
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
218
218
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
@@ -222,24 +222,24 @@ declare const Banner_base: {
|
|
|
222
222
|
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
223
223
|
calculateBounds?(): void;
|
|
224
224
|
oncreate_element?(element: HTMLElement): void;
|
|
225
|
-
removeComponent(component: import("../../
|
|
226
|
-
addComponent(component: import("../../
|
|
227
|
-
insertComponentAt(component: import("../../
|
|
228
|
-
getOverlay(component: import("../../
|
|
229
|
-
findById(id: string): import("../../
|
|
230
|
-
findByRefid(ref: string | number): import("../../
|
|
231
|
-
findAllById(id: string): import("../../
|
|
225
|
+
removeComponent(component: import("../../index.js").Component, ghost?: boolean): void;
|
|
226
|
+
addComponent(component: import("../../index.js").Component, ghost?: boolean): void;
|
|
227
|
+
insertComponentAt(component: import("../../index.js").Component, index: number, ghost?: boolean): void;
|
|
228
|
+
getOverlay(component: import("../../index.js").Component): HTMLElement | undefined;
|
|
229
|
+
findById(id: string): import("../../index.js").Component | undefined;
|
|
230
|
+
findByRefid(ref: string | number): import("../../index.js").Component | undefined;
|
|
231
|
+
findAllById(id: string): import("../../index.js").Component[];
|
|
232
232
|
resize(): void;
|
|
233
233
|
fit(type?: string): void;
|
|
234
|
-
get components(): import("../../
|
|
234
|
+
get components(): import("../../index.js").Component[] | undefined;
|
|
235
235
|
get layout(): any;
|
|
236
236
|
get auxOverlay(): HTMLElement | undefined;
|
|
237
237
|
get isReady(): boolean;
|
|
238
238
|
get unitScale(): number;
|
|
239
|
-
get selected(): import("../../
|
|
240
|
-
set selected(_v: import("../../
|
|
241
|
-
get focused(): import("../../
|
|
242
|
-
set focused(_v: import("../../
|
|
239
|
+
get selected(): import("../../index.js").Component[];
|
|
240
|
+
set selected(_v: import("../../index.js").Component[]);
|
|
241
|
+
get focused(): import("../../index.js").Component | null;
|
|
242
|
+
set focused(_v: import("../../index.js").Component | null);
|
|
243
243
|
get hasSameParentForAllSelected(): boolean;
|
|
244
244
|
set hasSameParentForAllSelected(_v: boolean);
|
|
245
245
|
get fitMode(): string | undefined;
|