xjzh-component 0.1.10 → 0.1.12

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.
@@ -448,22 +448,6 @@ module.exports = {};
448
448
 
449
449
  /***/ }),
450
450
 
451
- /***/ 564:
452
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
453
-
454
- // style-loader: Adds some css to the DOM by adding a <style> tag
455
-
456
- // load the styles
457
- var content = __webpack_require__(3022);
458
- if(content.__esModule) content = content.default;
459
- if(typeof content === 'string') content = [[module.id, content, '']];
460
- if(content.locals) module.exports = content.locals;
461
- // add the styles to the DOM
462
- var add = (__webpack_require__(9548)/* ["default"] */ .A)
463
- var update = add("2a44b768", content, true, {"sourceMap":false,"shadowMode":false});
464
-
465
- /***/ }),
466
-
467
451
  /***/ 616:
468
452
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
469
453
 
@@ -1575,7 +1559,23 @@ module.exports = userAgent ? String(userAgent) : '';
1575
1559
 
1576
1560
  /***/ }),
1577
1561
 
1578
- /***/ 3022:
1562
+ /***/ 2998:
1563
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1564
+
1565
+ // style-loader: Adds some css to the DOM by adding a <style> tag
1566
+
1567
+ // load the styles
1568
+ var content = __webpack_require__(8628);
1569
+ if(content.__esModule) content = content.default;
1570
+ if(typeof content === 'string') content = [[module.id, content, '']];
1571
+ if(content.locals) module.exports = content.locals;
1572
+ // add the styles to the DOM
1573
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
1574
+ var update = add("411494e9", content, true, {"sourceMap":false,"shadowMode":false});
1575
+
1576
+ /***/ }),
1577
+
1578
+ /***/ 3038:
1579
1579
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1580
1580
 
1581
1581
  "use strict";
@@ -1589,7 +1589,7 @@ __webpack_require__.r(__webpack_exports__);
1589
1589
 
1590
1590
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1591
1591
  // Module
1592
- ___CSS_LOADER_EXPORT___.push([module.id, ".XjzhVideoList[data-v-652406a6]{display:flex;flex-wrap:wrap;justify-content:center}.XjzhVideoList[data-v-652406a6],.XjzhVideoList .videoItem .video-js[data-v-652406a6],.XjzhVideoList .videoItem .video-js video[data-v-652406a6]{width:100%;height:100%}", ""]);
1592
+ ___CSS_LOADER_EXPORT___.push([module.id, ".xjzh-img-canvas[data-v-117b9ec4]{width:100%;height:100%;display:flex;justify-content:space-evenly;align-items:center;flex-wrap:wrap}.xjzh-img-canvas .itemBox[data-v-117b9ec4]{border-radius:4px;transform:translateZ(0);position:relative;overflow:hidden}.xjzh-img-canvas .itemBox .item-title[data-v-117b9ec4]{width:30px;height:30px;padding:0;margin:0;font-size:20px;border-radius:50%;text-align:center;line-height:30px;position:absolute;left:10px;top:10px;z-index:999;background-color:#fff;color:#0076f6}.xjzh-img-canvas .itemBox canvas[data-v-117b9ec4]{margin:0;padding:0;width:100%;height:100%;will-change:transform;image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}.xjzh-img-canvas .itemBox[data-v-117b9ec4]:last-child{margin-bottom:0}.xjzh-img-canvas .full-screen[data-v-117b9ec4]{width:100%!important;height:100%!important;position:fixed;top:0;bottom:0;left:0;right:0;z-index:999}", ""]);
1593
1593
  // Exports
1594
1594
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1595
1595
 
@@ -2646,22 +2646,6 @@ module.exports = function (METHOD_NAME, ExpectedError) {
2646
2646
  };
2647
2647
 
2648
2648
 
2649
- /***/ }),
2650
-
2651
- /***/ 4561:
2652
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2653
-
2654
- // style-loader: Adds some css to the DOM by adding a <style> tag
2655
-
2656
- // load the styles
2657
- var content = __webpack_require__(8643);
2658
- if(content.__esModule) content = content.default;
2659
- if(typeof content === 'string') content = [[module.id, content, '']];
2660
- if(content.locals) module.exports = content.locals;
2661
- // add the styles to the DOM
2662
- var add = (__webpack_require__(9548)/* ["default"] */ .A)
2663
- var update = add("03dc9351", content, true, {"sourceMap":false,"shadowMode":false});
2664
-
2665
2649
  /***/ }),
2666
2650
 
2667
2651
  /***/ 4576:
@@ -5586,6 +5570,22 @@ module.exports = function (V, P) {
5586
5570
  };
5587
5571
 
5588
5572
 
5573
+ /***/ }),
5574
+
5575
+ /***/ 6016:
5576
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5577
+
5578
+ // style-loader: Adds some css to the DOM by adding a <style> tag
5579
+
5580
+ // load the styles
5581
+ var content = __webpack_require__(3038);
5582
+ if(content.__esModule) content = content.default;
5583
+ if(typeof content === 'string') content = [[module.id, content, '']];
5584
+ if(content.locals) module.exports = content.locals;
5585
+ // add the styles to the DOM
5586
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
5587
+ var update = add("9d2dde00", content, true, {"sourceMap":false,"shadowMode":false});
5588
+
5589
5589
  /***/ }),
5590
5590
 
5591
5591
  /***/ 6080:
