@next2d/ui 3.15.1 → 3.17.0
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 +2 -2
- package/src/Job.js +0 -168
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.0",
|
|
4
4
|
"description": "Next2D UI Package",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@next2d.app> (https://github.com/ienaga/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"url": "git+https://github.com/Next2D/Player.git"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@next2d/events": "3.
|
|
27
|
+
"@next2d/events": "3.17.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/src/Job.js
CHANGED
|
@@ -21,174 +21,6 @@ export class Job extends EventDispatcher {
|
|
|
21
21
|
*/
|
|
22
22
|
constructor(target, from, to, delay = 0, duration = 1, ease = null) {
|
|
23
23
|
super();
|
|
24
|
-
/**
|
|
25
|
-
* @description イージングの対象オブジェクト
|
|
26
|
-
* Target object of easing
|
|
27
|
-
*
|
|
28
|
-
* @type {object}
|
|
29
|
-
* @default null
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
Object.defineProperty(this, "target", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
configurable: true,
|
|
35
|
-
writable: true,
|
|
36
|
-
value: void 0
|
|
37
|
-
});
|
|
38
|
-
/**
|
|
39
|
-
* @description イージングのエントリーオブジェクト
|
|
40
|
-
* Entry object of easing
|
|
41
|
-
*
|
|
42
|
-
* @type {array}
|
|
43
|
-
* @default null
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
Object.defineProperty(this, "entries", {
|
|
47
|
-
enumerable: true,
|
|
48
|
-
configurable: true,
|
|
49
|
-
writable: true,
|
|
50
|
-
value: void 0
|
|
51
|
-
});
|
|
52
|
-
/**
|
|
53
|
-
* @description イージングの開始時間
|
|
54
|
-
* Start time of easing
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @default 0
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
Object.defineProperty(this, "startTime", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
configurable: true,
|
|
63
|
-
writable: true,
|
|
64
|
-
value: void 0
|
|
65
|
-
});
|
|
66
|
-
/**
|
|
67
|
-
* @description イージングの強制停止フラグ
|
|
68
|
-
* Forced stop flag of easing
|
|
69
|
-
*
|
|
70
|
-
* @type {boolean}
|
|
71
|
-
* @default false
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
Object.defineProperty(this, "stopFlag", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
configurable: true,
|
|
77
|
-
writable: true,
|
|
78
|
-
value: void 0
|
|
79
|
-
});
|
|
80
|
-
/**
|
|
81
|
-
* @description イージングの遅延実行のタイマーID
|
|
82
|
-
* Timer ID for delayed execution of easing
|
|
83
|
-
*
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @default -1
|
|
86
|
-
* @protected
|
|
87
|
-
*/
|
|
88
|
-
Object.defineProperty(this, "$timerId", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
configurable: true,
|
|
91
|
-
writable: true,
|
|
92
|
-
value: void 0
|
|
93
|
-
});
|
|
94
|
-
/**
|
|
95
|
-
* @description イージングの開始までの遅延時間を返します。
|
|
96
|
-
* Returns the delay time until the start of the easing.
|
|
97
|
-
*
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @default 0
|
|
100
|
-
* @public
|
|
101
|
-
*/
|
|
102
|
-
Object.defineProperty(this, "delay", {
|
|
103
|
-
enumerable: true,
|
|
104
|
-
configurable: true,
|
|
105
|
-
writable: true,
|
|
106
|
-
value: void 0
|
|
107
|
-
});
|
|
108
|
-
/**
|
|
109
|
-
* @description イージング完了時間を返します。
|
|
110
|
-
* Returns the easing completion time.
|
|
111
|
-
*
|
|
112
|
-
* @type {number}
|
|
113
|
-
* @default 1
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
Object.defineProperty(this, "duration", {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
configurable: true,
|
|
119
|
-
writable: true,
|
|
120
|
-
value: void 0
|
|
121
|
-
});
|
|
122
|
-
/**
|
|
123
|
-
* @description イージングの計算関数を返します。
|
|
124
|
-
* Returns the calculation function of the easing.
|
|
125
|
-
*
|
|
126
|
-
* @see Easing
|
|
127
|
-
* @type {function}
|
|
128
|
-
* @default Easing.linear
|
|
129
|
-
* @public
|
|
130
|
-
*/
|
|
131
|
-
Object.defineProperty(this, "ease", {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
configurable: true,
|
|
134
|
-
writable: true,
|
|
135
|
-
value: void 0
|
|
136
|
-
});
|
|
137
|
-
/**
|
|
138
|
-
* @description イージングの開始オブジェクトを返します。
|
|
139
|
-
* Returns the start object of the easing.
|
|
140
|
-
*
|
|
141
|
-
* @type {object}
|
|
142
|
-
* @public
|
|
143
|
-
*/
|
|
144
|
-
Object.defineProperty(this, "from", {
|
|
145
|
-
enumerable: true,
|
|
146
|
-
configurable: true,
|
|
147
|
-
writable: true,
|
|
148
|
-
value: void 0
|
|
149
|
-
});
|
|
150
|
-
/**
|
|
151
|
-
* @description イージングの終了オブジェクトを返します。
|
|
152
|
-
* Returns the end object of the easing.
|
|
153
|
-
*
|
|
154
|
-
* @type {object}
|
|
155
|
-
* @public
|
|
156
|
-
*/
|
|
157
|
-
Object.defineProperty(this, "to", {
|
|
158
|
-
enumerable: true,
|
|
159
|
-
configurable: true,
|
|
160
|
-
writable: true,
|
|
161
|
-
value: void 0
|
|
162
|
-
});
|
|
163
|
-
/**
|
|
164
|
-
* @description イージングの現在時間を返します。
|
|
165
|
-
* Returns the current time of the easing.
|
|
166
|
-
*
|
|
167
|
-
* @type {number}
|
|
168
|
-
* @default 0
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
|
-
Object.defineProperty(this, "currentTime", {
|
|
172
|
-
enumerable: true,
|
|
173
|
-
configurable: true,
|
|
174
|
-
writable: true,
|
|
175
|
-
value: void 0
|
|
176
|
-
});
|
|
177
|
-
/**
|
|
178
|
-
* @description イージングの次のjobを返します。
|
|
179
|
-
* Returns the next job of the easing.
|
|
180
|
-
*
|
|
181
|
-
* @member {Job | null}
|
|
182
|
-
* @default null
|
|
183
|
-
* @readonly
|
|
184
|
-
* @public
|
|
185
|
-
*/
|
|
186
|
-
Object.defineProperty(this, "nextJob", {
|
|
187
|
-
enumerable: true,
|
|
188
|
-
configurable: true,
|
|
189
|
-
writable: true,
|
|
190
|
-
value: void 0
|
|
191
|
-
});
|
|
192
24
|
this.target = target;
|
|
193
25
|
this.from = from;
|
|
194
26
|
this.to = to;
|