@urso/core 0.7.67 → 0.7.69
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.
|
@@ -27,8 +27,8 @@ object-assign
|
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
29
|
/*!
|
|
30
|
-
* @pixi-spine/loader-base - v3.
|
|
31
|
-
* Compiled Tue,
|
|
30
|
+
* @pixi-spine/loader-base - v3.1.2
|
|
31
|
+
* Compiled Tue, 10 Jan 2023 14:17:32 UTC
|
|
32
32
|
*
|
|
33
33
|
* @pixi-spine/loader-base is licensed under the MIT License.
|
|
34
34
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37,8 +37,8 @@ object-assign
|
|
|
37
37
|
*/
|
|
38
38
|
|
|
39
39
|
/*!
|
|
40
|
-
* @pixi-spine/runtime-3.8 - v3.
|
|
41
|
-
* Compiled Tue,
|
|
40
|
+
* @pixi-spine/runtime-3.8 - v3.1.2
|
|
41
|
+
* Compiled Tue, 10 Jan 2023 14:17:32 UTC
|
|
42
42
|
*
|
|
43
43
|
* @pixi-spine/runtime-3.8 is licensed under the MIT License.
|
|
44
44
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -47,109 +47,293 @@ object-assign
|
|
|
47
47
|
*/
|
|
48
48
|
|
|
49
49
|
/*!
|
|
50
|
-
* @pixi/
|
|
51
|
-
* Compiled
|
|
50
|
+
* @pixi/accessibility - v6.5.10
|
|
51
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
52
|
+
*
|
|
53
|
+
* @pixi/accessibility is licensed under the MIT License.
|
|
54
|
+
* http://www.opensource.org/licenses/mit-license
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/*!
|
|
58
|
+
* @pixi/app - v6.5.10
|
|
59
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
60
|
+
*
|
|
61
|
+
* @pixi/app is licensed under the MIT License.
|
|
62
|
+
* http://www.opensource.org/licenses/mit-license
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
/*!
|
|
66
|
+
* @pixi/compressed-textures - v6.5.10
|
|
67
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
68
|
+
*
|
|
69
|
+
* @pixi/compressed-textures is licensed under the MIT License.
|
|
70
|
+
* http://www.opensource.org/licenses/mit-license
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
/*!
|
|
74
|
+
* @pixi/constants - v6.5.10
|
|
75
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
52
76
|
*
|
|
53
77
|
* @pixi/constants is licensed under the MIT License.
|
|
54
78
|
* http://www.opensource.org/licenses/mit-license
|
|
55
79
|
*/
|
|
56
80
|
|
|
57
81
|
/*!
|
|
58
|
-
* @pixi/core - v6.
|
|
59
|
-
* Compiled
|
|
82
|
+
* @pixi/core - v6.5.10
|
|
83
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
60
84
|
*
|
|
61
85
|
* @pixi/core is licensed under the MIT License.
|
|
62
86
|
* http://www.opensource.org/licenses/mit-license
|
|
63
87
|
*/
|
|
64
88
|
|
|
65
89
|
/*!
|
|
66
|
-
* @pixi/display - v6.
|
|
67
|
-
* Compiled
|
|
90
|
+
* @pixi/display - v6.5.10
|
|
91
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
68
92
|
*
|
|
69
93
|
* @pixi/display is licensed under the MIT License.
|
|
70
94
|
* http://www.opensource.org/licenses/mit-license
|
|
71
95
|
*/
|
|
72
96
|
|
|
73
97
|
/*!
|
|
74
|
-
* @pixi/
|
|
75
|
-
* Compiled
|
|
98
|
+
* @pixi/extensions - v6.5.10
|
|
99
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
100
|
+
*
|
|
101
|
+
* @pixi/extensions is licensed under the MIT License.
|
|
102
|
+
* http://www.opensource.org/licenses/mit-license
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
/*!
|
|
106
|
+
* @pixi/extract - v6.5.10
|
|
107
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
76
108
|
*
|
|
77
109
|
* @pixi/extract is licensed under the MIT License.
|
|
78
110
|
* http://www.opensource.org/licenses/mit-license
|
|
79
111
|
*/
|
|
80
112
|
|
|
81
113
|
/*!
|
|
82
|
-
* @pixi/filter-
|
|
83
|
-
* Compiled
|
|
114
|
+
* @pixi/filter-alpha - v6.5.10
|
|
115
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
116
|
+
*
|
|
117
|
+
* @pixi/filter-alpha is licensed under the MIT License.
|
|
118
|
+
* http://www.opensource.org/licenses/mit-license
|
|
119
|
+
*/
|
|
120
|
+
|
|
121
|
+
/*!
|
|
122
|
+
* @pixi/filter-blur - v6.5.10
|
|
123
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
124
|
+
*
|
|
125
|
+
* @pixi/filter-blur is licensed under the MIT License.
|
|
126
|
+
* http://www.opensource.org/licenses/mit-license
|
|
127
|
+
*/
|
|
128
|
+
|
|
129
|
+
/*!
|
|
130
|
+
* @pixi/filter-color-matrix - v6.5.10
|
|
131
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
132
|
+
*
|
|
133
|
+
* @pixi/filter-color-matrix is licensed under the MIT License.
|
|
134
|
+
* http://www.opensource.org/licenses/mit-license
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/*!
|
|
138
|
+
* @pixi/filter-displacement - v6.5.10
|
|
139
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
84
140
|
*
|
|
85
141
|
* @pixi/filter-displacement is licensed under the MIT License.
|
|
86
142
|
* http://www.opensource.org/licenses/mit-license
|
|
87
143
|
*/
|
|
88
144
|
|
|
89
145
|
/*!
|
|
90
|
-
* @pixi/
|
|
91
|
-
* Compiled
|
|
146
|
+
* @pixi/filter-fxaa - v6.5.10
|
|
147
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
148
|
+
*
|
|
149
|
+
* @pixi/filter-fxaa is licensed under the MIT License.
|
|
150
|
+
* http://www.opensource.org/licenses/mit-license
|
|
151
|
+
*/
|
|
152
|
+
|
|
153
|
+
/*!
|
|
154
|
+
* @pixi/filter-noise - v6.5.10
|
|
155
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
156
|
+
*
|
|
157
|
+
* @pixi/filter-noise is licensed under the MIT License.
|
|
158
|
+
* http://www.opensource.org/licenses/mit-license
|
|
159
|
+
*/
|
|
160
|
+
|
|
161
|
+
/*!
|
|
162
|
+
* @pixi/graphics - v6.5.10
|
|
163
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
164
|
+
*
|
|
165
|
+
* @pixi/graphics is licensed under the MIT License.
|
|
166
|
+
* http://www.opensource.org/licenses/mit-license
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
/*!
|
|
170
|
+
* @pixi/interaction - v6.5.10
|
|
171
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
172
|
+
*
|
|
173
|
+
* @pixi/interaction is licensed under the MIT License.
|
|
174
|
+
* http://www.opensource.org/licenses/mit-license
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
/*!
|
|
178
|
+
* @pixi/loaders - v6.5.10
|
|
179
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
92
180
|
*
|
|
93
181
|
* @pixi/loaders is licensed under the MIT License.
|
|
94
182
|
* http://www.opensource.org/licenses/mit-license
|
|
95
183
|
*/
|
|
96
184
|
|
|
97
185
|
/*!
|
|
98
|
-
* @pixi/math - v6.
|
|
99
|
-
* Compiled
|
|
186
|
+
* @pixi/math - v6.5.10
|
|
187
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
100
188
|
*
|
|
101
189
|
* @pixi/math is licensed under the MIT License.
|
|
102
190
|
* http://www.opensource.org/licenses/mit-license
|
|
103
191
|
*/
|
|
104
192
|
|
|
105
193
|
/*!
|
|
106
|
-
* @pixi/
|
|
107
|
-
* Compiled
|
|
194
|
+
* @pixi/mesh - v6.5.10
|
|
195
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
196
|
+
*
|
|
197
|
+
* @pixi/mesh is licensed under the MIT License.
|
|
198
|
+
* http://www.opensource.org/licenses/mit-license
|
|
199
|
+
*/
|
|
200
|
+
|
|
201
|
+
/*!
|
|
202
|
+
* @pixi/mesh-extras - v6.5.10
|
|
203
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
204
|
+
*
|
|
205
|
+
* @pixi/mesh-extras is licensed under the MIT License.
|
|
206
|
+
* http://www.opensource.org/licenses/mit-license
|
|
207
|
+
*/
|
|
208
|
+
|
|
209
|
+
/*!
|
|
210
|
+
* @pixi/mixin-cache-as-bitmap - v6.5.10
|
|
211
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
212
|
+
*
|
|
213
|
+
* @pixi/mixin-cache-as-bitmap is licensed under the MIT License.
|
|
214
|
+
* http://www.opensource.org/licenses/mit-license
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
/*!
|
|
218
|
+
* @pixi/mixin-get-child-by-name - v6.5.10
|
|
219
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
108
220
|
*
|
|
109
221
|
* @pixi/mixin-get-child-by-name is licensed under the MIT License.
|
|
110
222
|
* http://www.opensource.org/licenses/mit-license
|
|
111
223
|
*/
|
|
112
224
|
|
|
113
225
|
/*!
|
|
114
|
-
* @pixi/mixin-get-global-position - v6.
|
|
115
|
-
* Compiled
|
|
226
|
+
* @pixi/mixin-get-global-position - v6.5.10
|
|
227
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
116
228
|
*
|
|
117
229
|
* @pixi/mixin-get-global-position is licensed under the MIT License.
|
|
118
230
|
* http://www.opensource.org/licenses/mit-license
|
|
119
231
|
*/
|
|
120
232
|
|
|
121
233
|
/*!
|
|
122
|
-
* @pixi/
|
|
123
|
-
* Compiled
|
|
234
|
+
* @pixi/particle-container - v6.5.10
|
|
235
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
236
|
+
*
|
|
237
|
+
* @pixi/particle-container is licensed under the MIT License.
|
|
238
|
+
* http://www.opensource.org/licenses/mit-license
|
|
239
|
+
*/
|
|
240
|
+
|
|
241
|
+
/*!
|
|
242
|
+
* @pixi/polyfill - v6.5.10
|
|
243
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
124
244
|
*
|
|
125
245
|
* @pixi/polyfill is licensed under the MIT License.
|
|
126
246
|
* http://www.opensource.org/licenses/mit-license
|
|
127
247
|
*/
|
|
128
248
|
|
|
129
249
|
/*!
|
|
130
|
-
* @pixi/prepare - v6.
|
|
131
|
-
* Compiled
|
|
250
|
+
* @pixi/prepare - v6.5.10
|
|
251
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
132
252
|
*
|
|
133
253
|
* @pixi/prepare is licensed under the MIT License.
|
|
134
254
|
* http://www.opensource.org/licenses/mit-license
|
|
135
255
|
*/
|
|
136
256
|
|
|
137
257
|
/*!
|
|
138
|
-
* @pixi/runner - v6.
|
|
139
|
-
* Compiled
|
|
258
|
+
* @pixi/runner - v6.5.10
|
|
259
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
140
260
|
*
|
|
141
261
|
* @pixi/runner is licensed under the MIT License.
|
|
142
262
|
* http://www.opensource.org/licenses/mit-license
|
|
143
263
|
*/
|
|
144
264
|
|
|
145
265
|
/*!
|
|
146
|
-
* @pixi/
|
|
147
|
-
* Compiled
|
|
266
|
+
* @pixi/settings - v6.5.10
|
|
267
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
268
|
+
*
|
|
269
|
+
* @pixi/settings is licensed under the MIT License.
|
|
270
|
+
* http://www.opensource.org/licenses/mit-license
|
|
271
|
+
*/
|
|
272
|
+
|
|
273
|
+
/*!
|
|
274
|
+
* @pixi/sprite - v6.5.10
|
|
275
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
276
|
+
*
|
|
277
|
+
* @pixi/sprite is licensed under the MIT License.
|
|
278
|
+
* http://www.opensource.org/licenses/mit-license
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
/*!
|
|
282
|
+
* @pixi/sprite-animated - v6.5.10
|
|
283
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
284
|
+
*
|
|
285
|
+
* @pixi/sprite-animated is licensed under the MIT License.
|
|
286
|
+
* http://www.opensource.org/licenses/mit-license
|
|
287
|
+
*/
|
|
288
|
+
|
|
289
|
+
/*!
|
|
290
|
+
* @pixi/sprite-tiling - v6.5.10
|
|
291
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
292
|
+
*
|
|
293
|
+
* @pixi/sprite-tiling is licensed under the MIT License.
|
|
294
|
+
* http://www.opensource.org/licenses/mit-license
|
|
295
|
+
*/
|
|
296
|
+
|
|
297
|
+
/*!
|
|
298
|
+
* @pixi/spritesheet - v6.5.10
|
|
299
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
300
|
+
*
|
|
301
|
+
* @pixi/spritesheet is licensed under the MIT License.
|
|
302
|
+
* http://www.opensource.org/licenses/mit-license
|
|
303
|
+
*/
|
|
304
|
+
|
|
305
|
+
/*!
|
|
306
|
+
* @pixi/text - v6.5.10
|
|
307
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
308
|
+
*
|
|
309
|
+
* @pixi/text is licensed under the MIT License.
|
|
310
|
+
* http://www.opensource.org/licenses/mit-license
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
/*!
|
|
314
|
+
* @pixi/text-bitmap - v6.5.10
|
|
315
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
316
|
+
*
|
|
317
|
+
* @pixi/text-bitmap is licensed under the MIT License.
|
|
318
|
+
* http://www.opensource.org/licenses/mit-license
|
|
319
|
+
*/
|
|
320
|
+
|
|
321
|
+
/*!
|
|
322
|
+
* @pixi/ticker - v6.5.10
|
|
323
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
148
324
|
*
|
|
149
325
|
* @pixi/ticker is licensed under the MIT License.
|
|
150
326
|
* http://www.opensource.org/licenses/mit-license
|
|
151
327
|
*/
|
|
152
328
|
|
|
329
|
+
/*!
|
|
330
|
+
* @pixi/utils - v6.5.10
|
|
331
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
332
|
+
*
|
|
333
|
+
* @pixi/utils is licensed under the MIT License.
|
|
334
|
+
* http://www.opensource.org/licenses/mit-license
|
|
335
|
+
*/
|
|
336
|
+
|
|
153
337
|
/*!
|
|
154
338
|
* GSAP 3.12.5
|
|
155
339
|
* https://gsap.com
|
|
@@ -169,8 +353,8 @@ object-assign
|
|
|
169
353
|
*/
|
|
170
354
|
|
|
171
355
|
/*!
|
|
172
|
-
* pixi-spine - v3.
|
|
173
|
-
* Compiled
|
|
356
|
+
* pixi-spine - v3.1.2
|
|
357
|
+
* Compiled Tue, 10 Jan 2023 14:17:40 UTC
|
|
174
358
|
*
|
|
175
359
|
* pixi-spine is licensed under the MIT License.
|
|
176
360
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -189,8 +373,8 @@ object-assign
|
|
|
189
373
|
*/
|
|
190
374
|
|
|
191
375
|
/*!
|
|
192
|
-
* pixi.js - v6.
|
|
193
|
-
* Compiled
|
|
376
|
+
* pixi.js - v6.5.10
|
|
377
|
+
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
194
378
|
*
|
|
195
379
|
* pixi.js is licensed under the MIT License.
|
|
196
380
|
* http://www.opensource.org/licenses/mit-license
|
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ class ModulesObjectsModelsHitArea extends ModulesObjectsBaseModel {
|
|
|
20
20
|
this.action = Urso.helper.recursiveGet(
|
|
21
21
|
'action', params, (position) => { this.emit(Urso.events.MODULES_OBJECTS_HIT_AREA_PRESS, { position, name: this.name, class: this.class }) }
|
|
22
22
|
);
|
|
23
|
+
this.keyDownAction = Urso.helper.recursiveGet('keyDownAction', params, false);
|
|
23
24
|
this.onOverCallback = Urso.helper.recursiveGet('onOverCallback', params, false);
|
|
24
25
|
this.onOutCallback = Urso.helper.recursiveGet('onOutCallback', params, false);
|
|
25
26
|
this.onTouchMoveCallback = Urso.helper.recursiveGet('onTouchMoveCallback', params, false);
|
|
@@ -53,6 +54,7 @@ class ModulesObjectsModelsHitArea extends ModulesObjectsBaseModel {
|
|
|
53
54
|
this._baseObject.buttonMode = true;
|
|
54
55
|
|
|
55
56
|
this._baseObject
|
|
57
|
+
.on('pointerdown', this._onPressDown.bind(this))
|
|
56
58
|
.on('pointerup', this._onPressUp.bind(this))
|
|
57
59
|
.on('pointerover', this._onOver.bind(this))
|
|
58
60
|
.on('pointerout', this._onOut.bind(this))
|
|
@@ -66,6 +68,16 @@ class ModulesObjectsModelsHitArea extends ModulesObjectsBaseModel {
|
|
|
66
68
|
this.onTouchMoveCallback(position);
|
|
67
69
|
}
|
|
68
70
|
|
|
71
|
+
_onPressDown(event) {
|
|
72
|
+
if (this._isDisabled)
|
|
73
|
+
return false;
|
|
74
|
+
|
|
75
|
+
if (this.keyDownAction) {
|
|
76
|
+
const position = this._getEventLocalPosition(event);
|
|
77
|
+
this.keyDownAction(position);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
69
81
|
_onPressUp(event) {
|
|
70
82
|
if (this._isDisabled)
|
|
71
83
|
return false;
|