inl-ui 0.1.146 → 0.1.147
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 +5 -7
- package/dist/components/index.js +5 -7
- package/dist/index.cjs +6 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -8
- package/dist/video/index.cjs +5 -7
- package/dist/video/index.js +5 -7
- package/package.json +1 -1
|
@@ -17034,6 +17034,7 @@ class WebRtcMt {
|
|
|
17034
17034
|
this.stopPlay();
|
|
17035
17035
|
if (dom) {
|
|
17036
17036
|
setTimeout(() => {
|
|
17037
|
+
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
17037
17038
|
this.init(this.opt);
|
|
17038
17039
|
}, 3e3);
|
|
17039
17040
|
}
|
|
@@ -17211,9 +17212,6 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
17211
17212
|
console.log(e);
|
|
17212
17213
|
isLoading.value = false;
|
|
17213
17214
|
isError.value = true;
|
|
17214
|
-
setTimeout(() => {
|
|
17215
|
-
init();
|
|
17216
|
-
}, 5e3);
|
|
17217
17215
|
});
|
|
17218
17216
|
}).catch(e => {
|
|
17219
17217
|
console.log(e);
|
|
@@ -17240,8 +17238,8 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
17240
17238
|
};
|
|
17241
17239
|
const stopStream = (video = dom.value) => {
|
|
17242
17240
|
timer && clearInterval(timer);
|
|
17243
|
-
player.value?.stopPlay(video);
|
|
17244
17241
|
player.value?.delStream(video);
|
|
17242
|
+
player.value?.stopPlay(video);
|
|
17245
17243
|
player.value = null;
|
|
17246
17244
|
};
|
|
17247
17245
|
const timeChange = () => {
|
|
@@ -17256,14 +17254,14 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
17256
17254
|
stopStream(`${o + props.cameraCode}`);
|
|
17257
17255
|
init();
|
|
17258
17256
|
}
|
|
17257
|
+
}, {
|
|
17258
|
+
immediate: true
|
|
17259
17259
|
});
|
|
17260
17260
|
expose({
|
|
17261
17261
|
timeChange
|
|
17262
17262
|
});
|
|
17263
17263
|
vue.onMounted(() => {
|
|
17264
|
-
if (props.autoPlay)
|
|
17265
|
-
init();
|
|
17266
|
-
}
|
|
17264
|
+
if (props.autoPlay) ;
|
|
17267
17265
|
});
|
|
17268
17266
|
vue.onBeforeUnmount(stopStream);
|
|
17269
17267
|
return () => vue.createVNode("div", {
|
package/dist/components/index.js
CHANGED
|
@@ -17005,6 +17005,7 @@ class WebRtcMt {
|
|
|
17005
17005
|
this.stopPlay();
|
|
17006
17006
|
if (dom) {
|
|
17007
17007
|
setTimeout(() => {
|
|
17008
|
+
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
17008
17009
|
this.init(this.opt);
|
|
17009
17010
|
}, 3e3);
|
|
17010
17011
|
}
|
|
@@ -17182,9 +17183,6 @@ const VideoPlayBack = defineComponent({
|
|
|
17182
17183
|
console.log(e);
|
|
17183
17184
|
isLoading.value = false;
|
|
17184
17185
|
isError.value = true;
|
|
17185
|
-
setTimeout(() => {
|
|
17186
|
-
init();
|
|
17187
|
-
}, 5e3);
|
|
17188
17186
|
});
|
|
17189
17187
|
}).catch(e => {
|
|
17190
17188
|
console.log(e);
|
|
@@ -17211,8 +17209,8 @@ const VideoPlayBack = defineComponent({
|
|
|
17211
17209
|
};
|
|
17212
17210
|
const stopStream = (video = dom.value) => {
|
|
17213
17211
|
timer && clearInterval(timer);
|
|
17214
|
-
player.value?.stopPlay(video);
|
|
17215
17212
|
player.value?.delStream(video);
|
|
17213
|
+
player.value?.stopPlay(video);
|
|
17216
17214
|
player.value = null;
|
|
17217
17215
|
};
|
|
17218
17216
|
const timeChange = () => {
|
|
@@ -17227,14 +17225,14 @@ const VideoPlayBack = defineComponent({
|
|
|
17227
17225
|
stopStream(`${o + props.cameraCode}`);
|
|
17228
17226
|
init();
|
|
17229
17227
|
}
|
|
17228
|
+
}, {
|
|
17229
|
+
immediate: true
|
|
17230
17230
|
});
|
|
17231
17231
|
expose({
|
|
17232
17232
|
timeChange
|
|
17233
17233
|
});
|
|
17234
17234
|
onMounted(() => {
|
|
17235
|
-
if (props.autoPlay)
|
|
17236
|
-
init();
|
|
17237
|
-
}
|
|
17235
|
+
if (props.autoPlay) ;
|
|
17238
17236
|
});
|
|
17239
17237
|
onBeforeUnmount(stopStream);
|
|
17240
17238
|
return () => createVNode("div", {
|
package/dist/index.cjs
CHANGED
|
@@ -45,7 +45,7 @@ var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
|
45
45
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
46
46
|
var mqtt__default = /*#__PURE__*/_interopDefaultLegacy(mqtt);
|
|
47
47
|
|
|
48
|
-
var version = "0.1.
|
|
48
|
+
var version = "0.1.146";
|
|
49
49
|
|
|
50
50
|
const setTheme = theme => {
|
|
51
51
|
if (theme === "dark") {
|
|
@@ -18020,6 +18020,7 @@ class WebRtcMt {
|
|
|
18020
18020
|
this.stopPlay();
|
|
18021
18021
|
if (dom) {
|
|
18022
18022
|
setTimeout(() => {
|
|
18023
|
+
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
18023
18024
|
this.init(this.opt);
|
|
18024
18025
|
}, 3e3);
|
|
18025
18026
|
}
|
|
@@ -18197,9 +18198,6 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
18197
18198
|
console.log(e);
|
|
18198
18199
|
isLoading.value = false;
|
|
18199
18200
|
isError.value = true;
|
|
18200
|
-
setTimeout(() => {
|
|
18201
|
-
init();
|
|
18202
|
-
}, 5e3);
|
|
18203
18201
|
});
|
|
18204
18202
|
}).catch(e => {
|
|
18205
18203
|
console.log(e);
|
|
@@ -18226,8 +18224,8 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
18226
18224
|
};
|
|
18227
18225
|
const stopStream = (video = dom.value) => {
|
|
18228
18226
|
timer && clearInterval(timer);
|
|
18229
|
-
player.value?.stopPlay(video);
|
|
18230
18227
|
player.value?.delStream(video);
|
|
18228
|
+
player.value?.stopPlay(video);
|
|
18231
18229
|
player.value = null;
|
|
18232
18230
|
};
|
|
18233
18231
|
const timeChange = () => {
|
|
@@ -18242,14 +18240,14 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
18242
18240
|
stopStream(`${o + props.cameraCode}`);
|
|
18243
18241
|
init();
|
|
18244
18242
|
}
|
|
18243
|
+
}, {
|
|
18244
|
+
immediate: true
|
|
18245
18245
|
});
|
|
18246
18246
|
expose({
|
|
18247
18247
|
timeChange
|
|
18248
18248
|
});
|
|
18249
18249
|
vue.onMounted(() => {
|
|
18250
|
-
if (props.autoPlay)
|
|
18251
|
-
init();
|
|
18252
|
-
}
|
|
18250
|
+
if (props.autoPlay) ;
|
|
18253
18251
|
});
|
|
18254
18252
|
vue.onBeforeUnmount(stopStream);
|
|
18255
18253
|
return () => vue.createVNode("div", {
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
|
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
|
|
13
13
|
|
|
14
|
-
var version = "0.1.
|
|
14
|
+
var version = "0.1.146";
|
|
15
15
|
|
|
16
16
|
declare const _default$p: {
|
|
17
17
|
set(theme: string): void;
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
|
14
14
|
import { marked } from 'marked';
|
|
15
15
|
import '@sszj-temp/mobile/style.css';
|
|
16
16
|
|
|
17
|
-
var version = "0.1.
|
|
17
|
+
var version = "0.1.146";
|
|
18
18
|
|
|
19
19
|
const setTheme = theme => {
|
|
20
20
|
if (theme === "dark") {
|
|
@@ -17989,6 +17989,7 @@ class WebRtcMt {
|
|
|
17989
17989
|
this.stopPlay();
|
|
17990
17990
|
if (dom) {
|
|
17991
17991
|
setTimeout(() => {
|
|
17992
|
+
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
17992
17993
|
this.init(this.opt);
|
|
17993
17994
|
}, 3e3);
|
|
17994
17995
|
}
|
|
@@ -18166,9 +18167,6 @@ const VideoPlayBack = defineComponent({
|
|
|
18166
18167
|
console.log(e);
|
|
18167
18168
|
isLoading.value = false;
|
|
18168
18169
|
isError.value = true;
|
|
18169
|
-
setTimeout(() => {
|
|
18170
|
-
init();
|
|
18171
|
-
}, 5e3);
|
|
18172
18170
|
});
|
|
18173
18171
|
}).catch(e => {
|
|
18174
18172
|
console.log(e);
|
|
@@ -18195,8 +18193,8 @@ const VideoPlayBack = defineComponent({
|
|
|
18195
18193
|
};
|
|
18196
18194
|
const stopStream = (video = dom.value) => {
|
|
18197
18195
|
timer && clearInterval(timer);
|
|
18198
|
-
player.value?.stopPlay(video);
|
|
18199
18196
|
player.value?.delStream(video);
|
|
18197
|
+
player.value?.stopPlay(video);
|
|
18200
18198
|
player.value = null;
|
|
18201
18199
|
};
|
|
18202
18200
|
const timeChange = () => {
|
|
@@ -18211,14 +18209,14 @@ const VideoPlayBack = defineComponent({
|
|
|
18211
18209
|
stopStream(`${o + props.cameraCode}`);
|
|
18212
18210
|
init();
|
|
18213
18211
|
}
|
|
18212
|
+
}, {
|
|
18213
|
+
immediate: true
|
|
18214
18214
|
});
|
|
18215
18215
|
expose({
|
|
18216
18216
|
timeChange
|
|
18217
18217
|
});
|
|
18218
18218
|
onMounted(() => {
|
|
18219
|
-
if (props.autoPlay)
|
|
18220
|
-
init();
|
|
18221
|
-
}
|
|
18219
|
+
if (props.autoPlay) ;
|
|
18222
18220
|
});
|
|
18223
18221
|
onBeforeUnmount(stopStream);
|
|
18224
18222
|
return () => createVNode("div", {
|
package/dist/video/index.cjs
CHANGED
|
@@ -14069,6 +14069,7 @@ class WebRtcMt {
|
|
|
14069
14069
|
this.stopPlay();
|
|
14070
14070
|
if (dom) {
|
|
14071
14071
|
setTimeout(() => {
|
|
14072
|
+
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
14072
14073
|
this.init(this.opt);
|
|
14073
14074
|
}, 3e3);
|
|
14074
14075
|
}
|
|
@@ -14246,9 +14247,6 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
14246
14247
|
console.log(e);
|
|
14247
14248
|
isLoading.value = false;
|
|
14248
14249
|
isError.value = true;
|
|
14249
|
-
setTimeout(() => {
|
|
14250
|
-
init();
|
|
14251
|
-
}, 5e3);
|
|
14252
14250
|
});
|
|
14253
14251
|
}).catch(e => {
|
|
14254
14252
|
console.log(e);
|
|
@@ -14275,8 +14273,8 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
14275
14273
|
};
|
|
14276
14274
|
const stopStream = (video = dom.value) => {
|
|
14277
14275
|
timer && clearInterval(timer);
|
|
14278
|
-
player.value?.stopPlay(video);
|
|
14279
14276
|
player.value?.delStream(video);
|
|
14277
|
+
player.value?.stopPlay(video);
|
|
14280
14278
|
player.value = null;
|
|
14281
14279
|
};
|
|
14282
14280
|
const timeChange = () => {
|
|
@@ -14291,14 +14289,14 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
14291
14289
|
stopStream(`${o + props.cameraCode}`);
|
|
14292
14290
|
init();
|
|
14293
14291
|
}
|
|
14292
|
+
}, {
|
|
14293
|
+
immediate: true
|
|
14294
14294
|
});
|
|
14295
14295
|
expose({
|
|
14296
14296
|
timeChange
|
|
14297
14297
|
});
|
|
14298
14298
|
vue.onMounted(() => {
|
|
14299
|
-
if (props.autoPlay)
|
|
14300
|
-
init();
|
|
14301
|
-
}
|
|
14299
|
+
if (props.autoPlay) ;
|
|
14302
14300
|
});
|
|
14303
14301
|
vue.onBeforeUnmount(stopStream);
|
|
14304
14302
|
return () => vue.createVNode("div", {
|
package/dist/video/index.js
CHANGED
|
@@ -14042,6 +14042,7 @@ class WebRtcMt {
|
|
|
14042
14042
|
this.stopPlay();
|
|
14043
14043
|
if (dom) {
|
|
14044
14044
|
setTimeout(() => {
|
|
14045
|
+
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
14045
14046
|
this.init(this.opt);
|
|
14046
14047
|
}, 3e3);
|
|
14047
14048
|
}
|
|
@@ -14219,9 +14220,6 @@ const VideoPlayBack = defineComponent({
|
|
|
14219
14220
|
console.log(e);
|
|
14220
14221
|
isLoading.value = false;
|
|
14221
14222
|
isError.value = true;
|
|
14222
|
-
setTimeout(() => {
|
|
14223
|
-
init();
|
|
14224
|
-
}, 5e3);
|
|
14225
14223
|
});
|
|
14226
14224
|
}).catch(e => {
|
|
14227
14225
|
console.log(e);
|
|
@@ -14248,8 +14246,8 @@ const VideoPlayBack = defineComponent({
|
|
|
14248
14246
|
};
|
|
14249
14247
|
const stopStream = (video = dom.value) => {
|
|
14250
14248
|
timer && clearInterval(timer);
|
|
14251
|
-
player.value?.stopPlay(video);
|
|
14252
14249
|
player.value?.delStream(video);
|
|
14250
|
+
player.value?.stopPlay(video);
|
|
14253
14251
|
player.value = null;
|
|
14254
14252
|
};
|
|
14255
14253
|
const timeChange = () => {
|
|
@@ -14264,14 +14262,14 @@ const VideoPlayBack = defineComponent({
|
|
|
14264
14262
|
stopStream(`${o + props.cameraCode}`);
|
|
14265
14263
|
init();
|
|
14266
14264
|
}
|
|
14265
|
+
}, {
|
|
14266
|
+
immediate: true
|
|
14267
14267
|
});
|
|
14268
14268
|
expose({
|
|
14269
14269
|
timeChange
|
|
14270
14270
|
});
|
|
14271
14271
|
onMounted(() => {
|
|
14272
|
-
if (props.autoPlay)
|
|
14273
|
-
init();
|
|
14274
|
-
}
|
|
14272
|
+
if (props.autoPlay) ;
|
|
14275
14273
|
});
|
|
14276
14274
|
onBeforeUnmount(stopStream);
|
|
14277
14275
|
return () => createVNode("div", {
|