mtxt-ui3 0.0.33 → 0.0.35
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 +19 -4
- package/dist/components/index.js +20 -5
- package/dist/hooks/index.cjs +5 -4
- package/dist/hooks/index.js +5 -4
- package/dist/index.cjs +20 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -6
- package/dist/video/index.cjs +19 -4
- package/dist/video/index.js +20 -5
- package/package.json +1 -1
|
@@ -6561,12 +6561,12 @@ class WebRtcMt$1 {
|
|
|
6561
6561
|
resolve(res);
|
|
6562
6562
|
} else {
|
|
6563
6563
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6564
|
-
reject(
|
|
6564
|
+
reject("error");
|
|
6565
6565
|
}
|
|
6566
6566
|
});
|
|
6567
6567
|
}).catch(err => {
|
|
6568
6568
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6569
|
-
reject(
|
|
6569
|
+
reject("error");
|
|
6570
6570
|
});
|
|
6571
6571
|
});
|
|
6572
6572
|
}
|
|
@@ -6633,8 +6633,9 @@ class WebRtcMt$1 {
|
|
|
6633
6633
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
6634
6634
|
this.stopPlay();
|
|
6635
6635
|
setTimeout(() => {
|
|
6636
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6637
|
-
this.p_player.value =
|
|
6636
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
6637
|
+
this.p_player.value = "error";
|
|
6638
|
+
console.info("v2---", this.p_player.value);
|
|
6638
6639
|
}, 5 * 1e3);
|
|
6639
6640
|
}
|
|
6640
6641
|
// 播放
|
|
@@ -6808,6 +6809,20 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6808
6809
|
immediate: true,
|
|
6809
6810
|
deep: true
|
|
6810
6811
|
});
|
|
6812
|
+
let eee;
|
|
6813
|
+
const xxxxx = () => {
|
|
6814
|
+
eee = setInterval(() => {
|
|
6815
|
+
console.info(11, play?.p_player);
|
|
6816
|
+
if (play?.p_player === "error") {
|
|
6817
|
+
stopPlay();
|
|
6818
|
+
getVideoDetail(_prop.camera);
|
|
6819
|
+
}
|
|
6820
|
+
}, 1e3);
|
|
6821
|
+
};
|
|
6822
|
+
xxxxx();
|
|
6823
|
+
vue.onUnmounted(() => {
|
|
6824
|
+
clearInterval(eee);
|
|
6825
|
+
});
|
|
6811
6826
|
vue.watch(() => play?.p_player, nval => {
|
|
6812
6827
|
if (nval) {
|
|
6813
6828
|
console.info("p_player ===> ", nval);
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createVNode, ref, reactive, computed, inject, resolveComponent, withDirectives, vShow, provide, nextTick, watch, onBeforeUnmount, Fragment, isVNode, mergeProps, onBeforeUpdate, onMounted,
|
|
1
|
+
import { defineComponent, createVNode, ref, reactive, computed, inject, resolveComponent, withDirectives, vShow, provide, nextTick, watch, onUnmounted, onBeforeUnmount, Fragment, isVNode, mergeProps, onBeforeUpdate, onMounted, createTextVNode } from 'vue';
|
|
2
2
|
import { useRouter } from 'vue-router';
|
|
3
3
|
import { message, Form, Row, Col, FormItem, SelectOption, Input, Select, Switch, InputNumber } from 'ant-design-vue';
|
|
4
4
|
import axios$2 from 'axios';
|
|
@@ -6551,12 +6551,12 @@ class WebRtcMt$1 {
|
|
|
6551
6551
|
resolve(res);
|
|
6552
6552
|
} else {
|
|
6553
6553
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6554
|
-
reject(
|
|
6554
|
+
reject("error");
|
|
6555
6555
|
}
|
|
6556
6556
|
});
|
|
6557
6557
|
}).catch(err => {
|
|
6558
6558
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6559
|
-
reject(
|
|
6559
|
+
reject("error");
|
|
6560
6560
|
});
|
|
6561
6561
|
});
|
|
6562
6562
|
}
|
|
@@ -6623,8 +6623,9 @@ class WebRtcMt$1 {
|
|
|
6623
6623
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
6624
6624
|
this.stopPlay();
|
|
6625
6625
|
setTimeout(() => {
|
|
6626
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6627
|
-
this.p_player.value =
|
|
6626
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
6627
|
+
this.p_player.value = "error";
|
|
6628
|
+
console.info("v2---", this.p_player.value);
|
|
6628
6629
|
}, 5 * 1e3);
|
|
6629
6630
|
}
|
|
6630
6631
|
// 播放
|
|
@@ -6798,6 +6799,20 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6798
6799
|
immediate: true,
|
|
6799
6800
|
deep: true
|
|
6800
6801
|
});
|
|
6802
|
+
let eee;
|
|
6803
|
+
const xxxxx = () => {
|
|
6804
|
+
eee = setInterval(() => {
|
|
6805
|
+
console.info(11, play?.p_player);
|
|
6806
|
+
if (play?.p_player === "error") {
|
|
6807
|
+
stopPlay();
|
|
6808
|
+
getVideoDetail(_prop.camera);
|
|
6809
|
+
}
|
|
6810
|
+
}, 1e3);
|
|
6811
|
+
};
|
|
6812
|
+
xxxxx();
|
|
6813
|
+
onUnmounted(() => {
|
|
6814
|
+
clearInterval(eee);
|
|
6815
|
+
});
|
|
6801
6816
|
watch(() => play?.p_player, nval => {
|
|
6802
6817
|
if (nval) {
|
|
6803
6818
|
console.info("p_player ===> ", nval);
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -5971,12 +5971,12 @@ class WebRtcMt {
|
|
|
5971
5971
|
resolve(res);
|
|
5972
5972
|
} else {
|
|
5973
5973
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5974
|
-
reject(
|
|
5974
|
+
reject("error");
|
|
5975
5975
|
}
|
|
5976
5976
|
});
|
|
5977
5977
|
}).catch(err => {
|
|
5978
5978
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5979
|
-
reject(
|
|
5979
|
+
reject("error");
|
|
5980
5980
|
});
|
|
5981
5981
|
});
|
|
5982
5982
|
}
|
|
@@ -6043,8 +6043,9 @@ class WebRtcMt {
|
|
|
6043
6043
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
6044
6044
|
this.stopPlay();
|
|
6045
6045
|
setTimeout(() => {
|
|
6046
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6047
|
-
this.p_player.value =
|
|
6046
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
6047
|
+
this.p_player.value = "error";
|
|
6048
|
+
console.info("v2---", this.p_player.value);
|
|
6048
6049
|
}, 5 * 1e3);
|
|
6049
6050
|
}
|
|
6050
6051
|
// 播放
|
package/dist/hooks/index.js
CHANGED
|
@@ -5962,12 +5962,12 @@ class WebRtcMt {
|
|
|
5962
5962
|
resolve(res);
|
|
5963
5963
|
} else {
|
|
5964
5964
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5965
|
-
reject(
|
|
5965
|
+
reject("error");
|
|
5966
5966
|
}
|
|
5967
5967
|
});
|
|
5968
5968
|
}).catch(err => {
|
|
5969
5969
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5970
|
-
reject(
|
|
5970
|
+
reject("error");
|
|
5971
5971
|
});
|
|
5972
5972
|
});
|
|
5973
5973
|
}
|
|
@@ -6034,8 +6034,9 @@ class WebRtcMt {
|
|
|
6034
6034
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
6035
6035
|
this.stopPlay();
|
|
6036
6036
|
setTimeout(() => {
|
|
6037
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6038
|
-
this.p_player.value =
|
|
6037
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
6038
|
+
this.p_player.value = "error";
|
|
6039
|
+
console.info("v2---", this.p_player.value);
|
|
6039
6040
|
}, 5 * 1e3);
|
|
6040
6041
|
}
|
|
6041
6042
|
// 播放
|
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.34";
|
|
25
25
|
|
|
26
26
|
const setRem = opt => {
|
|
27
27
|
const fontSize = opt.fontSize || 14;
|
|
@@ -6577,12 +6577,12 @@ class WebRtcMt$1 {
|
|
|
6577
6577
|
resolve(res);
|
|
6578
6578
|
} else {
|
|
6579
6579
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6580
|
-
reject(
|
|
6580
|
+
reject("error");
|
|
6581
6581
|
}
|
|
6582
6582
|
});
|
|
6583
6583
|
}).catch(err => {
|
|
6584
6584
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6585
|
-
reject(
|
|
6585
|
+
reject("error");
|
|
6586
6586
|
});
|
|
6587
6587
|
});
|
|
6588
6588
|
}
|
|
@@ -6649,8 +6649,9 @@ class WebRtcMt$1 {
|
|
|
6649
6649
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
6650
6650
|
this.stopPlay();
|
|
6651
6651
|
setTimeout(() => {
|
|
6652
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6653
|
-
this.p_player.value =
|
|
6652
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
6653
|
+
this.p_player.value = "error";
|
|
6654
|
+
console.info("v2---", this.p_player.value);
|
|
6654
6655
|
}, 5 * 1e3);
|
|
6655
6656
|
}
|
|
6656
6657
|
// 播放
|
|
@@ -7339,6 +7340,20 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
7339
7340
|
immediate: true,
|
|
7340
7341
|
deep: true
|
|
7341
7342
|
});
|
|
7343
|
+
let eee;
|
|
7344
|
+
const xxxxx = () => {
|
|
7345
|
+
eee = setInterval(() => {
|
|
7346
|
+
console.info(11, play?.p_player);
|
|
7347
|
+
if (play?.p_player === "error") {
|
|
7348
|
+
stopPlay();
|
|
7349
|
+
getVideoDetail(_prop.camera);
|
|
7350
|
+
}
|
|
7351
|
+
}, 1e3);
|
|
7352
|
+
};
|
|
7353
|
+
xxxxx();
|
|
7354
|
+
vue.onUnmounted(() => {
|
|
7355
|
+
clearInterval(eee);
|
|
7356
|
+
});
|
|
7342
7357
|
vue.watch(() => play?.p_player, nval => {
|
|
7343
7358
|
if (nval) {
|
|
7344
7359
|
console.info("p_player ===> ", nval);
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import axios$2 from 'axios';
|
|
2
2
|
import ant, { message, Form, Row, Col, FormItem, SelectOption, Input, Select, Switch, InputNumber } from 'ant-design-vue';
|
|
3
3
|
import _, { isPlainObject as isPlainObject$1, omit, cloneDeep, isObject as isObject$2 } from 'lodash';
|
|
4
|
-
import { ref, reactive, computed, watch, onBeforeUnmount, watchEffect, defineComponent, createVNode, inject, resolveComponent, withDirectives, vShow, provide, nextTick, Fragment, isVNode, mergeProps, onBeforeUpdate, onMounted,
|
|
4
|
+
import { ref, reactive, computed, watch, onBeforeUnmount, watchEffect, defineComponent, createVNode, inject, resolveComponent, withDirectives, vShow, provide, nextTick, onUnmounted, Fragment, isVNode, mergeProps, onBeforeUpdate, onMounted, createTextVNode } from 'vue';
|
|
5
5
|
import { useIntervalFn, useEventBus, resolveRef, useEventListener, useBreakpoints, breakpointsAntDesign, useToggle, useVModel } from '@vueuse/core';
|
|
6
6
|
import dayjs from 'dayjs';
|
|
7
7
|
import { useRouter } from 'vue-router';
|
|
@@ -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.34";
|
|
13
13
|
|
|
14
14
|
const setRem = opt => {
|
|
15
15
|
const fontSize = opt.fontSize || 14;
|
|
@@ -6565,12 +6565,12 @@ class WebRtcMt$1 {
|
|
|
6565
6565
|
resolve(res);
|
|
6566
6566
|
} else {
|
|
6567
6567
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6568
|
-
reject(
|
|
6568
|
+
reject("error");
|
|
6569
6569
|
}
|
|
6570
6570
|
});
|
|
6571
6571
|
}).catch(err => {
|
|
6572
6572
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6573
|
-
reject(
|
|
6573
|
+
reject("error");
|
|
6574
6574
|
});
|
|
6575
6575
|
});
|
|
6576
6576
|
}
|
|
@@ -6637,8 +6637,9 @@ class WebRtcMt$1 {
|
|
|
6637
6637
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
6638
6638
|
this.stopPlay();
|
|
6639
6639
|
setTimeout(() => {
|
|
6640
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
6641
|
-
this.p_player.value =
|
|
6640
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
6641
|
+
this.p_player.value = "error";
|
|
6642
|
+
console.info("v2---", this.p_player.value);
|
|
6642
6643
|
}, 5 * 1e3);
|
|
6643
6644
|
}
|
|
6644
6645
|
// 播放
|
|
@@ -7327,6 +7328,20 @@ const VideoPlayerV2 = defineComponent({
|
|
|
7327
7328
|
immediate: true,
|
|
7328
7329
|
deep: true
|
|
7329
7330
|
});
|
|
7331
|
+
let eee;
|
|
7332
|
+
const xxxxx = () => {
|
|
7333
|
+
eee = setInterval(() => {
|
|
7334
|
+
console.info(11, play?.p_player);
|
|
7335
|
+
if (play?.p_player === "error") {
|
|
7336
|
+
stopPlay();
|
|
7337
|
+
getVideoDetail(_prop.camera);
|
|
7338
|
+
}
|
|
7339
|
+
}, 1e3);
|
|
7340
|
+
};
|
|
7341
|
+
xxxxx();
|
|
7342
|
+
onUnmounted(() => {
|
|
7343
|
+
clearInterval(eee);
|
|
7344
|
+
});
|
|
7330
7345
|
watch(() => play?.p_player, nval => {
|
|
7331
7346
|
if (nval) {
|
|
7332
7347
|
console.info("p_player ===> ", nval);
|
package/dist/video/index.cjs
CHANGED
|
@@ -5786,12 +5786,12 @@ class WebRtcMt$1 {
|
|
|
5786
5786
|
resolve(res);
|
|
5787
5787
|
} else {
|
|
5788
5788
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5789
|
-
reject(
|
|
5789
|
+
reject("error");
|
|
5790
5790
|
}
|
|
5791
5791
|
});
|
|
5792
5792
|
}).catch(err => {
|
|
5793
5793
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5794
|
-
reject(
|
|
5794
|
+
reject("error");
|
|
5795
5795
|
});
|
|
5796
5796
|
});
|
|
5797
5797
|
}
|
|
@@ -5858,8 +5858,9 @@ class WebRtcMt$1 {
|
|
|
5858
5858
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
5859
5859
|
this.stopPlay();
|
|
5860
5860
|
setTimeout(() => {
|
|
5861
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
5862
|
-
this.p_player.value =
|
|
5861
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
5862
|
+
this.p_player.value = "error";
|
|
5863
|
+
console.info("v2---", this.p_player.value);
|
|
5863
5864
|
}, 5 * 1e3);
|
|
5864
5865
|
}
|
|
5865
5866
|
// 播放
|
|
@@ -6050,6 +6051,20 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6050
6051
|
immediate: true,
|
|
6051
6052
|
deep: true
|
|
6052
6053
|
});
|
|
6054
|
+
let eee;
|
|
6055
|
+
const xxxxx = () => {
|
|
6056
|
+
eee = setInterval(() => {
|
|
6057
|
+
console.info(11, play?.p_player);
|
|
6058
|
+
if (play?.p_player === "error") {
|
|
6059
|
+
stopPlay();
|
|
6060
|
+
getVideoDetail(_prop.camera);
|
|
6061
|
+
}
|
|
6062
|
+
}, 1e3);
|
|
6063
|
+
};
|
|
6064
|
+
xxxxx();
|
|
6065
|
+
vue.onUnmounted(() => {
|
|
6066
|
+
clearInterval(eee);
|
|
6067
|
+
});
|
|
6053
6068
|
vue.watch(() => play?.p_player, nval => {
|
|
6054
6069
|
if (nval) {
|
|
6055
6070
|
console.info("p_player ===> ", nval);
|
package/dist/video/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, defineComponent, reactive, watch, onBeforeUnmount, createVNode, Fragment } from 'vue';
|
|
1
|
+
import { ref, defineComponent, reactive, watch, onUnmounted, onBeforeUnmount, createVNode, Fragment } from 'vue';
|
|
2
2
|
import axios$2 from 'axios';
|
|
3
3
|
|
|
4
4
|
const Events$1 = {
|
|
@@ -5778,12 +5778,12 @@ class WebRtcMt$1 {
|
|
|
5778
5778
|
resolve(res);
|
|
5779
5779
|
} else {
|
|
5780
5780
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5781
|
-
reject(
|
|
5781
|
+
reject("error");
|
|
5782
5782
|
}
|
|
5783
5783
|
});
|
|
5784
5784
|
}).catch(err => {
|
|
5785
5785
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5786
|
-
reject(
|
|
5786
|
+
reject("error");
|
|
5787
5787
|
});
|
|
5788
5788
|
});
|
|
5789
5789
|
}
|
|
@@ -5850,8 +5850,9 @@ class WebRtcMt$1 {
|
|
|
5850
5850
|
console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
|
|
5851
5851
|
this.stopPlay();
|
|
5852
5852
|
setTimeout(() => {
|
|
5853
|
-
console.log("\u5E95\u90E8\u91CD\u64AD");
|
|
5854
|
-
this.p_player.value =
|
|
5853
|
+
console.log("\u5E95\u90E8\u91CD\u64AD---");
|
|
5854
|
+
this.p_player.value = "error";
|
|
5855
|
+
console.info("v2---", this.p_player.value);
|
|
5855
5856
|
}, 5 * 1e3);
|
|
5856
5857
|
}
|
|
5857
5858
|
// 播放
|
|
@@ -6042,6 +6043,20 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6042
6043
|
immediate: true,
|
|
6043
6044
|
deep: true
|
|
6044
6045
|
});
|
|
6046
|
+
let eee;
|
|
6047
|
+
const xxxxx = () => {
|
|
6048
|
+
eee = setInterval(() => {
|
|
6049
|
+
console.info(11, play?.p_player);
|
|
6050
|
+
if (play?.p_player === "error") {
|
|
6051
|
+
stopPlay();
|
|
6052
|
+
getVideoDetail(_prop.camera);
|
|
6053
|
+
}
|
|
6054
|
+
}, 1e3);
|
|
6055
|
+
};
|
|
6056
|
+
xxxxx();
|
|
6057
|
+
onUnmounted(() => {
|
|
6058
|
+
clearInterval(eee);
|
|
6059
|
+
});
|
|
6045
6060
|
watch(() => play?.p_player, nval => {
|
|
6046
6061
|
if (nval) {
|
|
6047
6062
|
console.info("p_player ===> ", nval);
|