bfg-common 1.5.512 → 1.5.514
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/assets/localization/local_be.json +3 -2
- package/assets/localization/local_en.json +3 -2
- package/assets/localization/local_hy.json +3 -2
- package/assets/localization/local_kk.json +3 -2
- package/assets/localization/local_ru.json +3 -2
- package/assets/localization/local_zh.json +3 -2
- package/components/atoms/sortableView/SortableView.vue +2 -2
- package/components/atoms/table/info/lib/models/interfaces.ts +1 -0
- package/components/common/countdownTimer/CountdownTimer.vue +11 -4
- package/components/common/countdownTimer/CountdownTimerNew.vue +13 -5
- package/components/common/layout/theHeader/modals/reconnect/ReconnectNew.vue +1 -0
- package/components/common/readyToComplete/New.vue +9 -0
- package/components/common/spiceConsole/Drawer.vue +30 -2
- package/components/common/spiceConsole/lib/models/types.ts +1 -0
- package/package.json +1 -1
- package/plugins/console.ts +3 -4
- package/plugins/mouse.ts +21 -0
- package/public/spice-console/application/clientgui.js +5 -0
- package/public/spice-console/application/packetfactory.js +5 -0
- package/public/spice-console/application/virtualmouse.js +124 -86
- package/public/spice-console/process/cursorprocess.js +28 -18
- package/public/spice-console/process/inputprocess.js +133 -109
- package/public/spice-console/process/mainprocess.js +169 -37
- package/public/spice-console/spiceobjects/spiceobjects.js +49 -28
- package/public/spice-console-minify/run.min.js +1 -1
|
@@ -2257,17 +2257,17 @@ wdi.RedCursor = $.spcExtend(wdi.SpiceObject, {
|
|
|
2257
2257
|
|
|
2258
2258
|
|
|
2259
2259
|
marshall: function () {
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2260
|
+
this.rawData = [];
|
|
2261
|
+
this.rawData = this.rawData.concat(
|
|
2262
|
+
this.numberTo16(this.flags)
|
|
2263
|
+
);
|
|
2264
|
+
if(!(this.flags & 1)){
|
|
2265
|
+
this.rawData = this.rawData.concat(
|
|
2266
|
+
this.header.marshall(),
|
|
2267
|
+
this.data
|
|
2268
|
+
);
|
|
2269
|
+
}
|
|
2270
|
+
return this.rawData;
|
|
2271
2271
|
},
|
|
2272
2272
|
|
|
2273
2273
|
demarshall: function (queue, expSize) {
|
|
@@ -2292,16 +2292,16 @@ wdi.RedCursorHeader = $.spcExtend(wdi.SpiceObject, {
|
|
|
2292
2292
|
|
|
2293
2293
|
|
|
2294
2294
|
marshall: function () {
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2295
|
+
this.rawData = [];
|
|
2296
|
+
this.rawData = this.rawData.concat(
|
|
2297
|
+
this.numberTo64(this.unique),
|
|
2298
|
+
this.numberTo8(this.type),
|
|
2299
|
+
this.numberTo16(this.width),
|
|
2300
|
+
this.numberTo16(this.height),
|
|
2301
|
+
this.numberTo16(this.hot_spot_x),
|
|
2302
|
+
this.numberTo16(this.hot_spot_y)
|
|
2303
|
+
);
|
|
2304
|
+
return this.rawData;
|
|
2305
2305
|
},
|
|
2306
2306
|
|
|
2307
2307
|
demarshall: function (queue, expSize) {
|
|
@@ -2323,13 +2323,13 @@ wdi.RedCursorSet = $.spcExtend(wdi.SpiceObject, {
|
|
|
2323
2323
|
objectSize: 5,
|
|
2324
2324
|
|
|
2325
2325
|
marshall: function () {
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2326
|
+
this.rawData = [];
|
|
2327
|
+
this.rawData = this.rawData.concat(
|
|
2328
|
+
this.position.marshall(),
|
|
2329
|
+
this.numberTo8(this.visible),
|
|
2330
|
+
this.cursor.marshall()
|
|
2331
|
+
);
|
|
2332
|
+
return this.rawData;
|
|
2333
2333
|
},
|
|
2334
2334
|
|
|
2335
2335
|
demarshall: function (queue, expSize) {
|
|
@@ -2343,6 +2343,27 @@ wdi.RedCursorSet = $.spcExtend(wdi.SpiceObject, {
|
|
|
2343
2343
|
}
|
|
2344
2344
|
});
|
|
2345
2345
|
|
|
2346
|
+
// Custom code
|
|
2347
|
+
wdi.RedCursorMove = $.spcExtend(wdi.SpiceObject, {
|
|
2348
|
+
objectSize: 4,
|
|
2349
|
+
|
|
2350
|
+
marshall: function () {
|
|
2351
|
+
this.rawData = [];
|
|
2352
|
+
this.rawData = this.rawData.concat(
|
|
2353
|
+
this.position.marshall(),
|
|
2354
|
+
);
|
|
2355
|
+
return this.rawData;
|
|
2356
|
+
},
|
|
2357
|
+
|
|
2358
|
+
demarshall: function (queue, expSize) {
|
|
2359
|
+
this.expectedSize = expSize || this.objectSize;
|
|
2360
|
+
if (queue.getLength() < this.expectedSize) throw new wdi.Exception({message: 'Not enough queue to read', errorCode: 3});
|
|
2361
|
+
this.position = new wdi.SpicePoint16().demarshall(queue);
|
|
2362
|
+
return this;
|
|
2363
|
+
}
|
|
2364
|
+
});
|
|
2365
|
+
// Custom code end
|
|
2366
|
+
|
|
2346
2367
|
wdi.RedCursorHide = $.spcExtend(wdi.SpiceObject, {
|
|
2347
2368
|
objectSize: 5,
|
|
2348
2369
|
|