inl-ui 0.1.132 → 0.1.133

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.
@@ -9738,6 +9738,7 @@ const VideoBoxV2 = vue.defineComponent({
9738
9738
  }]];
9739
9739
  const infos = vue.ref([]);
9740
9740
  const uuid = vue.ref(UUID());
9741
+ let Mqtt = null;
9741
9742
  vue.onMounted(() => {
9742
9743
  showInfo.value = _prop.showInfo;
9743
9744
  });
@@ -9817,6 +9818,7 @@ const VideoBoxV2 = vue.defineComponent({
9817
9818
  streams.value = JSON.parse(camera.value?.brandTypePo?.streamTypeDict || "[]");
9818
9819
  console.log("vlmSwitchKey.value", vlmSwitchKey.value);
9819
9820
  console.log("localStorage.getItem(vlmSwitchKey.value)", localStorage.getItem(vlmSwitchKey.value));
9821
+ clearFlogCanvas();
9820
9822
  if (localStorage.getItem(vlmSwitchKey.value) !== "false") {
9821
9823
  showVlmInfo.value = true;
9822
9824
  if (camera.value?.ip && showVlmInfo.value) {
@@ -9947,6 +9949,11 @@ const VideoBoxV2 = vue.defineComponent({
9947
9949
  }
9948
9950
  };
9949
9951
  vue.watch(() => _prop.camera, val => {
9952
+ if (Mqtt) {
9953
+ console.log(`\u53D6\u6D88\u8BA2\u9605:${topic.value}`);
9954
+ Mqtt?.unsubscribe(topic.value);
9955
+ Mqtt = null;
9956
+ }
9950
9957
  if (val && Object.keys(val).length != 0) {
9951
9958
  setNewCamera(val);
9952
9959
  }
@@ -9993,7 +10000,6 @@ const VideoBoxV2 = vue.defineComponent({
9993
10000
  }, null) : ""])]
9994
10001
  });
9995
10002
  };
9996
- let Mqtt = null;
9997
10003
  const topic = vue.ref("");
9998
10004
  const {
9999
10005
  isFullscreen,
@@ -9709,6 +9709,7 @@ const VideoBoxV2 = defineComponent({
9709
9709
  }]];
9710
9710
  const infos = ref([]);
9711
9711
  const uuid = ref(UUID());
9712
+ let Mqtt = null;
9712
9713
  onMounted(() => {
9713
9714
  showInfo.value = _prop.showInfo;
9714
9715
  });
@@ -9788,6 +9789,7 @@ const VideoBoxV2 = defineComponent({
9788
9789
  streams.value = JSON.parse(camera.value?.brandTypePo?.streamTypeDict || "[]");
9789
9790
  console.log("vlmSwitchKey.value", vlmSwitchKey.value);
9790
9791
  console.log("localStorage.getItem(vlmSwitchKey.value)", localStorage.getItem(vlmSwitchKey.value));
9792
+ clearFlogCanvas();
9791
9793
  if (localStorage.getItem(vlmSwitchKey.value) !== "false") {
9792
9794
  showVlmInfo.value = true;
9793
9795
  if (camera.value?.ip && showVlmInfo.value) {
@@ -9918,6 +9920,11 @@ const VideoBoxV2 = defineComponent({
9918
9920
  }
9919
9921
  };
9920
9922
  watch(() => _prop.camera, val => {
9923
+ if (Mqtt) {
9924
+ console.log(`\u53D6\u6D88\u8BA2\u9605:${topic.value}`);
9925
+ Mqtt?.unsubscribe(topic.value);
9926
+ Mqtt = null;
9927
+ }
9921
9928
  if (val && Object.keys(val).length != 0) {
9922
9929
  setNewCamera(val);
9923
9930
  }
@@ -9964,7 +9971,6 @@ const VideoBoxV2 = defineComponent({
9964
9971
  }, null) : ""])]
9965
9972
  });
9966
9973
  };
9967
- let Mqtt = null;
9968
9974
  const topic = ref("");
