@shijiu/jsview-vue 2.3.151-test.0 → 3.0.0-test.0

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.
Files changed (244) hide show
  1. package/bin/browser/BrowserAudio.mjs +200 -0
  2. package/bin/browser/BrowserJsvLatex.mjs +61 -0
  3. package/bin/export-sfc.mjs +8 -9
  4. package/bin/jsview-vue-common.mjs +9 -35
  5. package/bin/jsview-vue.mjs +22246 -23643
  6. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +9 -71
  7. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +18 -2
  8. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
  9. package/bin/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +10 -7
  10. package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +19 -178
  11. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +19 -178
  12. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +24 -3
  13. package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
  14. package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +25 -5
  15. package/bin/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +9 -47
  16. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
  17. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
  18. package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
  19. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +40 -0
  20. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
  21. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
  22. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
  23. package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +2 -1
  24. package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
  25. package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +6 -4
  26. package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
  27. package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +17 -7
  28. package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
  29. package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +140 -7
  30. package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +12 -11
  31. package/bin/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +10 -10
  32. package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +204 -17
  33. package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +2 -1
  34. package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +11 -11
  35. package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.ts +11 -11
  36. package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
  37. package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +75 -12
  38. package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
  39. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +88 -13
  40. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
  41. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +5 -1
  42. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +39 -12
  43. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +120 -17
  44. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
  45. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +108 -29
  46. package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +8 -7
  47. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +614 -0
  48. package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +36 -34
  49. package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +89 -30
  50. package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +89 -30
  51. package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +11 -11
  52. package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
  53. package/bin/types/utils/JsViewVueTools/DebugTool.d.ts +1 -1
  54. package/bin/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +7 -7
  55. package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
  56. package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
  57. package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +3 -3
  58. package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
  59. package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
  60. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
  61. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
  62. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
  63. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +2 -0
  64. package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +76 -26
  65. package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
  66. package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
  67. package/bin/types/utils/JsViewVueTools/index.d.ts +4 -1
  68. package/bin/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +10 -98
  69. package/bin/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +10 -114
  70. package/bin/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +20 -61
  71. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +44 -13
  72. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +12 -11
  73. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +5 -5
  74. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +16 -10
  75. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +21 -17
  76. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +19 -16
  77. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +7 -7
  78. package/bin/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +12 -66
  79. package/bin/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +73 -12
  80. package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +59 -10
  81. package/bin/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +41 -81
  82. package/bin/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +17 -100
  83. package/bin/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +13 -50
  84. package/bin/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +50 -70
  85. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +32 -68
  86. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +57 -74
  87. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +41 -71
  88. package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +83 -14
  89. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
  90. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +79 -83
  91. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +70 -0
  92. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +20 -0
  93. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +108 -5
  94. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +88 -3
  95. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +6 -1
  96. package/bin/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +19 -18
  97. package/bin/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +34 -11
  98. package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
  99. package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +193 -6
  100. package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +54 -11
  101. package/bin/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +89 -11
  102. package/bin/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +9 -8
  103. package/bin/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +2 -2
  104. package/bin/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +170 -138
  105. package/bin/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +5 -5
  106. package/bin/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +48 -72
  107. package/bin/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +139 -20
  108. package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +56 -8
  109. package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +20 -11
  110. package/bin/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +63 -11
  111. package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +8 -7
  112. package/bin/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +95 -12
  113. package/bin/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +2 -2
  114. package/bin/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +51 -78
  115. package/bin/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +5 -4
  116. package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +84 -193
  117. package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +23 -148
  118. package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +56 -9
  119. package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +22 -67
  120. package/bin/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +44 -10
  121. package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +47 -14
  122. package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +26 -67
  123. package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +7 -6
  124. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +147 -109
  125. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +173 -16
  126. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +216 -139
  127. package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +7 -6
  128. package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +101 -96
  129. package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +89 -74
  130. package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +21 -20
  131. package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +43 -70
  132. package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +6 -5
  133. package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +62 -82
  134. package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +95 -74
  135. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +51 -0
  136. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +105 -0
  137. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +51 -0
  138. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +105 -0
  139. package/bin/types/utils/JsViewVueWidget/index.d.ts +5 -3
  140. package/package.json +2 -2
  141. package/tools/jsview-vue-build.mjs +13 -9
  142. package/tsconfig.json +2 -2
  143. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
  144. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +24 -2
  145. package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
  146. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +183 -89
  147. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +269 -122
  148. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +989 -357
  149. package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
  150. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +138 -41
  151. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -0
  152. package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
  153. package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
  154. package/utils/JsViewEngineWidget/RectUtils.js +1 -1
  155. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +50 -0
  156. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
  157. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
  158. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
  159. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +342 -174
  160. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
  161. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +12 -5
  162. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
  163. package/utils/JsViewEngineWidget/WidgetCommon.ts +17 -7
  164. package/utils/JsViewEngineWidget/index.ts +7 -2
  165. package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
  166. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
  167. package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
  168. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +54 -12
  169. package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
  170. package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +15 -2
  171. package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
  172. package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
  173. package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
  174. package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
  175. package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
  176. package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
  177. package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +60 -10
  178. package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
  179. package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
  180. package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
  181. package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
  182. package/utils/JsViewVueTools/BlobApi.ts +55 -0
  183. package/utils/JsViewVueTools/FeatureActive.ts +3 -0
  184. package/utils/JsViewVueTools/ForgeHandles.ts +3 -0
  185. package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
  186. package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
  187. package/utils/JsViewVueTools/JsvRuntimeBridge.js +25 -18
  188. package/utils/JsViewVueTools/JsvTextTools.ts +9 -1
  189. package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
  190. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
  191. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
  192. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
  193. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +16 -1
  194. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +154 -69
  195. package/utils/JsViewVueTools/JsvTextureStore/Store.ts +1 -1
  196. package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
  197. package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
  198. package/utils/JsViewVueTools/index.js +3 -1
  199. package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
  200. package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +1 -1
  201. package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +11 -2
  202. package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +1 -1
  203. package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
  204. package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
  205. package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
  206. package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +23 -11
  207. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +242 -25
  208. package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +1 -1
  209. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +11 -5
  210. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +118 -6
  211. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +56 -14
  212. package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +2 -1
  213. package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
  214. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
  215. package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
  216. package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
  217. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
  218. package/utils/JsViewVueWidget/JsvNinePatch.vue +13 -8
  219. package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
  220. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +32 -29
  221. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
  222. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +25 -3
  223. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +0 -3
  224. package/utils/JsViewVueWidget/JsvSector.vue +66 -28
  225. package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
  226. package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
  227. package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
  228. package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
  229. package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
  230. package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
  231. package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
  232. package/utils/JsViewVueWidget/index.js +6 -2
  233. package/bin/browser/BrowserAudio.vue.mjs +0 -258
  234. package/bin/browser/BrowserJsvLatex.vue.mjs +0 -145
  235. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.ts +0 -10
  236. package/bin/types/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.d.ts +0 -7
  237. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +0 -78
  238. package/bin/types/utils/JsViewVueWidget/JsvPosterDiv.vue.d.ts +0 -63
  239. package/bin/types/utils/JsViewVueWidget/JsvPosterImage.vue.d.ts +0 -78
  240. package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
  241. package/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.ts +0 -36
  242. package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
  243. package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
  244. /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
