@twab/visualization 0.2.2 → 0.9.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/dist/visualization.common.js +223 -203
- package/dist/visualization.common.js.map +1 -1
- package/dist/visualization.css +1 -1
- package/dist/visualization.umd.js +223 -203
- package/dist/visualization.umd.js.map +1 -1
- package/dist/visualization.umd.min.js +2 -2
- package/dist/visualization.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -10289,130 +10289,12 @@ module.exports = toPlainObject;
|
|
|
10289
10289
|
|
|
10290
10290
|
/***/ }),
|
|
10291
10291
|
|
|
10292
|
-
/***/ 7202:
|
|
10293
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10294
|
-
|
|
10295
|
-
var map = {
|
|
10296
|
-
"./1x1.svg": 9685,
|
|
10297
|
-
"./2x1.svg": 5496,
|
|
10298
|
-
"./3x1.svg": 7823,
|
|
10299
|
-
"./3x2.svg": 7022,
|
|
10300
|
-
"./4x1.svg": 6809,
|
|
10301
|
-
"./4x2.svg": 4389,
|
|
10302
|
-
"./5x1.svg": 9668,
|
|
10303
|
-
"./5x2.svg": 8243,
|
|
10304
|
-
"./6x1.svg": 3108,
|
|
10305
|
-
"./6x2.svg": 9145
|
|
10306
|
-
};
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
function webpackContext(req) {
|
|
10310
|
-
var id = webpackContextResolve(req);
|
|
10311
|
-
return __webpack_require__(id);
|
|
10312
|
-
}
|
|
10313
|
-
function webpackContextResolve(req) {
|
|
10314
|
-
if(!__webpack_require__.o(map, req)) {
|
|
10315
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
10316
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
10317
|
-
throw e;
|
|
10318
|
-
}
|
|
10319
|
-
return map[req];
|
|
10320
|
-
}
|
|
10321
|
-
webpackContext.keys = function webpackContextKeys() {
|
|
10322
|
-
return Object.keys(map);
|
|
10323
|
-
};
|
|
10324
|
-
webpackContext.resolve = webpackContextResolve;
|
|
10325
|
-
module.exports = webpackContext;
|
|
10326
|
-
webpackContext.id = 7202;
|
|
10327
|
-
|
|
10328
|
-
/***/ }),
|
|
10329
|
-
|
|
10330
10292
|
/***/ 9583:
|
|
10331
10293
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10332
10294
|
|
|
10333
10295
|
"use strict";
|
|
10334
10296
|
module.exports = __webpack_require__.p + "img/dummy.ec1ab0d6.svg";
|
|
10335
10297
|
|
|
10336
|
-
/***/ }),
|
|
10337
|
-
|
|
10338
|
-
/***/ 9685:
|
|
10339
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10340
|
-
|
|
10341
|
-
"use strict";
|
|
10342
|
-
module.exports = __webpack_require__.p + "img/1x1.f865594b.svg";
|
|
10343
|
-
|
|
10344
|
-
/***/ }),
|
|
10345
|
-
|
|
10346
|
-
/***/ 5496:
|
|
10347
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10348
|
-
|
|
10349
|
-
"use strict";
|
|
10350
|
-
module.exports = __webpack_require__.p + "img/2x1.6bc80fec.svg";
|
|
10351
|
-
|
|
10352
|
-
/***/ }),
|
|
10353
|
-
|
|
10354
|
-
/***/ 7823:
|
|
10355
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10356
|
-
|
|
10357
|
-
"use strict";
|
|
10358
|
-
module.exports = __webpack_require__.p + "img/3x1.8fe1c055.svg";
|
|
10359
|
-
|
|
10360
|
-
/***/ }),
|
|
10361
|
-
|
|
10362
|
-
/***/ 7022:
|
|
10363
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10364
|
-
|
|
10365
|
-
"use strict";
|
|
10366
|
-
module.exports = __webpack_require__.p + "img/3x2.f5153612.svg";
|
|
10367
|
-
|
|
10368
|
-
/***/ }),
|
|
10369
|
-
|
|
10370
|
-
/***/ 6809:
|
|
10371
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10372
|
-
|
|
10373
|
-
"use strict";
|
|
10374
|
-
module.exports = __webpack_require__.p + "img/4x1.22f434b0.svg";
|
|
10375
|
-
|
|
10376
|
-
/***/ }),
|
|
10377
|
-
|
|
10378
|
-
/***/ 4389:
|
|
10379
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10380
|
-
|
|
10381
|
-
"use strict";
|
|
10382
|
-
module.exports = __webpack_require__.p + "img/4x2.3810a721.svg";
|
|
10383
|
-
|
|
10384
|
-
/***/ }),
|
|
10385
|
-
|
|
10386
|
-
/***/ 9668:
|
|
10387
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10388
|
-
|
|
10389
|
-
"use strict";
|
|
10390
|
-
module.exports = __webpack_require__.p + "img/5x1.c0878e49.svg";
|
|
10391
|
-
|
|
10392
|
-
/***/ }),
|
|
10393
|
-
|
|
10394
|
-
/***/ 8243:
|
|
10395
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10396
|
-
|
|
10397
|
-
"use strict";
|
|
10398
|
-
module.exports = __webpack_require__.p + "img/5x2.b70b5289.svg";
|
|
10399
|
-
|
|
10400
|
-
/***/ }),
|
|
10401
|
-
|
|
10402
|
-
/***/ 3108:
|
|
10403
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10404
|
-
|
|
10405
|
-
"use strict";
|
|
10406
|
-
module.exports = __webpack_require__.p + "img/6x1.28b9840c.svg";
|
|
10407
|
-
|
|
10408
|
-
/***/ }),
|
|
10409
|
-
|
|
10410
|
-
/***/ 9145:
|
|
10411
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10412
|
-
|
|
10413
|
-
"use strict";
|
|
10414
|
-
module.exports = __webpack_require__.p + "img/6x2.6b117ba7.svg";
|
|
10415
|
-
|
|
10416
10298
|
/***/ })
|
|
10417
10299
|
|
|
10418
10300
|
/******/ });
|
|
@@ -10541,7 +10423,7 @@ if (typeof window !== 'undefined') {
|
|
|
10541
10423
|
// Indicate to webpack that this file can be concatenated
|
|
10542
10424
|
/* harmony default export */ var setPublicPath = (null);
|
|
10543
10425
|
|
|
10544
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Visualization.vue?vue&type=template&id=
|
|
10426
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Visualization.vue?vue&type=template&id=b542f254&scoped=true&
|
|
10545
10427
|
var render = function render() {
|
|
10546
10428
|
var _vm = this,
|
|
10547
10429
|
_c = _vm._self._c;
|
|
@@ -10553,7 +10435,7 @@ var render = function render() {
|
|
|
10553
10435
|
on: {
|
|
10554
10436
|
"click": _vm.framesClicked
|
|
10555
10437
|
}
|
|
10556
|
-
}, [_vm.active && _vm.canInsertTime ? _c('GlobalEvents', {
|
|
10438
|
+
}, [_vm.active && _vm.canInsertTime && _vm.settingsClosed ? _c('GlobalEvents', {
|
|
10557
10439
|
on: {
|
|
10558
10440
|
"keydown": [function ($event) {
|
|
10559
10441
|
if (!$event.type.indexOf('key') && $event.keyCode !== 45) return null;
|
|
@@ -10563,7 +10445,7 @@ var render = function render() {
|
|
|
10563
10445
|
return _vm.insertTime.apply(null, arguments);
|
|
10564
10446
|
}]
|
|
10565
10447
|
}
|
|
10566
|
-
}) : _vm._e(), _vm.active ? _c('GlobalEvents', {
|
|
10448
|
+
}) : _vm._e(), _vm.active && _vm.settingsClosed ? _c('GlobalEvents', {
|
|
10567
10449
|
on: {
|
|
10568
10450
|
"keydown": [function ($event) {
|
|
10569
10451
|
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) return null;
|
|
@@ -10575,6 +10457,11 @@ var render = function render() {
|
|
|
10575
10457
|
if ('button' in $event && $event.button !== 2) return null;
|
|
10576
10458
|
$event.preventDefault();
|
|
10577
10459
|
return _vm.arrowRight.apply(null, arguments);
|
|
10460
|
+
}, function ($event) {
|
|
10461
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-down", undefined, $event.key, undefined)) return null;
|
|
10462
|
+
if (!$event.shiftKey) return null;
|
|
10463
|
+
$event.preventDefault();
|
|
10464
|
+
return _vm.nextLoopActivate.apply(null, arguments);
|
|
10578
10465
|
}, function ($event) {
|
|
10579
10466
|
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-down", undefined, $event.key, undefined)) return null;
|
|
10580
10467
|
$event.preventDefault();
|
|
@@ -10583,6 +10470,11 @@ var render = function render() {
|
|
|
10583
10470
|
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-up", undefined, $event.key, undefined)) return null;
|
|
10584
10471
|
$event.preventDefault();
|
|
10585
10472
|
return _vm.prev.apply(null, arguments);
|
|
10473
|
+
}, function ($event) {
|
|
10474
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-up", undefined, $event.key, undefined)) return null;
|
|
10475
|
+
if (!$event.shiftKey) return null;
|
|
10476
|
+
$event.preventDefault();
|
|
10477
|
+
return _vm.prevLoopActivate.apply(null, arguments);
|
|
10586
10478
|
}, function ($event) {
|
|
10587
10479
|
if (!$event.type.indexOf('key') && $event.keyCode !== 83) return null;
|
|
10588
10480
|
$event.preventDefault();
|
|
@@ -10611,6 +10503,21 @@ var render = function render() {
|
|
|
10611
10503
|
if (!$event.type.indexOf('key') && $event.keyCode !== 76) return null;
|
|
10612
10504
|
$event.preventDefault();
|
|
10613
10505
|
_vm.dialogs.frames = true;
|
|
10506
|
+
}, function ($event) {
|
|
10507
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 49 && $event.keyCode !== 97) return null;
|
|
10508
|
+
return (() => _vm.secondsPerFrame = 1).apply(null, arguments);
|
|
10509
|
+
}, function ($event) {
|
|
10510
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 50 && $event.keyCode !== 98) return null;
|
|
10511
|
+
return (() => _vm.secondsPerFrame = 2).apply(null, arguments);
|
|
10512
|
+
}, function ($event) {
|
|
10513
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 51 && $event.keyCode !== 99) return null;
|
|
10514
|
+
return (() => _vm.secondsPerFrame = 3).apply(null, arguments);
|
|
10515
|
+
}, function ($event) {
|
|
10516
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 52 && $event.keyCode !== 100) return null;
|
|
10517
|
+
return (() => _vm.secondsPerFrame = 4).apply(null, arguments);
|
|
10518
|
+
}, function ($event) {
|
|
10519
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 53 && $event.keyCode !== 101) return null;
|
|
10520
|
+
return (() => _vm.secondsPerFrame = 5).apply(null, arguments);
|
|
10614
10521
|
}]
|
|
10615
10522
|
}
|
|
10616
10523
|
}) : _vm._e(), _vm.prevLoop || _vm.nextLoop ? _c('GlobalEvents', {
|
|
@@ -10800,8 +10707,8 @@ var render = function render() {
|
|
|
10800
10707
|
};
|
|
10801
10708
|
var staticRenderFns = [];
|
|
10802
10709
|
|
|
10803
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Frame.vue?vue&type=template&id=
|
|
10804
|
-
var
|
|
10710
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Frame.vue?vue&type=template&id=5c1173af&scoped=true&
|
|
10711
|
+
var Framevue_type_template_id_5c1173af_scoped_true_render = function render() {
|
|
10805
10712
|
var _vm = this,
|
|
10806
10713
|
_c = _vm._self._c;
|
|
10807
10714
|
return _c('div', {
|
|
@@ -10813,11 +10720,11 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10813
10720
|
active: _vm.active
|
|
10814
10721
|
},
|
|
10815
10722
|
style: {
|
|
10816
|
-
|
|
10723
|
+
maxHeight: `${_vm.maxHeight}px`,
|
|
10817
10724
|
width: '100%',
|
|
10818
10725
|
position: 'relative'
|
|
10819
10726
|
}
|
|
10820
|
-
}, [_vm.active && _vm.activeTab ? _c('GlobalEvents', {
|
|
10727
|
+
}, [_vm.active && _vm.activeTab && _vm.parentComponent.settingsClosed ? _c('GlobalEvents', {
|
|
10821
10728
|
on: {
|
|
10822
10729
|
"keydown": [function ($event) {
|
|
10823
10730
|
if (!$event.type.indexOf('key') && $event.keyCode !== 32) return null;
|
|
@@ -10830,6 +10737,10 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10830
10737
|
}, function ($event) {
|
|
10831
10738
|
if (!$event.type.indexOf('key') && $event.keyCode !== 79) return null;
|
|
10832
10739
|
return _vm.toogleDetailFrame.apply(null, arguments);
|
|
10740
|
+
}, function ($event) {
|
|
10741
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 13) return null;
|
|
10742
|
+
$event.preventDefault();
|
|
10743
|
+
return _vm.jumpFrameToStart.apply(null, arguments);
|
|
10833
10744
|
}]
|
|
10834
10745
|
}
|
|
10835
10746
|
}) : _vm._e(), _vm.showFrame ? _c('GlobalEvents', {
|
|
@@ -10864,8 +10775,8 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10864
10775
|
'frame-content': _vm.frame.title === -1 || _vm.videoStatus !== _vm.Status.stopped
|
|
10865
10776
|
},
|
|
10866
10777
|
style: {
|
|
10867
|
-
|
|
10868
|
-
|
|
10778
|
+
maxHeight: `${_vm.height}px`,
|
|
10779
|
+
maxWidth: `${_vm.width}px`,
|
|
10869
10780
|
color: 'white'
|
|
10870
10781
|
},
|
|
10871
10782
|
on: {
|
|
@@ -10875,14 +10786,22 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10875
10786
|
class: {
|
|
10876
10787
|
'dummy-frame': _vm.frame.title === -1
|
|
10877
10788
|
},
|
|
10789
|
+
staticStyle: {
|
|
10790
|
+
"width": "100%",
|
|
10791
|
+
"height": "100%"
|
|
10792
|
+
},
|
|
10878
10793
|
domProps: {
|
|
10879
10794
|
"innerHTML": _vm._s(_vm.frame.image)
|
|
10880
10795
|
}
|
|
10881
10796
|
}) : _vm._e(), _vm.videoStatus !== _vm.Status.stopped && !_vm.videoIsLoading ? _c('video', {
|
|
10882
10797
|
ref: "videoPlayer",
|
|
10798
|
+
staticStyle: {
|
|
10799
|
+
"width": "100%",
|
|
10800
|
+
"aspect-ratio": "11/9"
|
|
10801
|
+
},
|
|
10883
10802
|
attrs: {
|
|
10884
|
-
"
|
|
10885
|
-
"
|
|
10803
|
+
"maxHeight": `${_vm.height}px`,
|
|
10804
|
+
"maxWidth": `${_vm.width}px`,
|
|
10886
10805
|
"src": _vm.videoUrlString,
|
|
10887
10806
|
"preload": "none",
|
|
10888
10807
|
"autoplay": ""
|
|
@@ -10909,7 +10828,7 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10909
10828
|
}
|
|
10910
10829
|
})], 1);
|
|
10911
10830
|
};
|
|
10912
|
-
var
|
|
10831
|
+
var Framevue_type_template_id_5c1173af_scoped_true_staticRenderFns = [];
|
|
10913
10832
|
|
|
10914
10833
|
// EXTERNAL MODULE: ./node_modules/vue-loading-twa/lib/vue-loading-twa.min.js
|
|
10915
10834
|
var vue_loading_twa_min = __webpack_require__(3396);
|
|
@@ -10988,7 +10907,8 @@ const Status = Object.freeze({
|
|
|
10988
10907
|
videoUrlString: '',
|
|
10989
10908
|
parentComponent: null,
|
|
10990
10909
|
videoIsLoading: false,
|
|
10991
|
-
currentBlock: null
|
|
10910
|
+
currentBlock: null,
|
|
10911
|
+
lastTimeEnterPressed: null
|
|
10992
10912
|
};
|
|
10993
10913
|
},
|
|
10994
10914
|
created() {
|
|
@@ -11002,6 +10922,15 @@ const Status = Object.freeze({
|
|
|
11002
10922
|
}
|
|
11003
10923
|
},
|
|
11004
10924
|
methods: {
|
|
10925
|
+
jumpFrameToStart() {
|
|
10926
|
+
if (this.active) {
|
|
10927
|
+
const currentTime = new Date().getTime();
|
|
10928
|
+
if (currentTime - this.lastTimeEnterPressed <= 500) {
|
|
10929
|
+
this.parentComponent.changeHour(this.parentComponent.convertToAudienceTime(this.frame.time));
|
|
10930
|
+
}
|
|
10931
|
+
this.lastTimeEnterPressed = currentTime;
|
|
10932
|
+
}
|
|
10933
|
+
},
|
|
11005
10934
|
changeSettings(value) {
|
|
11006
10935
|
this.videoCurrentTime = value;
|
|
11007
10936
|
},
|
|
@@ -11118,10 +11047,10 @@ const Status = Object.freeze({
|
|
|
11118
11047
|
});
|
|
11119
11048
|
;// CONCATENATED MODULE: ./src/components/Frame.vue?vue&type=script&lang=js&
|
|
11120
11049
|
/* harmony default export */ var components_Framevue_type_script_lang_js_ = (Framevue_type_script_lang_js_);
|
|
11121
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Frame.vue?vue&type=style&index=0&id=
|
|
11050
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Frame.vue?vue&type=style&index=0&id=5c1173af&prod&scoped=true&lang=css&
|
|
11122
11051
|
// extracted by mini-css-extract-plugin
|
|
11123
11052
|
|
|
11124
|
-
;// CONCATENATED MODULE: ./src/components/Frame.vue?vue&type=style&index=0&id=
|
|
11053
|
+
;// CONCATENATED MODULE: ./src/components/Frame.vue?vue&type=style&index=0&id=5c1173af&prod&scoped=true&lang=css&
|
|
11125
11054
|
|
|
11126
11055
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
11127
11056
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -11232,11 +11161,11 @@ function normalizeComponent(
|
|
|
11232
11161
|
|
|
11233
11162
|
var component = normalizeComponent(
|
|
11234
11163
|
components_Framevue_type_script_lang_js_,
|
|
11235
|
-
|
|
11236
|
-
|
|
11164
|
+
Framevue_type_template_id_5c1173af_scoped_true_render,
|
|
11165
|
+
Framevue_type_template_id_5c1173af_scoped_true_staticRenderFns,
|
|
11237
11166
|
false,
|
|
11238
11167
|
null,
|
|
11239
|
-
"
|
|
11168
|
+
"5c1173af",
|
|
11240
11169
|
null
|
|
11241
11170
|
|
|
11242
11171
|
)
|
|
@@ -14517,9 +14446,9 @@ FramesManager.prototype.getSmallBlock = async function (time, channel, split) {
|
|
|
14517
14446
|
delete this.requests[requestId];
|
|
14518
14447
|
return true;
|
|
14519
14448
|
}
|
|
14520
|
-
|
|
14449
|
+
console.error(`Frames Manager (GetSmallBlock): Request blocked by another equal request occurring`);
|
|
14450
|
+
return false;
|
|
14521
14451
|
} catch (err) {
|
|
14522
|
-
console.log(err);
|
|
14523
14452
|
console.error(`Frames Manager (GetSmallBlock): ${err}`);
|
|
14524
14453
|
delete this.requests[requestId];
|
|
14525
14454
|
return false;
|
|
@@ -14554,9 +14483,10 @@ FramesManager.prototype.getBlock = async function (time, channel, split, directi
|
|
|
14554
14483
|
delete this.requests[requestId];
|
|
14555
14484
|
return true;
|
|
14556
14485
|
}
|
|
14557
|
-
|
|
14486
|
+
console.error(`Frames Manager (GetBlock ${direction}): Request blocked by another equal request occurring`);
|
|
14487
|
+
return false;
|
|
14558
14488
|
} catch (err) {
|
|
14559
|
-
console.error(`Frames Manager (GetBlock): ${err}`);
|
|
14489
|
+
console.error(`Frames Manager (GetBlock ${direction}): ${err}`);
|
|
14560
14490
|
delete this.requests[requestId];
|
|
14561
14491
|
return false;
|
|
14562
14492
|
}
|
|
@@ -14576,7 +14506,6 @@ FramesManager.prototype.checkFramesBackward = function () {
|
|
|
14576
14506
|
return this.currentPosition < Enum.MinBlockSizesBack[this.currentStep];
|
|
14577
14507
|
};
|
|
14578
14508
|
FramesManager.prototype.orderFramesBlock = function (images) {
|
|
14579
|
-
images = images.filter(image => image.time >= this.firstFrameTime);
|
|
14580
14509
|
if (this.buffer.length > 0) {
|
|
14581
14510
|
const bufferFistTime = this.buffer[0].time;
|
|
14582
14511
|
const bufferLastTime = this.buffer[this.buffer.length - 1].time;
|
|
@@ -14723,17 +14652,16 @@ FramesInterface.prototype.loadNextFrames = async function () {
|
|
|
14723
14652
|
};
|
|
14724
14653
|
FramesInterface.prototype.loadPrevFrames = async function () {
|
|
14725
14654
|
this.framesManager.previous();
|
|
14655
|
+
console.log(this.framesManager.currentTime, this.firstFrameTime);
|
|
14656
|
+
if (this.framesManager.currentTime < this.firstFrameTime) {
|
|
14657
|
+
await this.framesManager.goTo(this.firstFrameTime);
|
|
14658
|
+
await this.loadFrames();
|
|
14659
|
+
return;
|
|
14660
|
+
}
|
|
14726
14661
|
let prev = (await this.framesManager.getPrevImages()) || [];
|
|
14727
14662
|
prev = await this.constructImagesComponent(prev);
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
let current = (await this.framesManager.getCurrentImages()) || [];
|
|
14731
|
-
this.frames.next = next;
|
|
14732
|
-
this.frames.current = current;
|
|
14733
|
-
} else {
|
|
14734
|
-
this.frames.next = this.frames.current;
|
|
14735
|
-
this.frames.current = this.frames.prev;
|
|
14736
|
-
}
|
|
14663
|
+
this.frames.next = this.frames.current;
|
|
14664
|
+
this.frames.current = this.frames.prev;
|
|
14737
14665
|
this.frames.prev = prev;
|
|
14738
14666
|
};
|
|
14739
14667
|
FramesInterface.prototype.constructImagesComponent = async function (array) {
|
|
@@ -14741,7 +14669,7 @@ FramesInterface.prototype.constructImagesComponent = async function (array) {
|
|
|
14741
14669
|
for (let frame of array) {
|
|
14742
14670
|
const image = document.createElement('img');
|
|
14743
14671
|
image.src = frame.title === -1 ? __webpack_require__(9583) : `${sessionStorage.getItem('base_url')}frames/${frame.title}${server == 'alternative' ? '?server=alt' : ''}`;
|
|
14744
|
-
image.style.
|
|
14672
|
+
image.style.maxWidth = frame.title === -1 ? '80%' : '100%';
|
|
14745
14673
|
image.style.contain = 'true';
|
|
14746
14674
|
Semaphor.push(new Promise(resolve => {
|
|
14747
14675
|
image.addEventListener('load', () => {
|
|
@@ -14819,12 +14747,15 @@ FramesInterface.prototype.getVideoRequestByUrl = function (url_path, t) {
|
|
|
14819
14747
|
return url + 'StreamFromVideo?url=' + url_path + params + '#t=' + t;
|
|
14820
14748
|
};
|
|
14821
14749
|
/* harmony default export */ var utils_FramesInterface = (FramesInterface);
|
|
14822
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Commands.vue?vue&type=template&id=
|
|
14823
|
-
var
|
|
14750
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Commands.vue?vue&type=template&id=156a7328&
|
|
14751
|
+
var Commandsvue_type_template_id_156a7328_render = function render() {
|
|
14824
14752
|
var _vm = this,
|
|
14825
14753
|
_c = _vm._self._c;
|
|
14826
14754
|
return _c('div', {
|
|
14827
14755
|
staticClass: "visualization-col pa-0",
|
|
14756
|
+
staticStyle: {
|
|
14757
|
+
"border-top-right-radius": "6px"
|
|
14758
|
+
},
|
|
14828
14759
|
attrs: {
|
|
14829
14760
|
"id": "command-bar"
|
|
14830
14761
|
}
|
|
@@ -14862,7 +14793,7 @@ var Commandsvue_type_template_id_781eccb8_render = function render() {
|
|
|
14862
14793
|
staticClass: "visualization-divider"
|
|
14863
14794
|
})]);
|
|
14864
14795
|
};
|
|
14865
|
-
var
|
|
14796
|
+
var Commandsvue_type_template_id_156a7328_staticRenderFns = [];
|
|
14866
14797
|
|
|
14867
14798
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Commands.vue?vue&type=script&lang=js&
|
|
14868
14799
|
/* harmony default export */ var Commandsvue_type_script_lang_js_ = ({
|
|
@@ -15009,8 +14940,8 @@ var Commandsvue_type_template_id_781eccb8_staticRenderFns = [];
|
|
|
15009
14940
|
;
|
|
15010
14941
|
var Commands_component = normalizeComponent(
|
|
15011
14942
|
components_Commandsvue_type_script_lang_js_,
|
|
15012
|
-
|
|
15013
|
-
|
|
14943
|
+
Commandsvue_type_template_id_156a7328_render,
|
|
14944
|
+
Commandsvue_type_template_id_156a7328_staticRenderFns,
|
|
15014
14945
|
false,
|
|
15015
14946
|
null,
|
|
15016
14947
|
null,
|
|
@@ -15019,15 +14950,13 @@ var Commands_component = normalizeComponent(
|
|
|
15019
14950
|
)
|
|
15020
14951
|
|
|
15021
14952
|
/* harmony default export */ var Commands = (Commands_component.exports);
|
|
15022
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Infos.vue?vue&type=template&id=
|
|
15023
|
-
var
|
|
14953
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Infos.vue?vue&type=template&id=363c35bb&
|
|
14954
|
+
var Infosvue_type_template_id_363c35bb_render = function render() {
|
|
15024
14955
|
var _vm = this,
|
|
15025
14956
|
_c = _vm._self._c;
|
|
15026
14957
|
return _c('div', {
|
|
15027
14958
|
staticClass: "visualization-row visualization-justify-center visualization-align-center",
|
|
15028
|
-
|
|
15029
|
-
"padding": "4px"
|
|
15030
|
-
},
|
|
14959
|
+
style: !_vm.commandsShow ? 'border-top-right-radius: 6px; padding: 4px' : 'padding: 4px',
|
|
15031
14960
|
attrs: {
|
|
15032
14961
|
"id": "info-bar"
|
|
15033
14962
|
}
|
|
@@ -15136,7 +15065,7 @@ var Infosvue_type_template_id_441ca26a_render = function render() {
|
|
|
15136
15065
|
}
|
|
15137
15066
|
})], 1)]);
|
|
15138
15067
|
};
|
|
15139
|
-
var
|
|
15068
|
+
var Infosvue_type_template_id_363c35bb_staticRenderFns = [];
|
|
15140
15069
|
|
|
15141
15070
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Infos.vue?vue&type=script&lang=js&
|
|
15142
15071
|
/* harmony default export */ var Infosvue_type_script_lang_js_ = ({
|
|
@@ -15231,8 +15160,8 @@ var Infosvue_type_template_id_441ca26a_staticRenderFns = [];
|
|
|
15231
15160
|
;
|
|
15232
15161
|
var Infos_component = normalizeComponent(
|
|
15233
15162
|
components_Infosvue_type_script_lang_js_,
|
|
15234
|
-
|
|
15235
|
-
|
|
15163
|
+
Infosvue_type_template_id_363c35bb_render,
|
|
15164
|
+
Infosvue_type_template_id_363c35bb_staticRenderFns,
|
|
15236
15165
|
false,
|
|
15237
15166
|
null,
|
|
15238
15167
|
null,
|
|
@@ -15379,11 +15308,21 @@ var VideoProgress_component = normalizeComponent(
|
|
|
15379
15308
|
)
|
|
15380
15309
|
|
|
15381
15310
|
/* harmony default export */ var VideoProgress = (VideoProgress_component.exports);
|
|
15382
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Settings.vue?vue&type=template&id=
|
|
15383
|
-
var
|
|
15311
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Settings.vue?vue&type=template&id=bf2f3c16&scoped=true&
|
|
15312
|
+
var Settingsvue_type_template_id_bf2f3c16_scoped_true_render = function render() {
|
|
15384
15313
|
var _vm = this,
|
|
15385
15314
|
_c = _vm._self._c;
|
|
15386
|
-
return _c('div', [_c('
|
|
15315
|
+
return _c('div', [_vm.dialogsVisibility.frames ? _c('GlobalEvents', {
|
|
15316
|
+
on: {
|
|
15317
|
+
"keydown": [function ($event) {
|
|
15318
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 37) return null;
|
|
15319
|
+
return _vm.prevFormat.apply(null, arguments);
|
|
15320
|
+
}, function ($event) {
|
|
15321
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 39) return null;
|
|
15322
|
+
return _vm.nextFormat.apply(null, arguments);
|
|
15323
|
+
}]
|
|
15324
|
+
}
|
|
15325
|
+
}) : _vm._e(), _c('dialog', {
|
|
15387
15326
|
ref: "frames"
|
|
15388
15327
|
}, [_c('div', {
|
|
15389
15328
|
staticClass: "visualization-row",
|
|
@@ -15407,7 +15346,7 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_render = function render()
|
|
|
15407
15346
|
}, [_c('img', {
|
|
15408
15347
|
style: _vm.framesValue !== item.value ? 'filter: grayscale(1)' : '',
|
|
15409
15348
|
attrs: {
|
|
15410
|
-
"src":
|
|
15349
|
+
"src": item.image,
|
|
15411
15350
|
"width": "100%"
|
|
15412
15351
|
},
|
|
15413
15352
|
on: {
|
|
@@ -15567,11 +15506,53 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_render = function render()
|
|
|
15567
15506
|
}
|
|
15568
15507
|
}, [_vm._v("Ok")])])])], 1);
|
|
15569
15508
|
};
|
|
15570
|
-
var
|
|
15509
|
+
var Settingsvue_type_template_id_bf2f3c16_scoped_true_staticRenderFns = [];
|
|
15510
|
+
|
|
15511
|
+
;// CONCATENATED MODULE: ./src/assets/grid/1x1.svg
|
|
15512
|
+
var _1x1_namespaceObject = __webpack_require__.p + "img/1x1.f865594b.svg";
|
|
15513
|
+
;// CONCATENATED MODULE: ./src/assets/grid/2x1.svg
|
|
15514
|
+
var _2x1_namespaceObject = __webpack_require__.p + "img/2x1.6bc80fec.svg";
|
|
15515
|
+
;// CONCATENATED MODULE: ./src/assets/grid/3x1.svg
|
|
15516
|
+
var _3x1_namespaceObject = __webpack_require__.p + "img/3x1.8fe1c055.svg";
|
|
15517
|
+
;// CONCATENATED MODULE: ./src/assets/grid/3x2.svg
|
|
15518
|
+
var _3x2_namespaceObject = __webpack_require__.p + "img/3x2.f5153612.svg";
|
|
15519
|
+
;// CONCATENATED MODULE: ./src/assets/grid/4x1.svg
|
|
15520
|
+
var _4x1_namespaceObject = __webpack_require__.p + "img/4x1.22f434b0.svg";
|
|
15521
|
+
;// CONCATENATED MODULE: ./src/assets/grid/4x2.svg
|
|
15522
|
+
var _4x2_namespaceObject = __webpack_require__.p + "img/4x2.3810a721.svg";
|
|
15523
|
+
;// CONCATENATED MODULE: ./src/assets/grid/5x1.svg
|
|
15524
|
+
var _5x1_namespaceObject = __webpack_require__.p + "img/5x1.c0878e49.svg";
|
|
15525
|
+
;// CONCATENATED MODULE: ./src/assets/grid/5x2.svg
|
|
15526
|
+
var _5x2_namespaceObject = __webpack_require__.p + "img/5x2.b70b5289.svg";
|
|
15527
|
+
;// CONCATENATED MODULE: ./src/assets/grid/6x1.svg
|
|
15528
|
+
var _6x1_namespaceObject = __webpack_require__.p + "img/6x1.28b9840c.svg";
|
|
15529
|
+
;// CONCATENATED MODULE: ./src/assets/grid/6x2.svg
|
|
15530
|
+
var _6x2_namespaceObject = __webpack_require__.p + "img/6x2.6b117ba7.svg";
|
|
15531
|
+
;// CONCATENATED MODULE: ./src/assets/grid/index.js
|
|
15532
|
+
|
|
15533
|
+
|
|
15534
|
+
|
|
15535
|
+
|
|
15536
|
+
|
|
15571
15537
|
|
|
15572
|
-
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=template&id=ace6f9c6&scoped=true&
|
|
15573
15538
|
|
|
15539
|
+
|
|
15540
|
+
|
|
15541
|
+
|
|
15542
|
+
/* harmony default export */ var grid = ({
|
|
15543
|
+
'1x1': _1x1_namespaceObject,
|
|
15544
|
+
'2x1': _2x1_namespaceObject,
|
|
15545
|
+
'3x1': _3x1_namespaceObject,
|
|
15546
|
+
'3x2': _3x2_namespaceObject,
|
|
15547
|
+
'4x1': _4x1_namespaceObject,
|
|
15548
|
+
'4x2': _4x2_namespaceObject,
|
|
15549
|
+
'5x1': _5x1_namespaceObject,
|
|
15550
|
+
'5x2': _5x2_namespaceObject,
|
|
15551
|
+
'6x1': _6x1_namespaceObject,
|
|
15552
|
+
'6x2': _6x2_namespaceObject
|
|
15553
|
+
});
|
|
15574
15554
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Settings.vue?vue&type=script&lang=js&
|
|
15555
|
+
|
|
15575
15556
|
/* harmony default export */ var Settingsvue_type_script_lang_js_ = ({
|
|
15576
15557
|
props: {
|
|
15577
15558
|
dialogsVisibility: {
|
|
@@ -15606,31 +15587,40 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15606
15587
|
},
|
|
15607
15588
|
items: [{
|
|
15608
15589
|
text: '2x1',
|
|
15609
|
-
value: 1
|
|
15590
|
+
value: 1,
|
|
15591
|
+
image: grid['2x1']
|
|
15610
15592
|
}, {
|
|
15611
15593
|
text: '3x1',
|
|
15612
|
-
value: 2
|
|
15594
|
+
value: 2,
|
|
15595
|
+
image: grid['3x1']
|
|
15613
15596
|
}, {
|
|
15614
15597
|
text: '3x2',
|
|
15615
|
-
value: 3
|
|
15598
|
+
value: 3,
|
|
15599
|
+
image: grid['3x2']
|
|
15616
15600
|
}, {
|
|
15617
15601
|
text: '4x1',
|
|
15618
|
-
value: 4
|
|
15602
|
+
value: 4,
|
|
15603
|
+
image: grid['4x1']
|
|
15619
15604
|
}, {
|
|
15620
15605
|
text: '4x2',
|
|
15621
|
-
value: 5
|
|
15606
|
+
value: 5,
|
|
15607
|
+
image: grid['4x2']
|
|
15622
15608
|
}, {
|
|
15623
15609
|
text: '5x1',
|
|
15624
|
-
value: 6
|
|
15610
|
+
value: 6,
|
|
15611
|
+
image: grid['5x1']
|
|
15625
15612
|
}, {
|
|
15626
15613
|
text: '5x2',
|
|
15627
|
-
value: 7
|
|
15614
|
+
value: 7,
|
|
15615
|
+
image: grid['5x2']
|
|
15628
15616
|
}, {
|
|
15629
15617
|
text: '6x1',
|
|
15630
|
-
value: 8
|
|
15618
|
+
value: 8,
|
|
15619
|
+
image: grid['6x1']
|
|
15631
15620
|
}, {
|
|
15632
15621
|
text: '6x2',
|
|
15633
|
-
value: 9
|
|
15622
|
+
value: 9,
|
|
15623
|
+
image: grid['6x2']
|
|
15634
15624
|
}],
|
|
15635
15625
|
// NEW
|
|
15636
15626
|
goToValue: ''
|
|
@@ -15666,6 +15656,16 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15666
15656
|
}
|
|
15667
15657
|
},
|
|
15668
15658
|
methods: {
|
|
15659
|
+
prevFormat() {
|
|
15660
|
+
if (this.items.find(format => format.value === this.framesValue - 1)) {
|
|
15661
|
+
this.framesValue--;
|
|
15662
|
+
}
|
|
15663
|
+
},
|
|
15664
|
+
nextFormat() {
|
|
15665
|
+
if (this.items.find(format => format.value === this.framesValue + 1)) {
|
|
15666
|
+
this.framesValue++;
|
|
15667
|
+
}
|
|
15668
|
+
},
|
|
15669
15669
|
changePlaybackRate() {
|
|
15670
15670
|
let direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
15671
15671
|
if (direction === 1) {
|
|
@@ -15712,10 +15712,10 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15712
15712
|
});
|
|
15713
15713
|
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=script&lang=js&
|
|
15714
15714
|
/* harmony default export */ var components_Settingsvue_type_script_lang_js_ = (Settingsvue_type_script_lang_js_);
|
|
15715
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Settings.vue?vue&type=style&index=0&id=
|
|
15715
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Settings.vue?vue&type=style&index=0&id=bf2f3c16&prod&scoped=true&lang=css&
|
|
15716
15716
|
// extracted by mini-css-extract-plugin
|
|
15717
15717
|
|
|
15718
|
-
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=style&index=0&id=
|
|
15718
|
+
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=style&index=0&id=bf2f3c16&prod&scoped=true&lang=css&
|
|
15719
15719
|
|
|
15720
15720
|
;// CONCATENATED MODULE: ./src/components/Settings.vue
|
|
15721
15721
|
|
|
@@ -15728,11 +15728,11 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15728
15728
|
|
|
15729
15729
|
var Settings_component = normalizeComponent(
|
|
15730
15730
|
components_Settingsvue_type_script_lang_js_,
|
|
15731
|
-
|
|
15732
|
-
|
|
15731
|
+
Settingsvue_type_template_id_bf2f3c16_scoped_true_render,
|
|
15732
|
+
Settingsvue_type_template_id_bf2f3c16_scoped_true_staticRenderFns,
|
|
15733
15733
|
false,
|
|
15734
15734
|
null,
|
|
15735
|
-
"
|
|
15735
|
+
"bf2f3c16",
|
|
15736
15736
|
null
|
|
15737
15737
|
|
|
15738
15738
|
)
|
|
@@ -15777,9 +15777,16 @@ const Positions = Object.freeze({
|
|
|
15777
15777
|
type: Boolean,
|
|
15778
15778
|
default: false
|
|
15779
15779
|
},
|
|
15780
|
+
jumpOnInsert: {
|
|
15781
|
+
type: Boolean,
|
|
15782
|
+
default: false
|
|
15783
|
+
},
|
|
15780
15784
|
framesFormat: {
|
|
15781
15785
|
type: [Number, String],
|
|
15782
15786
|
default: 6
|
|
15787
|
+
},
|
|
15788
|
+
size: {
|
|
15789
|
+
type: Number
|
|
15783
15790
|
}
|
|
15784
15791
|
},
|
|
15785
15792
|
components: {
|
|
@@ -15873,7 +15880,9 @@ const Positions = Object.freeze({
|
|
|
15873
15880
|
this.framesPerRow = storedOnDb.framesPerRow;
|
|
15874
15881
|
this.numberOfRows = storedOnDb.numberOfRows;
|
|
15875
15882
|
await this.createFramesInterface();
|
|
15876
|
-
this.
|
|
15883
|
+
if (this.size) {
|
|
15884
|
+
this.resize(this.size, true);
|
|
15885
|
+
}
|
|
15877
15886
|
},
|
|
15878
15887
|
methods: {
|
|
15879
15888
|
framesClicked(e) {
|
|
@@ -15942,14 +15951,19 @@ const Positions = Object.freeze({
|
|
|
15942
15951
|
changePlayPause(status) {
|
|
15943
15952
|
this.paused = !status;
|
|
15944
15953
|
},
|
|
15945
|
-
|
|
15946
|
-
|
|
15954
|
+
resize() {
|
|
15955
|
+
let height = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.lastHeight;
|
|
15956
|
+
let dynamic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
15957
|
+
if (this.numberOfRows === 2 && dynamic) {
|
|
15958
|
+
height *= 1.5;
|
|
15959
|
+
}
|
|
15947
15960
|
this.lastHeight = height;
|
|
15948
15961
|
if (this.$refs.frames) {
|
|
15949
15962
|
for (let frame of this.$refs.frames) {
|
|
15950
15963
|
frame.resize(height);
|
|
15951
15964
|
}
|
|
15952
15965
|
}
|
|
15966
|
+
this.$emit('resized');
|
|
15953
15967
|
},
|
|
15954
15968
|
async goToFirstFrame() {
|
|
15955
15969
|
let frames = this.$refs.frames;
|
|
@@ -16340,6 +16354,9 @@ const Positions = Object.freeze({
|
|
|
16340
16354
|
hour_end: this.hourEndSelected ? this.convertToAudienceTime(this.hourEndSelected, '') : null,
|
|
16341
16355
|
force: false
|
|
16342
16356
|
});
|
|
16357
|
+
if (this.jumpOnInsert) {
|
|
16358
|
+
this.changeHour(this.convertToAudienceTime((this.hourEndSelected || this.hourIniSelected) + 1));
|
|
16359
|
+
}
|
|
16343
16360
|
this.hourIniSelected = null;
|
|
16344
16361
|
this.hourEndSelected = null;
|
|
16345
16362
|
this.canInsertTime = false;
|
|
@@ -16385,13 +16402,16 @@ const Positions = Object.freeze({
|
|
|
16385
16402
|
}
|
|
16386
16403
|
},
|
|
16387
16404
|
computed: {
|
|
16405
|
+
sizeComputed() {
|
|
16406
|
+
return this.size;
|
|
16407
|
+
},
|
|
16408
|
+
settingsClosed() {
|
|
16409
|
+
return !Object.values(this.dialogs).find(v => v);
|
|
16410
|
+
},
|
|
16388
16411
|
startAudienceSeconds() {
|
|
16389
16412
|
const t = this.startAudienceTime.match(/.{1,2}/g);
|
|
16390
16413
|
return parseInt(t[0] * 3600 + t[1] * 60 + t[2]);
|
|
16391
16414
|
},
|
|
16392
|
-
user() {
|
|
16393
|
-
return this.$store.state.user;
|
|
16394
|
-
},
|
|
16395
16415
|
loadingArray() {
|
|
16396
16416
|
return Array.from(Array(this.numberOfRows * this.framesPerRow).keys());
|
|
16397
16417
|
},
|
|
@@ -16422,25 +16442,25 @@ const Positions = Object.freeze({
|
|
|
16422
16442
|
if (value) {
|
|
16423
16443
|
this.stopPlayingBar();
|
|
16424
16444
|
}
|
|
16445
|
+
},
|
|
16446
|
+
channel() {
|
|
16447
|
+
this.updatingChannel = new Promise((resolve, reject) => {
|
|
16448
|
+
try {
|
|
16449
|
+
this.createFramesInterface();
|
|
16450
|
+
resolve(true);
|
|
16451
|
+
} catch (err) {
|
|
16452
|
+
reject(err);
|
|
16453
|
+
}
|
|
16454
|
+
});
|
|
16425
16455
|
}
|
|
16426
|
-
// channel() {
|
|
16427
|
-
// this.updatingChannel = new Promise((resolve, reject) => {
|
|
16428
|
-
// try {
|
|
16429
|
-
// this.createFramesInterface()
|
|
16430
|
-
// resolve(true)
|
|
16431
|
-
// } catch (err) {
|
|
16432
|
-
// reject(err)
|
|
16433
|
-
// }
|
|
16434
|
-
// })
|
|
16435
|
-
// },
|
|
16436
16456
|
}
|
|
16437
16457
|
});
|
|
16438
16458
|
;// CONCATENATED MODULE: ./src/Visualization.vue?vue&type=script&lang=js&
|
|
16439
16459
|
/* harmony default export */ var src_Visualizationvue_type_script_lang_js_ = (Visualizationvue_type_script_lang_js_);
|
|
16440
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Visualization.vue?vue&type=style&index=0&id=
|
|
16460
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Visualization.vue?vue&type=style&index=0&id=b542f254&prod&scoped=true&lang=css&
|
|
16441
16461
|
// extracted by mini-css-extract-plugin
|
|
16442
16462
|
|
|
16443
|
-
;// CONCATENATED MODULE: ./src/Visualization.vue?vue&type=style&index=0&id=
|
|
16463
|
+
;// CONCATENATED MODULE: ./src/Visualization.vue?vue&type=style&index=0&id=b542f254&prod&scoped=true&lang=css&
|
|
16444
16464
|
|
|
16445
16465
|
;// CONCATENATED MODULE: ./src/Visualization.vue
|
|
16446
16466
|
|
|
@@ -16457,7 +16477,7 @@ var Visualization_component = normalizeComponent(
|
|
|
16457
16477
|
staticRenderFns,
|
|
16458
16478
|
false,
|
|
16459
16479
|
null,
|
|
16460
|
-
"
|
|
16480
|
+
"b542f254",
|
|
16461
16481
|
null
|
|
16462
16482
|
|
|
16463
16483
|
)
|