@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
|
@@ -10279,130 +10279,12 @@ module.exports = toPlainObject;
|
|
|
10279
10279
|
|
|
10280
10280
|
/***/ }),
|
|
10281
10281
|
|
|
10282
|
-
/***/ 7202:
|
|
10283
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10284
|
-
|
|
10285
|
-
var map = {
|
|
10286
|
-
"./1x1.svg": 9685,
|
|
10287
|
-
"./2x1.svg": 5496,
|
|
10288
|
-
"./3x1.svg": 7823,
|
|
10289
|
-
"./3x2.svg": 7022,
|
|
10290
|
-
"./4x1.svg": 6809,
|
|
10291
|
-
"./4x2.svg": 4389,
|
|
10292
|
-
"./5x1.svg": 9668,
|
|
10293
|
-
"./5x2.svg": 8243,
|
|
10294
|
-
"./6x1.svg": 3108,
|
|
10295
|
-
"./6x2.svg": 9145
|
|
10296
|
-
};
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
function webpackContext(req) {
|
|
10300
|
-
var id = webpackContextResolve(req);
|
|
10301
|
-
return __webpack_require__(id);
|
|
10302
|
-
}
|
|
10303
|
-
function webpackContextResolve(req) {
|
|
10304
|
-
if(!__webpack_require__.o(map, req)) {
|
|
10305
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
10306
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
10307
|
-
throw e;
|
|
10308
|
-
}
|
|
10309
|
-
return map[req];
|
|
10310
|
-
}
|
|
10311
|
-
webpackContext.keys = function webpackContextKeys() {
|
|
10312
|
-
return Object.keys(map);
|
|
10313
|
-
};
|
|
10314
|
-
webpackContext.resolve = webpackContextResolve;
|
|
10315
|
-
module.exports = webpackContext;
|
|
10316
|
-
webpackContext.id = 7202;
|
|
10317
|
-
|
|
10318
|
-
/***/ }),
|
|
10319
|
-
|
|
10320
10282
|
/***/ 9583:
|
|
10321
10283
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10322
10284
|
|
|
10323
10285
|
"use strict";
|
|
10324
10286
|
module.exports = __webpack_require__.p + "img/dummy.ec1ab0d6.svg";
|
|
10325
10287
|
|
|
10326
|
-
/***/ }),
|
|
10327
|
-
|
|
10328
|
-
/***/ 9685:
|
|
10329
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10330
|
-
|
|
10331
|
-
"use strict";
|
|
10332
|
-
module.exports = __webpack_require__.p + "img/1x1.f865594b.svg";
|
|
10333
|
-
|
|
10334
|
-
/***/ }),
|
|
10335
|
-
|
|
10336
|
-
/***/ 5496:
|
|
10337
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10338
|
-
|
|
10339
|
-
"use strict";
|
|
10340
|
-
module.exports = __webpack_require__.p + "img/2x1.6bc80fec.svg";
|
|
10341
|
-
|
|
10342
|
-
/***/ }),
|
|
10343
|
-
|
|
10344
|
-
/***/ 7823:
|
|
10345
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10346
|
-
|
|
10347
|
-
"use strict";
|
|
10348
|
-
module.exports = __webpack_require__.p + "img/3x1.8fe1c055.svg";
|
|
10349
|
-
|
|
10350
|
-
/***/ }),
|
|
10351
|
-
|
|
10352
|
-
/***/ 7022:
|
|
10353
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10354
|
-
|
|
10355
|
-
"use strict";
|
|
10356
|
-
module.exports = __webpack_require__.p + "img/3x2.f5153612.svg";
|
|
10357
|
-
|
|
10358
|
-
/***/ }),
|
|
10359
|
-
|
|
10360
|
-
/***/ 6809:
|
|
10361
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10362
|
-
|
|
10363
|
-
"use strict";
|
|
10364
|
-
module.exports = __webpack_require__.p + "img/4x1.22f434b0.svg";
|
|
10365
|
-
|
|
10366
|
-
/***/ }),
|
|
10367
|
-
|
|
10368
|
-
/***/ 4389:
|
|
10369
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10370
|
-
|
|
10371
|
-
"use strict";
|
|
10372
|
-
module.exports = __webpack_require__.p + "img/4x2.3810a721.svg";
|
|
10373
|
-
|
|
10374
|
-
/***/ }),
|
|
10375
|
-
|
|
10376
|
-
/***/ 9668:
|
|
10377
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10378
|
-
|
|
10379
|
-
"use strict";
|
|
10380
|
-
module.exports = __webpack_require__.p + "img/5x1.c0878e49.svg";
|
|
10381
|
-
|
|
10382
|
-
/***/ }),
|
|
10383
|
-
|
|
10384
|
-
/***/ 8243:
|
|
10385
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10386
|
-
|
|
10387
|
-
"use strict";
|
|
10388
|
-
module.exports = __webpack_require__.p + "img/5x2.b70b5289.svg";
|
|
10389
|
-
|
|
10390
|
-
/***/ }),
|
|
10391
|
-
|
|
10392
|
-
/***/ 3108:
|
|
10393
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10394
|
-
|
|
10395
|
-
"use strict";
|
|
10396
|
-
module.exports = __webpack_require__.p + "img/6x1.28b9840c.svg";
|
|
10397
|
-
|
|
10398
|
-
/***/ }),
|
|
10399
|
-
|
|
10400
|
-
/***/ 9145:
|
|
10401
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10402
|
-
|
|
10403
|
-
"use strict";
|
|
10404
|
-
module.exports = __webpack_require__.p + "img/6x2.6b117ba7.svg";
|
|
10405
|
-
|
|
10406
10288
|
/***/ })
|
|
10407
10289
|
|
|
10408
10290
|
/******/ });
|
|
@@ -10531,7 +10413,7 @@ if (typeof window !== 'undefined') {
|
|
|
10531
10413
|
// Indicate to webpack that this file can be concatenated
|
|
10532
10414
|
/* harmony default export */ var setPublicPath = (null);
|
|
10533
10415
|
|
|
10534
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
10416
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
|
10535
10417
|
var render = function render() {
|
|
10536
10418
|
var _vm = this,
|
|
10537
10419
|
_c = _vm._self._c;
|
|
@@ -10543,7 +10425,7 @@ var render = function render() {
|
|
|
10543
10425
|
on: {
|
|
10544
10426
|
"click": _vm.framesClicked
|
|
10545
10427
|
}
|
|
10546
|
-
}, [_vm.active && _vm.canInsertTime ? _c('GlobalEvents', {
|
|
10428
|
+
}, [_vm.active && _vm.canInsertTime && _vm.settingsClosed ? _c('GlobalEvents', {
|
|
10547
10429
|
on: {
|
|
10548
10430
|
"keydown": [function ($event) {
|
|
10549
10431
|
if (!$event.type.indexOf('key') && $event.keyCode !== 45) return null;
|
|
@@ -10553,7 +10435,7 @@ var render = function render() {
|
|
|
10553
10435
|
return _vm.insertTime.apply(null, arguments);
|
|
10554
10436
|
}]
|
|
10555
10437
|
}
|
|
10556
|
-
}) : _vm._e(), _vm.active ? _c('GlobalEvents', {
|
|
10438
|
+
}) : _vm._e(), _vm.active && _vm.settingsClosed ? _c('GlobalEvents', {
|
|
10557
10439
|
on: {
|
|
10558
10440
|
"keydown": [function ($event) {
|
|
10559
10441
|
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) return null;
|
|
@@ -10565,6 +10447,11 @@ var render = function render() {
|
|
|
10565
10447
|
if ('button' in $event && $event.button !== 2) return null;
|
|
10566
10448
|
$event.preventDefault();
|
|
10567
10449
|
return _vm.arrowRight.apply(null, arguments);
|
|
10450
|
+
}, function ($event) {
|
|
10451
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-down", undefined, $event.key, undefined)) return null;
|
|
10452
|
+
if (!$event.shiftKey) return null;
|
|
10453
|
+
$event.preventDefault();
|
|
10454
|
+
return _vm.nextLoopActivate.apply(null, arguments);
|
|
10568
10455
|
}, function ($event) {
|
|
10569
10456
|
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-down", undefined, $event.key, undefined)) return null;
|
|
10570
10457
|
$event.preventDefault();
|
|
@@ -10573,6 +10460,11 @@ var render = function render() {
|
|
|
10573
10460
|
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-up", undefined, $event.key, undefined)) return null;
|
|
10574
10461
|
$event.preventDefault();
|
|
10575
10462
|
return _vm.prev.apply(null, arguments);
|
|
10463
|
+
}, function ($event) {
|
|
10464
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "page-up", undefined, $event.key, undefined)) return null;
|
|
10465
|
+
if (!$event.shiftKey) return null;
|
|
10466
|
+
$event.preventDefault();
|
|
10467
|
+
return _vm.prevLoopActivate.apply(null, arguments);
|
|
10576
10468
|
}, function ($event) {
|
|
10577
10469
|
if (!$event.type.indexOf('key') && $event.keyCode !== 83) return null;
|
|
10578
10470
|
$event.preventDefault();
|
|
@@ -10601,6 +10493,21 @@ var render = function render() {
|
|
|
10601
10493
|
if (!$event.type.indexOf('key') && $event.keyCode !== 76) return null;
|
|
10602
10494
|
$event.preventDefault();
|
|
10603
10495
|
_vm.dialogs.frames = true;
|
|
10496
|
+
}, function ($event) {
|
|
10497
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 49 && $event.keyCode !== 97) return null;
|
|
10498
|
+
return (() => _vm.secondsPerFrame = 1).apply(null, arguments);
|
|
10499
|
+
}, function ($event) {
|
|
10500
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 50 && $event.keyCode !== 98) return null;
|
|
10501
|
+
return (() => _vm.secondsPerFrame = 2).apply(null, arguments);
|
|
10502
|
+
}, function ($event) {
|
|
10503
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 51 && $event.keyCode !== 99) return null;
|
|
10504
|
+
return (() => _vm.secondsPerFrame = 3).apply(null, arguments);
|
|
10505
|
+
}, function ($event) {
|
|
10506
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 52 && $event.keyCode !== 100) return null;
|
|
10507
|
+
return (() => _vm.secondsPerFrame = 4).apply(null, arguments);
|
|
10508
|
+
}, function ($event) {
|
|
10509
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 53 && $event.keyCode !== 101) return null;
|
|
10510
|
+
return (() => _vm.secondsPerFrame = 5).apply(null, arguments);
|
|
10604
10511
|
}]
|
|
10605
10512
|
}
|
|
10606
10513
|
}) : _vm._e(), _vm.prevLoop || _vm.nextLoop ? _c('GlobalEvents', {
|
|
@@ -10790,8 +10697,8 @@ var render = function render() {
|
|
|
10790
10697
|
};
|
|
10791
10698
|
var staticRenderFns = [];
|
|
10792
10699
|
|
|
10793
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
10794
|
-
var
|
|
10700
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
|
10701
|
+
var Framevue_type_template_id_5c1173af_scoped_true_render = function render() {
|
|
10795
10702
|
var _vm = this,
|
|
10796
10703
|
_c = _vm._self._c;
|
|
10797
10704
|
return _c('div', {
|
|
@@ -10803,11 +10710,11 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10803
10710
|
active: _vm.active
|
|
10804
10711
|
},
|
|
10805
10712
|
style: {
|
|
10806
|
-
|
|
10713
|
+
maxHeight: `${_vm.maxHeight}px`,
|
|
10807
10714
|
width: '100%',
|
|
10808
10715
|
position: 'relative'
|
|
10809
10716
|
}
|
|
10810
|
-
}, [_vm.active && _vm.activeTab ? _c('GlobalEvents', {
|
|
10717
|
+
}, [_vm.active && _vm.activeTab && _vm.parentComponent.settingsClosed ? _c('GlobalEvents', {
|
|
10811
10718
|
on: {
|
|
10812
10719
|
"keydown": [function ($event) {
|
|
10813
10720
|
if (!$event.type.indexOf('key') && $event.keyCode !== 32) return null;
|
|
@@ -10820,6 +10727,10 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10820
10727
|
}, function ($event) {
|
|
10821
10728
|
if (!$event.type.indexOf('key') && $event.keyCode !== 79) return null;
|
|
10822
10729
|
return _vm.toogleDetailFrame.apply(null, arguments);
|
|
10730
|
+
}, function ($event) {
|
|
10731
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 13) return null;
|
|
10732
|
+
$event.preventDefault();
|
|
10733
|
+
return _vm.jumpFrameToStart.apply(null, arguments);
|
|
10823
10734
|
}]
|
|
10824
10735
|
}
|
|
10825
10736
|
}) : _vm._e(), _vm.showFrame ? _c('GlobalEvents', {
|
|
@@ -10854,8 +10765,8 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10854
10765
|
'frame-content': _vm.frame.title === -1 || _vm.videoStatus !== _vm.Status.stopped
|
|
10855
10766
|
},
|
|
10856
10767
|
style: {
|
|
10857
|
-
|
|
10858
|
-
|
|
10768
|
+
maxHeight: `${_vm.height}px`,
|
|
10769
|
+
maxWidth: `${_vm.width}px`,
|
|
10859
10770
|
color: 'white'
|
|
10860
10771
|
},
|
|
10861
10772
|
on: {
|
|
@@ -10865,14 +10776,22 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10865
10776
|
class: {
|
|
10866
10777
|
'dummy-frame': _vm.frame.title === -1
|
|
10867
10778
|
},
|
|
10779
|
+
staticStyle: {
|
|
10780
|
+
"width": "100%",
|
|
10781
|
+
"height": "100%"
|
|
10782
|
+
},
|
|
10868
10783
|
domProps: {
|
|
10869
10784
|
"innerHTML": _vm._s(_vm.frame.image)
|
|
10870
10785
|
}
|
|
10871
10786
|
}) : _vm._e(), _vm.videoStatus !== _vm.Status.stopped && !_vm.videoIsLoading ? _c('video', {
|
|
10872
10787
|
ref: "videoPlayer",
|
|
10788
|
+
staticStyle: {
|
|
10789
|
+
"width": "100%",
|
|
10790
|
+
"aspect-ratio": "11/9"
|
|
10791
|
+
},
|
|
10873
10792
|
attrs: {
|
|
10874
|
-
"
|
|
10875
|
-
"
|
|
10793
|
+
"maxHeight": `${_vm.height}px`,
|
|
10794
|
+
"maxWidth": `${_vm.width}px`,
|
|
10876
10795
|
"src": _vm.videoUrlString,
|
|
10877
10796
|
"preload": "none",
|
|
10878
10797
|
"autoplay": ""
|
|
@@ -10899,7 +10818,7 @@ var Framevue_type_template_id_50ccd370_scoped_true_render = function render() {
|
|
|
10899
10818
|
}
|
|
10900
10819
|
})], 1);
|
|
10901
10820
|
};
|
|
10902
|
-
var
|
|
10821
|
+
var Framevue_type_template_id_5c1173af_scoped_true_staticRenderFns = [];
|
|
10903
10822
|
|
|
10904
10823
|
// EXTERNAL MODULE: ./node_modules/vue-loading-twa/lib/vue-loading-twa.min.js
|
|
10905
10824
|
var vue_loading_twa_min = __webpack_require__(3093);
|
|
@@ -10978,7 +10897,8 @@ const Status = Object.freeze({
|
|
|
10978
10897
|
videoUrlString: '',
|
|
10979
10898
|
parentComponent: null,
|
|
10980
10899
|
videoIsLoading: false,
|
|
10981
|
-
currentBlock: null
|
|
10900
|
+
currentBlock: null,
|
|
10901
|
+
lastTimeEnterPressed: null
|
|
10982
10902
|
};
|
|
10983
10903
|
},
|
|
10984
10904
|
created() {
|
|
@@ -10992,6 +10912,15 @@ const Status = Object.freeze({
|
|
|
10992
10912
|
}
|
|
10993
10913
|
},
|
|
10994
10914
|
methods: {
|
|
10915
|
+
jumpFrameToStart() {
|
|
10916
|
+
if (this.active) {
|
|
10917
|
+
const currentTime = new Date().getTime();
|
|
10918
|
+
if (currentTime - this.lastTimeEnterPressed <= 500) {
|
|
10919
|
+
this.parentComponent.changeHour(this.parentComponent.convertToAudienceTime(this.frame.time));
|
|
10920
|
+
}
|
|
10921
|
+
this.lastTimeEnterPressed = currentTime;
|
|
10922
|
+
}
|
|
10923
|
+
},
|
|
10995
10924
|
changeSettings(value) {
|
|
10996
10925
|
this.videoCurrentTime = value;
|
|
10997
10926
|
},
|
|
@@ -11108,10 +11037,10 @@ const Status = Object.freeze({
|
|
|
11108
11037
|
});
|
|
11109
11038
|
;// CONCATENATED MODULE: ./src/components/Frame.vue?vue&type=script&lang=js&
|
|
11110
11039
|
/* harmony default export */ var components_Framevue_type_script_lang_js_ = (Framevue_type_script_lang_js_);
|
|
11111
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Frame.vue?vue&type=style&index=0&id=
|
|
11040
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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&
|
|
11112
11041
|
// extracted by mini-css-extract-plugin
|
|
11113
11042
|
|
|
11114
|
-
;// CONCATENATED MODULE: ./src/components/Frame.vue?vue&type=style&index=0&id=
|
|
11043
|
+
;// CONCATENATED MODULE: ./src/components/Frame.vue?vue&type=style&index=0&id=5c1173af&prod&scoped=true&lang=css&
|
|
11115
11044
|
|
|
11116
11045
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
11117
11046
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -11222,11 +11151,11 @@ function normalizeComponent(
|
|
|
11222
11151
|
|
|
11223
11152
|
var component = normalizeComponent(
|
|
11224
11153
|
components_Framevue_type_script_lang_js_,
|
|
11225
|
-
|
|
11226
|
-
|
|
11154
|
+
Framevue_type_template_id_5c1173af_scoped_true_render,
|
|
11155
|
+
Framevue_type_template_id_5c1173af_scoped_true_staticRenderFns,
|
|
11227
11156
|
false,
|
|
11228
11157
|
null,
|
|
11229
|
-
"
|
|
11158
|
+
"5c1173af",
|
|
11230
11159
|
null
|
|
11231
11160
|
|
|
11232
11161
|
)
|
|
@@ -14507,9 +14436,9 @@ FramesManager.prototype.getSmallBlock = async function (time, channel, split) {
|
|
|
14507
14436
|
delete this.requests[requestId];
|
|
14508
14437
|
return true;
|
|
14509
14438
|
}
|
|
14510
|
-
|
|
14439
|
+
console.error(`Frames Manager (GetSmallBlock): Request blocked by another equal request occurring`);
|
|
14440
|
+
return false;
|
|
14511
14441
|
} catch (err) {
|
|
14512
|
-
console.log(err);
|
|
14513
14442
|
console.error(`Frames Manager (GetSmallBlock): ${err}`);
|
|
14514
14443
|
delete this.requests[requestId];
|
|
14515
14444
|
return false;
|
|
@@ -14544,9 +14473,10 @@ FramesManager.prototype.getBlock = async function (time, channel, split, directi
|
|
|
14544
14473
|
delete this.requests[requestId];
|
|
14545
14474
|
return true;
|
|
14546
14475
|
}
|
|
14547
|
-
|
|
14476
|
+
console.error(`Frames Manager (GetBlock ${direction}): Request blocked by another equal request occurring`);
|
|
14477
|
+
return false;
|
|
14548
14478
|
} catch (err) {
|
|
14549
|
-
console.error(`Frames Manager (GetBlock): ${err}`);
|
|
14479
|
+
console.error(`Frames Manager (GetBlock ${direction}): ${err}`);
|
|
14550
14480
|
delete this.requests[requestId];
|
|
14551
14481
|
return false;
|
|
14552
14482
|
}
|
|
@@ -14566,7 +14496,6 @@ FramesManager.prototype.checkFramesBackward = function () {
|
|
|
14566
14496
|
return this.currentPosition < Enum.MinBlockSizesBack[this.currentStep];
|
|
14567
14497
|
};
|
|
14568
14498
|
FramesManager.prototype.orderFramesBlock = function (images) {
|
|
14569
|
-
images = images.filter(image => image.time >= this.firstFrameTime);
|
|
14570
14499
|
if (this.buffer.length > 0) {
|
|
14571
14500
|
const bufferFistTime = this.buffer[0].time;
|
|
14572
14501
|
const bufferLastTime = this.buffer[this.buffer.length - 1].time;
|
|
@@ -14713,17 +14642,16 @@ FramesInterface.prototype.loadNextFrames = async function () {
|
|
|
14713
14642
|
};
|
|
14714
14643
|
FramesInterface.prototype.loadPrevFrames = async function () {
|
|
14715
14644
|
this.framesManager.previous();
|
|
14645
|
+
console.log(this.framesManager.currentTime, this.firstFrameTime);
|
|
14646
|
+
if (this.framesManager.currentTime < this.firstFrameTime) {
|
|
14647
|
+
await this.framesManager.goTo(this.firstFrameTime);
|
|
14648
|
+
await this.loadFrames();
|
|
14649
|
+
return;
|
|
14650
|
+
}
|
|
14716
14651
|
let prev = (await this.framesManager.getPrevImages()) || [];
|
|
14717
14652
|
prev = await this.constructImagesComponent(prev);
|
|
14718
|
-
|
|
14719
|
-
|
|
14720
|
-
let current = (await this.framesManager.getCurrentImages()) || [];
|
|
14721
|
-
this.frames.next = next;
|
|
14722
|
-
this.frames.current = current;
|
|
14723
|
-
} else {
|
|
14724
|
-
this.frames.next = this.frames.current;
|
|
14725
|
-
this.frames.current = this.frames.prev;
|
|
14726
|
-
}
|
|
14653
|
+
this.frames.next = this.frames.current;
|
|
14654
|
+
this.frames.current = this.frames.prev;
|
|
14727
14655
|
this.frames.prev = prev;
|
|
14728
14656
|
};
|
|
14729
14657
|
FramesInterface.prototype.constructImagesComponent = async function (array) {
|
|
@@ -14731,7 +14659,7 @@ FramesInterface.prototype.constructImagesComponent = async function (array) {
|
|
|
14731
14659
|
for (let frame of array) {
|
|
14732
14660
|
const image = document.createElement('img');
|
|
14733
14661
|
image.src = frame.title === -1 ? __webpack_require__(9583) : `${sessionStorage.getItem('base_url')}frames/${frame.title}${server == 'alternative' ? '?server=alt' : ''}`;
|
|
14734
|
-
image.style.
|
|
14662
|
+
image.style.maxWidth = frame.title === -1 ? '80%' : '100%';
|
|
14735
14663
|
image.style.contain = 'true';
|
|
14736
14664
|
Semaphor.push(new Promise(resolve => {
|
|
14737
14665
|
image.addEventListener('load', () => {
|
|
@@ -14809,12 +14737,15 @@ FramesInterface.prototype.getVideoRequestByUrl = function (url_path, t) {
|
|
|
14809
14737
|
return url + 'StreamFromVideo?url=' + url_path + params + '#t=' + t;
|
|
14810
14738
|
};
|
|
14811
14739
|
/* harmony default export */ var utils_FramesInterface = (FramesInterface);
|
|
14812
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
14813
|
-
var
|
|
14740
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
|
14741
|
+
var Commandsvue_type_template_id_156a7328_render = function render() {
|
|
14814
14742
|
var _vm = this,
|
|
14815
14743
|
_c = _vm._self._c;
|
|
14816
14744
|
return _c('div', {
|
|
14817
14745
|
staticClass: "visualization-col pa-0",
|
|
14746
|
+
staticStyle: {
|
|
14747
|
+
"border-top-right-radius": "6px"
|
|
14748
|
+
},
|
|
14818
14749
|
attrs: {
|
|
14819
14750
|
"id": "command-bar"
|
|
14820
14751
|
}
|
|
@@ -14852,7 +14783,7 @@ var Commandsvue_type_template_id_781eccb8_render = function render() {
|
|
|
14852
14783
|
staticClass: "visualization-divider"
|
|
14853
14784
|
})]);
|
|
14854
14785
|
};
|
|
14855
|
-
var
|
|
14786
|
+
var Commandsvue_type_template_id_156a7328_staticRenderFns = [];
|
|
14856
14787
|
|
|
14857
14788
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Commands.vue?vue&type=script&lang=js&
|
|
14858
14789
|
/* harmony default export */ var Commandsvue_type_script_lang_js_ = ({
|
|
@@ -14999,8 +14930,8 @@ var Commandsvue_type_template_id_781eccb8_staticRenderFns = [];
|
|
|
14999
14930
|
;
|
|
15000
14931
|
var Commands_component = normalizeComponent(
|
|
15001
14932
|
components_Commandsvue_type_script_lang_js_,
|
|
15002
|
-
|
|
15003
|
-
|
|
14933
|
+
Commandsvue_type_template_id_156a7328_render,
|
|
14934
|
+
Commandsvue_type_template_id_156a7328_staticRenderFns,
|
|
15004
14935
|
false,
|
|
15005
14936
|
null,
|
|
15006
14937
|
null,
|
|
@@ -15009,15 +14940,13 @@ var Commands_component = normalizeComponent(
|
|
|
15009
14940
|
)
|
|
15010
14941
|
|
|
15011
14942
|
/* harmony default export */ var Commands = (Commands_component.exports);
|
|
15012
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
15013
|
-
var
|
|
14943
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
|
14944
|
+
var Infosvue_type_template_id_363c35bb_render = function render() {
|
|
15014
14945
|
var _vm = this,
|
|
15015
14946
|
_c = _vm._self._c;
|
|
15016
14947
|
return _c('div', {
|
|
15017
14948
|
staticClass: "visualization-row visualization-justify-center visualization-align-center",
|
|
15018
|
-
|
|
15019
|
-
"padding": "4px"
|
|
15020
|
-
},
|
|
14949
|
+
style: !_vm.commandsShow ? 'border-top-right-radius: 6px; padding: 4px' : 'padding: 4px',
|
|
15021
14950
|
attrs: {
|
|
15022
14951
|
"id": "info-bar"
|
|
15023
14952
|
}
|
|
@@ -15126,7 +15055,7 @@ var Infosvue_type_template_id_441ca26a_render = function render() {
|
|
|
15126
15055
|
}
|
|
15127
15056
|
})], 1)]);
|
|
15128
15057
|
};
|
|
15129
|
-
var
|
|
15058
|
+
var Infosvue_type_template_id_363c35bb_staticRenderFns = [];
|
|
15130
15059
|
|
|
15131
15060
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Infos.vue?vue&type=script&lang=js&
|
|
15132
15061
|
/* harmony default export */ var Infosvue_type_script_lang_js_ = ({
|
|
@@ -15221,8 +15150,8 @@ var Infosvue_type_template_id_441ca26a_staticRenderFns = [];
|
|
|
15221
15150
|
;
|
|
15222
15151
|
var Infos_component = normalizeComponent(
|
|
15223
15152
|
components_Infosvue_type_script_lang_js_,
|
|
15224
|
-
|
|
15225
|
-
|
|
15153
|
+
Infosvue_type_template_id_363c35bb_render,
|
|
15154
|
+
Infosvue_type_template_id_363c35bb_staticRenderFns,
|
|
15226
15155
|
false,
|
|
15227
15156
|
null,
|
|
15228
15157
|
null,
|
|
@@ -15369,11 +15298,21 @@ var VideoProgress_component = normalizeComponent(
|
|
|
15369
15298
|
)
|
|
15370
15299
|
|
|
15371
15300
|
/* harmony default export */ var VideoProgress = (VideoProgress_component.exports);
|
|
15372
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
15373
|
-
var
|
|
15301
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
|
15302
|
+
var Settingsvue_type_template_id_bf2f3c16_scoped_true_render = function render() {
|
|
15374
15303
|
var _vm = this,
|
|
15375
15304
|
_c = _vm._self._c;
|
|
15376
|
-
return _c('div', [_c('
|
|
15305
|
+
return _c('div', [_vm.dialogsVisibility.frames ? _c('GlobalEvents', {
|
|
15306
|
+
on: {
|
|
15307
|
+
"keydown": [function ($event) {
|
|
15308
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 37) return null;
|
|
15309
|
+
return _vm.prevFormat.apply(null, arguments);
|
|
15310
|
+
}, function ($event) {
|
|
15311
|
+
if (!$event.type.indexOf('key') && $event.keyCode !== 39) return null;
|
|
15312
|
+
return _vm.nextFormat.apply(null, arguments);
|
|
15313
|
+
}]
|
|
15314
|
+
}
|
|
15315
|
+
}) : _vm._e(), _c('dialog', {
|
|
15377
15316
|
ref: "frames"
|
|
15378
15317
|
}, [_c('div', {
|
|
15379
15318
|
staticClass: "visualization-row",
|
|
@@ -15397,7 +15336,7 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_render = function render()
|
|
|
15397
15336
|
}, [_c('img', {
|
|
15398
15337
|
style: _vm.framesValue !== item.value ? 'filter: grayscale(1)' : '',
|
|
15399
15338
|
attrs: {
|
|
15400
|
-
"src":
|
|
15339
|
+
"src": item.image,
|
|
15401
15340
|
"width": "100%"
|
|
15402
15341
|
},
|
|
15403
15342
|
on: {
|
|
@@ -15557,11 +15496,53 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_render = function render()
|
|
|
15557
15496
|
}
|
|
15558
15497
|
}, [_vm._v("Ok")])])])], 1);
|
|
15559
15498
|
};
|
|
15560
|
-
var
|
|
15499
|
+
var Settingsvue_type_template_id_bf2f3c16_scoped_true_staticRenderFns = [];
|
|
15500
|
+
|
|
15501
|
+
;// CONCATENATED MODULE: ./src/assets/grid/1x1.svg
|
|
15502
|
+
var _1x1_namespaceObject = __webpack_require__.p + "img/1x1.f865594b.svg";
|
|
15503
|
+
;// CONCATENATED MODULE: ./src/assets/grid/2x1.svg
|
|
15504
|
+
var _2x1_namespaceObject = __webpack_require__.p + "img/2x1.6bc80fec.svg";
|
|
15505
|
+
;// CONCATENATED MODULE: ./src/assets/grid/3x1.svg
|
|
15506
|
+
var _3x1_namespaceObject = __webpack_require__.p + "img/3x1.8fe1c055.svg";
|
|
15507
|
+
;// CONCATENATED MODULE: ./src/assets/grid/3x2.svg
|
|
15508
|
+
var _3x2_namespaceObject = __webpack_require__.p + "img/3x2.f5153612.svg";
|
|
15509
|
+
;// CONCATENATED MODULE: ./src/assets/grid/4x1.svg
|
|
15510
|
+
var _4x1_namespaceObject = __webpack_require__.p + "img/4x1.22f434b0.svg";
|
|
15511
|
+
;// CONCATENATED MODULE: ./src/assets/grid/4x2.svg
|
|
15512
|
+
var _4x2_namespaceObject = __webpack_require__.p + "img/4x2.3810a721.svg";
|
|
15513
|
+
;// CONCATENATED MODULE: ./src/assets/grid/5x1.svg
|
|
15514
|
+
var _5x1_namespaceObject = __webpack_require__.p + "img/5x1.c0878e49.svg";
|
|
15515
|
+
;// CONCATENATED MODULE: ./src/assets/grid/5x2.svg
|
|
15516
|
+
var _5x2_namespaceObject = __webpack_require__.p + "img/5x2.b70b5289.svg";
|
|
15517
|
+
;// CONCATENATED MODULE: ./src/assets/grid/6x1.svg
|
|
15518
|
+
var _6x1_namespaceObject = __webpack_require__.p + "img/6x1.28b9840c.svg";
|
|
15519
|
+
;// CONCATENATED MODULE: ./src/assets/grid/6x2.svg
|
|
15520
|
+
var _6x2_namespaceObject = __webpack_require__.p + "img/6x2.6b117ba7.svg";
|
|
15521
|
+
;// CONCATENATED MODULE: ./src/assets/grid/index.js
|
|
15522
|
+
|
|
15523
|
+
|
|
15524
|
+
|
|
15525
|
+
|
|
15526
|
+
|
|
15561
15527
|
|
|
15562
|
-
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=template&id=ace6f9c6&scoped=true&
|
|
15563
15528
|
|
|
15529
|
+
|
|
15530
|
+
|
|
15531
|
+
|
|
15532
|
+
/* harmony default export */ var grid = ({
|
|
15533
|
+
'1x1': _1x1_namespaceObject,
|
|
15534
|
+
'2x1': _2x1_namespaceObject,
|
|
15535
|
+
'3x1': _3x1_namespaceObject,
|
|
15536
|
+
'3x2': _3x2_namespaceObject,
|
|
15537
|
+
'4x1': _4x1_namespaceObject,
|
|
15538
|
+
'4x2': _4x2_namespaceObject,
|
|
15539
|
+
'5x1': _5x1_namespaceObject,
|
|
15540
|
+
'5x2': _5x2_namespaceObject,
|
|
15541
|
+
'6x1': _6x1_namespaceObject,
|
|
15542
|
+
'6x2': _6x2_namespaceObject
|
|
15543
|
+
});
|
|
15564
15544
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Settings.vue?vue&type=script&lang=js&
|
|
15545
|
+
|
|
15565
15546
|
/* harmony default export */ var Settingsvue_type_script_lang_js_ = ({
|
|
15566
15547
|
props: {
|
|
15567
15548
|
dialogsVisibility: {
|
|
@@ -15596,31 +15577,40 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15596
15577
|
},
|
|
15597
15578
|
items: [{
|
|
15598
15579
|
text: '2x1',
|
|
15599
|
-
value: 1
|
|
15580
|
+
value: 1,
|
|
15581
|
+
image: grid['2x1']
|
|
15600
15582
|
}, {
|
|
15601
15583
|
text: '3x1',
|
|
15602
|
-
value: 2
|
|
15584
|
+
value: 2,
|
|
15585
|
+
image: grid['3x1']
|
|
15603
15586
|
}, {
|
|
15604
15587
|
text: '3x2',
|
|
15605
|
-
value: 3
|
|
15588
|
+
value: 3,
|
|
15589
|
+
image: grid['3x2']
|
|
15606
15590
|
}, {
|
|
15607
15591
|
text: '4x1',
|
|
15608
|
-
value: 4
|
|
15592
|
+
value: 4,
|
|
15593
|
+
image: grid['4x1']
|
|
15609
15594
|
}, {
|
|
15610
15595
|
text: '4x2',
|
|
15611
|
-
value: 5
|
|
15596
|
+
value: 5,
|
|
15597
|
+
image: grid['4x2']
|
|
15612
15598
|
}, {
|
|
15613
15599
|
text: '5x1',
|
|
15614
|
-
value: 6
|
|
15600
|
+
value: 6,
|
|
15601
|
+
image: grid['5x1']
|
|
15615
15602
|
}, {
|
|
15616
15603
|
text: '5x2',
|
|
15617
|
-
value: 7
|
|
15604
|
+
value: 7,
|
|
15605
|
+
image: grid['5x2']
|
|
15618
15606
|
}, {
|
|
15619
15607
|
text: '6x1',
|
|
15620
|
-
value: 8
|
|
15608
|
+
value: 8,
|
|
15609
|
+
image: grid['6x1']
|
|
15621
15610
|
}, {
|
|
15622
15611
|
text: '6x2',
|
|
15623
|
-
value: 9
|
|
15612
|
+
value: 9,
|
|
15613
|
+
image: grid['6x2']
|
|
15624
15614
|
}],
|
|
15625
15615
|
// NEW
|
|
15626
15616
|
goToValue: ''
|
|
@@ -15656,6 +15646,16 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15656
15646
|
}
|
|
15657
15647
|
},
|
|
15658
15648
|
methods: {
|
|
15649
|
+
prevFormat() {
|
|
15650
|
+
if (this.items.find(format => format.value === this.framesValue - 1)) {
|
|
15651
|
+
this.framesValue--;
|
|
15652
|
+
}
|
|
15653
|
+
},
|
|
15654
|
+
nextFormat() {
|
|
15655
|
+
if (this.items.find(format => format.value === this.framesValue + 1)) {
|
|
15656
|
+
this.framesValue++;
|
|
15657
|
+
}
|
|
15658
|
+
},
|
|
15659
15659
|
changePlaybackRate() {
|
|
15660
15660
|
let direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
15661
15661
|
if (direction === 1) {
|
|
@@ -15702,10 +15702,10 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15702
15702
|
});
|
|
15703
15703
|
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=script&lang=js&
|
|
15704
15704
|
/* harmony default export */ var components_Settingsvue_type_script_lang_js_ = (Settingsvue_type_script_lang_js_);
|
|
15705
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Settings.vue?vue&type=style&index=0&id=
|
|
15705
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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&
|
|
15706
15706
|
// extracted by mini-css-extract-plugin
|
|
15707
15707
|
|
|
15708
|
-
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=style&index=0&id=
|
|
15708
|
+
;// CONCATENATED MODULE: ./src/components/Settings.vue?vue&type=style&index=0&id=bf2f3c16&prod&scoped=true&lang=css&
|
|
15709
15709
|
|
|
15710
15710
|
;// CONCATENATED MODULE: ./src/components/Settings.vue
|
|
15711
15711
|
|
|
@@ -15718,11 +15718,11 @@ var Settingsvue_type_template_id_ace6f9c6_scoped_true_staticRenderFns = [];
|
|
|
15718
15718
|
|
|
15719
15719
|
var Settings_component = normalizeComponent(
|
|
15720
15720
|
components_Settingsvue_type_script_lang_js_,
|
|
15721
|
-
|
|
15722
|
-
|
|
15721
|
+
Settingsvue_type_template_id_bf2f3c16_scoped_true_render,
|
|
15722
|
+
Settingsvue_type_template_id_bf2f3c16_scoped_true_staticRenderFns,
|
|
15723
15723
|
false,
|
|
15724
15724
|
null,
|
|
15725
|
-
"
|
|
15725
|
+
"bf2f3c16",
|
|
15726
15726
|
null
|
|
15727
15727
|
|
|
15728
15728
|
)
|
|
@@ -15767,9 +15767,16 @@ const Positions = Object.freeze({
|
|
|
15767
15767
|
type: Boolean,
|
|
15768
15768
|
default: false
|
|
15769
15769
|
},
|
|
15770
|
+
jumpOnInsert: {
|
|
15771
|
+
type: Boolean,
|
|
15772
|
+
default: false
|
|
15773
|
+
},
|
|
15770
15774
|
framesFormat: {
|
|
15771
15775
|
type: [Number, String],
|
|
15772
15776
|
default: 6
|
|
15777
|
+
},
|
|
15778
|
+
size: {
|
|
15779
|
+
type: Number
|
|
15773
15780
|
}
|
|
15774
15781
|
},
|
|
15775
15782
|
components: {
|
|
@@ -15863,7 +15870,9 @@ const Positions = Object.freeze({
|
|
|
15863
15870
|
this.framesPerRow = storedOnDb.framesPerRow;
|
|
15864
15871
|
this.numberOfRows = storedOnDb.numberOfRows;
|
|
15865
15872
|
await this.createFramesInterface();
|
|
15866
|
-
this.
|
|
15873
|
+
if (this.size) {
|
|
15874
|
+
this.resize(this.size, true);
|
|
15875
|
+
}
|
|
15867
15876
|
},
|
|
15868
15877
|
methods: {
|
|
15869
15878
|
framesClicked(e) {
|
|
@@ -15932,14 +15941,19 @@ const Positions = Object.freeze({
|
|
|
15932
15941
|
changePlayPause(status) {
|
|
15933
15942
|
this.paused = !status;
|
|
15934
15943
|
},
|
|
15935
|
-
|
|
15936
|
-
|
|
15944
|
+
resize() {
|
|
15945
|
+
let height = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.lastHeight;
|
|
15946
|
+
let dynamic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
15947
|
+
if (this.numberOfRows === 2 && dynamic) {
|
|
15948
|
+
height *= 1.5;
|
|
15949
|
+
}
|
|
15937
15950
|
this.lastHeight = height;
|
|
15938
15951
|
if (this.$refs.frames) {
|
|
15939
15952
|
for (let frame of this.$refs.frames) {
|
|
15940
15953
|
frame.resize(height);
|
|
15941
15954
|
}
|
|
15942
15955
|
}
|
|
15956
|
+
this.$emit('resized');
|
|
15943
15957
|
},
|
|
15944
15958
|
async goToFirstFrame() {
|
|
15945
15959
|
let frames = this.$refs.frames;
|
|
@@ -16330,6 +16344,9 @@ const Positions = Object.freeze({
|
|
|
16330
16344
|
hour_end: this.hourEndSelected ? this.convertToAudienceTime(this.hourEndSelected, '') : null,
|
|
16331
16345
|
force: false
|
|
16332
16346
|
});
|
|
16347
|
+
if (this.jumpOnInsert) {
|
|
16348
|
+
this.changeHour(this.convertToAudienceTime((this.hourEndSelected || this.hourIniSelected) + 1));
|
|
16349
|
+
}
|
|
16333
16350
|
this.hourIniSelected = null;
|
|
16334
16351
|
this.hourEndSelected = null;
|
|
16335
16352
|
this.canInsertTime = false;
|
|
@@ -16375,13 +16392,16 @@ const Positions = Object.freeze({
|
|
|
16375
16392
|
}
|
|
16376
16393
|
},
|
|
16377
16394
|
computed: {
|
|
16395
|
+
sizeComputed() {
|
|
16396
|
+
return this.size;
|
|
16397
|
+
},
|
|
16398
|
+
settingsClosed() {
|
|
16399
|
+
return !Object.values(this.dialogs).find(v => v);
|
|
16400
|
+
},
|
|
16378
16401
|
startAudienceSeconds() {
|
|
16379
16402
|
const t = this.startAudienceTime.match(/.{1,2}/g);
|
|
16380
16403
|
return parseInt(t[0] * 3600 + t[1] * 60 + t[2]);
|
|
16381
16404
|
},
|
|
16382
|
-
user() {
|
|
16383
|
-
return this.$store.state.user;
|
|
16384
|
-
},
|
|
16385
16405
|
loadingArray() {
|
|
16386
16406
|
return Array.from(Array(this.numberOfRows * this.framesPerRow).keys());
|
|
16387
16407
|
},
|
|
@@ -16412,25 +16432,25 @@ const Positions = Object.freeze({
|
|
|
16412
16432
|
if (value) {
|
|
16413
16433
|
this.stopPlayingBar();
|
|
16414
16434
|
}
|
|
16435
|
+
},
|
|
16436
|
+
channel() {
|
|
16437
|
+
this.updatingChannel = new Promise((resolve, reject) => {
|
|
16438
|
+
try {
|
|
16439
|
+
this.createFramesInterface();
|
|
16440
|
+
resolve(true);
|
|
16441
|
+
} catch (err) {
|
|
16442
|
+
reject(err);
|
|
16443
|
+
}
|
|
16444
|
+
});
|
|
16415
16445
|
}
|
|
16416
|
-
// channel() {
|
|
16417
|
-
// this.updatingChannel = new Promise((resolve, reject) => {
|
|
16418
|
-
// try {
|
|
16419
|
-
// this.createFramesInterface()
|
|
16420
|
-
// resolve(true)
|
|
16421
|
-
// } catch (err) {
|
|
16422
|
-
// reject(err)
|
|
16423
|
-
// }
|
|
16424
|
-
// })
|
|
16425
|
-
// },
|
|
16426
16446
|
}
|
|
16427
16447
|
});
|
|
16428
16448
|
;// CONCATENATED MODULE: ./src/Visualization.vue?vue&type=script&lang=js&
|
|
16429
16449
|
/* harmony default export */ var src_Visualizationvue_type_script_lang_js_ = (Visualizationvue_type_script_lang_js_);
|
|
16430
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Visualization.vue?vue&type=style&index=0&id=
|
|
16450
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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&
|
|
16431
16451
|
// extracted by mini-css-extract-plugin
|
|
16432
16452
|
|
|
16433
|
-
;// CONCATENATED MODULE: ./src/Visualization.vue?vue&type=style&index=0&id=
|
|
16453
|
+
;// CONCATENATED MODULE: ./src/Visualization.vue?vue&type=style&index=0&id=b542f254&prod&scoped=true&lang=css&
|
|
16434
16454
|
|
|
16435
16455
|
;// CONCATENATED MODULE: ./src/Visualization.vue
|
|
16436
16456
|
|
|
@@ -16447,7 +16467,7 @@ var Visualization_component = normalizeComponent(
|
|
|
16447
16467
|
staticRenderFns,
|
|
16448
16468
|
false,
|
|
16449
16469
|
null,
|
|
16450
|
-
"
|
|
16470
|
+
"b542f254",
|
|
16451
16471
|
null
|
|
16452
16472
|
|
|
16453
16473
|
)
|