@@ -0,0 +1,614 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ /**
5
+ * 回调函数,播放器对象通知接口
6
+ * @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
7
+ */
8
+ onRef: {
9
+ type: FunctionConstructor;
10
+ default: () => void;
11
+ };
12
+ /**
13
+ * 属性,Boolean类型,true表示自动播放,默认false。
14
+ */
15
+ autoplay: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ /**
20
+ * 属性,String类型,播放器实例索引,同样的key使用同一个播放器实例。
21
+ */
22
+ playerKey: {
23
+ type: StringConstructor;
24
+ default: null;
25
+ };
26
+ /**
27
+ * 属性,String类型,播放器窗口模式,默认resizable模式。
28
+ * full:观影模式,全屏方式,不建议修改w/h/l/t,视频清晰度/流畅度最佳;
29
+ * resizable:可变窗口模式,可以随意修改w/h/l/t,支持动画效果,视频清晰度/流畅度表现可能不如full模式;
30
+ * pip:画中画模式,只在支持多路硬解的情况下使用,用户画中画的小窗播放,对清晰度/流畅度要求较差,可能会有反交错问题。
31
+ */
32
+ windowMode: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ /**
37
+ * 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv播放器。默认2。
38
+ */
39
+ playerType: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ /**
44
+ * 属性,int类型,播放器解码方式。0:根据硬件能力自动匹配;1:硬解码;2:软解码。默认0(根据芯片能力自动匹配)。
45
+ */
46
+ decodeType: {
47
+ type: NumberConstructor;
48
+ default: number;
49
+ };
50
+ /**
51
+ * 属性,Boolean类型,层级关系,true表示在界面的下面,false表示在界面上面,默认true。
52
+ */
53
+ background: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ /**
58
+ * 属性,Boolean类型,true表示静音,默认false。
59
+ */
60
+ muted: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ /**
65
+ * 属性,Boolean类型,true表示循环播放,默认false。
66
+ */
67
+ loop: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ /**
72
+ * 属性,String类型,播放地址。
73
+ */
74
+ src: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ /**
79
+ * 属性,Double类型,起播时间,0-duration。
80
+ */
81
+ currentTime: {
82
+ type: NumberConstructor;
83
+ default: number;
84
+ };
85
+ /**
86
+ * 属性,Boolean类型,是否保留最后一帧,true保留,false不保留。
87
+ */
88
+ keepLastFrame: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ /**
93
+ * 属性,String类型,视频显示比例,origin原始比例显示,full全屏显示,x:y按照指定比例显示。
94
+ */
95
+ videoAspectRatio: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ /**
100
+ * 属性,JSON Object类型,色度抠像参数,包含color,colorDistance,edgeDistance,greenOffset四个参数,
101
+ * 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
102
+ * color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
103
+ * colorDistance,float类型,色域范围,范围0-1.0。
104
+ * edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
105
+ * greenOffset,float类型,红蓝差值,范围0-1.0。
106
+ * 目前只支持扣绿。
107
+ */
108
+ chromaKey: {
109
+ type: ObjectConstructor;
110
+ default: null;
111
+ };
112
+ /**
113
+ * 回调函数,播放结束时通过此回调接口通知。
114
+ */
115
+ onEnded: {
116
+ type: FunctionConstructor;
117
+ default: () => {};
118
+ };
119
+ /**
120
+ * 回调函数,播放错误时通过此接口通知。
121
+ * @param {int} 错误类型,当前定义了四种错误。1是异常中断;2是网络错误;3是解码错误;4是格式不支持。
122
+ */
123
+ onError: {
124
+ type: FunctionConstructor;
125
+ default: () => {};
126
+ };
127
+ /**
128
+ * 回调函数,当正常播放时,每0.5秒上报一次,回调接口里会带上当前时间,也可以使用video对象的currentTime属性去获取当前时间。
129
+ * @param {Long} 当前播放时间,单位秒。
130
+ */
131
+ onTimeUpdate: {
132
+ type: FunctionConstructor;
133
+ default: () => {};
134
+ };
135
+ /**
136
+ * 回调函数,开始加载,设置完播放地址后,上报此事件。
137
+ */
138
+ onLoadStart: {
139
+ type: FunctionConstructor;
140
+ default: () => {};
141
+ };
142
+ /**
143
+ * 回调函数,开始正常播放,同一个播放地址仅触发一次。
144
+ */
145
+ onCanPlayThrough: {
146
+ type: FunctionConstructor;
147
+ default: () => {};
148
+ };
149
+ /**
150
+ * 回调函数,正常下载,duration不变的情况下只触发一次。
151
+ */
152
+ onProgress: {
153
+ type: FunctionConstructor;
154
+ default: () => {};
155
+ };
156
+ /**
157
+ * 回调函数,视频准备好后触发。
158
+ */
159
+ onLoadedMetaData: {
160
+ type: FunctionConstructor;
161
+ default: () => {};
162
+ };
163
+ /**
164
+ * 回调函数,视频准备好后触发,这个时候可以正常seek。
165
+ */
166
+ onLoad: {
167
+ type: FunctionConstructor;
168
+ default: () => {};
169
+ };
170
+ /**
171
+ * 回调函数,视频准备好后触发,这个时候可以获取duration。
172
+ */
173
+ onDurationChange: {
174
+ type: FunctionConstructor;
175
+ default: () => {};
176
+ };
177
+ /**
178
+ * 回调函数,视频准备好后,seek(修改currentTime)会出发此事件。
179
+ */
180
+ onSeeking: {
181
+ type: FunctionConstructor;
182
+ default: () => {};
183
+ };
184
+ /**
185
+ * 回调函数,seek完成后触发此事件。
186
+ */
187
+ onSeeked: {
188
+ type: FunctionConstructor;
189
+ default: () => {};
190
+ };
191
+ /**
192
+ * 回调函数,缓冲时触发。
193
+ */
194
+ onStalled: {
195
+ type: FunctionConstructor;
196
+ default: () => {};
197
+ };
198
+ /**
199
+ * 回调函数,正常播放后触发。
200
+ */
201
+ onPlaying: {
202
+ type: FunctionConstructor;
203
+ default: () => {};
204
+ };
205
+ /**
206
+ * 回调函数,正常显示后触发此事件。
207
+ */
208
+ onCanPlay: {
209
+ type: FunctionConstructor;
210
+ default: () => {};
211
+ };
212
+ /**
213
+ * 回调函数,音频失去焦点后触发此事件,可能会导致pause(点播)或者离开频道(直播)。
214
+ */
215
+ onAudioFocusLoss: {
216
+ type: FunctionConstructor;
217
+ default: () => {};
218
+ };
219
+ /**
220
+ * 回调函数,音频获取焦点后触发此事件,可能会触发resume(点播)或者加入频道(直播)。
221
+ */
222
+ onAudioFocusGain: {
223
+ type: FunctionConstructor;
224
+ default: () => {};
225
+ };
226
+ /**
227
+ * 回调函数,直播进入时移状态时,触发此事件。
228
+ */
229
+ onTimeShift: {
230
+ type: FunctionConstructor;
231
+ default: () => {};
232
+ };
233
+ /**
234
+ * 回调函数,直播进入时移状态时,成功播放触发此事件。
235
+ */
236
+ onTimeShifted: {
237
+ type: FunctionConstructor;
238
+ default: () => {};
239
+ };
240
+ /**
241
+ * 回调函数,时移回到直播状态,触发此事件。
242
+ */
243
+ onBackLive: {
244
+ type: FunctionConstructor;
245
+ default: () => {};
246
+ };
247
+ /**
248
+ * 回调函数,时移回到直播状态时,成功播放触发此事件。
249
+ */
250
+ onBackLived: {
251
+ type: FunctionConstructor;
252
+ default: () => {};
253
+ };
254
+ /**
255
+ * 回调函数,当流播放错误时,重试的时候发送此事件,用于上报log使用。
256
+ */
257
+ onStreamChanged: {
258
+ type: FunctionConstructor;
259
+ default: () => {};
260
+ };
261
+ /**
262
+ * 属性,Object类型,设置窗口属性,同其他组件的style设置。
263
+ */
264
+ style: {
265
+ type: ObjectConstructor;
266
+ default: () => {};
267
+ };
268
+ /**
269
+ * 属性,Boolean类型,活跃状态,当多个JsvPlayer组件指向一个video对象时,只能有一个处于活跃状态。
270
+ * 视频显示在活跃JsvPlayer设置的显示区域内,事件通知也只会送给活跃的JsvPlayer组件注册的回调函数。
271
+ */
272
+ active: {
273
+ type: BooleanConstructor;
274
+ default: boolean;
275
+ };
276
+ /**
277
+ * 属性,int类型,设置圆角属性。
278
+ */
279
+ cornerRadius: {
280
+ type: NumberConstructor;
281
+ default: number;
282
+ };
283
+ }>, {
284
+ video: null;
285
+ holeId: string;
286
+ positionAckFunc: null;
287
+ }, {
288
+ holeStyle: {};
289
+ }, {}, {
290
+ getHoleId(id: any): void;
291
+ registerEvent(): void;
292
+ _extendsApi(videoRef: any): void;
293
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
294
+ /**
295
+ * 回调函数,播放器对象通知接口
296
+ * @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
297
+ */
298
+ onRef: {
299
+ type: FunctionConstructor;
300
+ default: () => void;
301
+ };
302
+ /**
303
+ * 属性,Boolean类型,true表示自动播放,默认false。
304
+ */
305
+ autoplay: {
306
+ type: BooleanConstructor;
307
+ default: boolean;
308
+ };
309
+ /**
310
+ * 属性,String类型,播放器实例索引,同样的key使用同一个播放器实例。
311
+ */
312
+ playerKey: {
313
+ type: StringConstructor;
314
+ default: null;
315
+ };
316
+ /**
317
+ * 属性,String类型,播放器窗口模式,默认resizable模式。
318
+ * full:观影模式,全屏方式,不建议修改w/h/l/t,视频清晰度/流畅度最佳;
319
+ * resizable:可变窗口模式,可以随意修改w/h/l/t,支持动画效果,视频清晰度/流畅度表现可能不如full模式;
320
+ * pip:画中画模式,只在支持多路硬解的情况下使用,用户画中画的小窗播放,对清晰度/流畅度要求较差,可能会有反交错问题。
321
+ */
322
+ windowMode: {
323
+ type: StringConstructor;
324
+ default: string;
325
+ };
326
+ /**
327
+ * 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv播放器。默认2。
328
+ */
329
+ playerType: {
330
+ type: NumberConstructor;
331
+ default: number;
332
+ };
333
+ /**
334
+ * 属性,int类型,播放器解码方式。0:根据硬件能力自动匹配;1:硬解码;2:软解码。默认0(根据芯片能力自动匹配)。
335
+ */
336
+ decodeType: {
337
+ type: NumberConstructor;
338
+ default: number;
339
+ };
340
+ /**
341
+ * 属性,Boolean类型,层级关系,true表示在界面的下面,false表示在界面上面,默认true。
342
+ */
343
+ background: {
344
+ type: BooleanConstructor;
345
+ default: boolean;
346
+ };
347
+ /**
348
+ * 属性,Boolean类型,true表示静音,默认false。
349
+ */
350
+ muted: {
351
+ type: BooleanConstructor;
352
+ default: boolean;
353
+ };
354
+ /**
355
+ * 属性,Boolean类型,true表示循环播放,默认false。
356
+ */
357
+ loop: {
358
+ type: BooleanConstructor;
359
+ default: boolean;
360
+ };
361
+ /**
362
+ * 属性,String类型,播放地址。
363
+ */
364
+ src: {
365
+ type: StringConstructor;
366
+ default: string;
367
+ };
368
+ /**
369
+ * 属性,Double类型,起播时间,0-duration。
370
+ */
371
+ currentTime: {
372
+ type: NumberConstructor;
373
+ default: number;
374
+ };
375
+ /**
376
+ * 属性,Boolean类型,是否保留最后一帧,true保留,false不保留。
377
+ */
378
+ keepLastFrame: {
379
+ type: BooleanConstructor;
380
+ default: boolean;
381
+ };
382
+ /**
383
+ * 属性,String类型,视频显示比例,origin原始比例显示,full全屏显示,x:y按照指定比例显示。
384
+ */
385
+ videoAspectRatio: {
386
+ type: StringConstructor;
387
+ default: string;
388
+ };
389
+ /**
390
+ * 属性,JSON Object类型,色度抠像参数,包含color,colorDistance,edgeDistance,greenOffset四个参数,
391
+ * 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
392
+ * color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
393
+ * colorDistance,float类型,色域范围,范围0-1.0。
394
+ * edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
395
+ * greenOffset,float类型,红蓝差值,范围0-1.0。
396
+ * 目前只支持扣绿。
397
+ */
398
+ chromaKey: {
399
+ type: ObjectConstructor;
400
+ default: null;
401
+ };
402
+ /**
403
+ * 回调函数,播放结束时通过此回调接口通知。
404
+ */
405
+ onEnded: {
406
+ type: FunctionConstructor;
407
+ default: () => {};
408
+ };
409
+ /**
410
+ * 回调函数,播放错误时通过此接口通知。
411
+ * @param {int} 错误类型,当前定义了四种错误。1是异常中断;2是网络错误;3是解码错误;4是格式不支持。
412
+ */
413
+ onError: {
414
+ type: FunctionConstructor;
415
+ default: () => {};
416
+ };
417
+ /**
418
+ * 回调函数,当正常播放时,每0.5秒上报一次,回调接口里会带上当前时间,也可以使用video对象的currentTime属性去获取当前时间。
419
+ * @param {Long} 当前播放时间,单位秒。
420
+ */
421
+ onTimeUpdate: {
422
+ type: FunctionConstructor;
423
+ default: () => {};
424
+ };
425
+ /**
426
+ * 回调函数,开始加载,设置完播放地址后,上报此事件。
427
+ */
428
+ onLoadStart: {
429
+ type: FunctionConstructor;
430
+ default: () => {};
431
+ };
432
+ /**
433
+ * 回调函数,开始正常播放,同一个播放地址仅触发一次。
434
+ */
435
+ onCanPlayThrough: {
436
+ type: FunctionConstructor;
437
+ default: () => {};
438
+ };
439
+ /**
440
+ * 回调函数,正常下载,duration不变的情况下只触发一次。
441
+ */
442
+ onProgress: {
443
+ type: FunctionConstructor;
444
+ default: () => {};
445
+ };
446
+ /**
447
+ * 回调函数,视频准备好后触发。
448
+ */
449
+ onLoadedMetaData: {
450
+ type: FunctionConstructor;
451
+ default: () => {};
452
+ };
453
+ /**
454
+ * 回调函数,视频准备好后触发,这个时候可以正常seek。
455
+ */
456
+ onLoad: {
457
+ type: FunctionConstructor;
458
+ default: () => {};
459
+ };
460
+ /**
461
+ * 回调函数,视频准备好后触发,这个时候可以获取duration。
462
+ */
463
+ onDurationChange: {
464
+ type: FunctionConstructor;
465
+ default: () => {};
466
+ };
467
+ /**
468
+ * 回调函数,视频准备好后,seek(修改currentTime)会出发此事件。
469
+ */
470
+ onSeeking: {
471
+ type: FunctionConstructor;
472
+ default: () => {};
473
+ };
474
+ /**
475
+ * 回调函数,seek完成后触发此事件。
476
+ */
477
+ onSeeked: {
478
+ type: FunctionConstructor;
479
+ default: () => {};
480
+ };
481
+ /**
482
+ * 回调函数,缓冲时触发。
483
+ */
484
+ onStalled: {
485
+ type: FunctionConstructor;
486
+ default: () => {};
487
+ };
488
+ /**
489
+ * 回调函数,正常播放后触发。
490
+ */
491
+ onPlaying: {
492
+ type: FunctionConstructor;
493
+ default: () => {};
494
+ };
495
+ /**
496
+ * 回调函数,正常显示后触发此事件。
497
+ */
498
+ onCanPlay: {
499
+ type: FunctionConstructor;
500
+ default: () => {};
501
+ };
502
+ /**
503
+ * 回调函数,音频失去焦点后触发此事件,可能会导致pause(点播)或者离开频道(直播)。
504
+ */
505
+ onAudioFocusLoss: {
506
+ type: FunctionConstructor;
507
+ default: () => {};
508
+ };
509
+ /**
510
+ * 回调函数,音频获取焦点后触发此事件,可能会触发resume(点播)或者加入频道(直播)。
511
+ */
512
+ onAudioFocusGain: {
513
+ type: FunctionConstructor;
514
+ default: () => {};
515
+ };
516
+ /**
517
+ * 回调函数,直播进入时移状态时,触发此事件。
518
+ */
519
+ onTimeShift: {
520
+ type: FunctionConstructor;
521
+ default: () => {};
522
+ };
523
+ /**
524
+ * 回调函数,直播进入时移状态时,成功播放触发此事件。
525
+ */
526
+ onTimeShifted: {
527
+ type: FunctionConstructor;
528
+ default: () => {};
529
+ };
530
+ /**
531
+ * 回调函数,时移回到直播状态,触发此事件。
532
+ */
533
+ onBackLive: {
534
+ type: FunctionConstructor;
535
+ default: () => {};
536
+ };
537
+ /**
538
+ * 回调函数,时移回到直播状态时,成功播放触发此事件。
539
+ */
540
+ onBackLived: {
541
+ type: FunctionConstructor;
542
+ default: () => {};
543
+ };
544
+ /**
545
+ * 回调函数,当流播放错误时,重试的时候发送此事件,用于上报log使用。
546
+ */
547
+ onStreamChanged: {
548
+ type: FunctionConstructor;
549
+ default: () => {};
550
+ };
551
+ /**
552
+ * 属性,Object类型,设置窗口属性,同其他组件的style设置。
553
+ */
554
+ style: {
555
+ type: ObjectConstructor;
556
+ default: () => {};
557
+ };
558
+ /**
559
+ * 属性,Boolean类型,活跃状态,当多个JsvPlayer组件指向一个video对象时,只能有一个处于活跃状态。
560
+ * 视频显示在活跃JsvPlayer设置的显示区域内,事件通知也只会送给活跃的JsvPlayer组件注册的回调函数。
561
+ */
562
+ active: {
563
+ type: BooleanConstructor;
564
+ default: boolean;
565
+ };
566
+ /**
567
+ * 属性,int类型,设置圆角属性。
568
+ */
569
+ cornerRadius: {
570
+ type: NumberConstructor;
571
+ default: number;
572
+ };
573
+ }>> & Readonly<{}>, {
574
+ background: boolean;
575
+ src: string;
576
+ style: Record<string, any>;
577
+ autoplay: boolean;
578
+ currentTime: number;
579
+ loop: boolean;
580
+ muted: boolean;
581
+ cornerRadius: number;
582
+ onLoad: Function;
583
+ onError: Function;
584
+ onEnded: Function;
585
+ onPlaying: Function;
586
+ onProgress: Function;
587
+ onSeeked: Function;
588
+ onSeeking: Function;
589
+ onStalled: Function;
590
+ onLoadStart: Function;
591
+ onAudioFocusGain: Function;
592
+ onAudioFocusLoss: Function;
593
+ onRef: Function;
594
+ playerKey: string;
595
+ onLoadedMetaData: Function;
596
+ active: boolean;
597
+ keepLastFrame: boolean;
598
+ chromaKey: Record<string, any>;
599
+ onTimeShift: Function;
600
+ onTimeShifted: Function;
601
+ onBackLive: Function;
602
+ onBackLived: Function;
603
+ onStreamChanged: Function;
604
+ windowMode: string;
605
+ playerType: number;
606
+ decodeType: number;
607
+ videoAspectRatio: string;
608
+ onTimeUpdate: Function;
609
+ onCanPlayThrough: Function;
610
+ onDurationChange: Function;
611
+ onCanPlay: Function;
612
+ }, {}, {
613
+ JsvNativeSharedDiv: any;
614
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;