mtxt-ui3 0.0.30 → 0.0.32

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.
@@ -6560,6 +6560,9 @@ class WebRtcMt$1 {
6560
6560
  resolve(res);
6561
6561
  } else {
6562
6562
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
6563
+ setTimeout(() => {
6564
+ this.rePlay();
6565
+ }, 10 * 1e3);
6563
6566
  reject(false);
6564
6567
  }
6565
6568
  });
@@ -6807,16 +6810,14 @@ const VideoPlayerV2 = vue.defineComponent({
6807
6810
  immediate: true,
6808
6811
  deep: true
6809
6812
  });
6810
- vue.watch(() => play.value?.player, nval => {
6813
+ vue.watch(() => play.value?.p_player, nval => {
6811
6814
  if (nval) {
6812
- console.info("player ===> ", nval);
6815
+ console.info("p_player ===> ", nval);
6813
6816
  } else {
6814
- console.log("player ===> add 500000000!");
6817
+ console.log("p_player ===> add 500000000!");
6815
6818
  stopPlay();
6816
6819
  getVideoDetail(_prop.camera);
6817
6820
  }
6818
- }, {
6819
- immediate: true
6820
6821
  });
6821
6822
  vue.onBeforeUnmount(() => {
6822
6823
  stopPlay();
@@ -6550,6 +6550,9 @@ class WebRtcMt$1 {
6550
6550
  resolve(res);
6551
6551
  } else {
6552
6552
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
6553
+ setTimeout(() => {
6554
+ this.rePlay();
6555
+ }, 10 * 1e3);
6553
6556
  reject(false);
6554
6557
  }
6555
6558
  });
@@ -6797,16 +6800,14 @@ const VideoPlayerV2 = defineComponent({
6797
6800
  immediate: true,
6798
6801
  deep: true
6799
6802
  });
6800
- watch(() => play.value?.player, nval => {
6803
+ watch(() => play.value?.p_player, nval => {
6801
6804
  if (nval) {
6802
- console.info("player ===> ", nval);
6805
+ console.info("p_player ===> ", nval);
6803
6806
  } else {
6804
- console.log("player ===> add 500000000!");
6807
+ console.log("p_player ===> add 500000000!");
6805
6808
  stopPlay();
6806
6809
  getVideoDetail(_prop.camera);
6807
6810
  }
6808
- }, {
6809
- immediate: true
6810
6811
  });
6811
6812
  onBeforeUnmount(() => {
6812
6813
  stopPlay();
@@ -5970,6 +5970,9 @@ class WebRtcMt {
5970
5970
  resolve(res);
5971
5971
  } else {
5972
5972
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
5973
+ setTimeout(() => {
5974
+ this.rePlay();
5975
+ }, 10 * 1e3);
5973
5976
  reject(false);
5974
5977
  }
5975
5978
  });
@@ -5961,6 +5961,9 @@ class WebRtcMt {
5961
5961
  resolve(res);
5962
5962
  } else {
5963
5963
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
5964
+ setTimeout(() => {
5965
+ this.rePlay();
5966
+ }, 10 * 1e3);
5964
5967
  reject(false);
5965
5968
  }
5966
5969
  });
package/dist/index.cjs CHANGED
@@ -21,7 +21,7 @@ var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
21
21
  var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
22
22
  var zhCN__default = /*#__PURE__*/_interopDefaultLegacy(zhCN);
23
23
 
24
- var version = "0.0.29";
24
+ var version = "0.0.31";
25
25
 
26
26
  const setRem = opt => {
27
27
  const fontSize = opt.fontSize || 14;
@@ -6576,6 +6576,9 @@ class WebRtcMt$1 {
6576
6576
  resolve(res);
6577
6577
  } else {
6578
6578
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
6579
+ setTimeout(() => {
6580
+ this.rePlay();
6581
+ }, 10 * 1e3);
6579
6582
  reject(false);
6580
6583
  }
6581
6584
  });
@@ -7338,16 +7341,14 @@ const VideoPlayerV2 = vue.defineComponent({
7338
7341
  immediate: true,
7339
7342
  deep: true
7340
7343
  });
7341
- vue.watch(() => play.value?.player, nval => {
7344
+ vue.watch(() => play.value?.p_player, nval => {
7342
7345
  if (nval) {
7343
- console.info("player ===> ", nval);
7346
+ console.info("p_player ===> ", nval);
7344
7347
  } else {
7345
- console.log("player ===> add 500000000!");
7348
+ console.log("p_player ===> add 500000000!");
7346
7349
  stopPlay();
7347
7350
  getVideoDetail(_prop.camera);
7348
7351
  }
7349
- }, {
7350
- immediate: true
7351
7352
  });
7352
7353
  vue.onBeforeUnmount(() => {
7353
7354
  stopPlay();
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { MaybeRef, MaybeComputedRef } from '@vueuse/core';
7
7
  import { Key } from 'ant-design-vue/lib/table/interface';
8
8
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
9
9
 
10
- var version = "0.0.29";
10
+ var version = "0.0.31";
11
11
 
12
12
  /**
13
13
  *
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { SearchOutlined, CaretUpOutlined, CaretRightOutlined, CaretDownOutlined,
9
9
  import 'ant-design-vue/dist/antd.less';
10
10
  import zhCN from 'dayjs/locale/zh-cn';
11
11
 
12
- var version = "0.0.29";
12
+ var version = "0.0.31";
13
13
 
14
14
  const setRem = opt => {
15
15
  const fontSize = opt.fontSize || 14;
@@ -6564,6 +6564,9 @@ class WebRtcMt$1 {
6564
6564
  resolve(res);
6565
6565
  } else {
6566
6566
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
6567
+ setTimeout(() => {
6568
+ this.rePlay();
6569
+ }, 10 * 1e3);
6567
6570
  reject(false);
6568
6571
  }
6569
6572
  });
@@ -7326,16 +7329,14 @@ const VideoPlayerV2 = defineComponent({
7326
7329
  immediate: true,
7327
7330
  deep: true
7328
7331
  });
7329
- watch(() => play.value?.player, nval => {
7332
+ watch(() => play.value?.p_player, nval => {
7330
7333
  if (nval) {
7331
- console.info("player ===> ", nval);
7334
+ console.info("p_player ===> ", nval);
7332
7335
  } else {
7333
- console.log("player ===> add 500000000!");
7336
+ console.log("p_player ===> add 500000000!");
7334
7337
  stopPlay();
7335
7338
  getVideoDetail(_prop.camera);
7336
7339
  }
7337
- }, {
7338
- immediate: true
7339
7340
  });
7340
7341
  onBeforeUnmount(() => {
7341
7342
  stopPlay();
@@ -5785,6 +5785,9 @@ class WebRtcMt$1 {
5785
5785
  resolve(res);
5786
5786
  } else {
5787
5787
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
5788
+ setTimeout(() => {
5789
+ this.rePlay();
5790
+ }, 10 * 1e3);
5788
5791
  reject(false);
5789
5792
  }
5790
5793
  });
@@ -6049,16 +6052,14 @@ const VideoPlayerV2 = vue.defineComponent({
6049
6052
  immediate: true,
6050
6053
  deep: true
6051
6054
  });
6052
- vue.watch(() => play.value?.player, nval => {
6055
+ vue.watch(() => play.value?.p_player, nval => {
6053
6056
  if (nval) {
6054
- console.info("player ===> ", nval);
6057
+ console.info("p_player ===> ", nval);
6055
6058
  } else {
6056
- console.log("player ===> add 500000000!");
6059
+ console.log("p_player ===> add 500000000!");
6057
6060
  stopPlay();
6058
6061
  getVideoDetail(_prop.camera);
6059
6062
  }
6060
- }, {
6061
- immediate: true
6062
6063
  });
6063
6064
  vue.onBeforeUnmount(() => {
6064
6065
  stopPlay();
@@ -5777,6 +5777,9 @@ class WebRtcMt$1 {
5777
5777
  resolve(res);
5778
5778
  } else {
5779
5779
  console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
5780
+ setTimeout(() => {
5781
+ this.rePlay();
5782
+ }, 10 * 1e3);
5780
5783
  reject(false);
5781
5784
  }
5782
5785
  });
@@ -6041,16 +6044,14 @@ const VideoPlayerV2 = defineComponent({
6041
6044
  immediate: true,
6042
6045
  deep: true
6043
6046
  });
6044
- watch(() => play.value?.player, nval => {
6047
+ watch(() => play.value?.p_player, nval => {
6045
6048
  if (nval) {
6046
- console.info("player ===> ", nval);
6049
+ console.info("p_player ===> ", nval);
6047
6050
  } else {
6048
- console.log("player ===> add 500000000!");
6051
+ console.log("p_player ===> add 500000000!");
6049
6052
  stopPlay();
6050
6053
  getVideoDetail(_prop.camera);
6051
6054
  }
6052
- }, {
6053
- immediate: true
6054
6055
  });
6055
6056
  onBeforeUnmount(() => {
6056
6057
  stopPlay();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mtxt-ui3",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "系统运营组件库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",