@newview/ui 1.1.33 → 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 +4 -0
- package/dist/newview-ui.js +8 -3
- 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) {
|
|
@@ -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(() => {
|