@hatiolab/things-scene 2.7.9 → 2.7.13

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 (186) hide show
  1. package/db.sqlite +0 -0
  2. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +3 -3
  3. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +21 -6
  4. package/logs/application-2021-11-15-23.log +4 -0
  5. package/logs/connections-2021-11-08-22.log +32 -0
  6. package/logs/connections-2021-11-09-19.log +32 -0
  7. package/logs/connections-2021-11-10-23.log +32 -0
  8. package/logs/connections-2021-11-13-21.log +32 -0
  9. package/logs/connections-2021-11-15-23.log +32 -0
  10. package/package.json +6 -4
  11. package/things-scene-ie.js +1 -1
  12. package/things-scene-min.js +1 -1
  13. package/things-scene.mjs +1 -1
  14. package/tsconfig.json +9 -0
  15. package/types/animation/animate.d.ts +4 -0
  16. package/types/animation/animations/animation.d.ts +14 -0
  17. package/types/animation/animations/fade.d.ts +4 -0
  18. package/types/animation/animations/heartbeat.d.ts +4 -0
  19. package/types/animation/animations/moving.d.ts +4 -0
  20. package/types/animation/animations/outline.d.ts +10 -0
  21. package/types/animation/animations/rotation.d.ts +4 -0
  22. package/types/animation/animations/vibration.d.ts +4 -0
  23. package/types/animation/compile.d.ts +1 -0
  24. package/types/animation/delta.d.ts +19 -0
  25. package/types/animation/index.d.ts +1 -0
  26. package/types/command/command-change.d.ts +7 -0
  27. package/types/command/command-migrate.d.ts +4 -0
  28. package/types/command/command.d.ts +5 -0
  29. package/types/command/snapshot-commander.d.ts +15 -0
  30. package/types/components/audio.d.ts +44 -0
  31. package/types/components/cloud.d.ts +3 -0
  32. package/types/components/component.d.ts +213 -0
  33. package/types/components/container-abstract.d.ts +48 -0
  34. package/types/components/container.d.ts +37 -0
  35. package/types/components/data/data-mapping.d.ts +15 -0
  36. package/types/components/data/data.d.ts +8 -0
  37. package/types/components/data/evaluator.d.ts +1 -0
  38. package/types/components/donut.d.ts +3 -0
  39. package/types/components/drawer/draw-image-pendable.d.ts +1 -0
  40. package/types/components/drawer/effect.d.ts +1 -0
  41. package/types/components/drawer/fill.d.ts +14 -0
  42. package/types/components/drawer/format.d.ts +1 -0
  43. package/types/components/drawer/line.d.ts +3 -0
  44. package/types/components/drawer/stroke.d.ts +1 -0
  45. package/types/components/drawer/text-wrapper.d.ts +10 -0
  46. package/types/components/drawer/text.d.ts +3 -0
  47. package/types/components/ellipse.d.ts +3 -0
  48. package/types/components/file/ondropfile.d.ts +1 -0
  49. package/types/components/fit/fit.d.ts +15 -0
  50. package/types/components/geometry/transcoord.d.ts +37 -0
  51. package/types/components/geometry/union.d.ts +6 -0
  52. package/types/components/gif/super-gif.d.ts +18 -0
  53. package/types/components/gif-view.d.ts +25 -0
  54. package/types/components/global-ref.d.ts +34 -0
  55. package/types/components/group.d.ts +15 -0
  56. package/types/components/html/elements.d.ts +2 -0
  57. package/types/components/html/fill.d.ts +1 -0
  58. package/types/components/html/reposition.d.ts +1 -0
  59. package/types/components/html/shadow.d.ts +1 -0
  60. package/types/components/html-overlay-container.d.ts +27 -0
  61. package/types/components/html-overlay-element.d.ts +25 -0
  62. package/types/components/image-view.d.ts +66 -0
  63. package/types/components/index.d.ts +31 -0
  64. package/types/components/info-window.d.ts +40 -0
  65. package/types/components/line.d.ts +16 -0
  66. package/types/components/local-ref.d.ts +46 -0
  67. package/types/components/mixins/data-source.d.ts +9 -0
  68. package/types/components/mixins/html-element.d.ts +23 -0
  69. package/types/components/mixins/move-handle.d.ts +11 -0
  70. package/types/components/mixins/rect-path.d.ts +12 -0
  71. package/types/components/mixins/value-holder.d.ts +18 -0
  72. package/types/components/mutater/bounds.d.ts +10 -0
  73. package/types/components/mutater/path.d.ts +5 -0
  74. package/types/components/outline/ellipse-outline.d.ts +1 -0
  75. package/types/components/outline/path-outline.d.ts +1 -0
  76. package/types/components/path.d.ts +3 -0
  77. package/types/components/polygon.d.ts +4 -0
  78. package/types/components/polyline.d.ts +4 -0
  79. package/types/components/popup.d.ts +47 -0
  80. package/types/components/rect.d.ts +35 -0
  81. package/types/components/retention/retention-manager.d.ts +8 -0
  82. package/types/components/root-container.d.ts +76 -0
  83. package/types/components/ruler.d.ts +15 -0
  84. package/types/components/shape.d.ts +22 -0
  85. package/types/components/star.d.ts +3 -0
  86. package/types/components/text/substitutor.d.ts +3 -0
  87. package/types/components/text.d.ts +15 -0
  88. package/types/components/triangle.d.ts +3 -0
  89. package/types/components/variable.d.ts +24 -0
  90. package/types/const.d.ts +31 -0
  91. package/types/core/collection.d.ts +8 -0
  92. package/types/core/debug.d.ts +1 -0
  93. package/types/core/deep-equals.d.ts +1 -0
  94. package/types/core/dom-to-image.d.ts +127 -0
  95. package/types/core/event.d.ts +181 -0
  96. package/types/core/index.d.ts +2 -0
  97. package/types/core/list.d.ts +32 -0
  98. package/types/core/logger.d.ts +3 -0
  99. package/types/core/memoize.d.ts +6 -0
  100. package/types/core/mixin.d.ts +1 -0
  101. package/types/core/obj-accessor.d.ts +1 -0
  102. package/types/core/reference-map.d.ts +14 -0
  103. package/types/core/script-loader.d.ts +3 -0
  104. package/types/core/snapshot-taker.d.ts +12 -0
  105. package/types/core/stack.d.ts +2 -0
  106. package/types/core/timecapsule.d.ts +18 -0
  107. package/types/core/utils.d.ts +4 -0
  108. package/types/effect/gradation.d.ts +1 -0
  109. package/types/effect/index.d.ts +1 -0
  110. package/types/effect/shadow.d.ts +2 -0
  111. package/types/effect/turn.d.ts +1 -0
  112. package/types/event/event-engine.d.ts +12 -0
  113. package/types/event/event-pump.d.ts +11 -0
  114. package/types/event/event-tracker.d.ts +21 -0
  115. package/types/event/index.d.ts +2 -0
  116. package/types/event/ua-event-handler.d.ts +32 -0
  117. package/types/event-map/event-map.d.ts +9 -0
  118. package/types/event-map/index.d.ts +1 -0
  119. package/types/event-map/move-handler.d.ts +1 -0
  120. package/types/event-map/text-editor-lite.d.ts +1 -0
  121. package/types/index.d.ts +1 -0
  122. package/types/layer/action/emphasize.d.ts +2 -0
  123. package/types/layer/action/popup.d.ts +2 -0
  124. package/types/layer/action/pressed.d.ts +2 -0
  125. package/types/layer/guide-layer.d.ts +44 -0
  126. package/types/layer/index.d.ts +6 -0
  127. package/types/layer/layer.d.ts +29 -0
  128. package/types/layer/model-layer.d.ts +39 -0
  129. package/types/layer/modeler/control-handler.d.ts +18 -0
  130. package/types/layer/modeler/focus-outline.d.ts +5 -0
  131. package/types/layer/modeler/group-outline.d.ts +5 -0
  132. package/types/layer/modeler/index.d.ts +6 -0
  133. package/types/layer/modeler/path-handler.d.ts +17 -0
  134. package/types/layer/modeler/resizer.d.ts +16 -0
  135. package/types/layer/modeler/rotator.d.ts +15 -0
  136. package/types/layer/modeling-layer.d.ts +47 -0
  137. package/types/layer/selection-layer.d.ts +42 -0
  138. package/types/layer/shift-layer.d.ts +18 -0
  139. package/types/layer/tag-layer.d.ts +28 -0
  140. package/types/layout/absolute.d.ts +8 -0
  141. package/types/layout/card.d.ts +7 -0
  142. package/types/layout/html-absolute.d.ts +8 -0
  143. package/types/layout/index.d.ts +7 -0
  144. package/types/layout/layout.d.ts +11 -0
  145. package/types/layout/linear-horizontal.d.ts +7 -0
  146. package/types/layout/linear-vertical.d.ts +7 -0
  147. package/types/layout/table.d.ts +9 -0
  148. package/types/license/license.d.ts +18 -0
  149. package/types/link/arrow_straight.d.ts +3 -0
  150. package/types/link/curve.d.ts +3 -0
  151. package/types/link/index.d.ts +4 -0
  152. package/types/link/link.d.ts +7 -0
  153. package/types/link/right_angle_straight.d.ts +3 -0
  154. package/types/link/straight.d.ts +3 -0
  155. package/types/model/compile.d.ts +1 -0
  156. package/types/model/duplicate.d.ts +1 -0
  157. package/types/model/index.d.ts +3 -0
  158. package/types/model/selector.d.ts +2 -0
  159. package/types/style/compile.d.ts +1 -0
  160. package/types/style/index.d.ts +1 -0
  161. package/types/things-scene/api/add.d.ts +5 -0
  162. package/types/things-scene/api/align.d.ts +1 -0
  163. package/types/things-scene/api/change.d.ts +2 -0
  164. package/types/things-scene/api/clipboard.d.ts +3 -0
  165. package/types/things-scene/api/distribute.d.ts +1 -0
  166. package/types/things-scene/api/duplicate.d.ts +4 -0
  167. package/types/things-scene/api/fullscreen.d.ts +1 -0
  168. package/types/things-scene/api/group.d.ts +8 -0
  169. package/types/things-scene/api/index.d.ts +14 -0
  170. package/types/things-scene/api/listener.d.ts +3 -0
  171. package/types/things-scene/api/remove.d.ts +4 -0
  172. package/types/things-scene/api/symmetry.d.ts +2 -0
  173. package/types/things-scene/api/to-data-url.d.ts +1 -0
  174. package/types/things-scene/api/variables.d.ts +13 -0
  175. package/types/things-scene/api/zorder.d.ts +2 -0
  176. package/types/things-scene/application-context.d.ts +33 -0
  177. package/types/things-scene/config.d.ts +4 -0
  178. package/types/things-scene/create.d.ts +12 -0
  179. package/types/things-scene/fps.d.ts +1 -0
  180. package/types/things-scene/index.d.ts +16 -0
  181. package/types/things-scene/polyfill.d.ts +2 -0
  182. package/types/things-scene/scene.d.ts +146 -0
  183. package/types/things-scene/version.d.ts +2 -0
  184. package/logs/application-2021-10-31-21.log +0 -4
  185. package/logs/connections-2021-10-23-08.log +0 -64
  186. package/logs/connections-2021-10-31-21.log +0 -32
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Shape 컴포넌트는 단순한 형태의 컴포넌트의 공통 기능을 정의한 추상클래스이다.
3
+ * 단순한 형태의 컴포넌트란
4
+ * - 컴포넌트 전체에서 라인 스타일이 하나만 사용된다.
5
+ * - 컴포넌트 전체에서 FILL 스타일이 하나만 사용된다.
6
+ *
7
+ * 이런 단순한 컴포넌트는 render 메쏘드에서 모든 패스를 lineTo로 그리기만 하고
8
+ * postrender에서 Fill, Stroke을 일괄적으로 한다.
9
+ */
10
+ export default class Shape extends Component {
11
+ set rotationX(arg: any);
12
+ get rotationX(): any;
13
+ set rotationY(arg: any);
14
+ get rotationY(): any;
15
+ set rotationZ(arg: any);
16
+ get rotationZ(): any;
17
+ set zPos(arg: any);
18
+ get zPos(): any;
19
+ set depth(arg: any);
20
+ get depth(): any;
21
+ }
22
+ import Component from "./component";
@@ -0,0 +1,3 @@
1
+ export default class Star extends Ellipse {
2
+ }
3
+ import Ellipse from "./ellipse";
@@ -0,0 +1,3 @@
1
+ export function access(expression: any): any;
2
+ export function substitute(expression: any, customObjToVal: any): string;
3
+ export function buildSubstitutor(expression: any, component: any, customObjToVal: any): () => string;
@@ -0,0 +1,15 @@
1
+ declare const Text_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 Text extends Text_base {
13
+ is3dish(): boolean;
14
+ }
15
+ export {};
@@ -0,0 +1,3 @@
1
+ export default class Triangle extends Shape {
2
+ }
3
+ import Shape from "./shape";
@@ -0,0 +1,24 @@
1
+ declare const Variable_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 Variable extends Variable_base {
13
+ render(ctx: any): void;
14
+ set text(arg: any);
15
+ get text(): any;
16
+ get rotatable(): boolean;
17
+ get nature(): {
18
+ mutable: boolean;
19
+ resizable: boolean;
20
+ rotatable: boolean;
21
+ properties: any[];
22
+ };
23
+ }
24
+ export {};
@@ -0,0 +1,31 @@
1
+ export const NOTHING: {};
2
+ /** @constant {number} */
3
+ export const MODE_VIEW: 0;
4
+ /** @constant {number} */
5
+ export const MODE_EDIT: 1;
6
+ /** @constant {number} */
7
+ export const MODE_SHIFT: 2;
8
+ /**
9
+ * maximum undo queue size
10
+ * @constant {number}
11
+ * @default 30
12
+ */
13
+ export const MAX_UNDO_SIZE: 30;
14
+ export const DPPX: number;
15
+ /** @constant {string-array} */
16
+ export const GESTURES: string[];
17
+ /** @constant {string-array} */
18
+ export const KEYEVENTS: string[];
19
+ export namespace DEFAULT {
20
+ const ALPHA: number;
21
+ const FONT_SIZE: number;
22
+ const FONT_FAMILY: string;
23
+ const FONT_COLOR: string;
24
+ const TEXT_ALIGN: string;
25
+ const TEXT_BASELINE: string;
26
+ const TEXT_WRAP: boolean;
27
+ const BOLD: boolean;
28
+ const ITALIC: boolean;
29
+ const STROKE_STYLE: string;
30
+ const LINE_DASH: string;
31
+ }
@@ -0,0 +1,8 @@
1
+ export function List(): void;
2
+ export function Stack(): void;
3
+ export function withList(): void;
4
+ export class withList {
5
+ }
6
+ export function withStack(): void;
7
+ export class withStack {
8
+ }
@@ -0,0 +1 @@
1
+ export var enabled: boolean;
@@ -0,0 +1 @@
1
+ export default function deepEquals(actual: any, expected: any, opts: any): any;
@@ -0,0 +1,127 @@
1
+ export default domtoimage;
2
+ declare namespace domtoimage {
3
+ export { toSvg };
4
+ export { toPng };
5
+ export { toJpeg };
6
+ export { toBlob };
7
+ export { toPixelData };
8
+ export namespace impl {
9
+ export { fontFaces };
10
+ export { images };
11
+ export { util };
12
+ export { inliner };
13
+ export const options: {};
14
+ }
15
+ }
16
+ /**
17
+ * @param {Node} node - The DOM Node object to render
18
+ * @param {Object} options - Rendering options
19
+ * @param {Function} options.filter - Should return true if passed node should be included in the output
20
+ * (excluding node means excluding it's children as well). Not called on the root node.
21
+ * @param {String} options.bgcolor - color for the background, any valid CSS color value.
22
+ * @param {Number} options.width - width to be applied to node before rendering.
23
+ * @param {Number} options.height - height to be applied to node before rendering.
24
+ * @param {Object} options.style - an object whose properties to be copied to node's style before rendering.
25
+ * @param {Number} options.quality - a Number between 0 and 1 indicating image quality (applicable to JPEG only),
26
+ defaults to 1.0.
27
+ * @param {String} options.imagePlaceholder - dataURL to use as a placeholder for failed images, default behaviour is to fail fast on images we can't fetch
28
+ * @param {Boolean} options.cacheBust - set to true to cache bust by appending the time to the request url
29
+ * @return {Promise} - A promise that is fulfilled with a SVG image data URL
30
+ * */
31
+ declare function toSvg(node: Node, options: {
32
+ filter: Function;
33
+ bgcolor: string;
34
+ width: number;
35
+ height: number;
36
+ style: any;
37
+ quality: number;
38
+ imagePlaceholder: string;
39
+ cacheBust: boolean;
40
+ }): Promise<any>;
41
+ /**
42
+ * @param {Node} node - The DOM Node object to render
43
+ * @param {Object} options - Rendering options, @see {@link toSvg}
44
+ * @return {Promise} - A promise that is fulfilled with a PNG image data URL
45
+ * */
46
+ declare function toPng(node: Node, options: any): Promise<any>;
47
+ /**
48
+ * @param {Node} node - The DOM Node object to render
49
+ * @param {Object} options - Rendering options, @see {@link toSvg}
50
+ * @return {Promise} - A promise that is fulfilled with a JPEG image data URL
51
+ * */
52
+ declare function toJpeg(node: Node, options: any): Promise<any>;
53
+ /**
54
+ * @param {Node} node - The DOM Node object to render
55
+ * @param {Object} options - Rendering options, @see {@link toSvg}
56
+ * @return {Promise} - A promise that is fulfilled with a PNG image blob
57
+ * */
58
+ declare function toBlob(node: Node, options: any): Promise<any>;
59
+ /**
60
+ * @param {Node} node - The DOM Node object to render
61
+ * @param {Object} options - Rendering options, @see {@link toSvg}
62
+ * @return {Promise} - A promise that is fulfilled with a Uint8Array containing RGBA pixel data.
63
+ * */
64
+ declare function toPixelData(node: Node, options: any): Promise<any>;
65
+ declare namespace fontFaces {
66
+ export { resolveAll };
67
+ export namespace impl_1 {
68
+ export { readAll };
69
+ }
70
+ export { impl_1 as impl };
71
+ }
72
+ declare namespace images {
73
+ export { inlineAll };
74
+ export namespace impl_2 {
75
+ export { newImage };
76
+ }
77
+ export { impl_2 as impl };
78
+ }
79
+ declare namespace util {
80
+ export { escape };
81
+ export { parseExtension };
82
+ export { mimeType };
83
+ export { dataAsUrl };
84
+ export { isDataUrl };
85
+ export { canvasToBlob };
86
+ export { resolveUrl };
87
+ export { getAndEncode };
88
+ export function uid(): string;
89
+ export { delay };
90
+ export { asArray };
91
+ export { escapeXhtml };
92
+ export { makeImage };
93
+ export { width };
94
+ export { height };
95
+ }
96
+ declare namespace inliner {
97
+ export { inlineAll };
98
+ export { shouldProcess };
99
+ export namespace impl_3 {
100
+ export { readUrls };
101
+ export { inline };
102
+ }
103
+ export { impl_3 as impl };
104
+ }
105
+ declare function resolveAll(): Promise<string>;
106
+ declare function readAll(): Promise<any>;
107
+ declare function inlineAll(node: any): any;
108
+ declare function newImage(element: any): {
109
+ inline: (get: any) => Promise<any>;
110
+ };
111
+ declare function parseExtension(url: any): string;
112
+ declare function mimeType(url: any): any;
113
+ declare function dataAsUrl(content: any, type: any): string;
114
+ declare function isDataUrl(url: any): boolean;
115
+ declare function canvasToBlob(canvas: any): Promise<any>;
116
+ declare function resolveUrl(url: any, baseUrl: any): string;
117
+ declare function getAndEncode(url: any): Promise<any>;
118
+ declare function delay(ms: any): (arg: any) => Promise<any>;
119
+ declare function asArray(arrayLike: any): any[];
120
+ declare function escapeXhtml(string: any): any;
121
+ declare function makeImage(uri: any): Promise<any>;
122
+ declare function width(node: any): any;
123
+ declare function height(node: any): any;
124
+ declare function inlineAll_1(string: any, baseUrl: any, get: any): Promise<any>;
125
+ declare function shouldProcess(string: any): boolean;
126
+ declare function readUrls(string: any): string[];
127
+ declare function inline(string: any, url: any, baseUrl: any, get: any): Promise<any>;
@@ -0,0 +1,181 @@
1
+ export default Event;
2
+ declare namespace Event {
3
+ function withEvent(): void;
4
+ function withEvent(): void;
5
+ function on(name: any, callback: any, context: any): {
6
+ withEvent(): void;
7
+ on(name: any, callback: any, context: any): any;
8
+ once(name: any, callback: any, context: any): any;
9
+ off(name: any, callback: any, context: any): any;
10
+ delegate_on(delegator: any): any;
11
+ delegate_off(delegator: any): any;
12
+ delegate(...args: any[]): any;
13
+ trigger(name: any, ...args: any[]): any;
14
+ stopListening(obj: any, name: any, callback: any): any;
15
+ };
16
+ function on(name: any, callback: any, context: any): {
17
+ withEvent(): void;
18
+ on(name: any, callback: any, context: any): any;
19
+ once(name: any, callback: any, context: any): any;
20
+ off(name: any, callback: any, context: any): any;
21
+ delegate_on(delegator: any): any;
22
+ delegate_off(delegator: any): any;
23
+ delegate(...args: any[]): any;
24
+ trigger(name: any, ...args: any[]): any;
25
+ stopListening(obj: any, name: any, callback: any): any;
26
+ };
27
+ function once(name: any, callback: any, context: any): {
28
+ withEvent(): void;
29
+ on(name: any, callback: any, context: any): any;
30
+ once(name: any, callback: any, context: any): any;
31
+ off(name: any, callback: any, context: any): any;
32
+ delegate_on(delegator: any): any;
33
+ delegate_off(delegator: any): any;
34
+ delegate(...args: any[]): any;
35
+ trigger(name: any, ...args: any[]): any;
36
+ stopListening(obj: any, name: any, callback: any): any;
37
+ };
38
+ function once(name: any, callback: any, context: any): {
39
+ withEvent(): void;
40
+ on(name: any, callback: any, context: any): any;
41
+ once(name: any, callback: any, context: any): any;
42
+ off(name: any, callback: any, context: any): any;
43
+ delegate_on(delegator: any): any;
44
+ delegate_off(delegator: any): any;
45
+ delegate(...args: any[]): any;
46
+ trigger(name: any, ...args: any[]): any;
47
+ stopListening(obj: any, name: any, callback: any): any;
48
+ };
49
+ function off(name: any, callback: any, context: any): {
50
+ withEvent(): void;
51
+ on(name: any, callback: any, context: any): any;
52
+ once(name: any, callback: any, context: any): any;
53
+ off(name: any, callback: any, context: any): any;
54
+ delegate_on(delegator: any): any;
55
+ delegate_off(delegator: any): any;
56
+ delegate(...args: any[]): any;
57
+ trigger(name: any, ...args: any[]): any;
58
+ stopListening(obj: any, name: any, callback: any): any;
59
+ };
60
+ function off(name: any, callback: any, context: any): {
61
+ withEvent(): void;
62
+ on(name: any, callback: any, context: any): any;
63
+ once(name: any, callback: any, context: any): any;
64
+ off(name: any, callback: any, context: any): any;
65
+ delegate_on(delegator: any): any;
66
+ delegate_off(delegator: any): any;
67
+ delegate(...args: any[]): any;
68
+ trigger(name: any, ...args: any[]): any;
69
+ stopListening(obj: any, name: any, callback: any): any;
70
+ };
71
+ function delegate_on(delegator: any): {
72
+ withEvent(): void;
73
+ on(name: any, callback: any, context: any): any;
74
+ once(name: any, callback: any, context: any): any;
75
+ off(name: any, callback: any, context: any): any;
76
+ delegate_on(delegator: any): any;
77
+ delegate_off(delegator: any): any;
78
+ delegate(...args: any[]): any;
79
+ trigger(name: any, ...args: any[]): any;
80
+ stopListening(obj: any, name: any, callback: any): any;
81
+ };
82
+ function delegate_on(delegator: any): {
83
+ withEvent(): void;
84
+ on(name: any, callback: any, context: any): any;
85
+ once(name: any, callback: any, context: any): any;
86
+ off(name: any, callback: any, context: any): any;
87
+ delegate_on(delegator: any): any;
88
+ delegate_off(delegator: any): any;
89
+ delegate(...args: any[]): any;
90
+ trigger(name: any, ...args: any[]): any;
91
+ stopListening(obj: any, name: any, callback: any): any;
92
+ };
93
+ function delegate_off(delegator: any): {
94
+ withEvent(): void;
95
+ on(name: any, callback: any, context: any): any;
96
+ once(name: any, callback: any, context: any): any;
97
+ off(name: any, callback: any, context: any): any;
98
+ delegate_on(delegator: any): any;
99
+ delegate_off(delegator: any): any;
100
+ delegate(...args: any[]): any;
101
+ trigger(name: any, ...args: any[]): any;
102
+ stopListening(obj: any, name: any, callback: any): any;
103
+ };
104
+ function delegate_off(delegator: any): {
105
+ withEvent(): void;
106
+ on(name: any, callback: any, context: any): any;
107
+ once(name: any, callback: any, context: any): any;
108
+ off(name: any, callback: any, context: any): any;
109
+ delegate_on(delegator: any): any;
110
+ delegate_off(delegator: any): any;
111
+ delegate(...args: any[]): any;
112
+ trigger(name: any, ...args: any[]): any;
113
+ stopListening(obj: any, name: any, callback: any): any;
114
+ };
115
+ function delegate(...args: any[]): {
116
+ withEvent(): void;
117
+ on(name: any, callback: any, context: any): any;
118
+ once(name: any, callback: any, context: any): any;
119
+ off(name: any, callback: any, context: any): any;
120
+ delegate_on(delegator: any): any;
121
+ delegate_off(delegator: any): any;
122
+ delegate(...args: any[]): any;
123
+ trigger(name: any, ...args: any[]): any;
124
+ stopListening(obj: any, name: any, callback: any): any;
125
+ };
126
+ function delegate(...args: any[]): {
127
+ withEvent(): void;
128
+ on(name: any, callback: any, context: any): any;
129
+ once(name: any, callback: any, context: any): any;
130
+ off(name: any, callback: any, context: any): any;
131
+ delegate_on(delegator: any): any;
132
+ delegate_off(delegator: any): any;
133
+ delegate(...args: any[]): any;
134
+ trigger(name: any, ...args: any[]): any;
135
+ stopListening(obj: any, name: any, callback: any): any;
136
+ };
137
+ function trigger(name: any, ...args: any[]): {
138
+ withEvent(): void;
139
+ on(name: any, callback: any, context: any): any;
140
+ once(name: any, callback: any, context: any): any;
141
+ off(name: any, callback: any, context: any): any;
142
+ delegate_on(delegator: any): any;
143
+ delegate_off(delegator: any): any;
144
+ delegate(...args: any[]): any;
145
+ trigger(name: any, ...args: any[]): any;
146
+ stopListening(obj: any, name: any, callback: any): any;
147
+ };
148
+ function trigger(name: any, ...args: any[]): {
149
+ withEvent(): void;
150
+ on(name: any, callback: any, context: any): any;
151
+ once(name: any, callback: any, context: any): any;
152
+ off(name: any, callback: any, context: any): any;
153
+ delegate_on(delegator: any): any;
154
+ delegate_off(delegator: any): any;
155
+ delegate(...args: any[]): any;
156
+ trigger(name: any, ...args: any[]): any;
157
+ stopListening(obj: any, name: any, callback: any): any;
158
+ };
159
+ function stopListening(obj: any, name: any, callback: any): {
160
+ withEvent(): void;
161
+ on(name: any, callback: any, context: any): any;
162
+ once(name: any, callback: any, context: any): any;
163
+ off(name: any, callback: any, context: any): any;
164
+ delegate_on(delegator: any): any;
165
+ delegate_off(delegator: any): any;
166
+ delegate(...args: any[]): any;
167
+ trigger(name: any, ...args: any[]): any;
168
+ stopListening(obj: any, name: any, callback: any): any;
169
+ };
170
+ function stopListening(obj: any, name: any, callback: any): {
171
+ withEvent(): void;
172
+ on(name: any, callback: any, context: any): any;
173
+ once(name: any, callback: any, context: any): any;
174
+ off(name: any, callback: any, context: any): any;
175
+ delegate_on(delegator: any): any;
176
+ delegate_off(delegator: any): any;
177
+ delegate(...args: any[]): any;
178
+ trigger(name: any, ...args: any[]): any;
179
+ stopListening(obj: any, name: any, callback: any): any;
180
+ };
181
+ }
@@ -0,0 +1,2 @@
1
+ export { default as event } from "./event";
2
+ export { default as mixin } from "./mixin";
@@ -0,0 +1,32 @@
1
+ export function insertAt(index: any, item: any): any;
2
+ export function append(item: any): this;
3
+ export class append {
4
+ constructor(item: any);
5
+ __collection__: any[];
6
+ }
7
+ export function prepend(item: any): this;
8
+ export class prepend {
9
+ constructor(item: any);
10
+ __collection__: any[];
11
+ }
12
+ export function remove(item: any): any;
13
+ export function getAt(index: any): any;
14
+ export function forEach(fn: any, context: any): void;
15
+ export function indexOf(item: any): any;
16
+ export function size(): any;
17
+ export function clear(): void;
18
+ export class clear {
19
+ __collection__: any[];
20
+ }
21
+ export function moveForward(item: any): void;
22
+ export function moveBackward(item: any): void;
23
+ export function moveToHead(item: any): void;
24
+ export class moveToHead {
25
+ constructor(item: any);
26
+ __collection__: any;
27
+ }
28
+ export function moveToTail(item: any): void;
29
+ export class moveToTail {
30
+ constructor(item: any);
31
+ __collection__: any;
32
+ }
@@ -0,0 +1,3 @@
1
+ export function error(...args: any[]): void;
2
+ export function warn(...args: any[]): void;
3
+ export function debug(...args: any[]): void;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 오브젝트의 getter의 첫번째 결과를 보관한 후, 재차 호출될 때는 보관한 결과를 리턴한다.
3
+ */
4
+ export function intercept(base: any, property: any, needClone: any): void;
5
+ export function reset(obj: any): void;
6
+ export function clear(obj: any, ...attrs: any[]): void;
@@ -0,0 +1 @@
1
+ export default function mixin(base: any, mixins: any): any;
@@ -0,0 +1 @@
1
+ export default function buildAccessor(accessor: any): (o: any) => any;
@@ -0,0 +1,14 @@
1
+ export default class ReferenceMap {
2
+ static get residents(): WeakSet<object>;
3
+ constructor(creator: any, disposer: any);
4
+ counters: {};
5
+ references: {};
6
+ creator: any;
7
+ disposer: any;
8
+ dispose(): void;
9
+ get ids(): string[];
10
+ add(id: any, target: any): Promise<any>;
11
+ get(id: any, createIf: any): Promise<any>;
12
+ _id(target: any): string | -1;
13
+ release(target: any): void;
14
+ }
@@ -0,0 +1,3 @@
1
+ export default class ScriptLoader {
2
+ static load(scripts: any, styles: any): Promise<any>;
3
+ }
@@ -0,0 +1,12 @@
1
+ export default class SnapshotTaker {
2
+ constructor(state_holder: any, timecapsule: any);
3
+ set brake(arg: any);
4
+ get brake(): any;
5
+ dirty: boolean;
6
+ state_holder: any;
7
+ timecapsule: any;
8
+ dispose(): void;
9
+ touch(): void;
10
+ take(force: any): void;
11
+ _brake: any;
12
+ }
@@ -0,0 +1,2 @@
1
+ export function push(item: any): void;
2
+ export function pop(item: any): void;
@@ -0,0 +1,18 @@
1
+ export default class TimeCapsule {
2
+ constructor(maxsize: any, start_state: any);
3
+ maxsize: any;
4
+ dispose(): void;
5
+ snapshot(state: any): void;
6
+ pos: number;
7
+ forward(): any;
8
+ backward(): any;
9
+ get current(): any;
10
+ get length(): number;
11
+ get forwardable(): boolean;
12
+ get backwardable(): boolean;
13
+ set snapshot_taker(arg: any);
14
+ get snapshot_taker(): any;
15
+ _snapshot_taker: any;
16
+ reset(): void;
17
+ q: any[];
18
+ }
@@ -0,0 +1,4 @@
1
+ export function merge(target?: {}, ...extenders: any[]): {};
2
+ export function push(base: any, extra: any, protect: any): any;
3
+ export function uniqueId(prefix: any): string;
4
+ export function objToVal(value: any): any;
@@ -0,0 +1 @@
1
+ export default function gradation(client: any, ctx: any, model: any): void;
@@ -0,0 +1 @@
1
+ export default function effect(client: any, context: any, model: any): void;
@@ -0,0 +1,2 @@
1
+ export function setShadow(context: any, shadow: any, component: any): void;
2
+ export function resetShadow(context: any): void;
@@ -0,0 +1 @@
1
+ export function turn(component: any, params: any): void;
@@ -0,0 +1,12 @@
1
+ export default class EventEngine {
2
+ constructor(root: any);
3
+ eventMaps: any[];
4
+ set root(arg: any);
5
+ get root(): any;
6
+ _root: any;
7
+ stop(): void;
8
+ add(listener: any, handlerMap: any): void;
9
+ remove(listener: any, handlerMap: any): void;
10
+ clear(): void;
11
+ dispose(): void;
12
+ }
@@ -0,0 +1,11 @@
1
+ export default class EventPump {
2
+ constructor(deliverer: any);
3
+ deliverer: any;
4
+ listeners: any[];
5
+ start(): void;
6
+ stop(): void;
7
+ on(listener: any, handlers: any): void;
8
+ off(listener: any, handlers: any): void;
9
+ clear(): void;
10
+ dispose(): void;
11
+ }
@@ -0,0 +1,21 @@
1
+ export default class EventTracker {
2
+ static get StandAlone(): typeof StandAloneTracker;
3
+ trackers: any[];
4
+ set selector(arg: any);
5
+ _selector: any;
6
+ on(target: any, handlers: any, listener: any, context: any): void;
7
+ off(target: any, handlers: any): void;
8
+ all(): any[];
9
+ dispose(): void;
10
+ }
11
+ declare class StandAloneTracker {
12
+ constructor(target: any, handlers: any, self: any);
13
+ started: boolean;
14
+ target: any;
15
+ handlers: any;
16
+ boundhandler: {};
17
+ dispose(): void;
18
+ on(): void;
19
+ off(): void;
20
+ }
21
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default as Engine } from "./event-engine";
2
+ export { default as UAEventHandler } from "./ua-event-handler";
@@ -0,0 +1,32 @@
1
+ export default class UAEventHandler {
2
+ constructor(container: any, html_element: any);
3
+ container: any;
4
+ html_element: any;
5
+ status: number;
6
+ last_target: any;
7
+ gesture_handlers: ((e: any) => boolean)[];
8
+ keyevent_handlers: any[];
9
+ dispose(): void;
10
+ gestureHandlerBuilder(type: any): (e: any) => boolean;
11
+ keyeventHandlerBuilder(type: any): any;
12
+ ondragover(e: any): boolean;
13
+ ondrop(e: any): boolean;
14
+ onclick(e: any): boolean;
15
+ ondblclick(e: any): boolean;
16
+ onkeydown(e: any): boolean;
17
+ onkeyup(e: any): boolean;
18
+ onmousemove(e: any): boolean;
19
+ __dragmove_e: any;
20
+ last_enter_target: any;
21
+ onmousedown(e: any): boolean;
22
+ __dragstart_e: any;
23
+ onmouseup(e: any): boolean;
24
+ onmouseout(e: any): boolean;
25
+ ontouchstart(e: any): boolean;
26
+ touchPoints: any[];
27
+ holdTimer: any;
28
+ ontouchmove(e: any): boolean;
29
+ ontouchend(e: any): boolean;
30
+ touchedAt: number;
31
+ onwheel(e: any): boolean;
32
+ }
@@ -0,0 +1,9 @@
1
+ declare namespace _default {
2
+ export { register };
3
+ export { unregister };
4
+ export { get };
5
+ }
6
+ export default _default;
7
+ declare function register(name: any, eventMap: any): void;
8
+ declare function unregister(name: any): void;
9
+ declare function get(name: any): any;
@@ -0,0 +1 @@
1
+ export { default as EventMap } from "./event-map";