@shijiu/jsview-vue 1.9.872 → 1.9.873

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from "./utils/JsViewEngineWidget";
2
- // export * from "./utils/JsViewPlugin";
2
+ export * from "./utils/JsViewPlugin";
3
3
  export * from "./utils/JsViewVueTools";
4
4
  export * from "./utils/JsViewVueWidget";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from "./utils/JsViewEngineWidget";
2
- // export * from "./utils/JsViewPlugin";
2
+ export * from "./utils/JsViewPlugin";
3
3
  export * from "./utils/JsViewVueTools";
4
4
  export * from "./utils/JsViewVueWidget";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shijiu/jsview-vue",
3
- "version": "1.9.872",
3
+ "version": "1.9.873",
4
4
  "license": "MIT",
5
5
  "repository": "system/jsview-framework",
6
6
  "author": "mengxk",
@@ -1,5 +1,5 @@
1
1
  //考虑到.vue文件除了export default的component外,还有可能export其他对象,因此使用import * as
2
- import * as JsvPlayer from "./JsvPlayer.vue";
2
+ import { default as JsvPlayer } from "./JsvPlayer.vue";
3
3
  import { globalLoadJsvPlayerPlugin as initPlugin } from "./JsvMedia.js"
4
4
  import { getJsvPlayerCapabilitySet as getCapabilitySet } from "./JsvMedia.js"
5
5
  import { setJsvPlayerDebugMode as setDebugMode } from "./JsvMedia.js"
@@ -41,10 +41,8 @@ if (window.jsvIsBrowserDebug) {
41
41
  }
42
42
  }
43
43
 
44
- let component = _JsvPlayer.default;
45
-
46
- export default component;
47
44
  export {
45
+ _JsvPlayer as JsvPlayer,
48
46
  globalLoadJsvPlayerPlugin, // 全局初始化播放器插件处理
49
47
  getJsvPlayerCapabilitySet, //获取设备能力集
50
48
  setJsvPlayerDebugMode, //设置调试模式,可以查看帧率等信息
@@ -14,6 +14,5 @@ let PluginInfo={
14
14
  md5:"77f0b26e2751998e94220df133bd9b3e"
15
15
  };
16
16
 
17
- // 不要用export default,update-env脚本不能解析
18
17
  // 导出字段要含有 pluginVersionInfo 信息,作为npm时版本参考
19
- module.exports = PluginInfo;
18
+ export default PluginInfo;
@@ -0,0 +1 @@
1
+ declare module '*.js'
@@ -0,0 +1,2 @@
1
+ export { default as JsvAccount } from "./JsvAccount/JsvAccount";
2
+ export * from "./JsvPlayer";