@@ -7214,6 +7214,22 @@ module.exports = function (cssWithMappingToString) {
7214
7214
 
7215
7215
  /***/ }),
7216
7216
 
7217
+ /***/ 6384:
7218
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
7219
+
7220
+ // style-loader: Adds some css to the DOM by adding a <style> tag
7221
+
7222
+ // load the styles
7223
+ var content = __webpack_require__(7862);
7224
+ if(content.__esModule) content = content.default;
7225
+ if(typeof content === 'string') content = [[module.id, content, '']];
7226
+ if(content.locals) module.exports = content.locals;
7227
+ // add the styles to the DOM
7228
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
7229
+ var update = add("5230f298", content, true, {"sourceMap":false,"shadowMode":false});
7230
+
7231
+ /***/ }),
7232
+
7217
7233
  /***/ 6395:
7218
7234
  /***/ (function(module) {
7219
7235
 
@@ -10059,6 +10075,27 @@ module.exports = function (namespace, method) {
10059
10075
  };
10060
10076
 
10061
10077
 
10078
+ /***/ }),
10079
+
10080
+ /***/ 7862:
10081
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10082
+
10083
+ "use strict";
10084
+ __webpack_require__.r(__webpack_exports__);
10085
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
10086
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
10087
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
10088
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
10089
+ // Imports
10090
+
10091
+
10092
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
10093
+ // Module
10094
+ ___CSS_LOADER_EXPORT___.push([module.id, ".XjzhVideoList[data-v-5576a592]{width:100%;height:100%;display:flex;flex-wrap:wrap;justify-content:center}.XjzhVideoList .videoItem[data-v-5576a592]{overflow:hidden}.XjzhVideoList .videoItem .video-js[data-v-5576a592],.XjzhVideoList .videoItem .video-js video[data-v-5576a592]{width:100%;height:100%}", ""]);
10095
+ // Exports
10096
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
10097
+
10098
+
10062
10099
  /***/ }),
10063
10100
 
10064
10101
  /***/ 8014:
@@ -10234,7 +10271,7 @@ module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
10234
10271
 
10235
10272
  /***/ }),
10236
10273
 
10237
- /***/ 8643:
10274
+ /***/ 8628:
10238
10275
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10239
10276
 
10240
10277
  "use strict";
@@ -10248,7 +10285,7 @@ __webpack_require__.r(__webpack_exports__);
10248
10285
 
10249
10286
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
10250
10287
  // Module
10251
- ___CSS_LOADER_EXPORT___.push([module.id, ".xjzh-img-canvas[data-v-90d07380]{width:100%;height:100%;display:flex;justify-content:space-evenly;align-items:center;flex-wrap:wrap}.xjzh-img-canvas .itemBox[data-v-90d07380]{border-radius:4px;transform:translateZ(0);position:relative;overflow:hidden}.xjzh-img-canvas .itemBox .item-title[data-v-90d07380]{width:30px;height:30px;padding:0;margin:0;font-size:20px;border-radius:50%;text-align:center;line-height:30px;position:absolute;left:10px;top:10px;z-index:999;background-color:#fff;color:#0076f6}.xjzh-img-canvas .itemBox canvas[data-v-90d07380]{margin:0;padding:0;width:100%;height:100%;will-change:transform;image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}.xjzh-img-canvas .itemBox[data-v-90d07380]:last-child{margin-bottom:0}.xjzh-img-canvas .full-screen[data-v-90d07380]{width:100%!important;height:100%!important;position:fixed;top:0;bottom:0;left:0;right:0;z-index:999}", ""]);
10288
+ ___CSS_LOADER_EXPORT___.push([module.id, ".xjzh-img-canvas[data-v-6842db6e]{width:100%;height:100%;display:flex;justify-content:space-evenly;align-items:center;flex-wrap:wrap}.xjzh-img-canvas .itemBox[data-v-6842db6e]{border-radius:4px;transform:translateZ(0);position:relative;overflow:hidden}.xjzh-img-canvas .itemBox .item-title[data-v-6842db6e]{width:30px;height:30px;padding:0;margin:0;font-size:20px;border-radius:50%;text-align:center;line-height:30px;position:absolute;left:10px;top:10px;z-index:999;background-color:#fff;color:#0076f6}.xjzh-img-canvas .itemBox canvas[data-v-6842db6e]{margin:0;padding:0;width:100%;height:100%;will-change:transform;image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}.xjzh-img-canvas .itemBox[data-v-6842db6e]:last-child{margin-bottom:0}.xjzh-img-canvas .full-screen[data-v-6842db6e]{width:100%!important;height:100%!important;position:fixed;top:0;bottom:0;left:0;right:0;z-index:999}", ""]);
10252
10289
  // Exports
10253
10290
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
10254
10291
 
@@ -11311,7 +11348,7 @@ if (typeof window !== 'undefined') {
11311
11348
  // Indicate to webpack that this file can be concatenated
11312
11349
  /* harmony default export */ var setPublicPath = (null);
11313
11350
 
11314
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./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!./packages/components/xjzhImgCanvas.vue?vue&type=template&id=90d07380&scoped=true
11351
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./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!./packages/components/xjzhImgCanvas.vue?vue&type=template&id=117b9ec4&scoped=true
11315
11352
  var render = function render() {
11316
11353
  var _vm = this,
11317
11354
  _c = _vm._self._c;
@@ -11586,7 +11623,7 @@ const InlineWorker = __webpack_require__(1161);
11586
11623
  this.worker = null;
11587
11624
  }
11588
11625
  },
