mtxt-ui3 0.0.28 → 0.0.30

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.
@@ -6633,7 +6633,7 @@ class WebRtcMt$1 {
6633
6633
  this.stopPlay();
6634
6634
  setTimeout(() => {
6635
6635
  console.log("\u5E95\u90E8\u91CD\u64AD");
6636
- this.init(this.opt);
6636
+ this.p_player = false;
6637
6637
  }, 5 * 1e3);
6638
6638
  }
6639
6639
  // 播放
@@ -6753,17 +6753,6 @@ const VideoPlayerV2 = vue.defineComponent({
6753
6753
  }
6754
6754
  });
6755
6755
  };
6756
- vue.watch(() => play.value.player, nval => {
6757
- if (nval) {
6758
- console.info("player ===> ", nval);
6759
- } else {
6760
- console.log("player ===> add 500!");
6761
- stopPlay();
6762
- getVideoDetail(_prop.camera);
6763
- }
6764
- }, {
6765
- immediate: true
6766
- });
6767
6756
  const releaseUrl = vue.ref("");
6768
6757
  const release = async () => {
6769
6758
  const res = await axios__default["default"].get(releaseUrl.value);
@@ -6818,6 +6807,17 @@ const VideoPlayerV2 = vue.defineComponent({
6818
6807
  immediate: true,
6819
6808
  deep: true
6820
6809
  });
6810
+ vue.watch(() => play.value?.player, nval => {
6811
+ if (nval) {
6812
+ console.info("player ===> ", nval);
6813
+ } else {
6814
+ console.log("player ===> add 500000000!");
6815
+ stopPlay();
6816
+ getVideoDetail(_prop.camera);
6817
+ }
6818
+ }, {
6819
+ immediate: true
6820
+ });
6821
6821
  vue.onBeforeUnmount(() => {
6822
6822
  stopPlay();
6823
6823
  });
@@ -6623,7 +6623,7 @@ class WebRtcMt$1 {
6623
6623
  this.stopPlay();
6624
6624
  setTimeout(() => {
6625
6625
  console.log("\u5E95\u90E8\u91CD\u64AD");
6626
- this.init(this.opt);
6626
+ this.p_player = false;
6627
6627
  }, 5 * 1e3);
6628
6628
  }
6629
6629
  // 播放
@@ -6743,17 +6743,6 @@ const VideoPlayerV2 = defineComponent({
6743
6743
  }
6744
6744
  });
6745
6745
  };
6746
- watch(() => play.value.player, nval => {
6747
- if (nval) {
6748
- console.info("player ===> ", nval);
6749
- } else {
6750
- console.log("player ===> add 500!");
6751
- stopPlay();
6752
- getVideoDetail(_prop.camera);
6753
- }
6754
- }, {
6755
- immediate: true
6756
- });
6757
6746
  const releaseUrl = ref("");