9969
9975
  const {
9970
9976
  isFullscreen,
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.131";
48
+ var version = "0.1.132";
49
49
 
50
50
  const setTheme = theme => {
51
51
  if (theme === "dark") {
@@ -10724,6 +10724,7 @@ const VideoBoxV2 = vue.defineComponent({
10724
10724
  }]];
10725
10725
  const infos = vue.ref([]);
10726
10726
  const uuid = vue.ref(UUID());
10727
+ let Mqtt = null;
10727
10728
  vue.onMounted(() => {
10728
10729
  showInfo.value = _prop.showInfo;
10729
10730
  });
@@ -10803,6 +10804,7 @@ const VideoBoxV2 = vue.defineComponent({
10803
10804
  streams.value = JSON.parse(camera.value?.brandTypePo?.streamTypeDict || "[]");
10804
10805
  console.log("vlmSwitchKey.value", vlmSwitchKey.value);
10805
10806
  console.log("localStorage.getItem(vlmSwitchKey.value)", localStorage.getItem(vlmSwitchKey.value));
10807
+ clearFlogCanvas();
10806
10808
  if (localStorage.getItem(vlmSwitchKey.value) !== "false") {
10807
10809
  showVlmInfo.value = true;
10808
10810
  if (camera.value?.ip && showVlmInfo.value) {
@@ -10933,6 +10935,11 @@ const VideoBoxV2 = vue.defineComponent({
10933
10935
  }
10934
10936
  };
10935
10937
  vue.watch(() => _prop.camera, val => {
10938
+ if (Mqtt) {
10939
+ console.log(`\u53D6\u6D88\u8BA2\u9605:${topic.value}`);
10940
+ Mqtt?.unsubscribe(topic.value);
10941
+ Mqtt = null;
10942
+ }
10936
10943
  if (val && Object.keys(val).length != 0) {
10937
10944
  setNewCamera(val);
10938
10945
  }
@@ -10979,7 +10986,6 @@ const VideoBoxV2 = vue.defineComponent({
10979
10986
  }, null) : ""])]
10980
10987
  });
10981
10988
  };
10982
- let Mqtt = null;
10983
10989
  const topic = vue.ref("");
10984
10990
  const {
10985
10991
  isFullscreen,
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.131";
14
+ var version = "0.1.132";
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.131";
17
+ var version = "0.1.132";
18
18
 
19
19
  const setTheme = theme => {
20
20
  if (theme === "dark") {
@@ -10693,6 +10693,7 @@ const VideoBoxV2 = defineComponent({
10693
10693
  }]];
10694
10694
  const infos = ref([]);
10695
10695
  const uuid = ref(UUID());
10696
+ let Mqtt = null;
10696
10697
  onMounted(() => {
10697
10698
  showInfo.value = _prop.showInfo;
10698
10699
  });
@@ -10772,6 +10773,7 @@ const VideoBoxV2 = defineComponent({
10772
10773
  streams.value = JSON.parse(camera.value?.brandTypePo?.streamTypeDict || "[]");
10773
10774
  console.log("vlmSwitchKey.value", vlmSwitchKey.value);
10774
10775
  console.log("localStorage.getItem(vlmSwitchKey.value)", localStorage.getItem(vlmSwitchKey.value));
10776
+ clearFlogCanvas();
10775
10777
  if (localStorage.getItem(vlmSwitchKey.value) !== "false") {
10776
10778
  showVlmInfo.value = true;
10777
10779
  if (camera.value?.ip && showVlmInfo.value) {
@@ -10902,6 +10904,11 @@ const VideoBoxV2 = defineComponent({
10902
10904
  }
10903
10905
  };
10904
10906
  watch(() => _prop.camera, val => {
10907
+ if (Mqtt) {
10908
+ console.log(`\u53D6\u6D88\u8BA2\u9605:${topic.value}`);
10909
+ Mqtt?.unsubscribe(topic.value);
10910
+ Mqtt = null;
10911
+ }
10905
10912
  if (val && Object.keys(val).length != 0) {
10906
10913
  setNewCamera(val);
10907
10914
  }
@@ -10948,7 +10955,6 @@ const VideoBoxV2 = defineComponent({
10948
10955
  }, null) : ""])]
10949
10956
  });
10950
10957
  };
10951
- let Mqtt = null;
10952
10958
  const topic = ref("");
10953
10959
  const {
10954
10960
  isFullscreen,
@@ -6777,6 +6777,7 @@ const VideoBoxV2 = vue.defineComponent({
6777
6777
  }]];
6778
6778
  const infos = vue.ref([]);
6779
6779
  const uuid = vue.ref(UUID());
6780
+ let Mqtt = null;
6780
6781
  vue.onMounted(() => {
6781
6782
  showInfo.value = _prop.showInfo;
6782
6783
  });
@@ -6856,6 +6857,7 @@ const VideoBoxV2 = vue.defineComponent({
6856
6857
  streams.value = JSON.parse(camera.value?.brandTypePo?.streamTypeDict || "[]");
6857
6858
  console.log("vlmSwitchKey.value", vlmSwitchKey.value);
6858
6859
  console.log("localStorage.getItem(vlmSwitchKey.value)", localStorage.getItem(vlmSwitchKey.value));
6860
+ clearFlogCanvas();
6859
6861
  if (localStorage.getItem(vlmSwitchKey.value) !== "false") {
6860
6862
  showVlmInfo.value = true;
6861
6863
  if (camera.value?.ip && showVlmInfo.value) {
@@ -6986,6 +6988,11 @@ const VideoBoxV2 = vue.defineComponent({
6986
6988
  }
6987
6989
  };
6988
6990
  vue.watch(() => _prop.camera, val => {
6991
+ if (Mqtt) {
6992
+ console.log(`\u53D6\u6D88\u8BA2\u9605:${topic.value}`);
6993
+ Mqtt?.unsubscribe(topic.value);
6994
+ Mqtt = null;
6995
+ }
6989
6996
  if (val && Object.keys(val).length != 0) {
6990
6997
  setNewCamera(val);
6991
6998
  }
@@ -7032,7 +7039,6 @@ const VideoBoxV2 = vue.defineComponent({
7032
7039
  }, null) : ""])]
7033
7040
  });
7034
7041
  };
7035
- let Mqtt = null;
7036
7042
  const topic = vue.ref("");
7037
7043
  const {
7038
7044
  isFullscreen,
@@ -6750,6 +6750,7 @@ const VideoBoxV2 = defineComponent({
6750
6750
  }]];
6751
6751
  const infos = ref([]);
6752
6752
  const uuid = ref(UUID());
6753
+ let Mqtt = null;
6753
6754
  onMounted(() => {
6754
6755
  showInfo.value = _prop.showInfo;
6755
6756
  });
@@ -6829,6 +6830,7 @@ const VideoBoxV2 = defineComponent({
6829
6830
  streams.value = JSON.parse(camera.value?.brandTypePo?.streamTypeDict || "[]");
6830
6831
  console.log("vlmSwitchKey.value", vlmSwitchKey.value);
6831
6832
  console.log("localStorage.getItem(vlmSwitchKey.value)", localStorage.getItem(vlmSwitchKey.value));
6833
+ clearFlogCanvas();
6832
6834
  if (localStorage.getItem(vlmSwitchKey.value) !== "false") {
6833
6835
  showVlmInfo.value = true;
6834
6836
  if (camera.value?.ip && showVlmInfo.value) {
@@ -6959,6 +6961,11 @@ const VideoBoxV2 = defineComponent({
6959
6961
  }
6960
6962
  };
6961
6963
  watch(() => _prop.camera, val => {
6964
+ if (Mqtt) {
6965
+ console.log(`\u53D6\u6D88\u8BA2\u9605:${topic.value}`);
6966
+ Mqtt?.unsubscribe(topic.value);
6967
+ Mqtt = null;
6968
+ }
6962
6969
  if (val && Object.keys(val).length != 0) {
6963
6970
  setNewCamera(val);
6964
6971
  }
@@ -7005,7 +7012,6 @@ const VideoBoxV2 = defineComponent({
7005
7012
  }, null) : ""])]
7006
7013
  });
7007
7014
  };
7008
- let Mqtt = null;
7009
7015
  const topic = ref("");
7010
7016
  const {
7011
7017
  isFullscreen,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.132",
3
+ "version": "0.1.133",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",