11589
- showCanvas(type, blod) {
11626
+ showCanvas(type, blob) {
11590
11627
  this.cameraObj[type].totalFPS++;
11591
11628
  if (!this.cameraObj[type] || !this.cameraObj[type].imgBox || !this.cameraObj[type].ctx) {
11592
11629
  return;
@@ -11597,7 +11634,7 @@ const InlineWorker = __webpack_require__(1161);
11597
11634
  }
11598
11635
  if (this.cameraObj[type].isLoading) return;
11599
11636
  this.cameraObj[type].isLoading = true;
11600
- this.cameraObj[type].allUrl.unshift(URL.createObjectURL(blod));
11637
+ this.cameraObj[type].allUrl.unshift(URL.createObjectURL(blob));
11601
11638
  this.cameraObj[type].imgBox.src = this.cameraObj[type].allUrl[0];
11602
11639
  this.cameraObj[type].imgBox.onload = () => {
11603
11640
  if (!this.cameraObj[type].ctx) return;
@@ -11687,9 +11724,9 @@ const InlineWorker = __webpack_require__(1161);
11687
11724
  });
11688
11725
  ;// ./packages/components/xjzhImgCanvas.vue?vue&type=script&lang=js
11689
11726
  /* harmony default export */ var components_xjzhImgCanvasvue_type_script_lang_js = (xjzhImgCanvasvue_type_script_lang_js);
11690
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/xjzhImgCanvas.vue?vue&type=style&index=0&id=90d07380&prod&lang=scss&scoped=true
11691
- var xjzhImgCanvasvue_type_style_index_0_id_90d07380_prod_lang_scss_scoped_true = __webpack_require__(4561);
11692
- ;// ./packages/components/xjzhImgCanvas.vue?vue&type=style&index=0&id=90d07380&prod&lang=scss&scoped=true
11727
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/xjzhImgCanvas.vue?vue&type=style&index=0&id=117b9ec4&prod&lang=scss&scoped=true
11728
+ var xjzhImgCanvasvue_type_style_index_0_id_117b9ec4_prod_lang_scss_scoped_true = __webpack_require__(6016);
11729
+ ;// ./packages/components/xjzhImgCanvas.vue?vue&type=style&index=0&id=117b9ec4&prod&lang=scss&scoped=true
11693
11730
 
11694
11731
  ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
11695
11732
  /* globals __VUE_SSR_CONTEXT__ */
@@ -11804,14 +11841,14 @@ var component = normalizeComponent(
11804
11841
  staticRenderFns,
11805
11842
  false,
11806
11843
  null,
11807
- "90d07380",
11844
+ "117b9ec4",
11808
11845
  null
11809
11846
 
11810
11847
  )
11811
11848
 
11812
11849
  /* harmony default export */ var xjzhImgCanvas = (component.exports);
11813
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./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!./packages/components/xjzhVideoList.vue?vue&type=template&id=652406a6&scoped=true
11814
- var xjzhVideoListvue_type_template_id_652406a6_scoped_true_render = function render() {
11850
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./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!./packages/components/xjzhVideoList.vue?vue&type=template&id=5576a592&scoped=true
11851
+ var xjzhVideoListvue_type_template_id_5576a592_scoped_true_render = function render() {
11815
11852
  var _vm = this,
11816
11853
  _c = _vm._self._c;
11817
11854
  return _c('div', {
@@ -11841,7 +11878,7 @@ var xjzhVideoListvue_type_template_id_652406a6_scoped_true_render = function ren
11841
11878
  })]);
11842
11879
  }), 0);
11843
11880
  };
11844
- var xjzhVideoListvue_type_template_id_652406a6_scoped_true_staticRenderFns = [];
11881
+ var xjzhVideoListvue_type_template_id_5576a592_scoped_true_staticRenderFns = [];
11845
11882
 
11846
11883
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
11847
11884
  var es_array_push = __webpack_require__(4114);
@@ -74952,11 +74989,11 @@ function utils_debounce(func, wait, immediate) {
74952
74989
  },
74953
74990
  width: {
74954
74991
  type: String,
74955
- default: '480px'
74992
+ default: '100%'
74956
74993
  },
74957
74994
  height: {
74958
74995
  type: String,
74959
- default: '270px'
74996
+ default: '100px'
74960
74997
  },
74961
74998
  loop: {
74962
74999
  type: Boolean,
@@ -74977,15 +75014,26 @@ function utils_debounce(func, wait, immediate) {
74977
75014
  default: false
74978
75015
  }
74979
75016
  },
75017
+ watch: {
75018
+ 'videoList': {
75019
+ deep: true,
75020
+ // true 深度监听
75021
+ // 深度监听,可监听到对象、数组的变化
75022
+ handler() {
75023
+ this.$nextTick(() => {
75024
+ this.videoList.forEach((item, index) => {
75025
+ let id = `video${item.id}${index}`;
75026
+ this.initPlayer(id, item.src, index);
75027
+ });
75028
+ });
75029
+ }
75030
+ }
75031
+ },
74980
75032
  data() {
74981
75033
  return {
74982
75034
  playerList: [],
74983
75035
  isModifyArr: [],
74984
- fullScreenObj: {
74985
- 0: false,
74986
- 1: false,
74987
- 2: false
74988
- }
75036
+ isPlay: true
74989
75037
  };
74990
75038
  },
