@newview/ui 1.1.32 → 1.1.34

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/README.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### 1.1.34
2
+
3
+ 1、海康安防平台组件插件安装提示修改
4
+
5
+ ### 1.1.33
6
+
7
+ 1、海康安防平台电视墙组件
1
8
 
2
9
  ### 1.1.27
3
10
 
@@ -5,7 +12,7 @@
5
12
 
6
13
  ### 1.1.26
7
14
 
8
- 1、NvModal 组件增加唯一id
15
+ 1、NvModal 组件增加唯一 id
9
16
 
10
17
  ### 1.1.25
11
18
 
@@ -212022,9 +212022,22 @@ let Instance$1 = class Instance2 extends BaseInstance {
212022
212022
  });
212023
212023
  __publicField2(this, "initCamerasIsSuccess", false);
212024
212024
  __publicField2(this, "disposeHandle", () => {
212025
- this.vedioHandle.JS_DestroyWnd().then(() => {
212026
- console.log("销毁完成");
212027
- });
212025
+ if (this.vedioHandle) {
212026
+ this.vedioHandle.JS_HideWnd();
212027
+ this.vedioHandle.JS_DestroyWnd().then(() => {
212028
+ console.log("销毁完成");
212029
+ });
212030
+ }
212031
+ });
212032
+ __publicField2(this, "HideWnd", () => {
212033
+ if (this.vedioHandle) {
212034
+ this.vedioHandle.JS_HideWnd();
212035
+ }
212036
+ });
212037
+ __publicField2(this, "ShowWnd", () => {
212038
+ if (this.vedioHandle) {
212039
+ this.vedioHandle.JS_ShowWnd();
212040
+ }
212028
212041
  });
212029
212042
  __publicField2(this, "initialsWall", () => {
212030
212043
  if (this.configDataNew.encryptedFields == "") {
@@ -212136,16 +212149,6 @@ let Instance$1 = class Instance2 extends BaseInstance {
212136
212149
  this.appendMultipCameraInPanel();
212137
212150
  }
212138
212151
  }
212139
- HideWnd() {
212140
- if (this.vedioHandle) {
212141
- this.vedioHandle.JS_HideWnd();
212142
- }
212143
- }
212144
- ShowWnd() {
212145
- if (this.vedioHandle) {
212146
- this.vedioHandle.JS_ShowWnd();
212147
- }
212148
- }
212149
212152
  resize() {
212150
212153
  this.setVideoCrl();
212151
212154
  this.CameraRefreshPosition();
@@ -212174,6 +212177,7 @@ let Instance$1 = class Instance2 extends BaseInstance {
212174
212177
  height
212175
212178
  };
212176
212179
  }
212180
+ // setConfigData()=>
212177
212181
  initialHandle() {
212178
212182
  this.vedioHandle = new window["WebControl"]({
212179
212183
  // 创建 WebControl 实例
@@ -212213,6 +212217,7 @@ let Instance$1 = class Instance2 extends BaseInstance {
212213
212217
  this.vedioHandle = null;
212214
212218
  $("#" + this.hkvideoEleId).html("插件未启动,正在尝试启动,请稍候...");
212215
212219
  window["WebControl"].JS_WakeUp("VideoWebPlugin://");
212220
+ $("#" + this.hkvideoEleId).css("visibility", "visible");
212216
212221
  this.initCount++;
212217
212222
  if (this.initCount < 3) {
212218
212223
  setTimeout(() => {
@@ -212355,6 +212360,20 @@ class Instance extends BaseInstance {
212355
212360
  console.log("销毁完成");
212356
212361
  });
212357
212362
  });
212363
+ __publicField2(this, "HideWnd", () => {
212364
+ if (this.vedioHandle) {
212365
+ this.vedioHandle.JS_HideWnd();
212366
+ }
212367
+ });
212368
+ __publicField2(this, "ShowWnd", () => {
212369
+ if (this.vedioHandle) {
212370
+ this.vedioHandle.JS_ShowWnd();
212371
+ }
212372
+ });
212373
+ __publicField2(this, "destroyed", () => {
212374
+ this.HideWnd();
212375
+ this.disposeHandle();
212376
+ });
212358
212377
  __publicField2(this, "initialsWall", () => {
212359
212378
  if (this.configDataNew.encryptedFields == "") {
212360
212379
  this.configDataNew.appkey = this.setEncrypt(this.configDataNew.appkey);
@@ -212481,20 +212500,6 @@ class Instance extends BaseInstance {
212481
212500
  this.disposeHandle();
212482
212501
  });
212483
212502
  }
212484
- HideWnd() {
212485
- if (this.vedioHandle) {
212486
- this.vedioHandle.JS_HideWnd();
212487
- }
212488
- }
212489
- ShowWnd() {
212490
- if (this.vedioHandle) {
212491
- this.vedioHandle.JS_ShowWnd();
212492
- }
212493
- }
212494
- destroyed() {
212495
- this.HideWnd();
212496
- this.disposeHandle();
212497
- }
212498
212503
  // 响应式方法 | xxx = () => {}
212499
212504
  initialHandle() {
212500
212505
  this.vedioHandle = new window["WebControl"]({