6758
6747
  const release = async () => {
6759
6748
  const res = await axios$2.get(releaseUrl.value);
@@ -6808,6 +6797,17 @@ const VideoPlayerV2 = defineComponent({
6808
6797
  immediate: true,
6809
6798
  deep: true
6810
6799
  });
6800
+ watch(() => play.value?.player, nval => {
6801
+ if (nval) {
6802
+ console.info("player ===> ", nval);
6803
+ } else {
6804
+ console.log("player ===> add 500000000!");
6805
+ stopPlay();
6806
+ getVideoDetail(_prop.camera);
6807
+ }
6808
+ }, {
6809
+ immediate: true
6810
+ });
6811
6811
  onBeforeUnmount(() => {
6812
6812
  stopPlay();
6813
6813
  });
@@ -6043,7 +6043,7 @@ class WebRtcMt {
6043
6043
  this.stopPlay();
6044
6044
  setTimeout(() => {
6045
6045
  console.log("\u5E95\u90E8\u91CD\u64AD");
6046
- this.init(this.opt);
6046
+ this.p_player = false;
6047
6047
  }, 5 * 1e3);
6048
6048
  }
6049
6049
  // 播放
@@ -6034,7 +6034,7 @@ class WebRtcMt {
6034
6034
  this.stopPlay();
6035
6035
  setTimeout(() => {
6036
6036
  console.log("\u5E95\u90E8\u91CD\u64AD");
6037
- this.init(this.opt);
6037
+ this.p_player = false;
6038
6038
  }, 5 * 1e3);
6039
6039
  }
6040
6040
  // 播放
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.27";
24
+ var version = "0.0.29";
25
25
 
26
26
  const setRem = opt => {
27
27
  const fontSize = opt.fontSize || 14;
@@ -6649,7 +6649,7 @@ class WebRtcMt$1 {
6649
6649
  this.stopPlay();
6650
6650
  setTimeout(() => {
6651
6651
  console.log("\u5E95\u90E8\u91CD\u64AD");
6652
- this.init(this.opt);
6652
+ this.p_player = false;
6653
6653
  }, 5 * 1e3);
6654
6654
  }
6655
6655
  // 播放
@@ -7284,17 +7284,6 @@ const VideoPlayerV2 = vue.defineComponent({
7284
7284
  }
7285
7285
  });
7286
7286
  };
7287
- vue.watch(() => play.value.player, nval => {
7288
- if (nval) {
7289
- console.info("player ===> ", nval);
7290
- } else {
7291
- console.log("player ===> add 500!");
7292
- stopPlay();
7293
- getVideoDetail(_prop.camera);
7294
- }
7295
- }, {
7296
- immediate: true
7297
- });
7298
7287
  const releaseUrl = vue.ref("");
7299
7288
  const release = async () => {
7300
7289
  const res = await axios__default["default"].get(releaseUrl.value);
@@ -7349,6 +7338,17 @@ const VideoPlayerV2 = vue.defineComponent({
7349
7338
  immediate: true,
7350
7339
  deep: true
7351
7340
  });
7341
+ vue.watch(() => play.value?.player, nval => {
7342
+ if (nval) {
7343
+ console.info("player ===> ", nval);
7344
+ } else {
7345
+ console.log("player ===> add 500000000!");
7346
+ stopPlay();
7347
+ getVideoDetail(_prop.camera);
7348
+ }
7349
+ }, {
7350
+ immediate: true
7351
+ });
7352
7352
  vue.onBeforeUnmount(() => {
7353
7353
  stopPlay();
7354
7354
  });
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.27";
10
+ var version = "0.0.29";
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.27";
12
+ var version = "0.0.29";
13
13
 
14
14
  const setRem = opt => {
15
15
  const fontSize = opt.fontSize || 14;
@@ -6637,7 +6637,7 @@ class WebRtcMt$1 {
6637
6637
  this.stopPlay();
6638
6638
  setTimeout(() => {
6639
6639
  console.log("\u5E95\u90E8\u91CD\u64AD");
6640
- this.init(this.opt);
6640
+ this.p_player = false;
6641
6641
  }, 5 * 1e3);
6642
6642
  }
6643
6643
  // 播放
@@ -7272,17 +7272,6 @@ const VideoPlayerV2 = defineComponent({
7272
7272
  }
7273
7273
  });
7274
7274
  };
7275
- watch(() => play.value.player, nval => {
7276
- if (nval) {
7277
- console.info("player ===> ", nval);
7278
- } else {
7279
- console.log("player ===> add 500!");
7280
- stopPlay();
7281
- getVideoDetail(_prop.camera);
7282
- }
7283
- }, {
7284
- immediate: true
7285
- });
7286
7275
  const releaseUrl = ref("");