74991
75039
  mounted() {
@@ -75005,18 +75053,30 @@ function utils_debounce(func, wait, immediate) {
75005
75053
  this.playerList[i] = videojs(id, this.setOption(url), () => {});
75006
75054
  this.playerList[i].index = i;
75007
75055
  }
75008
- this.playerList[i].on('play', function () {
75056
+ this.playerList[i].on('play', utils_debounce(function () {
75009
75057
  // 播放
75010
- _this.synchronize('play', i);
75011
- });
75012
- this.playerList[i].on('pause', function () {
75058
+ if (!_this.playerList[i]) return;
75059
+ _this.isPlay = true;
75060
+ _this.handleIsModify(i);
75061
+ for (let j = 0; j < _this.playerList.length; j++) {
75062
+ if (_this.isModifyArr.includes(j)) continue;
75063
+ _this.playerList[j].play();
75064
+ }
75065
+ }, 300));
75066
+ this.playerList[i].on('pause', utils_debounce(function () {
75013
75067
  // 暂停
75068
+ // 播放结束,不统一暂停
75069
+ if (!_this.playerList[i]) return;
75070
+ _this.isPlay = false;
75014
75071
  let currentTime = _this.playerList[i].currentTime(); // 获取当前播放时间
75015
75072
  let duration = _this.playerList[i].duration(); // 获取视频总时长
75016
- // 播放结束,不统一暂停
75017
75073
  if (currentTime === duration) return;
75018
- _this.synchronize('pause', i);
75019
- });
75074
+ _this.handleIsModify(i);
75075
+ for (let j = 0; j < _this.playerList.length; j++) {
75076
+ if (_this.isModifyArr.includes(j)) continue;
75077
+ _this.playerList[j].pause();
75078
+ }
75079
+ }, 300));
75020
75080
  this.playerList[i].on('ratechange', function () {
75021
75081
  // 倍数
75022
75082
  _this.handleIsModify(i);
@@ -75025,26 +75085,27 @@ function utils_debounce(func, wait, immediate) {
75025
75085
  _this.playerList[j].playbackRate(_this.playerList[i].playbackRate());
75026
75086
  }
75027
75087
  });
75028
- this.playerList[i].on('ended', function () {
75029
- // 播放结束
75088
+
75089
+ // this.playerList[i].on('ended', function() { //
75090
+ // if (!_this.playerList[i]) return
75091
+ // _this.handleIsModify(i)
75092
+ // for (let j = 0; j < _this.playerList.length; j++) {
75093
+ // let currentTime = _this.playerList[j].currentTime() // 获取当前播放时间
75094
+ // let duration = _this.playerList[j].duration() // 获取视频总时长
75095
+ // if (_this.isModifyArr.includes(j) || currentTime !== duration) continue
75096
+ // _this.playerList[j].ended(_this.playerList[i].ended())
75097
+ // }
75098
+ // })
75099
+
75100
+ this.playerList[i].on('seeking', utils_throttle(function () {
75101
+ // 播放进度条同步
75102
+ if (!_this.playerList[i]) return;
75030
75103
  _this.handleIsModify(i);
75031
75104
  for (let j = 0; j < _this.playerList.length; j++) {
75032
- let currentTime = _this.playerList[j].currentTime(); // 获取当前播放时间
75033
- let duration = _this.playerList[j].duration(); // 获取视频总时长
75034
- if (_this.isModifyArr.includes(j) || currentTime !== duration) continue;
75035
- _this.playerList[j].ended(_this.playerList[i].ended());
75105
+ if (_this.isModifyArr.includes(j)) continue;
75106
+ _this.playerList[j].currentTime(_this.playerList[i].currentTime());
75036
75107
  }
75037
- });
75038
- if (this.isSynchronizeTime) {
75039
- this.playerList[i].on('seeking', utils_throttle(function () {
75040
- // 播放进度条同步
75041
- _this.handleIsModify(i);
75042
- for (let j = 0; j < _this.playerList.length; j++) {
75043
- if (_this.isModifyArr.includes(j)) continue;
75044
- _this.playerList[j].currentTime(_this.playerList[i].currentTime());
75045
- }
75046
- }, 500));
75047
- }
75108
+ }, 500));
75048
75109
  },
