inl-ui 0.1.149 → 0.1.151

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.
@@ -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");
@@ -17267,11 +17268,12 @@ const VideoPlayBack = vue.defineComponent({
17267
17268
  });
17268
17269
  vue.onMounted(() => {
17269
17270
  if (props.autoPlay && props.cameraId) {
17270
- console.log("\u81EA\u52A8\u64AD\u653Einit");
17271
+ console.log("\u81EA\u52A8\u64AD\u653Einit", props.cameraId, dayjs__default["default"](props.start).format("YYYY-MM-DD HH:mm:ss"));
17271
17272
  init();
17272
17273
  }
17273
17274
  });
17274
17275
  vue.onBeforeUnmount(() => {
17276
+ console.log("onBeforeUnmount");
17275
17277
  stopStream();
17276
17278
  });
17277
17279
  return () => vue.createVNode("div", {
@@ -17315,7 +17317,7 @@ const VideoPlayBack = vue.defineComponent({
17315
17317
  "tooltipVisible": false,
17316
17318
  "value": currentPlayPercent.value,
17317
17319
  "onUpdate:value": $event => currentPlayPercent.value = $event,
17318
- "onAfterChange": handleSetTime
17320
+ "onAfterChange": () => handleSetTime()
17319
17321
  }, null), vue.createVNode("span", {
17320
17322
  "class": "duration"
17321
17323
  }, [formatTime(fullDuration.value)])]), vue.createVNode("span", {
@@ -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");
@@ -17238,11 +17239,12 @@ const VideoPlayBack = defineComponent({
17238
17239
  });
17239
17240
  onMounted(() => {
17240
17241
  if (props.autoPlay && props.cameraId) {
17241
- console.log("\u81EA\u52A8\u64AD\u653Einit");
17242
+ console.log("\u81EA\u52A8\u64AD\u653Einit", props.cameraId, dayjs(props.start).format("YYYY-MM-DD HH:mm:ss"));
17242
17243
  init();
17243
17244
  }
17244
17245
  });
17245
17246
  onBeforeUnmount(() => {
17247
+ console.log("onBeforeUnmount");
17246
17248
  stopStream();
17247
17249
  });
17248
17250
  return () => createVNode("div", {
@@ -17286,7 +17288,7 @@ const VideoPlayBack = defineComponent({
17286
17288
  "tooltipVisible": false,
17287
17289
  "value": currentPlayPercent.value,
17288
17290
  "onUpdate:value": $event => currentPlayPercent.value = $event,
17289
- "onAfterChange": handleSetTime
17291
+ "onAfterChange": () => handleSetTime()
17290
17292
  }, null), createVNode("span", {
17291
17293
  "class": "duration"
17292
17294
  }, [formatTime(fullDuration.value)])]), createVNode("span", {
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.148";
48
+ var version = "0.1.150";
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");
@@ -18253,11 +18254,12 @@ const VideoPlayBack = vue.defineComponent({
18253
18254
  });
18254
18255
  vue.onMounted(() => {
18255
18256
  if (props.autoPlay && props.cameraId) {
18256
- console.log("\u81EA\u52A8\u64AD\u653Einit");
18257
+ console.log("\u81EA\u52A8\u64AD\u653Einit", props.cameraId, dayjs__default["default"](props.start).format("YYYY-MM-DD HH:mm:ss"));
18257
18258
  init();
18258
18259
  }
18259
18260
  });
18260
18261
  vue.onBeforeUnmount(() => {
18262
+ console.log("onBeforeUnmount");
18261
18263
  stopStream();
18262
18264
  });
18263
18265
  return () => vue.createVNode("div", {
@@ -18301,7 +18303,7 @@ const VideoPlayBack = vue.defineComponent({
18301
18303
  "tooltipVisible": false,
18302
18304
  "value": currentPlayPercent.value,
18303
18305
  "onUpdate:value": $event => currentPlayPercent.value = $event,
18304
- "onAfterChange": handleSetTime
18306
+ "onAfterChange": () => handleSetTime()
18305
18307
  }, null), vue.createVNode("span", {
18306
18308
  "class": "duration"
18307
18309
  }, [formatTime(fullDuration.value)])]), vue.createVNode("span", {
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.148";
14
+ var version = "0.1.150";
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.148";
17
+ var version = "0.1.150";
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");
@@ -18222,11 +18223,12 @@ const VideoPlayBack = defineComponent({
18222
18223
  });
18223
18224
  onMounted(() => {
18224
18225
  if (props.autoPlay && props.cameraId) {
18225
- console.log("\u81EA\u52A8\u64AD\u653Einit");
18226
+ console.log("\u81EA\u52A8\u64AD\u653Einit", props.cameraId, dayjs(props.start).format("YYYY-MM-DD HH:mm:ss"));
18226
18227
  init();
18227
18228
  }
18228
18229
  });
18229
18230
  onBeforeUnmount(() => {
18231
+ console.log("onBeforeUnmount");
18230
18232
  stopStream();
18231
18233
  });
18232
18234
  return () => createVNode("div", {
@@ -18270,7 +18272,7 @@ const VideoPlayBack = defineComponent({
18270
18272
  "tooltipVisible": false,
18271
18273
  "value": currentPlayPercent.value,
18272
18274
  "onUpdate:value": $event => currentPlayPercent.value = $event,
18273
- "onAfterChange": handleSetTime
18275
+ "onAfterChange": () => handleSetTime()
18274
18276
  }, null), createVNode("span", {
18275
18277
  "class": "duration"
18276
18278
  }, [formatTime(fullDuration.value)])]), createVNode("span", {
@@ -9,6 +9,7 @@ var core = require('@vueuse/core');
9
9
  var lodash = require('lodash');
10
10
  var mqtt = require('mqtt');
11
11
  var vueRouter = require('vue-router');
12
+ var dayjs = require('dayjs');
12
13
 
13
14
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
15
 
@@ -32,6 +33,7 @@ function _interopNamespace(e) {
32
33
 
33
34
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios$3);
34
35
  var mqtt__default = /*#__PURE__*/_interopDefaultLegacy(mqtt);
36
+ var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
35
37
 
36
38
  const config = {
37
39
  prefix: "inl",
@@ -14067,6 +14069,7 @@ class WebRtcMt {
14067
14069
  rePlay(videoElm) {
14068
14070
  const dom = document.getElementById(videoElm);
14069
14071
  this.stopPlay();
14072
+ console.log("dom", dom, videoElm);
14070
14073
  if (dom) {
14071
14074
  setTimeout(() => {
14072
14075
  console.log("\u91CD\u65B0\u62C9\u6D41");
@@ -14302,11 +14305,12 @@ const VideoPlayBack = vue.defineComponent({
14302
14305
  });
14303
14306
  vue.onMounted(() => {
14304
14307
  if (props.autoPlay && props.cameraId) {
14305
- console.log("\u81EA\u52A8\u64AD\u653Einit");
14308
+ console.log("\u81EA\u52A8\u64AD\u653Einit", props.cameraId, dayjs__default["default"](props.start).format("YYYY-MM-DD HH:mm:ss"));
14306
14309
  init();
14307
14310
  }
14308
14311
  });
14309
14312
  vue.onBeforeUnmount(() => {
14313
+ console.log("onBeforeUnmount");
14310
14314
  stopStream();
14311
14315
  });
14312
14316
  return () => vue.createVNode("div", {
@@ -14350,7 +14354,7 @@ const VideoPlayBack = vue.defineComponent({
14350
14354
  "tooltipVisible": false,
14351
14355
  "value": currentPlayPercent.value,
14352
14356
  "onUpdate:value": $event => currentPlayPercent.value = $event,
14353
- "onAfterChange": handleSetTime
14357
+ "onAfterChange": () => handleSetTime()
14354
14358
  }, null), vue.createVNode("span", {
14355
14359
  "class": "duration"
14356
14360
  }, [formatTime(fullDuration.value)])]), vue.createVNode("span", {
@@ -5,6 +5,7 @@ import { resolveRef, useFullscreen, useMouseInElement } from '@vueuse/core';
5
5
  import { cloneDeep } from 'lodash';
6
6
  import mqtt from 'mqtt';
7
7
  import { useRouter } from 'vue-router';
8
+ import dayjs from 'dayjs';
8
9
 
9
10
  const config = {
10
11
  prefix: "inl",
@@ -14040,6 +14041,7 @@ class WebRtcMt {
14040
14041
  rePlay(videoElm) {
14041
14042
  const dom = document.getElementById(videoElm);
14042
14043
  this.stopPlay();
14044
+ console.log("dom", dom, videoElm);
14043
14045
  if (dom) {
14044
14046
  setTimeout(() => {
14045
14047
  console.log("\u91CD\u65B0\u62C9\u6D41");
@@ -14275,11 +14277,12 @@ const VideoPlayBack = defineComponent({
14275
14277
  });
14276
14278
  onMounted(() => {
14277
14279
  if (props.autoPlay && props.cameraId) {
14278
- console.log("\u81EA\u52A8\u64AD\u653Einit");
14280
+ console.log("\u81EA\u52A8\u64AD\u653Einit", props.cameraId, dayjs(props.start).format("YYYY-MM-DD HH:mm:ss"));
14279
14281
  init();
14280
14282
  }
14281
14283
  });
14282
14284
  onBeforeUnmount(() => {
14285
+ console.log("onBeforeUnmount");
14283
14286
  stopStream();
14284
14287
  });
14285
14288
  return () => createVNode("div", {
@@ -14323,7 +14326,7 @@ const VideoPlayBack = defineComponent({
14323
14326
  "tooltipVisible": false,
14324
14327
  "value": currentPlayPercent.value,
14325
14328
  "onUpdate:value": $event => currentPlayPercent.value = $event,
14326
- "onAfterChange": handleSetTime
14329
+ "onAfterChange": () => handleSetTime()
14327
14330
  }, null), createVNode("span", {
14328
14331
  "class": "duration"
14329
14332
  }, [formatTime(fullDuration.value)])]), createVNode("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.149",
3
+ "version": "0.1.151",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",