7287
7276
  const release = async () => {
7288
7277
  const res = await axios$2.get(releaseUrl.value);
@@ -7337,6 +7326,17 @@ const VideoPlayerV2 = defineComponent({
7337
7326
  immediate: true,
7338
7327
  deep: true
7339
7328
  });
7329
+ watch(() => play.value?.player, nval => {
7330
+ if (nval) {
7331
+ console.info("player ===> ", nval);
7332
+ } else {
7333
+ console.log("player ===> add 500000000!");
7334
+ stopPlay();
7335
+ getVideoDetail(_prop.camera);
7336
+ }
7337
+ }, {
7338
+ immediate: true
7339
+ });
7340
7340
  onBeforeUnmount(() => {
7341
7341
  stopPlay();
7342
7342
  });
@@ -5858,7 +5858,7 @@ class WebRtcMt$1 {
5858
5858
  this.stopPlay();
5859
5859
  setTimeout(() => {
5860
5860
  console.log("\u5E95\u90E8\u91CD\u64AD");
5861
- this.init(this.opt);
5861
+ this.p_player = false;
5862
5862
  }, 5 * 1e3);
5863
5863
  }
5864
5864
  // 播放
@@ -5995,17 +5995,6 @@ const VideoPlayerV2 = vue.defineComponent({
5995
5995
  }
5996
5996
  });
5997
5997
  };
5998
- vue.watch(() => play.value.player, nval => {
5999
- if (nval) {
6000
- console.info("player ===> ", nval);
6001
- } else {
6002
- console.log("player ===> add 500!");
6003
- stopPlay();
6004
- getVideoDetail(_prop.camera);
6005
- }
6006
- }, {
6007
- immediate: true
6008
- });
6009
5998
  const releaseUrl = vue.ref("");
6010
5999
  const release = async () => {
6011
6000
  const res = await axios__default["default"].get(releaseUrl.value);
@@ -6060,6 +6049,17 @@ const VideoPlayerV2 = vue.defineComponent({
6060
6049
  immediate: true,
6061
6050
  deep: true
6062
6051
  });
6052
+ vue.watch(() => play.value?.player, nval => {
6053
+ if (nval) {
6054
+ console.info("player ===> ", nval);
6055
+ } else {
6056
+ console.log("player ===> add 500000000!");
6057
+ stopPlay();
6058
+ getVideoDetail(_prop.camera);
6059
+ }
6060
+ }, {
6061
+ immediate: true
6062
+ });
6063
6063
  vue.onBeforeUnmount(() => {
6064
6064
  stopPlay();
6065
6065
  });
@@ -5850,7 +5850,7 @@ class WebRtcMt$1 {
5850
5850
  this.stopPlay();
5851
5851
  setTimeout(() => {
5852
5852
  console.log("\u5E95\u90E8\u91CD\u64AD");
5853
- this.init(this.opt);
5853
+ this.p_player = false;
5854
5854
  }, 5 * 1e3);
5855
5855
  }
5856
5856
  // 播放
@@ -5987,17 +5987,6 @@ const VideoPlayerV2 = defineComponent({
5987
5987
  }
5988
5988
  });
5989
5989
  };
5990
- watch(() => play.value.player, nval => {
5991
- if (nval) {
5992
- console.info("player ===> ", nval);
5993
- } else {
5994
- console.log("player ===> add 500!");
5995
- stopPlay();
5996
- getVideoDetail(_prop.camera);
5997
- }
5998
- }, {
5999
- immediate: true
6000
- });
6001
5990
  const releaseUrl = ref("");
6002
5991
  const release = async () => {
6003
5992
  const res = await axios$2.get(releaseUrl.value);
@@ -6052,6 +6041,17 @@ const VideoPlayerV2 = defineComponent({
6052
6041
  immediate: true,
6053
6042
  deep: true
6054
6043
  });
6044
+ watch(() => play.value?.player, nval => {
6045
+ if (nval) {
6046
+ console.info("player ===> ", nval);
6047
+ } else {
6048
+ console.log("player ===> add 500000000!");
6049
+ stopPlay();
6050
+ getVideoDetail(_prop.camera);
6051
+ }
6052
+ }, {
6053
+ immediate: true
6054
+ });
6055
6055
  onBeforeUnmount(() => {
6056
6056
  stopPlay();
6057
6057
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mtxt-ui3",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "系统运营组件库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",