75049
75110
  setOption(src) {
75050
75111
  return {
@@ -75090,12 +75151,6 @@ function utils_debounce(func, wait, immediate) {
75090
75151
  }
75091
75152
  this.isModifyArr.push(index);
75092
75153
  },
75093
- synchronize(type, index) {
75094
- for (let i = 0; i < this.playerList.length; i++) {
75095
- if (index === i) continue;
75096
- this.playerList[i][type]();
75097
- }
75098
- },
75099
75154
  clearPlay() {
75100
75155
  if (this.playerList.length > 0) {
75101
75156
  for (let i = 0; i < this.playerList.length; i++) {
@@ -75113,9 +75168,9 @@ function utils_debounce(func, wait, immediate) {
75113
75168
  });
75114
75169
  ;// ./packages/components/xjzhVideoList.vue?vue&type=script&lang=js
75115
75170
  /* harmony default export */ var components_xjzhVideoListvue_type_script_lang_js = (xjzhVideoListvue_type_script_lang_js);
75116
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/xjzhVideoList.vue?vue&type=style&index=0&id=652406a6&prod&lang=scss&scoped=true
75117
- var xjzhVideoListvue_type_style_index_0_id_652406a6_prod_lang_scss_scoped_true = __webpack_require__(564);
75118
- ;// ./packages/components/xjzhVideoList.vue?vue&type=style&index=0&id=652406a6&prod&lang=scss&scoped=true
75171
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/xjzhVideoList.vue?vue&type=style&index=0&id=5576a592&prod&lang=scss&scoped=true
75172
+ var xjzhVideoListvue_type_style_index_0_id_5576a592_prod_lang_scss_scoped_true = __webpack_require__(6384);
75173
+ ;// ./packages/components/xjzhVideoList.vue?vue&type=style&index=0&id=5576a592&prod&lang=scss&scoped=true
75119
75174
 
75120
75175
  ;// ./packages/components/xjzhVideoList.vue
75121
75176
 
@@ -75128,96 +75183,406 @@ var xjzhVideoListvue_type_style_index_0_id_652406a6_prod_lang_scss_scoped_true =
75128
75183
 
75129
75184
  var xjzhVideoList_component = normalizeComponent(
75130
75185
  components_xjzhVideoListvue_type_script_lang_js,
75131
- xjzhVideoListvue_type_template_id_652406a6_scoped_true_render,
75132
- xjzhVideoListvue_type_template_id_652406a6_scoped_true_staticRenderFns,
75186
+ xjzhVideoListvue_type_template_id_5576a592_scoped_true_render,
75187
+ xjzhVideoListvue_type_template_id_5576a592_scoped_true_staticRenderFns,
75133
75188
  false,
75134
75189
  null,
75135
- "652406a6",
75190
+ "5576a592",
75136
75191
  null
75137
75192
 
75138
75193
  )
75139
75194
 
75140
75195
  /* harmony default export */ var xjzhVideoList = (xjzhVideoList_component.exports);
75141
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./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!./packages/components/videoRtsp.vue?vue&type=template&id=345d94c7
75142
- var videoRtspvue_type_template_id_345d94c7_render = function render() {
75196
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./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!./packages/components/xjzhImageBitmapCanvas.vue?vue&type=template&id=6842db6e&scoped=true
75197
+ var xjzhImageBitmapCanvasvue_type_template_id_6842db6e_scoped_true_render = function render() {
75143
75198
  var _vm = this,
75144
75199
  _c = _vm._self._c;
75145
- return _c('div');
75200
+ return _c('div', {
75201
+ staticClass: "xjzh-img-canvas"
75202
+ }, _vm._l(_vm.cameraObj, function (item, index) {
75203
+ return _c('div', {
75204
+ key: index,
75205
+ class: ['itemBox', item.isFullScreen ? 'full-screen' : ''],
75206
+ style: {
75207
+ 'width': _vm.width,
75208
+ 'height': _vm.height
75209
+ },
75210
+ on: {
75211
+ "click": function ($event) {
75212
+ return _vm.handleScreen(index);
75213
+ }
75214
+ }
75215
+ }, [_c('p', {
75216
+ directives: [{
75217
+ name: "show",
75218
+ rawName: "v-show",
75219
+ value: _vm.showTitle,
75220
+ expression: "showTitle"
75221
+ }],
75222
+ staticClass: "item-title"
75223
+ }, [_vm._v(_vm._s(item.title))]), _c('canvas', {
75224
+ ref: item.domeId,
75225
+ refInFor: true
75226
+ })]);
75227
+ }), 0);
75146
75228
  };
75147
- var videoRtspvue_type_template_id_345d94c7_staticRenderFns = [];
75229
+ var xjzhImageBitmapCanvasvue_type_template_id_6842db6e_scoped_true_staticRenderFns = [];
75148
75230
 
75149
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/videoRtsp.vue?vue&type=script&lang=js
75150
- /* harmony default export */ var videoRtspvue_type_script_lang_js = ({
75151
- name: "VideoRtsp",
75231
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/xjzhImageBitmapCanvas.vue?vue&type=script&lang=js
75232
+ const xjzhImageBitmapCanvasvue_type_script_lang_js_InlineWorker = __webpack_require__(1161);
75233
+ /* harmony default export */ var xjzhImageBitmapCanvasvue_type_script_lang_js = ({
75234
+ name: "XjzhImgCanvas",
75235
+ props: {
75236
+ videoUrl: {
75237
+ type: String,
75238
+ default: 'localhost:56000'
75239
+ },
75240
+ width: {
75241
+ type: String,
75242
+ default: '480px'
75243
+ },
75244
+ height: {
75245
+ type: String,
75246
+ default: '270px'
75247
+ },
75248
+ showTitle: {
75249
+ type: Boolean,
75250
+ default: true
75251
+ },
75252
+ isSwitchSide: {
75253
+ type: Boolean,
75254
+ default: false
75255
+ },
75256
+ canvasSize: {
75257
+ type: Array,
75258
+ default: () => {
75259
+ return [1920, 1080];
75260
+ }
75261
+ }
75262
+ },
75263
+ watch: {
75264
+ isSwitchSide: {
75265
+ handler(val) {
75266
+ console.log('object :>> ', val);
75267
+ this.cameraType[2].label = this.isSwitchSide ? '显' : '侧';
75268
+ }
75269
+ }
75270
+ },
75152
75271
  data() {
75153
- return {};
75154
- }
75155
- });
75156
- ;// ./packages/components/videoRtsp.vue?vue&type=script&lang=js
75157
- /* harmony default export */ var components_videoRtspvue_type_script_lang_js = (videoRtspvue_type_script_lang_js);
75158
- ;// ./packages/components/videoRtsp.vue
75159
-
75160
-
75161
-
75162
-
75163
-
75164
- /* normalize component */
75165
- ;
75166
- var videoRtsp_component = normalizeComponent(
75167
- components_videoRtspvue_type_script_lang_js,
75168
- videoRtspvue_type_template_id_345d94c7_render,
75169
- videoRtspvue_type_template_id_345d94c7_staticRenderFns,
75170
- false,
75171
- null,
75172
- null,
75173
- null
75174
-
75175
- )
75272
+ return {
75273
+ cameraNum: 0,
75274
+ cameraType: [{
75275
+ label: '斜',
75276
+ value: 'main'
75277
+ }, {
75278
+ label: '俯',
75279
+ value: 'sub'
75280
+ }, {
75281
+ label: '侧',
75282
+ value: 'side'
75283
+ }],
75284
+ currentFullScreen: '',
75285
+ answerPhoto: {
75286
+ canvas: null,
75287
+ ctx: null,
75288
+ isPhoto: false,
75289
+ canvasSize: [1920, 1080]
75290
+ },
75291
+ cameraObj: null,
75292
+ worker: null
75293
+ };
75294
+ },
75295
+ created() {
75296
+ this.destroyWorker();
75297
+ this.destroyCanvasData();
75298
+ this.createdWorker();
75299
+ },
75300
+ mounted() {
75301
+ this.$nextTick(() => {
75302
+ this.initWorker();
75303
+ });
75304
+ },
75305
+ methods: {
75306
+ createdWorker() {
75307
+ this.worker = new xjzhImageBitmapCanvasvue_type_script_lang_js_InlineWorker(function () {
75308
+ self.onmessage = function (event) {
75309
+ if (!event.data) return;
75310
+ const {
75311
+ url
75312
+ } = event.data;
75313
+ if (!url) return;
75314
+ let cameraNum = 0;
75315
+ let ws = new WebSocket(url);
75316
+ // socket 连接
75317
+ ws.onopen = function () {
75318
+ self.postMessage({
75319
+ type: 'open'
75320
+ });
75321
+ };
75322
+ // socket 接收数据
75323
+ ws.onmessage = function ({
75324
+ data
75325
+ }) {
75326
+ if (data.size === 1) {
75327
+ // 摄像头数量 || 是否开启人脸
75328
+ let reader = new FileReader();
75329
+ reader.onload = event => {
75330
+ cameraNum = event.target.result.charCodeAt(0);
75331
+ self.postMessage({
75332
+ type: 'message',
75333
+ data: cameraNum
75334
+ });
75335
+ reader = null;
75336
+ };
75337
+ reader.readAsText(data);
75338
+ } else {
75339
+ // 摄像头画面 数据
75340
+ let newBlob = new Blob([data], {
75341
+ type: 'image/jpeg'
75342
+ });
75343
+ self.postMessage({
75344
+ type: 'message',
75345
+ data: newBlob
75346
+ });
75347
+ }
75348
+ };
75349
+ // socket 断开
75350
+ ws.onclose = function (event) {
75351
+ self.postMessage({
75352
+ type: 'close',
75353
+ event: event
75354
+ });
75355
+ ws = null;
75356
+ setTimeout(() => {
75357
+ ws = new WebSocket(url);
75358
+ }, 1000);
75359
+ };
75360
+ // socket 错误
75361
+ ws.onerror = function (error) {
75362
+ self.postMessage({
75363
+ type: 'error',
75364
+ error: error
75365
+ });
75366
+ };
75367
+ };
75368
+ });
75369
+ },
75370
+ initAnswerPhoto() {
75371
+ this.answerPhoto.canvas = document.createElement('canvas');
75372
+ this.answerPhoto.ctx = this.answerPhoto.canvas.getContext('2d');
75373
+ this.answerPhoto.canvas.width = this.canvasSize[0] * this.cameraNum;
75374
+ this.answerPhoto.canvas.height = this.canvasSize[1];
75375
+ },
75376
+ initCanvas() {
75377
+ for (let i = 0; i < this.cameraNum; i++) {
75378
+ let type = this.cameraType[i].value;
75379
+ this.cameraObj[type].canvas = this.$refs[this.cameraObj[type].domeId][0];
75380
+ this.cameraObj[type].ctx = this.cameraObj[type].canvas.getContext('2d');
75381
+ this.cameraObj[type].canvas.width = this.canvasSize[0];
75382
+ this.cameraObj[type].canvas.height = this.canvasSize[1];
75383
+ }
75384
+ },
75385
+ initWorker() {
75386
+ if (!this.videoUrl) return;
75387
+ const url = `ws://${this.videoUrl}/socket`;
75388
+ let count = 0;
75389
+ this.worker.onmessage = event => {
75390
+ const {
75391
+ type,
75392
+ data,
75393
+ event: wsEvent,
75394
+ error
75395
+ } = event.data;
75396
+ if (type === 'open') {
75397
+ console.log('WebSocket open:');
75398
+ }
75399
+ if (type === 'message') {
75400
+ if (typeof data === 'number') {
75401
+ this.cameraNum = data;
75402
+ for (let i = 0; i < this.cameraNum; i++) {
75403
+ let typeVal = this.cameraType[i].value;
75404
+ this.cameraObj[typeVal] = {
75405
+ domeId: `canvas_${typeVal}`,
75406
+ title: this.cameraType[i].label,
75407
+ // 摄像头名称
75408
+ canvas: null,
75409
+ ctx: null,
75410
+ totalFPS: 0,
75411
+ // 单个摄像头 - 收到总帧数
75412
+ showTotalFPS: 0,
75413
+ // 单个摄像头 - 渲染总帧数
75414
+ frameSkip: 0,
75415
+ // 单个摄像头 - 跳帧 1(30),2(15),3(10)
75176
75416
 
75177
- /* harmony default export */ var videoRtsp = (videoRtsp_component.exports);
75178
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./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!./packages/components/videoWebGl.vue?vue&type=template&id=7a3612f3
75179
- var videoWebGlvue_type_template_id_7a3612f3_render = function render() {
75180
- var _vm = this,
75181
- _c = _vm._self._c;
75182
- return _c('div');
75183
- };
75184
- var videoWebGlvue_type_template_id_7a3612f3_staticRenderFns = [];
75417
+ allUrl: [],
75418
+ // 所有图片地址
75419
+ isLoading: false,
75420
+ // 图片是否加载完
75421
+ isFullScreen: false // 画面是否全屏
75422
+ };
75423
+ }
75424
+ this.$forceUpdate();
75425
+ // 根据摄像头数量,初始化画布
75426
+ this.$nextTick(() => {
75427
+ this.initAnswerPhoto();
75428
+ this.initCanvas();
75429
+ });
75430
+ return;
75431
+ }
75432
+ // 摄像头画面渲染
75433
+ count++;
75434
+ this.showCanvas(this.cameraType[count - 1].value, data);
75435
+ count = count >= this.cameraNum ? 0 : count;
75436
+ }
75437
+ if (type === 'close') {
75438
+ console.log('WebSocket closed:', wsEvent);
75439
+ }
75440
+ if (type === 'error') {
75441
+ console.log(`Worker error: ${error.message}`);
75442
+ }
75443
+ };
75444
+ // worker 建立连接
75445
+ this.cameraObj = {};
75446
+ this.worker.postMessage({
75447
+ url
75448
+ });
75449
+ },
75450
+ // 销毁摄像头,worker
75451
+ destroyWorker() {
75452
+ if (this.worker) {
75453
+ this.worker.terminate();
75454
+ this.worker = null;
75455
+ }
75456
+ },
75457
+ showCanvas(type, blob) {
75458
+ this.cameraObj[type].totalFPS++;
75459
+ if (!this.cameraObj[type] || !this.cameraObj[type].ctx) {
75460
+ return;
75461
+ }
75462
+ if (this.currentFullScreen && this.currentFullScreen !== type) {
75463
+ this.destroyUrl(type);
75464
+ return;
75465
+ }
75466
+ if (this.cameraObj[type].isLoading) return;
75467
+ this.cameraObj[type].isLoading = true;
75468
+ createImageBitmap(blob, {
75469
+ imageSmoothingQuality: 'low'
75470
+ }).then(res => {
75471
+ this.cameraObj[type].allUrl.unshift(res);
75472
+ this.cameraObj[type].isLoading = false;
75473
+ });
75474
+ // this.cameraObj[type].allUrl.unshift(URL.createObjectURL(blob))
75185
75475
 
75186
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/videoWebGl.vue?vue&type=script&lang=js
75187
- /* harmony default export */ var videoWebGlvue_type_script_lang_js = ({
75188
- name: "VideoWebGl",
75189
- data() {
75190
- return {};
75476
+ if (this.cameraObj[type].ctx && this.cameraObj[type].ctx.drawImage && this.cameraObj[type].allUrl[0]) {
75477
+ this.cameraObj[type].ctx.drawImage(this.cameraObj[type].allUrl[0], 0, 0, this.canvasSize[0], this.canvasSize[1]);
75478
+ }
75479
+ if (this.answerPhoto.isPhoto && this.cameraObj[type].allUrl[0]) {
75480
+ // 拍照使用
75481
+ if (this.cameraNum > 0) {
75482
+ this.answerPhoto.ctx.drawImage(this.cameraObj.main.allUrl[0], this.answerPhoto.canvasSize[0] * 0, 0, this.answerPhoto.canvasSize[0], this.answerPhoto.canvasSize[1]);
75483
+ }
75484
+ if (this.cameraNum > 1) {
75485
+ this.answerPhoto.ctx.drawImage(this.cameraObj.sub.allUrl[0], this.answerPhoto.canvasSize[0] * 1, 0, this.answerPhoto.canvasSize[0], this.answerPhoto.canvasSize[1]);
75486
+ }
75487
+ if (this.cameraNum > 2) {
75488
+ this.answerPhoto.ctx.drawImage(this.cameraObj.side.allUrl[0], this.answerPhoto.canvasSize[0] * 2, 0, this.answerPhoto.canvasSize[0], this.answerPhoto.canvasSize[1]);
75489
+ }
75490
+ return;
75491
+ }
75492
+ this.destroyUrl(type, this.cameraObj[type].maxUrlNum);
75493
+ },
75494
+ handleScreen(type) {
75495
+ this.$set(this.cameraObj[type], 'isFullScreen', !this.cameraObj[type].isFullScreen);
75496
+ this.currentFullScreen = this.cameraObj[type].isFullScreen ? type : '';
75497
+ this.$forceUpdate();
75498
+ },
75499
+ destroyCanvasData() {
75500
+ for (let i = 0; i < this.cameraNum; i++) {
75501
+ let type = this.cameraType[i].value;
75502
+ this.destroyUrl(type);
75503
+ this.destroyCanvas(type);
75504
+ }
75505
+ },
75506
+ destroyUrl(type) {
75507
+ for (let i = 0; i < this.cameraObj[type].allUrl.length; i++) {
75508
+ if (this.cameraObj[type].allUrl[i]) {
75509
+ this.cameraObj[type].allUrl[i].close();
75510
+ }
75511
+ delete this.cameraObj[type].allUrl[i];
75512
+ }
75513
+ this.cameraObj[type].allUrl = [];
75514
+ },
75515
+ destroyCanvas(type) {
75516
+ if (!this.cameraObj[type]) return;
75517
+ for (let key in this.cameraObj[type]) {
75518
+ if (typeof this.cameraObj[type][key] == 'object') {
75519
+ this.cameraObj[type][key] = '';
75520
+ }
75521
+ delete this.cameraObj[type][key];
75522
+ }
75523
+ },
75524
+ // 所有摄像头横向照片
75525
+ allPhoto() {
75526
+ this.answerPhoto.isPhoto = true;
75527
+ let startTime = new Date().getTime();
75528
+ return new Promise(resolve => {
75529
+ setTimeout(() => {
75530
+ resolve(this.answerPhoto.canvas.toDataURL('image/jpeg'));
75531
+ let endTime = new Date().getTime();
75532
+ let second = (endTime - startTime) / 1000;
75533
+ this.cameraObj.main.totalFPS = this.cameraObj.main.totalFPS + ~~(second * 30);
75534
+ this.cameraObj.sub.totalFPS = this.cameraObj.sub.totalFPS + ~~(second * 30);
75535
+ this.cameraObj.side.totalFPS = this.cameraObj.side.totalFPS + ~~(second * 30);
75536
+ this.answerPhoto.isPhoto = false;
75537
+ }, 200);
75538
+ });
75539
+ },
75540
+ // 单个摄像头照片
75541
+ selectPhoto(num) {
75542
+ let type = this.cameraType[num - 1].value;
75543
+ this.videoObj.videoMergeSrc = this.cameraObj[type].canvas.toDataURL('image/jpeg');
75544
+ return this.videoObj.videoMergeSrc;
75545
+ }
75546
+ },
75547
+ beforeDestroy() {
75548
+ this.answerPhoto.canvas = null;
75549
+ this.answerPhoto.ctx = null;
75550
+ // this.destroyWorker()
75551
+ // this.destroyCanvasData()
75191
75552
  }
75192
75553
  });
75193
- ;// ./packages/components/videoWebGl.vue?vue&type=script&lang=js
75194
- /* harmony default export */ var components_videoWebGlvue_type_script_lang_js = (videoWebGlvue_type_script_lang_js);
75195
- ;// ./packages/components/videoWebGl.vue
75554
+ ;// ./packages/components/xjzhImageBitmapCanvas.vue?vue&type=script&lang=js
75555
+ /* harmony default export */ var components_xjzhImageBitmapCanvasvue_type_script_lang_js = (xjzhImageBitmapCanvasvue_type_script_lang_js);
75556
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/xjzhImageBitmapCanvas.vue?vue&type=style&index=0&id=6842db6e&prod&lang=scss&scoped=true
75557
+ var xjzhImageBitmapCanvasvue_type_style_index_0_id_6842db6e_prod_lang_scss_scoped_true = __webpack_require__(2998);
75558
+ ;// ./packages/components/xjzhImageBitmapCanvas.vue?vue&type=style&index=0&id=6842db6e&prod&lang=scss&scoped=true
75559
+
75560
+ ;// ./packages/components/xjzhImageBitmapCanvas.vue
75196
75561
 
75197
75562
 
75198
75563
 
75564
+ ;
75199
75565
 
75200
75566
 
75201
75567
  /* normalize component */
75202
- ;
75203
- var videoWebGl_component = normalizeComponent(
75204
- components_videoWebGlvue_type_script_lang_js,
75205
- videoWebGlvue_type_template_id_7a3612f3_render,
75206
- videoWebGlvue_type_template_id_7a3612f3_staticRenderFns,
75568
+
75569
+ var xjzhImageBitmapCanvas_component = normalizeComponent(
75570
+ components_xjzhImageBitmapCanvasvue_type_script_lang_js,
75571
+ xjzhImageBitmapCanvasvue_type_template_id_6842db6e_scoped_true_render,
75572
+ xjzhImageBitmapCanvasvue_type_template_id_6842db6e_scoped_true_staticRenderFns,
75207
75573
  false,
75208
75574
  null,
75209
- null,
75575
+ "6842db6e",
75210
75576
  null
75211
75577
 
75212
75578
  )
75213
75579
 
75214
- /* harmony default export */ var videoWebGl = (videoWebGl_component.exports);
75580
+ /* harmony default export */ var xjzhImageBitmapCanvas = (xjzhImageBitmapCanvas_component.exports);
75215
75581
  ;// ./packages/index.js
75216
75582
 
75217
75583
 
75218
75584
 
75219
-
75220
- const components = [xjzhImgCanvas, xjzhVideoList, videoRtsp, videoWebGl];
75585
+ const components = [xjzhImgCanvas, xjzhVideoList, xjzhImageBitmapCanvas];
75221
75586
  const install = function (Vue) {
75222
75587
  if (install.installed) return;
75223
75588
  components.map(component => Vue.component(component.name, component));