inl-ui 0.1.148 → 0.1.150
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 +6 -1
- package/dist/components/index.js +6 -1
- package/dist/index.cjs +7 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -2
- package/dist/video/index.cjs +6 -1
- package/dist/video/index.js +6 -1
- package/package.json +1 -1
|
@@ -17032,6 +17032,7 @@ class WebRtcMt {
|
|
|
17032
17032
|
rePlay(videoElm) {
|
|
17033
17033
|
const dom = document.getElementById(videoElm);
|
|
17034
17034
|
this.stopPlay();
|
|
17035
|
+
console.log("dom", dom, videoElm);
|
|
17035
17036
|
if (dom) {
|
|
17036
17037
|
setTimeout(() => {
|
|
17037
17038
|
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
@@ -17228,6 +17229,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
17228
17229
|
startTime.value = props.start + currentPlayTime.value;
|
|
17229
17230
|
isPlaying.value = !isPlaying.value;
|
|
17230
17231
|
} else {
|
|
17232
|
+
console.log("\u6682\u505C\u5F00\u59CBinit");
|
|
17231
17233
|
init();
|
|
17232
17234
|
}
|
|
17233
17235
|
};
|
|
@@ -17237,6 +17239,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
17237
17239
|
const passedTime = Math.round(fullDuration.value * (percent / 100));
|
|
17238
17240
|
currentPlayTime.value = passedTime;
|
|
17239
17241
|
startTime.value = props.start + passedTime;
|
|
17242
|
+
console.log("\u6EDA\u52A8\u6761init");
|
|
17240
17243
|
init();
|
|
17241
17244
|
};
|
|
17242
17245
|
const stopStream = (video = dom.value) => {
|
|
@@ -17256,6 +17259,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
17256
17259
|
currentPlayTime.value = 0;
|
|
17257
17260
|
startTime.value = props.start;
|
|
17258
17261
|
stopStream(`${o + props.cameraCode}`);
|
|
17262
|
+
console.log("watch init", props.cameraId);
|
|
17259
17263
|
init();
|
|
17260
17264
|
}
|
|
17261
17265
|
});
|
|
@@ -17263,7 +17267,8 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
17263
17267
|
timeChange
|
|
17264
17268
|
});
|
|
17265
17269
|
vue.onMounted(() => {
|
|
17266
|
-
if (props.autoPlay) {
|
|
17270
|
+
if (props.autoPlay && props.cameraId) {
|
|
17271
|
+
console.log("\u81EA\u52A8\u64AD\u653Einit");
|
|
17267
17272
|
init();
|
|
17268
17273
|
}
|
|
17269
17274
|
});
|
package/dist/components/index.js
CHANGED
|
@@ -17003,6 +17003,7 @@ class WebRtcMt {
|
|
|
17003
17003
|
rePlay(videoElm) {
|
|
17004
17004
|
const dom = document.getElementById(videoElm);
|
|
17005
17005
|
this.stopPlay();
|
|
17006
|
+
console.log("dom", dom, videoElm);
|
|
17006
17007
|
if (dom) {
|
|
17007
17008
|
setTimeout(() => {
|
|
17008
17009
|
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
@@ -17199,6 +17200,7 @@ const VideoPlayBack = defineComponent({
|
|
|
17199
17200
|
startTime.value = props.start + currentPlayTime.value;
|
|
17200
17201
|
isPlaying.value = !isPlaying.value;
|
|
17201
17202
|
} else {
|
|
17203
|
+
console.log("\u6682\u505C\u5F00\u59CBinit");
|
|
17202
17204
|
init();
|
|
17203
17205
|
}
|
|
17204
17206
|
};
|
|
@@ -17208,6 +17210,7 @@ const VideoPlayBack = defineComponent({
|
|
|
17208
17210
|
const passedTime = Math.round(fullDuration.value * (percent / 100));
|
|
17209
17211
|
currentPlayTime.value = passedTime;
|
|
17210
17212
|
startTime.value = props.start + passedTime;
|
|
17213
|
+
console.log("\u6EDA\u52A8\u6761init");
|
|
17211
17214
|
init();
|
|
17212
17215
|
};
|
|
17213
17216
|
const stopStream = (video = dom.value) => {
|
|
@@ -17227,6 +17230,7 @@ const VideoPlayBack = defineComponent({
|
|
|
17227
17230
|
currentPlayTime.value = 0;
|
|
17228
17231
|
startTime.value = props.start;
|
|
17229
17232
|
stopStream(`${o + props.cameraCode}`);
|
|
17233
|
+
console.log("watch init", props.cameraId);
|
|
17230
17234
|
init();
|
|
17231
17235
|
}
|
|
17232
17236
|
});
|
|
@@ -17234,7 +17238,8 @@ const VideoPlayBack = defineComponent({
|
|
|
17234
17238
|
timeChange
|
|
17235
17239
|
});
|
|
17236
17240
|
onMounted(() => {
|
|
17237
|
-
if (props.autoPlay) {
|
|
17241
|
+
if (props.autoPlay && props.cameraId) {
|
|
17242
|
+
console.log("\u81EA\u52A8\u64AD\u653Einit");
|
|
17238
17243
|
init();
|
|
17239
17244
|
}
|
|
17240
17245
|
});
|
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.149";
|
|
49
49
|
|
|
50
50
|
const setTheme = theme => {
|
|
51
51
|
if (theme === "dark") {
|
|
@@ -18018,6 +18018,7 @@ class WebRtcMt {
|
|
|
18018
18018
|
rePlay(videoElm) {
|
|
18019
18019
|
const dom = document.getElementById(videoElm);
|
|
18020
18020
|
this.stopPlay();
|
|
18021
|
+
console.log("dom", dom, videoElm);
|
|
18021
18022
|
if (dom) {
|
|
18022
18023
|
setTimeout(() => {
|
|
18023
18024
|
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
@@ -18214,6 +18215,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
18214
18215
|
startTime.value = props.start + currentPlayTime.value;
|
|
18215
18216
|
isPlaying.value = !isPlaying.value;
|
|
18216
18217
|
} else {
|
|
18218
|
+
console.log("\u6682\u505C\u5F00\u59CBinit");
|
|
18217
18219
|
init();
|
|
18218
18220
|
}
|
|
18219
18221
|
};
|
|
@@ -18223,6 +18225,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
18223
18225
|
const passedTime = Math.round(fullDuration.value * (percent / 100));
|
|
18224
18226
|
currentPlayTime.value = passedTime;
|
|
18225
18227
|
startTime.value = props.start + passedTime;
|
|
18228
|
+
console.log("\u6EDA\u52A8\u6761init");
|
|
18226
18229
|
init();
|
|
18227
18230
|
};
|
|
18228
18231
|
const stopStream = (video = dom.value) => {
|
|
@@ -18242,6 +18245,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
18242
18245
|
currentPlayTime.value = 0;
|
|
18243
18246
|
startTime.value = props.start;
|
|
18244
18247
|
stopStream(`${o + props.cameraCode}`);
|
|
18248
|
+
console.log("watch init", props.cameraId);
|
|
18245
18249
|
init();
|
|
18246
18250
|
}
|
|
18247
18251
|
});
|
|
@@ -18249,7 +18253,8 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
18249
18253
|
timeChange
|
|
18250
18254
|
});
|
|
18251
18255
|
vue.onMounted(() => {
|
|
18252
|
-
if (props.autoPlay) {
|
|
18256
|
+
if (props.autoPlay && props.cameraId) {
|
|
18257
|
+
console.log("\u81EA\u52A8\u64AD\u653Einit");
|
|
18253
18258
|
init();
|
|
18254
18259
|
}
|
|
18255
18260
|
});
|
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.149";
|
|
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.149";
|
|
18
18
|
|
|
19
19
|
const setTheme = theme => {
|
|
20
20
|
if (theme === "dark") {
|
|
@@ -17987,6 +17987,7 @@ class WebRtcMt {
|
|
|
17987
17987
|
rePlay(videoElm) {
|
|
17988
17988
|
const dom = document.getElementById(videoElm);
|
|
17989
17989
|
this.stopPlay();
|
|
17990
|
+
console.log("dom", dom, videoElm);
|
|
17990
17991
|
if (dom) {
|
|
17991
17992
|
setTimeout(() => {
|
|
17992
17993
|
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
@@ -18183,6 +18184,7 @@ const VideoPlayBack = defineComponent({
|
|
|
18183
18184
|
startTime.value = props.start + currentPlayTime.value;
|
|
18184
18185
|
isPlaying.value = !isPlaying.value;
|
|
18185
18186
|
} else {
|
|
18187
|
+
console.log("\u6682\u505C\u5F00\u59CBinit");
|
|
18186
18188
|
init();
|
|
18187
18189
|
}
|
|
18188
18190
|
};
|
|
@@ -18192,6 +18194,7 @@ const VideoPlayBack = defineComponent({
|
|
|
18192
18194
|
const passedTime = Math.round(fullDuration.value * (percent / 100));
|
|
18193
18195
|
currentPlayTime.value = passedTime;
|
|
18194
18196
|
startTime.value = props.start + passedTime;
|
|
18197
|
+
console.log("\u6EDA\u52A8\u6761init");
|
|
18195
18198
|
init();
|
|
18196
18199
|
};
|
|
18197
18200
|
const stopStream = (video = dom.value) => {
|
|
@@ -18211,6 +18214,7 @@ const VideoPlayBack = defineComponent({
|
|
|
18211
18214
|
currentPlayTime.value = 0;
|
|
18212
18215
|
startTime.value = props.start;
|
|
18213
18216
|
stopStream(`${o + props.cameraCode}`);
|
|
18217
|
+
console.log("watch init", props.cameraId);
|
|
18214
18218
|
init();
|
|
18215
18219
|
}
|
|
18216
18220
|
});
|
|
@@ -18218,7 +18222,8 @@ const VideoPlayBack = defineComponent({
|
|
|
18218
18222
|
timeChange
|
|
18219
18223
|
});
|
|
18220
18224
|
onMounted(() => {
|
|
18221
|
-
if (props.autoPlay) {
|
|
18225
|
+
if (props.autoPlay && props.cameraId) {
|
|
18226
|
+
console.log("\u81EA\u52A8\u64AD\u653Einit");
|
|
18222
18227
|
init();
|
|
18223
18228
|
}
|
|
18224
18229
|
});
|
package/dist/video/index.cjs
CHANGED
|
@@ -14067,6 +14067,7 @@ class WebRtcMt {
|
|
|
14067
14067
|
rePlay(videoElm) {
|
|
14068
14068
|
const dom = document.getElementById(videoElm);
|
|
14069
14069
|
this.stopPlay();
|
|
14070
|
+
console.log("dom", dom, videoElm);
|
|
14070
14071
|
if (dom) {
|
|
14071
14072
|
setTimeout(() => {
|
|
14072
14073
|
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
@@ -14263,6 +14264,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
14263
14264
|
startTime.value = props.start + currentPlayTime.value;
|
|
14264
14265
|
isPlaying.value = !isPlaying.value;
|
|
14265
14266
|
} else {
|
|
14267
|
+
console.log("\u6682\u505C\u5F00\u59CBinit");
|
|
14266
14268
|
init();
|
|
14267
14269
|
}
|
|
14268
14270
|
};
|
|
@@ -14272,6 +14274,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
14272
14274
|
const passedTime = Math.round(fullDuration.value * (percent / 100));
|
|
14273
14275
|
currentPlayTime.value = passedTime;
|
|
14274
14276
|
startTime.value = props.start + passedTime;
|
|
14277
|
+
console.log("\u6EDA\u52A8\u6761init");
|
|
14275
14278
|
init();
|
|
14276
14279
|
};
|
|
14277
14280
|
const stopStream = (video = dom.value) => {
|
|
@@ -14291,6 +14294,7 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
14291
14294
|
currentPlayTime.value = 0;
|
|
14292
14295
|
startTime.value = props.start;
|
|
14293
14296
|
stopStream(`${o + props.cameraCode}`);
|
|
14297
|
+
console.log("watch init", props.cameraId);
|
|
14294
14298
|
init();
|
|
14295
14299
|
}
|
|
14296
14300
|
});
|
|
@@ -14298,7 +14302,8 @@ const VideoPlayBack = vue.defineComponent({
|
|
|
14298
14302
|
timeChange
|
|
14299
14303
|
});
|
|
14300
14304
|
vue.onMounted(() => {
|
|
14301
|
-
if (props.autoPlay) {
|
|
14305
|
+
if (props.autoPlay && props.cameraId) {
|
|
14306
|
+
console.log("\u81EA\u52A8\u64AD\u653Einit");
|
|
14302
14307
|
init();
|
|
14303
14308
|
}
|
|
14304
14309
|
});
|
package/dist/video/index.js
CHANGED
|
@@ -14040,6 +14040,7 @@ class WebRtcMt {
|
|
|
14040
14040
|
rePlay(videoElm) {
|
|
14041
14041
|
const dom = document.getElementById(videoElm);
|
|
14042
14042
|
this.stopPlay();
|
|
14043
|
+
console.log("dom", dom, videoElm);
|
|
14043
14044
|
if (dom) {
|
|
14044
14045
|
setTimeout(() => {
|
|
14045
14046
|
console.log("\u91CD\u65B0\u62C9\u6D41");
|
|
@@ -14236,6 +14237,7 @@ const VideoPlayBack = defineComponent({
|
|
|
14236
14237
|
startTime.value = props.start + currentPlayTime.value;
|
|
14237
14238
|
isPlaying.value = !isPlaying.value;
|
|
14238
14239
|
} else {
|
|
14240
|
+
console.log("\u6682\u505C\u5F00\u59CBinit");
|
|
14239
14241
|
init();
|
|
14240
14242
|
}
|
|
14241
14243
|
};
|
|
@@ -14245,6 +14247,7 @@ const VideoPlayBack = defineComponent({
|
|
|
14245
14247
|
const passedTime = Math.round(fullDuration.value * (percent / 100));
|
|
14246
14248
|
currentPlayTime.value = passedTime;
|
|
14247
14249
|
startTime.value = props.start + passedTime;
|
|
14250
|
+
console.log("\u6EDA\u52A8\u6761init");
|
|
14248
14251
|
init();
|
|
14249
14252
|
};
|
|
14250
14253
|
const stopStream = (video = dom.value) => {
|
|
@@ -14264,6 +14267,7 @@ const VideoPlayBack = defineComponent({
|
|
|
14264
14267
|
currentPlayTime.value = 0;
|
|
14265
14268
|
startTime.value = props.start;
|
|
14266
14269
|
stopStream(`${o + props.cameraCode}`);
|
|
14270
|
+
console.log("watch init", props.cameraId);
|
|
14267
14271
|
init();
|
|
14268
14272
|
}
|
|
14269
14273
|
});
|
|
@@ -14271,7 +14275,8 @@ const VideoPlayBack = defineComponent({
|
|
|
14271
14275
|
timeChange
|
|
14272
14276
|
});
|
|
14273
14277
|
onMounted(() => {
|
|
14274
|
-
if (props.autoPlay) {
|
|
14278
|
+
if (props.autoPlay && props.cameraId) {
|
|
14279
|
+
console.log("\u81EA\u52A8\u64AD\u653Einit");
|
|
14275
14280
|
init();
|
|
14276
14281
|
}
|
|
14277
14282
|
});
|