@hatiolab/things-scene 2.7.13 → 2.7.14
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/package.json +4 -4
- package/things-scene.d.ts +187 -0
- package/things-scene.mjs +1 -1
- package/types/animation/animate.d.ts +0 -4
- package/types/animation/animations/animation.d.ts +0 -14
- package/types/animation/animations/fade.d.ts +0 -4
- package/types/animation/animations/heartbeat.d.ts +0 -4
- package/types/animation/animations/moving.d.ts +0 -4
- package/types/animation/animations/outline.d.ts +0 -10
- package/types/animation/animations/rotation.d.ts +0 -4
- package/types/animation/animations/vibration.d.ts +0 -4
- package/types/animation/compile.d.ts +0 -1
- package/types/animation/delta.d.ts +0 -19
- package/types/animation/index.d.ts +0 -1
- package/types/command/command-change.d.ts +0 -7
- package/types/command/command-migrate.d.ts +0 -4
- package/types/command/command.d.ts +0 -5
- package/types/command/snapshot-commander.d.ts +0 -15
- package/types/components/audio.d.ts +0 -44
- package/types/components/cloud.d.ts +0 -3
- package/types/components/component.d.ts +0 -213
- package/types/components/container-abstract.d.ts +0 -48
- package/types/components/container.d.ts +0 -37
- package/types/components/data/data-mapping.d.ts +0 -15
- package/types/components/data/data.d.ts +0 -8
- package/types/components/data/evaluator.d.ts +0 -1
- package/types/components/donut.d.ts +0 -3
- package/types/components/drawer/draw-image-pendable.d.ts +0 -1
- package/types/components/drawer/effect.d.ts +0 -1
- package/types/components/drawer/fill.d.ts +0 -14
- package/types/components/drawer/format.d.ts +0 -1
- package/types/components/drawer/line.d.ts +0 -3
- package/types/components/drawer/stroke.d.ts +0 -1
- package/types/components/drawer/text-wrapper.d.ts +0 -10
- package/types/components/drawer/text.d.ts +0 -3
- package/types/components/ellipse.d.ts +0 -3
- package/types/components/file/ondropfile.d.ts +0 -1
- package/types/components/fit/fit.d.ts +0 -15
- package/types/components/geometry/transcoord.d.ts +0 -37
- package/types/components/geometry/union.d.ts +0 -6
- package/types/components/gif/super-gif.d.ts +0 -18
- package/types/components/gif-view.d.ts +0 -25
- package/types/components/global-ref.d.ts +0 -34
- package/types/components/group.d.ts +0 -15
- package/types/components/html/elements.d.ts +0 -2
- package/types/components/html/fill.d.ts +0 -1
- package/types/components/html/reposition.d.ts +0 -1
- package/types/components/html/shadow.d.ts +0 -1
- package/types/components/html-overlay-container.d.ts +0 -27
- package/types/components/html-overlay-element.d.ts +0 -25
- package/types/components/image-view.d.ts +0 -66
- package/types/components/index.d.ts +0 -31
- package/types/components/info-window.d.ts +0 -40
- package/types/components/line.d.ts +0 -16
- package/types/components/local-ref.d.ts +0 -46
- package/types/components/mixins/data-source.d.ts +0 -9
- package/types/components/mixins/html-element.d.ts +0 -23
- package/types/components/mixins/move-handle.d.ts +0 -11
- package/types/components/mixins/rect-path.d.ts +0 -12
- package/types/components/mixins/value-holder.d.ts +0 -18
- package/types/components/mutater/bounds.d.ts +0 -10
- package/types/components/mutater/path.d.ts +0 -5
- package/types/components/outline/ellipse-outline.d.ts +0 -1
- package/types/components/outline/path-outline.d.ts +0 -1
- package/types/components/path.d.ts +0 -3
- package/types/components/polygon.d.ts +0 -4
- package/types/components/polyline.d.ts +0 -4
- package/types/components/popup.d.ts +0 -47
- package/types/components/rect.d.ts +0 -35
- package/types/components/retention/retention-manager.d.ts +0 -8
- package/types/components/root-container.d.ts +0 -76
- package/types/components/ruler.d.ts +0 -15
- package/types/components/shape.d.ts +0 -22
- package/types/components/star.d.ts +0 -3
- package/types/components/text/substitutor.d.ts +0 -3
- package/types/components/text.d.ts +0 -15
- package/types/components/triangle.d.ts +0 -3
- package/types/components/variable.d.ts +0 -24
- package/types/const.d.ts +0 -31
- package/types/core/collection.d.ts +0 -8
- package/types/core/debug.d.ts +0 -1
- package/types/core/deep-equals.d.ts +0 -1
- package/types/core/dom-to-image.d.ts +0 -127
- package/types/core/event.d.ts +0 -181
- package/types/core/index.d.ts +0 -2
- package/types/core/list.d.ts +0 -32
- package/types/core/logger.d.ts +0 -3
- package/types/core/memoize.d.ts +0 -6
- package/types/core/mixin.d.ts +0 -1
- package/types/core/obj-accessor.d.ts +0 -1
- package/types/core/reference-map.d.ts +0 -14
- package/types/core/script-loader.d.ts +0 -3
- package/types/core/snapshot-taker.d.ts +0 -12
- package/types/core/stack.d.ts +0 -2
- package/types/core/timecapsule.d.ts +0 -18
- package/types/core/utils.d.ts +0 -4
- package/types/effect/gradation.d.ts +0 -1
- package/types/effect/index.d.ts +0 -1
- package/types/effect/shadow.d.ts +0 -2
- package/types/effect/turn.d.ts +0 -1
- package/types/event/event-engine.d.ts +0 -12
- package/types/event/event-pump.d.ts +0 -11
- package/types/event/event-tracker.d.ts +0 -21
- package/types/event/index.d.ts +0 -2
- package/types/event/ua-event-handler.d.ts +0 -32
- package/types/event-map/event-map.d.ts +0 -9
- package/types/event-map/index.d.ts +0 -1
- package/types/event-map/move-handler.d.ts +0 -1
- package/types/event-map/text-editor-lite.d.ts +0 -1
- package/types/index.d.ts +0 -1
- package/types/layer/action/emphasize.d.ts +0 -2
- package/types/layer/action/popup.d.ts +0 -2
- package/types/layer/action/pressed.d.ts +0 -2
- package/types/layer/guide-layer.d.ts +0 -44
- package/types/layer/index.d.ts +0 -6
- package/types/layer/layer.d.ts +0 -29
- package/types/layer/model-layer.d.ts +0 -39
- package/types/layer/modeler/control-handler.d.ts +0 -18
- package/types/layer/modeler/focus-outline.d.ts +0 -5
- package/types/layer/modeler/group-outline.d.ts +0 -5
- package/types/layer/modeler/index.d.ts +0 -6
- package/types/layer/modeler/path-handler.d.ts +0 -17
- package/types/layer/modeler/resizer.d.ts +0 -16
- package/types/layer/modeler/rotator.d.ts +0 -15
- package/types/layer/modeling-layer.d.ts +0 -47
- package/types/layer/selection-layer.d.ts +0 -42
- package/types/layer/shift-layer.d.ts +0 -18
- package/types/layer/tag-layer.d.ts +0 -28
- package/types/layout/absolute.d.ts +0 -8
- package/types/layout/card.d.ts +0 -7
- package/types/layout/html-absolute.d.ts +0 -8
- package/types/layout/index.d.ts +0 -7
- package/types/layout/layout.d.ts +0 -11
- package/types/layout/linear-horizontal.d.ts +0 -7
- package/types/layout/linear-vertical.d.ts +0 -7
- package/types/layout/table.d.ts +0 -9
- package/types/license/license.d.ts +0 -18
- package/types/link/arrow_straight.d.ts +0 -3
- package/types/link/curve.d.ts +0 -3
- package/types/link/index.d.ts +0 -4
- package/types/link/link.d.ts +0 -7
- package/types/link/right_angle_straight.d.ts +0 -3
- package/types/link/straight.d.ts +0 -3
- package/types/model/compile.d.ts +0 -1
- package/types/model/duplicate.d.ts +0 -1
- package/types/model/index.d.ts +0 -3
- package/types/model/selector.d.ts +0 -2
- package/types/style/compile.d.ts +0 -1
- package/types/style/index.d.ts +0 -1
- package/types/things-scene/api/add.d.ts +0 -5
- package/types/things-scene/api/align.d.ts +0 -1
- package/types/things-scene/api/change.d.ts +0 -2
- package/types/things-scene/api/clipboard.d.ts +0 -3
- package/types/things-scene/api/distribute.d.ts +0 -1
- package/types/things-scene/api/duplicate.d.ts +0 -4
- package/types/things-scene/api/fullscreen.d.ts +0 -1
- package/types/things-scene/api/group.d.ts +0 -8
- package/types/things-scene/api/index.d.ts +0 -14
- package/types/things-scene/api/listener.d.ts +0 -3
- package/types/things-scene/api/remove.d.ts +0 -4
- package/types/things-scene/api/symmetry.d.ts +0 -2
- package/types/things-scene/api/to-data-url.d.ts +0 -1
- package/types/things-scene/api/variables.d.ts +0 -13
- package/types/things-scene/api/zorder.d.ts +0 -2
- package/types/things-scene/application-context.d.ts +0 -33
- package/types/things-scene/config.d.ts +0 -4
- package/types/things-scene/create.d.ts +0 -12
- package/types/things-scene/fps.d.ts +0 -1
- package/types/things-scene/index.d.ts +0 -16
- package/types/things-scene/polyfill.d.ts +0 -2
- package/types/things-scene/scene.d.ts +0 -146
- package/types/things-scene/version.d.ts +0 -2
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default class Animation {
|
|
2
|
-
constructor(client: any, config: any);
|
|
3
|
-
client: any;
|
|
4
|
-
config: any;
|
|
5
|
-
_started: boolean;
|
|
6
|
-
delta: any;
|
|
7
|
-
dispose(): void;
|
|
8
|
-
init(): void;
|
|
9
|
-
start(): void;
|
|
10
|
-
_raf: number;
|
|
11
|
-
stop(): void;
|
|
12
|
-
set started(arg: boolean);
|
|
13
|
-
get started(): boolean;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
outline 애니메이션은 정지해있는 컴포넌트의 outline을 따라 움직이는 효과를 만들어낸다.
|
|
3
|
-
만일 아웃라인을 제공하는 컴포넌트가 애니메이션 동작중이면, 애니메이션 동작에 의한 아웃라인의 변화는 반영되지 않는다.
|
|
4
|
-
애니메이션이 아닌 실제 위치가 변경되는 경우에는 반영된다.
|
|
5
|
-
아웃라인 컴포넌트와 애니메이션 컴포넌트가 동일 부모 아래서 적용된다면, 부모의 움직임이 반영되는 효과를 만들어 낼 수 있다.
|
|
6
|
-
*/
|
|
7
|
-
export default class Outline extends Animation {
|
|
8
|
-
step(delta: any): void;
|
|
9
|
-
}
|
|
10
|
-
import Animation from "./animation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function compile(client: any, animationConfig: any): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export function linear(progress: any): any;
|
|
2
|
-
export function quad(progress: any): number;
|
|
3
|
-
export function circ(progress: any): number;
|
|
4
|
-
export function back(progress: any, options?: {
|
|
5
|
-
x: number;
|
|
6
|
-
}): number;
|
|
7
|
-
export function bounce(progress: any): number;
|
|
8
|
-
export function elastic(progress: any, options?: {
|
|
9
|
-
x: number;
|
|
10
|
-
}): number;
|
|
11
|
-
declare namespace _default {
|
|
12
|
-
export { linear };
|
|
13
|
-
export { quad };
|
|
14
|
-
export { circ };
|
|
15
|
-
export { back };
|
|
16
|
-
export { bounce };
|
|
17
|
-
export { elastic };
|
|
18
|
-
}
|
|
19
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as compile } from "./compile";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export default class CommandChange extends Command {
|
|
2
|
-
static before(components: any): any;
|
|
3
|
-
static after(changes: any, commander: any): void;
|
|
4
|
-
static around(commander: any, changeFunc: any, self: any): void;
|
|
5
|
-
execute(): void;
|
|
6
|
-
}
|
|
7
|
-
import Command from "./command";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default class SnapshotCommander {
|
|
2
|
-
constructor(container: any);
|
|
3
|
-
container: any;
|
|
4
|
-
timecapsule: TimeCapsule;
|
|
5
|
-
snapshot_taker: SnapshotTaker;
|
|
6
|
-
dispose(): void;
|
|
7
|
-
execute(command: any, doit: any): void;
|
|
8
|
-
undo(): void;
|
|
9
|
-
redo(): void;
|
|
10
|
-
undoable(): boolean;
|
|
11
|
-
redoable(): boolean;
|
|
12
|
-
reset(): void;
|
|
13
|
-
}
|
|
14
|
-
import TimeCapsule from "../core/timecapsule";
|
|
15
|
-
import SnapshotTaker from "../core/snapshot-taker";
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
declare const AudioPlayer_base: {
|
|
2
|
-
new (): {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
contains(x: any, y: any): boolean;
|
|
5
|
-
path: {
|
|
6
|
-
x: any;
|
|
7
|
-
y: any;
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
};
|
|
12
|
-
export default class AudioPlayer extends AudioPlayer_base {
|
|
13
|
-
static get image(): any;
|
|
14
|
-
dispose(): void;
|
|
15
|
-
set started(arg: boolean);
|
|
16
|
-
get started(): boolean;
|
|
17
|
-
ready(): void;
|
|
18
|
-
_audio: HTMLAudioElement;
|
|
19
|
-
render(ctx: any): void;
|
|
20
|
-
get nature(): {
|
|
21
|
-
mutable: boolean;
|
|
22
|
-
resizable: boolean;
|
|
23
|
-
rotatable: boolean;
|
|
24
|
-
properties: {
|
|
25
|
-
type: string;
|
|
26
|
-
label: string;
|
|
27
|
-
name: string;
|
|
28
|
-
}[];
|
|
29
|
-
'value-property': string;
|
|
30
|
-
help: string;
|
|
31
|
-
};
|
|
32
|
-
get hasTextProperty(): boolean;
|
|
33
|
-
set src(arg: any);
|
|
34
|
-
get src(): any;
|
|
35
|
-
start(): void;
|
|
36
|
-
pause(): void;
|
|
37
|
-
onchangeSrc(src: any): void;
|
|
38
|
-
onchangeStarted(started: any): void;
|
|
39
|
-
onchangeLoop(loop: any): void;
|
|
40
|
-
onchange(after: any, before: any): void;
|
|
41
|
-
ondblclick(e: any): void;
|
|
42
|
-
ondropfile(transfered: any, files: any): void;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
declare class Component {
|
|
2
|
-
static get nature(): {
|
|
3
|
-
mutable: boolean;
|
|
4
|
-
resizable: boolean;
|
|
5
|
-
rotatable: boolean;
|
|
6
|
-
properties: any[];
|
|
7
|
-
'value-property': string;
|
|
8
|
-
sample: {
|
|
9
|
-
xx: number;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
static buildSample(type: any, overide: any): any;
|
|
13
|
-
static register(type: any, clazz: any): any;
|
|
14
|
-
static get residents(): WeakMap<object, any>;
|
|
15
|
-
constructor(model: any, app: any);
|
|
16
|
-
_app: any;
|
|
17
|
-
_model: any;
|
|
18
|
-
_state: {};
|
|
19
|
-
_delta: any;
|
|
20
|
-
created(): void;
|
|
21
|
-
added(parent: any): void;
|
|
22
|
-
removed(parent: any): void;
|
|
23
|
-
ready(): void;
|
|
24
|
-
touch(): void;
|
|
25
|
-
updatedAt: number;
|
|
26
|
-
clearCache(...attrs: any[]): void;
|
|
27
|
-
removeSelf(completely: any): void;
|
|
28
|
-
dispose(): void;
|
|
29
|
-
_disposed: boolean;
|
|
30
|
-
get nature(): any;
|
|
31
|
-
get disposed(): boolean;
|
|
32
|
-
isLayer(): boolean;
|
|
33
|
-
isGroup(): boolean;
|
|
34
|
-
isContainer(): boolean;
|
|
35
|
-
isLine(): boolean;
|
|
36
|
-
isRoot(): boolean;
|
|
37
|
-
isRootModel(): boolean;
|
|
38
|
-
is3dish(): boolean;
|
|
39
|
-
isTemplate(): boolean;
|
|
40
|
-
isHTMLElement(): boolean;
|
|
41
|
-
get retention(): number;
|
|
42
|
-
get hasTextProperty(): boolean;
|
|
43
|
-
get app(): any;
|
|
44
|
-
/** Properties Getter/Setter */
|
|
45
|
-
get model(): any;
|
|
46
|
-
get state(): any;
|
|
47
|
-
get hierarchy(): any;
|
|
48
|
-
get volatile(): any[];
|
|
49
|
-
set textHidden(arg: boolean);
|
|
50
|
-
get textHidden(): boolean;
|
|
51
|
-
_textHidden: any;
|
|
52
|
-
get(property: any): any;
|
|
53
|
-
/**
|
|
54
|
-
* 컴포넌트의 모델 속성값을 바꾸는 메쏘드.
|
|
55
|
-
*
|
|
56
|
-
* - 하나의 속성을 변경하는 경우.
|
|
57
|
-
* component.set('top', 10)
|
|
58
|
-
* - 여러개의 속성을 변경하는 경우.
|
|
59
|
-
* component.set({top:10, left:50})
|
|
60
|
-
*/
|
|
61
|
-
set(props: any, propval: any): any;
|
|
62
|
-
getState(property: any): any;
|
|
63
|
-
setState(props: any, propval: any): any;
|
|
64
|
-
get root(): any;
|
|
65
|
-
get rootModel(): any;
|
|
66
|
-
set parent(arg: any);
|
|
67
|
-
get parent(): any;
|
|
68
|
-
_parent: any;
|
|
69
|
-
isDescendible(container: any): boolean;
|
|
70
|
-
getContext(): any;
|
|
71
|
-
set center(arg: {
|
|
72
|
-
x: any;
|
|
73
|
-
y: any;
|
|
74
|
-
});
|
|
75
|
-
get center(): {
|
|
76
|
-
x: any;
|
|
77
|
-
y: any;
|
|
78
|
-
};
|
|
79
|
-
set path(arg: any[]);
|
|
80
|
-
get path(): any[];
|
|
81
|
-
set location(arg: {
|
|
82
|
-
x: any;
|
|
83
|
-
y: any;
|
|
84
|
-
});
|
|
85
|
-
get location(): {
|
|
86
|
-
x: any;
|
|
87
|
-
y: any;
|
|
88
|
-
};
|
|
89
|
-
set dimension(arg: any);
|
|
90
|
-
get dimension(): any;
|
|
91
|
-
set bounds(arg: {
|
|
92
|
-
left: any;
|
|
93
|
-
top: any;
|
|
94
|
-
width: number;
|
|
95
|
-
height: number;
|
|
96
|
-
});
|
|
97
|
-
get bounds(): {
|
|
98
|
-
left: any;
|
|
99
|
-
top: any;
|
|
100
|
-
width: number;
|
|
101
|
-
height: number;
|
|
102
|
-
};
|
|
103
|
-
outline(progress: any): any;
|
|
104
|
-
get anchors(): any[];
|
|
105
|
-
set strokeStyle(arg: any);
|
|
106
|
-
get strokeStyle(): any;
|
|
107
|
-
set fillStyle(arg: any);
|
|
108
|
-
get fillStyle(): any;
|
|
109
|
-
set fontColor(arg: any);
|
|
110
|
-
get fontColor(): any;
|
|
111
|
-
set rotation(arg: any);
|
|
112
|
-
get rotation(): any;
|
|
113
|
-
contains(x: any, y: any): boolean;
|
|
114
|
-
get mutable(): boolean;
|
|
115
|
-
get resizable(): boolean;
|
|
116
|
-
adjustResize(bounds: any, origin_bounds: any, diagonal: any): any;
|
|
117
|
-
get rotatable(): boolean;
|
|
118
|
-
adjustRotation(rotation: any, step: any): any;
|
|
119
|
-
get capturable(): any;
|
|
120
|
-
get stuck(): boolean;
|
|
121
|
-
findFirst(finder: any, ...others: any[]): Component;
|
|
122
|
-
findAll(s: any, ...others: any[]): any;
|
|
123
|
-
capture(x: any, y: any): false | Component;
|
|
124
|
-
prepare(resolve: any, reject: any): void;
|
|
125
|
-
prepareIf(condition: any): void;
|
|
126
|
-
get tag(): string;
|
|
127
|
-
set hidden(arg: any);
|
|
128
|
-
get hidden(): any;
|
|
129
|
-
draw(context: any): void;
|
|
130
|
-
delta(attr: any, value: any): any;
|
|
131
|
-
prerender(context: any): void;
|
|
132
|
-
render(context: any): void;
|
|
133
|
-
postrender(context: any): void;
|
|
134
|
-
drawText(context: any): void;
|
|
135
|
-
drawStroke(context: any): void;
|
|
136
|
-
drawFill(context: any): void;
|
|
137
|
-
animate(opts: any): {
|
|
138
|
-
start: () => any;
|
|
139
|
-
stop: () => any;
|
|
140
|
-
};
|
|
141
|
-
_animate: {
|
|
142
|
-
start: () => any;
|
|
143
|
-
stop: () => any;
|
|
144
|
-
};
|
|
145
|
-
move({ x, y }: {
|
|
146
|
-
x: any;
|
|
147
|
-
y: any;
|
|
148
|
-
}): void;
|
|
149
|
-
symmetryX(x: any): void;
|
|
150
|
-
symmetryY(y: any): void;
|
|
151
|
-
get animation(): any;
|
|
152
|
-
_animation: any;
|
|
153
|
-
effect(context: any, model: any): void;
|
|
154
|
-
set started(arg: any);
|
|
155
|
-
invalidate(): void;
|
|
156
|
-
get font(): string;
|
|
157
|
-
get lineHeight(): any;
|
|
158
|
-
defaultTextSubstitutor(): string;
|
|
159
|
-
get textSubstitutor(): () => string;
|
|
160
|
-
_text_substitutor: () => string;
|
|
161
|
-
set text(arg: any);
|
|
162
|
-
get text(): any;
|
|
163
|
-
textLines(context: any): any;
|
|
164
|
-
get textBounds(): {
|
|
165
|
-
left: any;
|
|
166
|
-
top: any;
|
|
167
|
-
width: number;
|
|
168
|
-
height: number;
|
|
169
|
-
};
|
|
170
|
-
get rotatePoint(): {
|
|
171
|
-
x: any;
|
|
172
|
-
y: any;
|
|
173
|
-
};
|
|
174
|
-
trim(): void;
|
|
175
|
-
set value(arg: any);
|
|
176
|
-
get value(): any;
|
|
177
|
-
set data(arg: any);
|
|
178
|
-
get data(): any;
|
|
179
|
-
get mappings(): any;
|
|
180
|
-
serialize(...others: any[]): string;
|
|
181
|
-
get controls(): void;
|
|
182
|
-
}
|
|
183
|
-
declare namespace Component {
|
|
184
|
-
export { union };
|
|
185
|
-
export { transcoordR };
|
|
186
|
-
export { transcoordRR };
|
|
187
|
-
export { createCanvas };
|
|
188
|
-
export const memoize: typeof import("../core/memoize").intercept;
|
|
189
|
-
export const mixin: typeof core.mixin;
|
|
190
|
-
export { drawText };
|
|
191
|
-
export { font };
|
|
192
|
-
export { textLines };
|
|
193
|
-
export { drawStroke };
|
|
194
|
-
export { drawFill };
|
|
195
|
-
export { reposition };
|
|
196
|
-
export { RetentionManager };
|
|
197
|
-
export { template };
|
|
198
|
-
export { buildSubstitutor };
|
|
199
|
-
}
|
|
200
|
-
export default Component;
|
|
201
|
-
import union from "./geometry/union";
|
|
202
|
-
import { transcoordR } from "./geometry/transcoord";
|
|
203
|
-
import { transcoordRR } from "./geometry/transcoord";
|
|
204
|
-
import { createCanvas } from "./html/elements";
|
|
205
|
-
import * as core from "../core";
|
|
206
|
-
import { drawText } from "./drawer/text";
|
|
207
|
-
import { font } from "./drawer/text";
|
|
208
|
-
import { textLines } from "./drawer/text";
|
|
209
|
-
import drawStroke from "./drawer/stroke";
|
|
210
|
-
import { drawFill } from "./drawer/fill";
|
|
211
|
-
import reposition from "./html/reposition";
|
|
212
|
-
import RetentionManager from "./retention/retention-manager";
|
|
213
|
-
import { buildSubstitutor } from "./text/substitutor";
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
declare const ContainerAbstract_base: {
|
|
2
|
-
new (): {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
postrender(context: any): void;
|
|
5
|
-
_draw_move_handle(context: any): void;
|
|
6
|
-
contains(x: any, y: any): any;
|
|
7
|
-
_focused: boolean;
|
|
8
|
-
};
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
};
|
|
11
|
-
export default class ContainerAbstract extends ContainerAbstract_base {
|
|
12
|
-
constructor(model: any, context: any);
|
|
13
|
-
_components: any[];
|
|
14
|
-
get showMoveHandle(): boolean;
|
|
15
|
-
dispose(): void;
|
|
16
|
-
isContainer(): boolean;
|
|
17
|
-
containable(component: any): boolean;
|
|
18
|
-
get hasTextProperty(): boolean;
|
|
19
|
-
get components(): any[];
|
|
20
|
-
get focusible(): boolean;
|
|
21
|
-
get layout(): any;
|
|
22
|
-
reflow(): void;
|
|
23
|
-
get hierarchy(): any;
|
|
24
|
-
addComponent(component: any): void;
|
|
25
|
-
removeComponent(component: any): void;
|
|
26
|
-
insertComponentAt(component: any, index: any): void;
|
|
27
|
-
add(comp: any): any;
|
|
28
|
-
remove(comp: any): any;
|
|
29
|
-
getAt(index: any): any;
|
|
30
|
-
forEach(fn: any, context: any): void;
|
|
31
|
-
traverse(fn: any, context: any): void;
|
|
32
|
-
indexOf(item: any): number;
|
|
33
|
-
size(): number;
|
|
34
|
-
moveChildAt(index: any, child: any): void;
|
|
35
|
-
moveChildForward(child: any): void;
|
|
36
|
-
moveChildBackward(child: any): void;
|
|
37
|
-
moveChildToFront(child: any): void;
|
|
38
|
-
moveChildToBack(child: any): void;
|
|
39
|
-
symmetryX(x: any): void;
|
|
40
|
-
findAll(s: any, ...others: any[]): any;
|
|
41
|
-
findFirst(s: any, ...others: any[]): any;
|
|
42
|
-
findById(id: any): any;
|
|
43
|
-
capture(x: any, y: any): any;
|
|
44
|
-
capturePath(path: any, excepts: any): any;
|
|
45
|
-
render(context: any): void;
|
|
46
|
-
trim(): void;
|
|
47
|
-
}
|
|
48
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
declare const Container_base: {
|
|
2
|
-
new (): {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
isHTMLElement(): boolean;
|
|
5
|
-
isShadowable(): boolean;
|
|
6
|
-
element: any;
|
|
7
|
-
_element: any;
|
|
8
|
-
readonly tagName: any;
|
|
9
|
-
setElementProperties(element: any): void;
|
|
10
|
-
createElement(): void;
|
|
11
|
-
userInputEventHandler(e: any): void;
|
|
12
|
-
reposition(): void;
|
|
13
|
-
disposeElement(): void;
|
|
14
|
-
ready(): void;
|
|
15
|
-
dispose(): void;
|
|
16
|
-
readonly hasTextProperty: boolean;
|
|
17
|
-
readonly textHidden: boolean;
|
|
18
|
-
onchange(after: any, before: any): void;
|
|
19
|
-
isDescendible(container: any): any;
|
|
20
|
-
};
|
|
21
|
-
[x: string]: any;
|
|
22
|
-
};
|
|
23
|
-
export default class Container extends Container_base {
|
|
24
|
-
get nature(): {
|
|
25
|
-
mutable: boolean;
|
|
26
|
-
resizable: boolean;
|
|
27
|
-
rotatable: boolean;
|
|
28
|
-
properties: {
|
|
29
|
-
type: string;
|
|
30
|
-
label: string;
|
|
31
|
-
name: string;
|
|
32
|
-
}[];
|
|
33
|
-
help: string;
|
|
34
|
-
};
|
|
35
|
-
get layout(): any;
|
|
36
|
-
}
|
|
37
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default class DataMapping {
|
|
2
|
-
constructor(model: any, owner: any);
|
|
3
|
-
owner: any;
|
|
4
|
-
set model(arg: any);
|
|
5
|
-
get model(): any;
|
|
6
|
-
dispose(): void;
|
|
7
|
-
_model: any;
|
|
8
|
-
evaluator: any;
|
|
9
|
-
accessor: (o: any) => any;
|
|
10
|
-
propAccessor: (o: any) => any;
|
|
11
|
-
partAccessor: (o: any) => any;
|
|
12
|
-
get target(): any;
|
|
13
|
-
get property(): any;
|
|
14
|
-
get param(): any;
|
|
15
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function executeMappings(force?: boolean): void;
|
|
2
|
-
export function onchangeData(after: any, before: any): void;
|
|
3
|
-
export function buildMappings(): void;
|
|
4
|
-
export class buildMappings {
|
|
5
|
-
_mappings: any;
|
|
6
|
-
}
|
|
7
|
-
export function disposeMappings(): void;
|
|
8
|
-
export function onchangeMappings(after: any, before: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function buildEvaluator(mapping: any, owner: any, rule: any, param: any, type: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function drawImage(context: any, image: any, left: any, top: any, width: any, height: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function effect(context: any): void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export function drawFill(context: any, bounds: any, center: any, style: any, host_component: any): void;
|
|
2
|
-
export function prepareFill(resolve: any, reject: any): void;
|
|
3
|
-
export class prepareFill {
|
|
4
|
-
constructor(resolve: any, reject: any);
|
|
5
|
-
_pattern_image_origin: any;
|
|
6
|
-
_pattern_image: any;
|
|
7
|
-
}
|
|
8
|
-
export function prepareFillIf(condition: any): void;
|
|
9
|
-
export function onchangeFill(after: any, before: any): void;
|
|
10
|
-
export class onchangeFill {
|
|
11
|
-
constructor(after: any, before: any);
|
|
12
|
-
_pattern_image: any;
|
|
13
|
-
_pattern_image_origin: any;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function format(mask: any, value: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function stroke(context: any, style: any, hostComponent: any): void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 주어진 텍스트를 주어진 폭(width)에 맞게 줄바꿈할 때, 각 라인별 word의 배열을 제공한다.
|
|
3
|
-
*
|
|
4
|
-
* @param context object 사용될 폰트가 설정된 Context2D 레퍼런스
|
|
5
|
-
* @param word string 줄바꿈 대상 문장
|
|
6
|
-
* @param width number 줄바꿈 기준 폭
|
|
7
|
-
* @param wrap boolean 자동 줄바꿈 여부
|
|
8
|
-
* @return array 각 라인별 word의 배열([[word1, word2, word3], [word4, word5]] 형식임)
|
|
9
|
-
*/
|
|
10
|
-
export default function splitTextToLines(context: any, text: any, width: any, wrap: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function ondropfile(transfered: any, files: any): void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* !this should be root-container
|
|
3
|
-
*
|
|
4
|
-
* @param {String} type assigns fitMode property of root container before fitting
|
|
5
|
-
*/
|
|
6
|
-
export default function fit(type: string): void;
|
|
7
|
-
export default class fit {
|
|
8
|
-
/**
|
|
9
|
-
* !this should be root-container
|
|
10
|
-
*
|
|
11
|
-
* @param {String} type assigns fitMode property of root container before fitting
|
|
12
|
-
*/
|
|
13
|
-
constructor(type: string);
|
|
14
|
-
fitMode: any;
|
|
15
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export function transcoordR(x: any, y: any, rotatePoint?: {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
}, rotation?: number, scale?: {
|
|
5
|
-
x: number;
|
|
6
|
-
y: number;
|
|
7
|
-
}): {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
};
|
|
11
|
-
export function transcoordRR(x: any, y: any, rotatePoint?: {
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
}, rotation?: number, scale?: {
|
|
15
|
-
x: number;
|
|
16
|
-
y: number;
|
|
17
|
-
}): {
|
|
18
|
-
x: number;
|
|
19
|
-
y: number;
|
|
20
|
-
};
|
|
21
|
-
export function transcoordP2S(x: any, y: any, rotatePoint: any): {
|
|
22
|
-
x: any;
|
|
23
|
-
y: any;
|
|
24
|
-
};
|
|
25
|
-
export function transcoordS2P(x: any, y: any, rotatePoint: any): {
|
|
26
|
-
x: any;
|
|
27
|
-
y: any;
|
|
28
|
-
};
|
|
29
|
-
export function transcoordS2TR(x: any, y: any, top: any): {
|
|
30
|
-
x: number;
|
|
31
|
-
y: number;
|
|
32
|
-
};
|
|
33
|
-
export function transcoordS2T(x: any, y: any, top: any): any;
|
|
34
|
-
export function transcoordT2S(x: any, y: any, top: any): any;
|
|
35
|
-
export function transcoordS2O(x: any, y: any, to: any): any;
|
|
36
|
-
export function transcoordC2S(x: any, y: any, top: any): any;
|
|
37
|
-
export function transcoordS2C(x: any, y: any, top: any): any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare function _exports(opts: any): {
|
|
2
|
-
play: () => void;
|
|
3
|
-
pause: () => void;
|
|
4
|
-
move_relative: (amount: any) => void;
|
|
5
|
-
move_to: (frame_idx: any) => void;
|
|
6
|
-
get_playing: () => boolean;
|
|
7
|
-
get_canvas: () => any;
|
|
8
|
-
get_canvas_scale: () => number;
|
|
9
|
-
get_loading: () => boolean;
|
|
10
|
-
get_auto_play: () => any;
|
|
11
|
-
get_length: () => number;
|
|
12
|
-
get_current_frame: () => number;
|
|
13
|
-
load_url: (src: any, callback: any) => void;
|
|
14
|
-
load: (callback: any) => void;
|
|
15
|
-
load_raw: (arr: any, callback: any) => void;
|
|
16
|
-
set_frame_offset: (frame: any, offset: any) => void;
|
|
17
|
-
};
|
|
18
|
-
export = _exports;
|