@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.
Files changed (172) hide show
  1. package/package.json +4 -4
  2. package/things-scene.d.ts +187 -0
  3. package/things-scene.mjs +1 -1
  4. package/types/animation/animate.d.ts +0 -4
  5. package/types/animation/animations/animation.d.ts +0 -14
  6. package/types/animation/animations/fade.d.ts +0 -4
  7. package/types/animation/animations/heartbeat.d.ts +0 -4
  8. package/types/animation/animations/moving.d.ts +0 -4
  9. package/types/animation/animations/outline.d.ts +0 -10
  10. package/types/animation/animations/rotation.d.ts +0 -4
  11. package/types/animation/animations/vibration.d.ts +0 -4
  12. package/types/animation/compile.d.ts +0 -1
  13. package/types/animation/delta.d.ts +0 -19
  14. package/types/animation/index.d.ts +0 -1
  15. package/types/command/command-change.d.ts +0 -7
  16. package/types/command/command-migrate.d.ts +0 -4
  17. package/types/command/command.d.ts +0 -5
  18. package/types/command/snapshot-commander.d.ts +0 -15
  19. package/types/components/audio.d.ts +0 -44
  20. package/types/components/cloud.d.ts +0 -3
  21. package/types/components/component.d.ts +0 -213
  22. package/types/components/container-abstract.d.ts +0 -48
  23. package/types/components/container.d.ts +0 -37
  24. package/types/components/data/data-mapping.d.ts +0 -15
  25. package/types/components/data/data.d.ts +0 -8
  26. package/types/components/data/evaluator.d.ts +0 -1
  27. package/types/components/donut.d.ts +0 -3
  28. package/types/components/drawer/draw-image-pendable.d.ts +0 -1
  29. package/types/components/drawer/effect.d.ts +0 -1
  30. package/types/components/drawer/fill.d.ts +0 -14
  31. package/types/components/drawer/format.d.ts +0 -1
  32. package/types/components/drawer/line.d.ts +0 -3
  33. package/types/components/drawer/stroke.d.ts +0 -1
  34. package/types/components/drawer/text-wrapper.d.ts +0 -10
  35. package/types/components/drawer/text.d.ts +0 -3
  36. package/types/components/ellipse.d.ts +0 -3
  37. package/types/components/file/ondropfile.d.ts +0 -1
  38. package/types/components/fit/fit.d.ts +0 -15
  39. package/types/components/geometry/transcoord.d.ts +0 -37
  40. package/types/components/geometry/union.d.ts +0 -6
  41. package/types/components/gif/super-gif.d.ts +0 -18
  42. package/types/components/gif-view.d.ts +0 -25
  43. package/types/components/global-ref.d.ts +0 -34
  44. package/types/components/group.d.ts +0 -15
  45. package/types/components/html/elements.d.ts +0 -2
  46. package/types/components/html/fill.d.ts +0 -1
  47. package/types/components/html/reposition.d.ts +0 -1
  48. package/types/components/html/shadow.d.ts +0 -1
  49. package/types/components/html-overlay-container.d.ts +0 -27
  50. package/types/components/html-overlay-element.d.ts +0 -25
  51. package/types/components/image-view.d.ts +0 -66
  52. package/types/components/index.d.ts +0 -31
  53. package/types/components/info-window.d.ts +0 -40
  54. package/types/components/line.d.ts +0 -16
  55. package/types/components/local-ref.d.ts +0 -46
  56. package/types/components/mixins/data-source.d.ts +0 -9
  57. package/types/components/mixins/html-element.d.ts +0 -23
  58. package/types/components/mixins/move-handle.d.ts +0 -11
  59. package/types/components/mixins/rect-path.d.ts +0 -12
  60. package/types/components/mixins/value-holder.d.ts +0 -18
  61. package/types/components/mutater/bounds.d.ts +0 -10
  62. package/types/components/mutater/path.d.ts +0 -5
  63. package/types/components/outline/ellipse-outline.d.ts +0 -1
  64. package/types/components/outline/path-outline.d.ts +0 -1
  65. package/types/components/path.d.ts +0 -3
  66. package/types/components/polygon.d.ts +0 -4
  67. package/types/components/polyline.d.ts +0 -4
  68. package/types/components/popup.d.ts +0 -47
  69. package/types/components/rect.d.ts +0 -35
  70. package/types/components/retention/retention-manager.d.ts +0 -8
  71. package/types/components/root-container.d.ts +0 -76
  72. package/types/components/ruler.d.ts +0 -15
  73. package/types/components/shape.d.ts +0 -22
  74. package/types/components/star.d.ts +0 -3
  75. package/types/components/text/substitutor.d.ts +0 -3
  76. package/types/components/text.d.ts +0 -15
  77. package/types/components/triangle.d.ts +0 -3
  78. package/types/components/variable.d.ts +0 -24
  79. package/types/const.d.ts +0 -31
  80. package/types/core/collection.d.ts +0 -8
  81. package/types/core/debug.d.ts +0 -1
  82. package/types/core/deep-equals.d.ts +0 -1
  83. package/types/core/dom-to-image.d.ts +0 -127
  84. package/types/core/event.d.ts +0 -181
  85. package/types/core/index.d.ts +0 -2
  86. package/types/core/list.d.ts +0 -32
  87. package/types/core/logger.d.ts +0 -3
  88. package/types/core/memoize.d.ts +0 -6
  89. package/types/core/mixin.d.ts +0 -1
  90. package/types/core/obj-accessor.d.ts +0 -1
  91. package/types/core/reference-map.d.ts +0 -14
  92. package/types/core/script-loader.d.ts +0 -3
  93. package/types/core/snapshot-taker.d.ts +0 -12
  94. package/types/core/stack.d.ts +0 -2
  95. package/types/core/timecapsule.d.ts +0 -18
  96. package/types/core/utils.d.ts +0 -4
  97. package/types/effect/gradation.d.ts +0 -1
  98. package/types/effect/index.d.ts +0 -1
  99. package/types/effect/shadow.d.ts +0 -2
  100. package/types/effect/turn.d.ts +0 -1
  101. package/types/event/event-engine.d.ts +0 -12
  102. package/types/event/event-pump.d.ts +0 -11
  103. package/types/event/event-tracker.d.ts +0 -21
  104. package/types/event/index.d.ts +0 -2
  105. package/types/event/ua-event-handler.d.ts +0 -32
  106. package/types/event-map/event-map.d.ts +0 -9
  107. package/types/event-map/index.d.ts +0 -1
  108. package/types/event-map/move-handler.d.ts +0 -1
  109. package/types/event-map/text-editor-lite.d.ts +0 -1
  110. package/types/index.d.ts +0 -1
  111. package/types/layer/action/emphasize.d.ts +0 -2
  112. package/types/layer/action/popup.d.ts +0 -2
  113. package/types/layer/action/pressed.d.ts +0 -2
  114. package/types/layer/guide-layer.d.ts +0 -44
  115. package/types/layer/index.d.ts +0 -6
  116. package/types/layer/layer.d.ts +0 -29
  117. package/types/layer/model-layer.d.ts +0 -39
  118. package/types/layer/modeler/control-handler.d.ts +0 -18
  119. package/types/layer/modeler/focus-outline.d.ts +0 -5
  120. package/types/layer/modeler/group-outline.d.ts +0 -5
  121. package/types/layer/modeler/index.d.ts +0 -6
  122. package/types/layer/modeler/path-handler.d.ts +0 -17
  123. package/types/layer/modeler/resizer.d.ts +0 -16
  124. package/types/layer/modeler/rotator.d.ts +0 -15
  125. package/types/layer/modeling-layer.d.ts +0 -47
  126. package/types/layer/selection-layer.d.ts +0 -42
  127. package/types/layer/shift-layer.d.ts +0 -18
  128. package/types/layer/tag-layer.d.ts +0 -28
  129. package/types/layout/absolute.d.ts +0 -8
  130. package/types/layout/card.d.ts +0 -7
  131. package/types/layout/html-absolute.d.ts +0 -8
  132. package/types/layout/index.d.ts +0 -7
  133. package/types/layout/layout.d.ts +0 -11
  134. package/types/layout/linear-horizontal.d.ts +0 -7
  135. package/types/layout/linear-vertical.d.ts +0 -7
  136. package/types/layout/table.d.ts +0 -9
  137. package/types/license/license.d.ts +0 -18
  138. package/types/link/arrow_straight.d.ts +0 -3
  139. package/types/link/curve.d.ts +0 -3
  140. package/types/link/index.d.ts +0 -4
  141. package/types/link/link.d.ts +0 -7
  142. package/types/link/right_angle_straight.d.ts +0 -3
  143. package/types/link/straight.d.ts +0 -3
  144. package/types/model/compile.d.ts +0 -1
  145. package/types/model/duplicate.d.ts +0 -1
  146. package/types/model/index.d.ts +0 -3
  147. package/types/model/selector.d.ts +0 -2
  148. package/types/style/compile.d.ts +0 -1
  149. package/types/style/index.d.ts +0 -1
  150. package/types/things-scene/api/add.d.ts +0 -5
  151. package/types/things-scene/api/align.d.ts +0 -1
  152. package/types/things-scene/api/change.d.ts +0 -2
  153. package/types/things-scene/api/clipboard.d.ts +0 -3
  154. package/types/things-scene/api/distribute.d.ts +0 -1
  155. package/types/things-scene/api/duplicate.d.ts +0 -4
  156. package/types/things-scene/api/fullscreen.d.ts +0 -1
  157. package/types/things-scene/api/group.d.ts +0 -8
  158. package/types/things-scene/api/index.d.ts +0 -14
  159. package/types/things-scene/api/listener.d.ts +0 -3
  160. package/types/things-scene/api/remove.d.ts +0 -4
  161. package/types/things-scene/api/symmetry.d.ts +0 -2
  162. package/types/things-scene/api/to-data-url.d.ts +0 -1
  163. package/types/things-scene/api/variables.d.ts +0 -13
  164. package/types/things-scene/api/zorder.d.ts +0 -2
  165. package/types/things-scene/application-context.d.ts +0 -33
  166. package/types/things-scene/config.d.ts +0 -4
  167. package/types/things-scene/create.d.ts +0 -12
  168. package/types/things-scene/fps.d.ts +0 -1
  169. package/types/things-scene/index.d.ts +0 -16
  170. package/types/things-scene/polyfill.d.ts +0 -2
  171. package/types/things-scene/scene.d.ts +0 -146
  172. package/types/things-scene/version.d.ts +0 -2
