@newview/ui 1.1.33 → 1.1.35
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 +8 -0
- package/dist/newview-ui.js +13 -7
- package/dist/newview-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/newview-ui.js
CHANGED
|
@@ -212022,9 +212022,12 @@ let Instance$1 = class Instance2 extends BaseInstance {
|
|
|
212022
212022
|
});
|
|
212023
212023
|
__publicField2(this, "initCamerasIsSuccess", false);
|
|
212024
212024
|
__publicField2(this, "disposeHandle", () => {
|
|
212025
|
-
this.vedioHandle
|
|
212026
|
-
|
|
212027
|
-
|
|
212025
|
+
if (this.vedioHandle) {
|
|
212026
|
+
this.vedioHandle.JS_HideWnd();
|
|
212027
|
+
this.vedioHandle.JS_DestroyWnd().then(() => {
|
|
212028
|
+
console.log("销毁完成");
|
|
212029
|
+
});
|
|
212030
|
+
}
|
|
212028
212031
|
});
|
|
212029
212032
|
__publicField2(this, "HideWnd", () => {
|
|
212030
212033
|
if (this.vedioHandle) {
|
|
@@ -212036,6 +212039,11 @@ let Instance$1 = class Instance2 extends BaseInstance {
|
|
|
212036
212039
|
this.vedioHandle.JS_ShowWnd();
|
|
212037
212040
|
}
|
|
212038
212041
|
});
|
|
212042
|
+
__publicField2(this, "resize", () => {
|
|
212043
|
+
console.log("resize", "屏幕变化");
|
|
212044
|
+
this.setVideoCrl();
|
|
212045
|
+
this.CameraRefreshPosition();
|
|
212046
|
+
});
|
|
212039
212047
|
__publicField2(this, "initialsWall", () => {
|
|
212040
212048
|
if (this.configDataNew.encryptedFields == "") {
|
|
212041
212049
|
this.configDataNew.appkey = this.setEncrypt(this.configDataNew.appkey);
|
|
@@ -212146,10 +212154,6 @@ let Instance$1 = class Instance2 extends BaseInstance {
|
|
|
212146
212154
|
this.appendMultipCameraInPanel();
|
|
212147
212155
|
}
|
|
212148
212156
|
}
|
|
212149
|
-
resize() {
|
|
212150
|
-
this.setVideoCrl();
|
|
212151
|
-
this.CameraRefreshPosition();
|
|
212152
|
-
}
|
|
212153
212157
|
createScript(src2, id2) {
|
|
212154
212158
|
const script = document.createElement("script");
|
|
212155
212159
|
script.setAttribute("async", "async");
|
|
@@ -212174,6 +212178,7 @@ let Instance$1 = class Instance2 extends BaseInstance {
|
|
|
212174
212178
|
height
|
|
212175
212179
|
};
|
|
212176
212180
|
}
|
|
212181
|
+
// setConfigData()=>
|
|
212177
212182
|
initialHandle() {
|
|
212178
212183
|
this.vedioHandle = new window["WebControl"]({
|
|
212179
212184
|
// 创建 WebControl 实例
|
|
@@ -212213,6 +212218,7 @@ let Instance$1 = class Instance2 extends BaseInstance {
|
|
|
212213
212218
|
this.vedioHandle = null;
|
|
212214
212219
|
$("#" + this.hkvideoEleId).html("插件未启动,正在尝试启动,请稍候...");
|
|
212215
212220
|
window["WebControl"].JS_WakeUp("VideoWebPlugin://");
|
|
212221
|
+
$("#" + this.hkvideoEleId).css("visibility", "visible");
|
|
212216
212222
|
this.initCount++;
|
|
212217
212223
|
if (this.initCount < 3) {
|
|
212218
212224
|
setTimeout(() => {
|