mtxt-ui3 0.0.28 → 0.0.29
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/components/index.cjs +10 -12
- package/dist/components/index.js +10 -12
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +11 -13
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -13
- package/dist/video/index.cjs +10 -12
- package/dist/video/index.js +10 -12
- package/package.json +1 -1
|
@@ -6633,7 +6633,7 @@ class WebRtcMt$1 {
|
|
|
6633
6633
|
this.stopPlay();
|
|
6634
6634
|
setTimeout(() => {
|
|
6635
6635
|
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6636
|
-
this.
|
|
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,15 @@ 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 500!");
|
|
6815
|
+
stopPlay();
|
|
6816
|
+
getVideoDetail(_prop.camera);
|
|
6817
|
+
}
|
|
6818
|
+
});
|
|
6821
6819
|
vue.onBeforeUnmount(() => {
|
|
6822
6820
|
stopPlay();
|
|
6823
6821
|
});
|
package/dist/components/index.js
CHANGED
|
@@ -6623,7 +6623,7 @@ class WebRtcMt$1 {
|
|
|
6623
6623
|
this.stopPlay();
|
|
6624
6624
|
setTimeout(() => {
|
|
6625
6625
|
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6626
|
-
this.
|
|
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,15 @@ 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 500!");
|
|
6805
|
+
stopPlay();
|
|
6806
|
+
getVideoDetail(_prop.camera);
|
|
6807
|
+
}
|
|
6808
|
+
});
|
|
6811
6809
|
onBeforeUnmount(() => {
|
|
6812
6810
|
stopPlay();
|
|
6813
6811
|
});
|
package/dist/hooks/index.cjs
CHANGED
package/dist/hooks/index.js
CHANGED
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.
|
|
24
|
+
var version = "0.0.28";
|
|
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.
|
|
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,15 @@ 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 500!");
|
|
7346
|
+
stopPlay();
|
|
7347
|
+
getVideoDetail(_prop.camera);
|
|
7348
|
+
}
|
|
7349
|
+
});
|
|
7352
7350
|
vue.onBeforeUnmount(() => {
|
|
7353
7351
|
stopPlay();
|
|
7354
7352
|
});
|
package/dist/index.d.ts
CHANGED
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.
|
|
12
|
+
var version = "0.0.28";
|
|
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.
|
|
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,15 @@ 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 500!");
|
|
7334
|
+
stopPlay();
|
|
7335
|
+
getVideoDetail(_prop.camera);
|
|
7336
|
+
}
|
|
7337
|
+
});
|
|
7340
7338
|
onBeforeUnmount(() => {
|
|
7341
7339
|
stopPlay();
|
|
7342
7340
|
});
|
package/dist/video/index.cjs
CHANGED
|
@@ -5858,7 +5858,7 @@ class WebRtcMt$1 {
|
|
|
5858
5858
|
this.stopPlay();
|
|
5859
5859
|
setTimeout(() => {
|
|
5860
5860
|
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
5861
|
-
this.
|
|
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,15 @@ 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 500!");
|
|
6057
|
+
stopPlay();
|
|
6058
|
+
getVideoDetail(_prop.camera);
|
|
6059
|
+
}
|
|
6060
|
+
});
|
|
6063
6061
|
vue.onBeforeUnmount(() => {
|
|
6064
6062
|
stopPlay();
|
|
6065
6063
|
});
|
package/dist/video/index.js
CHANGED
|
@@ -5850,7 +5850,7 @@ class WebRtcMt$1 {
|
|
|
5850
5850
|
this.stopPlay();
|
|
5851
5851
|
setTimeout(() => {
|
|
5852
5852
|
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
5853
|
-
this.
|
|
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,15 @@ 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 500!");
|
|
6049
|
+
stopPlay();
|
|
6050
|
+
getVideoDetail(_prop.camera);
|
|
6051
|
+
}
|
|
6052
|
+
});
|
|
6055
6053
|
onBeforeUnmount(() => {
|
|
6056
6054
|
stopPlay();
|
|
6057
6055
|
});
|