@@ -1,25 +0,0 @@
1
- export default class GifView extends HTMLOverlayElement {
2
- oncreate_element(div: any): Promise<void>;
3
- buildImg(): HTMLImageElement;
4
- onchangeplay(play: any): void;
5
- onchangesrc(src: any): void;
6
- _superGif: any;
7
- ondropfile(transfered: any, files: any): void;
8
- set src(arg: any);
9
- get src(): any;
10
- set play(arg: any);
11
- get play(): any;
12
- get nature(): {
13
- mutable: boolean;
14
- resizable: boolean;
15
- rotatable: boolean;
16
- properties: {
17
- type: string;
18
- label: string;
19
- name: string;
20
- }[];
21
- 'value-property': string;
22
- help: string;
23
- };
24
- }
25
- import HTMLOverlayElement from "./html-overlay-element";
@@ -1,34 +0,0 @@
1
- export default class GlobalRef extends HTMLOverlayContainer {
2
- get nature(): {
3
- mutable: boolean;
4
- resizable: boolean;
5
- rotatable: boolean;
6
- properties: ({
7
- type: string;
8
- label: string;
9
- name: string;
10
- placeholder: string;
11
- property?: undefined;
12
- } | {
13
- type: string;
14
- label: string;
15
- name: string;
16
- property: {
17
- options: string[];
18
- };
19
- placeholder?: undefined;
20
- })[];
21
- 'value-property': string;
22
- help: string;
23
- };
24
- _element_bounds: {
25
- offsetWidth: any;
26
- offsetHeight: any;
27
- };
28
- fetchRef(): Promise<void>;
29
- __ref: any;
30
- set ref(arg: any);
31
- get ref(): any;
32
- _releaseRef(): void;
33
- }
34
- import HTMLOverlayContainer from "./html-overlay-container";
@@ -1,15 +0,0 @@
1
- export default class Group extends Container {
2
- isGroup(): boolean;
3
- get(property: any): any;
4
- set(props: any, propval: any): any;
5
- capture(x: any, y: any): any;
6
- set bounds(arg: any);
7
- get bounds(): any;
8
- path: any;
9
- get focusible(): boolean;
10
- calculateBounds(): void;
11
- __MUTATING__: boolean;
12
- render(context: any): void;
13
- postrender(context: any): void;
14
- }
15
- import Container from "../components/container";
@@ -1,2 +0,0 @@
1
- export var createCanvas: any;
2
- export var createElement: any;
@@ -1 +0,0 @@
1
- export default function fill(component: any): void;
@@ -1 +0,0 @@
1
- export default function reposition(component: any): void;
@@ -1 +0,0 @@
1
- export default function shadow(component: any): void;
@@ -1,27 +0,0 @@
1
- declare const HTMLOverlayContainer_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 HTMLOverlayContainer extends HTMLOverlayContainer_base {
24
- render(context: any): void;
25
- get layout(): any;
26
- }
27
- export {};
@@ -1,25 +0,0 @@
1
- declare const HTMLOverlayElement_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 HTMLOverlayElement extends HTMLOverlayElement_base {
24
- }
25
- export {};
@@ -1,66 +0,0 @@
1
- declare const ImageView_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 ImageView extends ImageView_base {
13
- static get noimage(): any;
14
- dispose(): void;
15
- _offcanvas: any;
16
- _image: HTMLImageElement;
17
- render(ctx: any): void;
18
- get nature(): {
19
- mutable: boolean;
20
- resizable: boolean;
21
- rotatable: boolean;
22
- properties: ({
23
- type: string;
24
- label: string;
25
- name: string;
26
- property: {
27
- displayField: string;
28
- displayFullUrl: boolean;
29
- baseUrlAlias: string;
30
- defaultStorage: string;
31
- storageFilters: {
32
- type: ArrayConstructor;
33
- value: {
34
- name: string;
35
- value: string;
36
- }[];
37
- };
38
- useUpload: boolean;
39
- options?: undefined;
40
- };
41
- } | {
42
- type: string;
43
- label: string;
44
- name: string;
45
- property: {
46
- options: string[];
47
- displayField?: undefined;
48
- displayFullUrl?: undefined;
49
- baseUrlAlias?: undefined;
50
- defaultStorage?: undefined;
51
- storageFilters?: undefined;
52
- useUpload?: undefined;
53
- };
54
- })[];
55
- 'value-property': string;
56
- help: string;
57
- };
58
- get hasTextProperty(): boolean;
59
- ready(): void;
60
- prepare(resolve: any, reject: any): void;
61
- set src(arg: any);
62
- get src(): any;
63
- onchange(after: any, before: any): void;
64
- ondropfile(transfered: any, files: any): void;
65
- }
66
- export {};
@@ -1,31 +0,0 @@
1
- export { default as Component } from "./component";
2
- export { default as ContainerAbstract } from "./container-abstract";
3
- export { default as Container } from "./container";
4
- export { default as RootContainer } from "./root-container";
5
- export { default as Shape } from "./shape";
6
- export { default as Line } from "./line";
7
- export { default as Ellipse } from "./ellipse";
8
- export { default as Rect } from "./rect";
9
- export { default as Polygon } from "./polygon";
10
- export { default as Polyline } from "./polyline";
11
- export { default as Ruler } from "./ruler";
12
- export { default as ImageView } from "./image-view";
13
- export { default as GifView } from "./gif-view";
14
- export { default as AudioPlayer } from "./audio";
15
- export { default as Text } from "./text";
16
- export { default as Group } from "./group";
17
- export { default as LocalRef } from "./local-ref";
18
- export { default as GlobalRef } from "./global-ref";
19
- export { default as InfoWindow } from "./info-window";
20
- export { default as Popup } from "./popup";
21
- export { default as HTMLOverlayElement } from "./html-overlay-element";
22
- export { default as HTMLOverlayContainer } from "./html-overlay-container";
23
- export { default as Path } from "./path";
24
- export { default as Triangle } from "./triangle";
25
- export { default as Donut } from "./donut";
26
- export { default as Star } from "./star";
27
- export { default as Variable } from "./variable";
28
- export { default as RectPath } from "./mixins/rect-path";
29
- export { default as ValueHolder } from "./mixins/value-holder";
30
- export { default as DataSource } from "./mixins/data-source";
31
- export { default as MoveHandle } from "./mixins/move-handle";
@@ -1,40 +0,0 @@
1
- declare const InfoWindow_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 InfoWindow extends InfoWindow_base {
13
- static get image(): any;
14
- static toggle(component: any, infoWindowId: any, autoClose: any, position: any): void;
15
- static hide(component: any, infoWindowId: any): void;
16
- static show(component: any, infoWindowId: any, autoClose: any, position: any): void;
17
- dispose(): void;
18
- get infoWindows(): any[];
19
- _windows: any[];
20
- _findInfoWindowByComponent(component: any): any;
21
- _addInfoWindow(component: any, window: any, styleElement: any): void;
22
- _removeInfoWindow(component: any): void;
23
- render(context: any): void;
24
- get hasTextProperty(): boolean;
25
- get nature(): {
26
- mutable: boolean;
27
- resizable: boolean;
28
- rotatable: boolean;
29
- properties: {
30
- type: string;
31
- label: string;
32
- name: string;
33
- property: {
34
- language: string;
35
- };
36
- }[];
37
- help: string;
38
- };
39
- }
40
- export {};
@@ -1,16 +0,0 @@
1
- declare class Line extends Component {
2
- get drawPath(): {
3
- x: any;
4
- y: any;
5
- }[];
6
- }
7
- declare namespace Line {
8
- export { getTipNeckPos };
9
- export { containedInPath };
10
- export { drawEndTips };
11
- }
12
- export default Line;
13
- import Component from "./component";
14
- import { getTipNeckPos } from "./drawer/line";
15
- import { containedInPath } from "./drawer/line";
16
- import { drawEndTips } from "./drawer/line";
@@ -1,46 +0,0 @@
1
- declare const LocalRef_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 LocalRef extends LocalRef_base {
13
- set ref(arg: any);
14
- get ref(): any;
15
- get refScale(): {
16
- x: number;
17
- y: number;
18
- };
19
- draw(ctx: any): void;
20
- _drawing: boolean;
21
- prerender(ctx: any): void;
22
- postrender(ctx: any): any;
23
- render(ctx: any): any;
24
- get nature(): {
25
- mutable: boolean;
26
- resizable: boolean;
27
- rotatable: boolean;
28
- properties: ({
29
- type: string;
30
- label: string;
31
- name: string;
32
- property?: undefined;
33
- } | {
34
- type: string;
35
- label: string;
36
- name: string;
37
- property: {
38
- options: string[];
39
- };
40
- })[];
41
- 'value-property': string;
42
- help: string;
43
- };
44
- get hasTextProperty(): boolean;
45
- }
46
- export {};
@@ -1,9 +0,0 @@
1
- declare function _default(superclass: any): {
2
- new (): {
3
- [x: string]: any;
4
- _convertDataFormat(data: any, format: any): any;
5
- isDataSource(): boolean;
6
- };
7
- [x: string]: any;
8
- };
9
- export default _default;
@@ -1,23 +0,0 @@
1
- declare function _default(superclass: any): {
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 _default;
@@ -1,11 +0,0 @@
1
- declare function _default(superclass: any): {
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 _default;
@@ -1,12 +0,0 @@
1
- declare function _default(superclass: any): {
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 _default;
@@ -1,18 +0,0 @@
1
- declare function _default(superclass: any): {
2
- new (): {
3
- [x: string]: any;
4
- animOnValueChange(value: any, animFromBase: boolean, base: any): void;
5
- _lastValue: any;
6
- _anim_alpha: number;
7
- dispose(): void;
8
- onchange(after: any, before: any): void;
9
- readonly animAlpha: number;
10
- readonly animValue: any;
11
- defaultValueSubstitutor(): any;
12
- readonly valueSubstitutor: () => any;
13
- _value_substitutor: () => any;
14
- value: number;
15
- };
16
- [x: string]: any;
17
- };
18
- export default _default;
@@ -1,10 +0,0 @@
1
- export default function mutateBounds(logic: any, context: any): void;
2
- export default class mutateBounds {
3
- constructor(logic: any, context: any);
4
- bounds: {
5
- left: any;
6
- top: any;
7
- width: number;
8
- height: number;
9
- };
10
- }
@@ -1,5 +0,0 @@
1
- export default function mutatePath(beforeLogic: any, afterLogic: any, context: any): void;
2
- export default class mutatePath {
3
- constructor(beforeLogic: any, afterLogic: any, context: any);
4
- path: any;
5
- }
@@ -1 +0,0 @@
1
- export default function ellipseOutline(component: any, progress: any): any;
@@ -1 +0,0 @@
1
- export default function pathOutline(component: any, progress: any): any;
@@ -1,3 +0,0 @@
1
- export default class Path extends Component {
2
- }
3
- import Component from "./component";
@@ -1,4 +0,0 @@
1
- export default class Polygon extends Shape {
2
- get pathExtendable(): boolean;
3
- }
4
- import Shape from "./shape";
@@ -1,4 +0,0 @@
1
- export default class Polyline extends Line {
2
- get pathExtendable(): boolean;
3
- }
4
- import Line from "./line";
@@ -1,47 +0,0 @@
1
- declare const Popup_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 Popup extends Popup_base {
13
- static get image(): any;
14
- ready(): void;
15
- render(context: any): void;
16
- onchange(after: any, before: any): void;
17
- set show(arg: any);
18
- get show(): any;
19
- onchangeShow(value: any): void;
20
- set board(arg: any);
21
- get board(): any;
22
- set started(arg: any);
23
- get started(): any;
24
- set value(arg: any);
25
- get value(): any;
26
- get hasTextProperty(): boolean;
27
- get nature(): {
28
- mutable: boolean;
29
- resizable: boolean;
30
- rotatable: boolean;
31
- properties: ({
32
- type: string;
33
- label: string;
34
- name: string;
35
- property?: undefined;
36
- } | {
37
- type: string;
38
- label: string;
39
- name: string;
40
- property: {
41
- options: string[];
42
- };
43
- })[];
44
- help: string;
45
- };
46
- }
47
- export {};
@@ -1,35 +0,0 @@
1
- declare const Rect_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 Rect extends Rect_base {
13
- is3dish(): boolean;
14
- render(ctx: any): void;
15
- get controls(): {
16
- x: any;
17
- y: any;
18
- handler: {
19
- ondragmove: (point: any, index: any, component: any) => void;
20
- };
21
- }[];
22
- get nature(): {
23
- mutable: boolean;
24
- resizable: boolean;
25
- rotatable: boolean;
26
- properties: {
27
- type: string;
28
- label: string;
29
- name: string;
30
- property: string;
31
- }[];
32
- help: string;
33
- };
34
- }
35
- export {};
@@ -1,8 +0,0 @@
1
- declare var _default: RetentionManager;
2
- export default _default;
3
- declare class RetentionManager {
4
- add(component: any): void;
5
- remove(component: any): void;
6
- touch(): void;
7
- get length(): number;
8
- }
@@ -1,76 +0,0 @@
1
- export default class RootContainer extends ContainerAbstract {
2
- fitMode: any;
3
- _app: any;
4
- set target_element(arg: any);
5
- get target_element(): any;
6
- isRoot(): boolean;
7
- get app(): any;
8
- _ua_event_handler: Event.UAEventHandler;
9
- _target_element: any;
10
- variable(name: any, value: any): any;
11
- buildVariables(variables: any): void;
12
- /**
13
- * Scene 모델의 단위(unit)을 감안한 기본 Scale 값을 제공한다.
14
- * 통산 'mm', 'cm' 단위의 Scene은 각 값에 10배를 곱한 수치로 모델링된다.(값을 10으로 나눈값이 실제 단위와 일치한다.)
15
- * unitScale의 의미는 scene에 unitScale값으로 scale하면, 각 단위값이 화면과 일치한다는 의미이다.
16
- *
17
- * 모델링의 수치단위가 픽셀이 아니고, mm, cm, inch 등의 단위인 경우에,
18
- * 화면에서의 크기가 실물과 유사하게 보이는 수준의 기본 스케일을 제공하는 기능이다.
19
- * 이 값은 내부적으로는, Ruler에서 눈금을 실제 자의 눈금과 일치시키기 위해서 사용한다.
20
- */
21
- get unitScale(): number;
22
- addTemplate(prefix: any, component: any): void;
23
- removeTemplate(prefix: any, component: any): void;
24
- findTemplateFor(id: any): any;
25
- templatePrefixes: string[];
26
- addIndex(id: any, component: any): void;
27
- removeIndex(id: any, component: any): void;
28
- findOrCreate(id: any): any;
29
- resize(): void;
30
- _disposeAllResources(): void;
31
- set selected(arg: any);
32
- get selected(): any;
33
- _ready: boolean;
34
- indexMap: {};
35
- templateMap: {};
36
- rebuildContentModel(contentModel: any): void;
37
- eventEngine: Event.Engine;
38
- model_layer: any;
39
- assist_layers: any;
40
- assist_handlers: any;
41
- get root(): RootContainer;
42
- /**
43
- * 모델들이 다 생성되고 준비되었는지를 알려준다.
44
- */
45
- get isReady(): boolean;
46
- get rootModel(): any;
47
- get stuck(): boolean;
48
- set data(arg: any);
49
- get data(): any;
50
- _selected: any;
51
- set focused(arg: any);
52
- get focused(): any;
53
- set style(arg: any);
54
- get style(): any;
55
- _style: any;
56
- _compiled_style: any;
57
- invalidate(): void;
58
- get eventMap(): {
59
- '(root)': {
60
- '(descendant)': {
61
- added: (container: any, component: any) => void;
62
- removed: (container: any, component: any) => void;
63
- change: (after: any, before: any, hint: any) => void;
64
- };
65
- };
66
- };
67
- refreshMappings(): void;
68
- _refresh_mapping_debouncer: any;
69
- _addTraverse(component: any): void;
70
- _removeTraverse(component: any): void;
71
- onadded(container: any, component: any): void;
72
- onremoved(container: any, component: any): void;
73
- onchanged(after: any, before: any, hint: any): void;
74
- }
75
- import ContainerAbstract from "./container-abstract";
76
- import * as Event from "../event";
@@ -1,15 +0,0 @@
1
- declare const Ruler_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 Ruler extends Ruler_base {
13
- render(ctx: any): void;
14
- }
15
- export {};