@shijiu/jsview-vue 2.3.0 → 2.3.728-alpha.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 (451) hide show
  1. package/bin/browser/BrowserAudio.vue.mjs +4 -1
  2. package/bin/browser/BrowserJsvLatex.vue.mjs +9 -90
  3. package/bin/jsview-vue.mjs +13913 -8048
  4. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +39 -3
  5. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
  6. package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +225 -0
  7. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +225 -0
  8. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +5 -0
  9. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +25 -2
  10. package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
  11. package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +28 -4
  12. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
  13. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
  14. package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
  15. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +70 -0
  16. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
  17. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
  18. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
  19. package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +5 -4
  20. package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
  21. package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +12 -4
  22. package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
  23. package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +27 -14
  24. package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
  25. package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
  26. package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
  27. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +3 -0
  28. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
  29. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -1
  30. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +29 -2
  31. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +107 -4
  32. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
  33. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +94 -18
  34. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
  35. package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +24 -23
  36. package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +77 -20
  37. package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +77 -20
  38. package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
  39. package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
  40. package/bin/types/utils/JsViewVueTools/ForgeHandles.d.ts +1 -0
  41. package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
  42. package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +44 -1
  43. package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
  44. package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
  45. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
  46. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
  47. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
  48. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +5 -3
  49. package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +88 -25
  50. package/bin/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +2 -0
  51. package/bin/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +4 -0
  52. package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
  53. package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
  54. package/bin/types/utils/JsViewVueTools/index.d.ts +3 -1
  55. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +12 -22
  56. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +12 -22
  57. package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +11 -0
  58. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +101 -0
  59. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +61 -0
  60. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +58 -0
  61. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +1 -0
  62. package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +3 -1
  63. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
  64. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +2 -1
  65. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
  66. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +2 -1
  67. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +3 -1
  68. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +55 -12
  69. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +178 -35
  70. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +119 -17
  71. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +9 -3
  72. package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
  73. package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +22 -1
  74. package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +1 -1
  75. package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +2 -0
  76. package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +5 -2
  77. package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
  78. package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +39 -1
  79. package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +1 -0
  80. package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +72 -0
  81. package/bin/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +26 -0
  82. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +112 -0
  83. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +142 -0
  84. package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +3 -1
  85. package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +15 -3
  86. package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +22 -96
  87. package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +6 -0
  88. package/bin/types/utils/JsViewVueWidget/{JsvPosterDiv.vue.d.ts → TypesDiv/JsvPosterDiv.vue.d.ts} +9 -0
  89. package/bin/types/utils/JsViewVueWidget/{JsvPosterImage.vue.d.ts → TypesDiv/JsvPosterImage.vue.d.ts} +15 -3
  90. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +72 -0
  91. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +90 -0
  92. package/bin/types/utils/JsViewVueWidget/index.d.ts +8 -4
  93. package/dist/types/utils/JsViewEngineWidget/CheckType.d.ts +7 -0
  94. package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +106 -0
  95. package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +128 -0
  96. package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +25 -0
  97. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +23 -0
  98. package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +12 -0
  99. package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugTools.d.ts +9 -0
  100. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +16 -0
  101. package/dist/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +412 -0
  102. package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +751 -0
  103. package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +9 -0
  104. package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +82 -0
  105. package/dist/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +31 -0
  106. package/dist/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +80 -0
  107. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Slide.d.ts +25 -0
  108. package/dist/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +52 -0
  109. package/dist/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +69 -0
  110. package/dist/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
  111. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +6 -0
  112. package/dist/types/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +20 -0
  113. package/dist/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +21 -0
  114. package/dist/types/utils/JsViewEngineWidget/RangeModel.d.ts +166 -0
  115. package/dist/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
  116. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +74 -0
  117. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +28 -0
  118. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +23 -0
  119. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +46 -0
  120. package/dist/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +42 -0
  121. package/dist/types/utils/JsViewEngineWidget/TemplateParser/Fence.d.ts +62 -0
  122. package/dist/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +21 -0
  123. package/dist/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +103 -0
  124. package/dist/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +28 -0
  125. package/dist/types/utils/JsViewEngineWidget/TemplateParser/index.d.ts +8 -0
  126. package/dist/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +160 -0
  127. package/dist/types/utils/JsViewEngineWidget/index.d.ts +21 -0
  128. package/dist/types/utils/JsViewPlugin/JsvAccount/JsvAccount.d.ts +46 -0
  129. package/dist/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +6 -0
  130. package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +22 -0
  131. package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +212 -0
  132. package/dist/types/utils/JsViewPlugin/JsvAudio/CheckType.d.ts +6 -0
  133. package/dist/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +17 -0
  134. package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +22 -0
  135. package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +12 -0
  136. package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +6 -0
  137. package/dist/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +5 -0
  138. package/dist/types/utils/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +9 -0
  139. package/dist/types/utils/JsViewPlugin/JsvAudio/index.d.ts +7 -0
  140. package/dist/types/utils/JsViewPlugin/JsvAudio/version.d.mts +14 -0
  141. package/{bin/types/utils/JsViewPlugin/JsvLatex → dist/types/utils/JsViewPlugin/JsvAudio}/version.d.ts +5 -0
  142. package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -0
  143. package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +17 -0
  144. package/dist/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +5 -0
  145. package/dist/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +18 -0
  146. package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +46 -0
  147. package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +8 -0
  148. package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +9 -0
  149. package/dist/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +5 -0
  150. package/dist/types/utils/JsViewPlugin/JsvLatex/index.d.ts +8 -0
  151. package/dist/types/utils/JsViewPlugin/JsvLatex/version.d.mts +40 -0
  152. package/dist/types/utils/JsViewPlugin/JsvPlayer/AckEventDefine.d.ts +10 -0
  153. package/dist/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
  154. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +523 -0
  155. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +119 -0
  156. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +664 -0
  157. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-0.9.vue.d.ts +45 -0
  158. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
  159. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue.d.ts +597 -0
  160. package/dist/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +415 -0
  161. package/dist/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +415 -0
  162. package/dist/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
  163. package/dist/types/utils/JsViewPlugin/index.d.ts +7 -0
  164. package/dist/types/utils/JsViewVueTools/BlobApi.d.ts +42 -0
  165. package/dist/types/utils/JsViewVueTools/ConstSymbol.d.ts +6 -0
  166. package/dist/types/utils/JsViewVueTools/DebugContentShellJBridge.d.ts +10 -0
  167. package/dist/types/utils/JsViewVueTools/DebugTool.d.ts +12 -0
  168. package/dist/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +14 -0
  169. package/dist/types/utils/JsViewVueTools/FeatureActive.d.ts +15 -0
  170. package/dist/types/utils/JsViewVueTools/ForgeConstDefine.d.ts +15 -0
  171. package/dist/types/utils/JsViewVueTools/ForgeHandles.d.ts +11 -0
  172. package/dist/types/utils/JsViewVueTools/JsvDynamicCssStyle.d.ts +33 -0
  173. package/dist/types/utils/JsViewVueTools/JsvDynamicKeyFrames.d.ts +40 -0
  174. package/dist/types/utils/JsViewVueTools/JsvFederationTools.d.ts +20 -0
  175. package/dist/types/utils/JsViewVueTools/JsvHashHistory.d.ts +20 -0
  176. package/dist/types/utils/JsViewVueTools/JsvImpactTracer.d.ts +44 -0
  177. package/dist/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +10 -0
  178. package/dist/types/utils/JsViewVueTools/JsvPerformance.d.ts +9 -0
  179. package/dist/types/utils/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
  180. package/dist/types/utils/JsViewVueTools/JsvRefTaker.d.ts +52 -0
  181. package/dist/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +378 -0
  182. package/dist/types/utils/JsViewVueTools/JsvStyleClass.d.ts +35 -0
  183. package/dist/types/utils/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +35 -0
  184. package/dist/types/utils/JsViewVueTools/JsvTextTools.d.ts +66 -0
  185. package/dist/types/utils/JsViewVueTools/JsvTextureDefines.d.ts +10 -0
  186. package/dist/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
  187. package/dist/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +47 -0
  188. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +99 -0
  189. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +20 -0
  190. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +58 -0
  191. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +113 -0
  192. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +17 -0
  193. package/dist/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +170 -0
  194. package/dist/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +16 -0
  195. package/dist/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +31 -0
  196. package/dist/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +53 -0
  197. package/dist/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +6 -0
  198. package/dist/types/utils/JsViewVueTools/NinePatchHelper.d.ts +25 -0
  199. package/dist/types/utils/JsViewVueTools/TextureManagerTools.d.ts +11 -0
  200. package/dist/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +7 -0
  201. package/dist/types/utils/JsViewVueTools/index.d.ts +29 -0
  202. package/dist/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +124 -0
  203. package/dist/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +148 -0
  204. package/dist/types/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +35 -0
  205. package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +102 -0
  206. package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +37 -0
  207. package/dist/types/utils/JsViewVueWidget/JsvActorMove/index.d.ts +8 -0
  208. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
  209. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +77 -0
  210. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +54 -0
  211. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
  212. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +44 -0
  213. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +17 -0
  214. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
  215. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
  216. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
  217. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
  218. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
  219. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
  220. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +20 -0
  221. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
  222. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +26 -0
  223. package/dist/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
  224. package/dist/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
  225. package/dist/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +5 -0
  226. package/dist/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +34 -0
  227. package/dist/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +6 -0
  228. package/dist/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +33 -0
  229. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +105 -0
  230. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +65 -0
  231. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +62 -0
  232. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +5 -0
  233. package/dist/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
  234. package/dist/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
  235. package/dist/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
  236. package/dist/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +61 -0
  237. package/dist/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +91 -0
  238. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +106 -0
  239. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +100 -0
  240. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +108 -0
  241. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +7 -0
  242. package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +63 -0
  243. package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +5 -0
  244. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
  245. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +228 -0
  246. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
  247. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +16 -0
  248. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
  249. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +20 -0
  250. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +106 -0
  251. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +107 -0
  252. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +11 -0
  253. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +12 -0
  254. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +118 -0
  255. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +244 -0
  256. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +169 -0
  257. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
  258. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +24 -0
  259. package/dist/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +241 -0
  260. package/dist/types/utils/JsViewVueWidget/JsvHole.d.ts +19 -0
  261. package/dist/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +16 -0
  262. package/dist/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +52 -0
  263. package/dist/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +30 -0
  264. package/dist/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +98 -0
  265. package/dist/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
  266. package/dist/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +20 -0
  267. package/dist/types/utils/JsViewVueWidget/JsvInput/index.d.ts +8 -0
  268. package/dist/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +32 -0
  269. package/dist/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +5 -0
  270. package/dist/types/utils/JsViewVueWidget/JsvLine/index.d.ts +6 -0
  271. package/dist/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +33 -0
  272. package/dist/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +101 -0
  273. package/dist/types/utils/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
  274. package/dist/types/utils/JsViewVueWidget/JsvMindMap/Constant.d.ts +13 -0
  275. package/dist/types/utils/JsViewVueWidget/JsvMindMap/DataTree.d.ts +75 -0
  276. package/dist/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +72 -0
  277. package/dist/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +235 -0
  278. package/dist/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +5 -0
  279. package/dist/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +44 -0
  280. package/dist/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +93 -0
  281. package/dist/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +55 -0
  282. package/dist/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +30 -0
  283. package/dist/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +68 -0
  284. package/dist/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +6 -0
  285. package/dist/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +31 -0
  286. package/dist/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +85 -0
  287. package/dist/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +37 -0
  288. package/dist/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +8 -0
  289. package/dist/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +129 -0
  290. package/dist/types/utils/JsViewVueWidget/JsvRipple/index.d.ts +7 -0
  291. package/dist/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +28 -0
  292. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +278 -0
  293. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
  294. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
  295. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +16 -0
  296. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/index.d.ts +7 -0
  297. package/dist/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +30 -0
  298. package/dist/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +76 -0
  299. package/dist/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +114 -0
  300. package/dist/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +58 -0
  301. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +18 -0
  302. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +70 -0
  303. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +85 -0
  304. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +15 -0
  305. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +21 -0
  306. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/index.d.ts +9 -0
  307. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +6 -0
  308. package/dist/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
  309. package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +141 -0
  310. package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +248 -0
  311. package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +181 -0
  312. package/dist/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +8 -0
  313. package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
  314. package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +121 -0
  315. package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +6 -0
  316. package/dist/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +121 -0
  317. package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +6 -0
  318. package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +38 -0
  319. package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +8 -0
  320. package/dist/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +109 -0
  321. package/dist/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
  322. package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +109 -0
  323. package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +88 -0
  324. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +94 -0
  325. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +115 -0
  326. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +94 -0
  327. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +115 -0
  328. package/dist/types/utils/JsViewVueWidget/index.d.ts +53 -0
  329. package/dist/types/utils/index.d.ts +8 -0
  330. package/dist/utils/browser/BrowserAudio.vue.mjs +258 -0
  331. package/dist/utils/browser/BrowserJsvLatex.vue.mjs +64 -0
  332. package/dist/utils/export-sfc.mjs +12 -0
  333. package/dist/utils/index.mjs +29000 -0
  334. package/dist/utils/jsview-vue-common.mjs +39 -0
  335. package/package.json +1 -1
  336. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
  337. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +51 -3
  338. package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
  339. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +193 -89
  340. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +347 -145
  341. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts +15 -0
  342. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +1603 -588
  343. package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
  344. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +146 -38
  345. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +39 -26
  346. package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
  347. package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
  348. package/utils/JsViewEngineWidget/RectUtils.js +1 -1
  349. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +62 -0
  350. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
  351. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
  352. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
  353. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +434 -264
  354. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
  355. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +54 -5
  356. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
  357. package/utils/JsViewEngineWidget/WidgetCommon.ts +29 -7
  358. package/utils/JsViewEngineWidget/index.ts +7 -2
  359. package/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue +4 -0
  360. package/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue +13 -13
  361. package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
  362. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
  363. package/utils/JsViewPlugin/JsvLatex/Color.ts +104 -39
  364. package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
  365. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +71 -17
  366. package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
  367. package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +14 -2
  368. package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
  369. package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
  370. package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
  371. package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
  372. package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
  373. package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
  374. package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +61 -11
  375. package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
  376. package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
  377. package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
  378. package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
  379. package/utils/JsViewVueTools/BlobApi.ts +55 -0
  380. package/utils/JsViewVueTools/FeatureActive.ts +5 -1
  381. package/utils/JsViewVueTools/ForgeHandles.ts +8 -2
  382. package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
  383. package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
  384. package/utils/JsViewVueTools/JsvRuntimeBridge.js +125 -8
  385. package/utils/JsViewVueTools/JsvTextTools.ts +12 -2
  386. package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
  387. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
  388. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
  389. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
  390. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +30 -12
  391. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +157 -51
  392. package/utils/JsViewVueTools/JsvTextureStore/Store.ts +33 -21
  393. package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +56 -41
  394. package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
  395. package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
  396. package/utils/JsViewVueTools/index.js +3 -1
  397. package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
  398. package/utils/JsViewVueWidget/JsvDashPath.vue +150 -0
  399. package/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.ts +212 -0
  400. package/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.ts +146 -0
  401. package/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.ts +748 -0
  402. package/utils/JsViewVueWidget/JsvDomRenderer/index.ts +1 -0
  403. package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +10 -1
  404. package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
  405. package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
  406. package/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue +3 -1
  407. package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
  408. package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +24 -8
  409. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +269 -26
  410. package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +2 -1
  411. package/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.ts +24 -0
  412. package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +3 -0
  413. package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +5 -1
  414. package/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.ts +10 -2
  415. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +223 -100
  416. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +245 -64
  417. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +95 -29
  418. package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +27 -5
  419. package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
  420. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
  421. package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
  422. package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
  423. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
  424. package/utils/JsViewVueWidget/JsvNinePatch.vue +22 -12
  425. package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
  426. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +34 -31
  427. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
  428. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +56 -25
  429. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +11 -11
  430. package/utils/JsViewVueWidget/JsvSector.vue +66 -28
  431. package/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue +108 -0
  432. package/utils/JsViewVueWidget/JsvSoundPool.js +75 -12
  433. package/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue +543 -0
  434. package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +3 -3
  435. package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue +644 -0
  436. package/utils/JsViewVueWidget/JsvSwiper/index.js +3 -1
  437. package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
  438. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +315 -299
  439. package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
  440. package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
  441. package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
  442. package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
  443. package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
  444. package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
  445. package/utils/JsViewVueWidget/index.js +9 -3
  446. package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
  447. package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
  448. package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
  449. /package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +0 -0
  450. /package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue.d.ts → JsvFreeMoveActor.vue.d.ts} +0 -0
  451. /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
@@ -0,0 +1,644 @@
1
+ <!--
2
+ * @file
3
+ *
4
+ * 【模块 export 内容】
5
+ * JsvSwiper:Vue高阶组件,图片轮播组件
6
+ * props说明:
7
+ * showIndicator {boolean} 是否显示指示点,默认显示
8
+ * dotSize {int} 指示点大小,默认为10px
9
+ * dotGap {int} 指示点之间间隔,默认为10px
10
+ * indicatorPos {int} 指示点位置, 横向时为距顶端的位置,默认为高的80%;
11
+ 纵向时为距左端的位置,默认为宽的80%
12
+ * indicatorAlign {String} 指示面板的 align, 值为 start / middle / end,默认为middle
13
+ * totalFrame {int} (必需)item 的个数
14
+ * firstFrame {int} 初始 item 的 index,默认为0
15
+ * layoutInfo {Object} (必需)组件的大小及位置 {top: 0, left: 0, width: 0, height: 0}
16
+ * onClick {Function} 点击事件 function () {}
17
+ * onChange {Function} 滚动事件 function (index) {}
18
+ * onEdge {Function} 到达边缘事件 ({direction: EdgeDirection}) => Void
19
+ * autoplayInterval {int} 自动滚动的时间(毫秒),等于0时不自动滚动, 默认为5000
20
+ * animation {Object} 滚动动画设置 {duration: 0, easing: "linear"}
21
+ * vertical {boolean} 组件是否为纵向的,默认为 false
22
+ * name {String} 组件获得焦点的 name
23
+ * onFocus {Function} 获得焦点的回调
24
+ * onBlur {Function} 失去焦点的回调
25
+ * swipeType {String} 切换方式,目前只支持 translate,之后可能会添加 opacity 等方式
26
+ * smoothTranslate {boolean} 平滑模式动画开关
27
+ * reverseSwipe {boolean} 反转滚动方向,默认值为false. 默认滚动方向是正向, 既向index增大的方向, 反转后为反向, 既向index减小的方向
28
+ * disableLoopWhenFocus {boolean} 获焦时按键是否循环滚动
29
+ * public methods:
30
+ * slideTo
31
+ * @description 滚动到指定id
32
+ @params {int} id 目标id
33
+ @params {int} 方向, 1为正向, -1为负向
34
+ -->
35
+
36
+ <script setup>
37
+ import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
38
+ import { EdgeDirection } from "../../JsViewEngineWidget";
39
+ import { ref, computed, watch, onMounted, onBeforeUnmount } from "vue";
40
+ import JsvActorMove, { JsvActorMoveControl } from "../JsvActorMove";
41
+ import JsvVisibleSensor from "../JsvVisibleSensor";
42
+
43
+ function modToRange(value, mod, start = 0) {
44
+ let m = value % mod;
45
+ if (m < start) {
46
+ m += mod;
47
+ } else if (m >= start + mod) {
48
+ m -= mod;
49
+ }
50
+ return m;
51
+ }
52
+
53
+ const keyCode2EdgeDirection = (keyCode) => {
54
+ switch (keyCode) {
55
+ case 37:
56
+ return EdgeDirection.left;
57
+ case 38:
58
+ return EdgeDirection.top;
59
+ case 39:
60
+ return EdgeDirection.right;
61
+ case 40:
62
+ return EdgeDirection.bottom;
63
+ default:
64
+ console.error("not direction key", keyCode);
65
+ return null;
66
+ }
67
+ };
68
+
69
+ // 定义props
70
+ const props = defineProps({
71
+ showIndicator: {
72
+ type: Boolean,
73
+ default: true,
74
+ },
75
+ dotSize: {
76
+ type: Number,
77
+ default: 10,
78
+ },
79
+ dotGap: {
80
+ type: Number,
81
+ default: 10,
82
+ },
83
+ indicatorPos: {
84
+ type: Number,
85
+ default: -1,
86
+ },
87
+ indicatorAlign: {
88
+ type: String,
89
+ validator(value) {
90
+ // The value must match one of these strings
91
+ return ["start", "middle", "end"].includes(value);
92
+ },
93
+ default: "middle",
94
+ },
95
+ totalFrame: {
96
+ type: Number,
97
+ required: true,
98
+ },
99
+ firstFrame: {
100
+ type: Number,
101
+ default: 0,
102
+ },
103
+ layoutInfo: {
104
+ type: Object,
105
+ required: true,
106
+ },
107
+ onClick: {
108
+ type: Function,
109
+ },
110
+ onChange: {
111
+ type: Function,
112
+ },
113
+ onEdge: {
114
+ type: Function,
115
+ },
116
+ autoplayInterval: {
117
+ type: Number,
118
+ default: 5000,
119
+ },
120
+ animation: {
121
+ type: Object,
122
+ default() {
123
+ return {
124
+ duration: 200,
125
+ easing: "linear",
126
+ };
127
+ },
128
+ },
129
+ vertical: {
130
+ type: Boolean,
131
+ default: false,
132
+ },
133
+ name: {
134
+ type: String,
135
+ },
136
+ onFocus: {
137
+ type: Function,
138
+ },
139
+ onBlur: {
140
+ type: Function,
141
+ },
142
+ swipeType: {
143
+ type: String,
144
+ default: "translate",
145
+ },
146
+ smoothTranslate: {
147
+ type: Boolean,
148
+ default: false,
149
+ },
150
+ reverseSwipe: {
151
+ type: Boolean,
152
+ default: false,
153
+ },
154
+ disableLoopWhenFocus: {
155
+ type: Boolean,
156
+ default: false,
157
+ },
158
+ itemSize: {
159
+ type: Object,
160
+ },
161
+ itemGap: {
162
+ type: Number,
163
+ default: 0,
164
+ },
165
+ });
166
+
167
+ const innerItemSize = computed(() => {
168
+ return (
169
+ props.itemSize || {
170
+ width: props.layoutInfo.width,
171
+ height: props.layoutInfo.height,
172
+ }
173
+ );
174
+ });
175
+
176
+ const visibleCount = computed(() => {
177
+ if (props.vertical) {
178
+ return (
179
+ Math.ceil(
180
+ (props.layoutInfo.height - innerItemSize.value.height) /
181
+ 2 /
182
+ (innerItemSize.value.height + props.itemGap)
183
+ ) *
184
+ 2 +
185
+ 1
186
+ );
187
+ } else {
188
+ return (
189
+ Math.ceil(
190
+ (props.layoutInfo.width - innerItemSize.value.width) /
191
+ 2 /
192
+ (innerItemSize.value.width + props.itemGap)
193
+ ) *
194
+ 2 +
195
+ 1
196
+ );
197
+ }
198
+ });
199
+
200
+ const viewNum = computed(() => {
201
+ return visibleCount.value + 2;
202
+ });
203
+
204
+ // 状态变量
205
+ let controllerList = new Array(viewNum.value);
206
+ if (props.smoothTranslate) {
207
+ for (let i = 0; i < controllerList.length; i++) {
208
+ controllerList[i] = new JsvActorMoveControl();
209
+ }
210
+ }
211
+ const focusBlock = ref();
212
+ let preOffset = ref(-1);
213
+ const offset = ref(0);
214
+ const focused = ref(false);
215
+ let timeoutHandler = -1;
216
+ let autoplay = ref(false);
217
+ const element = ref([]);
218
+
219
+ // 计算属性
220
+ const indexList = computed(() => {
221
+ return new Array(props.totalFrame).fill(0).map((_, index) => {
222
+ return index;
223
+ });
224
+ });
225
+
226
+ const indicatorLayout = computed(() => {
227
+ let indicatorSize =
228
+ props.totalFrame * (props.dotSize + props.dotGap) - props.dotGap;
229
+ if (props.vertical) {
230
+ let top;
231
+ if (props.indicatorAlign === "start") {
232
+ top = props.dotGap;
233
+ } else if (props.indicatorAlign === "end") {
234
+ top = props.layoutInfo.height - indicatorSize - props.dotGap;
235
+ } else {
236
+ top = (props.layoutInfo.height - indicatorSize) / 2;
237
+ }
238
+ return {
239
+ left:
240
+ props.indicatorPos < 0
241
+ ? props.layoutInfo.width * 0.8
242
+ : props.indicatorPos,
243
+ top,
244
+ zIndex: 1,
245
+ };
246
+ } else {
247
+ let left;
248
+ if (props.indicatorAlign === "start") {
249
+ left = props.dotGap;
250
+ } else if (props.indicatorAlign === "end") {
251
+ left = props.layoutInfo.width - indicatorSize - props.dotGap;
252
+ } else {
253
+ left = (props.layoutInfo.width - indicatorSize) / 2;
254
+ }
255
+ return {
256
+ left,
257
+ top:
258
+ props.indicatorPos < 0
259
+ ? props.layoutInfo.height * 0.8
260
+ : props.indicatorPos,
261
+ zIndex: 1,
262
+ };
263
+ }
264
+ });
265
+
266
+ const indicatorDotSize = computed(() => {
267
+ return props.dotSize + props.dotGap;
268
+ });
269
+
270
+ const currentDataIndex = computed(() => {
271
+ return modToRange(props.firstFrame + offset.value, props.totalFrame);
272
+ });
273
+
274
+ const currentViewIndex = computed(() => {
275
+ return modToRange(
276
+ offset.value + Math.floor(viewNum.value / 2),
277
+ viewNum.value
278
+ );
279
+ });
280
+
281
+ const viewInfoList = computed(() => {
282
+ let viewList = [];
283
+ //计算最左侧view的位置
284
+ let widgetSize = props.vertical
285
+ ? props.layoutInfo.height
286
+ : props.layoutInfo.width;
287
+ let itemSize = props.vertical
288
+ ? innerItemSize.value.height
289
+ : innerItemSize.value.width;
290
+ let totalSize =
291
+ itemSize * viewNum.value + props.itemGap * (viewNum.value - 1);
292
+ let min = (widgetSize - totalSize) / 2;
293
+
294
+ let centerIndex = Math.floor(viewNum.value / 2);
295
+ for (let i = 0; i < viewNum.value; i++) {
296
+ let pos = modToRange(i - offset.value, viewNum.value);
297
+ const style = {
298
+ top: props.vertical ? min + pos * itemSize + pos * props.itemGap : 0,
299
+ left: props.vertical ? 0 : min + pos * itemSize + pos * props.itemGap,
300
+ width: props.layoutInfo.width,
301
+ height: props.layoutInfo.height,
302
+ };
303
+ //currentDataIndex是中间的那个
304
+ viewList.push({
305
+ dataIndex: modToRange(
306
+ currentDataIndex.value + (pos - centerIndex),
307
+ props.totalFrame
308
+ ),
309
+ style: style,
310
+ distanceToCenter: pos - centerIndex,
311
+ });
312
+ }
313
+ return viewList;
314
+ });
315
+
316
+ // 监听器
317
+ watch(offset, (newValue) => {
318
+ props.onChange?.(modToRange(props.firstFrame + newValue, props.totalFrame));
319
+ });
320
+
321
+ // 监听currentDataIndex的变化
322
+ watch(() => currentDataIndex.value, (newVal, oldVal) => {
323
+ console.log('currentDataIndex变化:', oldVal, '->', newVal);
324
+ // 这里可以添加您需要的逻辑
325
+ // 例如:通知子组件当前索引已更改
326
+ });
327
+
328
+ // 方法
329
+ const getFocusBlockRef = () => {
330
+ return focusBlock;
331
+ };
332
+
333
+ const stopAutoplay = () => {
334
+ autoplay.value = false;
335
+ clearInterval(timeoutHandler);
336
+ timeoutHandler = -1;
337
+ };
338
+
339
+ const startAutoplay = () => {
340
+ if (props.autoplayInterval > 0 && props.totalFrame > 1) {
341
+ autoplay.value = true;
342
+ if (timeoutHandler > 0) {
343
+ clearInterval(timeoutHandler);
344
+ }
345
+ timeoutHandler = setInterval(() => {
346
+ _trigger(props.reverseSwipe ? -1 : 1);
347
+ }, props.autoplayInterval);
348
+ }
349
+ };
350
+
351
+ const slideTo = (id, direction = 0) => {
352
+ const curId = modToRange(props.firstFrame + offset.value, props.totalFrame);
353
+ if (curId != id) {
354
+ let d;
355
+ if (direction != 0) {
356
+ d = direction;
357
+ } else {
358
+ d = id - curId;
359
+ }
360
+ _trigger(
361
+ modToRange(
362
+ id - curId,
363
+ props.totalFrame,
364
+ d > 0 ? 0 : -props.totalFrame + 1
365
+ )
366
+ );
367
+ }
368
+ };
369
+
370
+ const _onKeyDown = (ev) => {
371
+ let direction = 0;
372
+ switch (ev.keyCode) {
373
+ case 37:
374
+ if (!props.vertical) {
375
+ direction = -1;
376
+ }
377
+ break;
378
+ case 38:
379
+ if (props.vertical) {
380
+ direction = -1;
381
+ }
382
+ break;
383
+ case 39:
384
+ if (!props.vertical) {
385
+ direction = 1;
386
+ }
387
+ break;
388
+ case 40:
389
+ if (props.vertical) {
390
+ direction = 1;
391
+ }
392
+ break;
393
+ case 13:
394
+ props.onClick?.(currentDataIndex.value);
395
+ return true;
396
+ default:
397
+ return false;
398
+ }
399
+
400
+ //处理方向键
401
+ if (direction !== 0) {
402
+ if (!props.disableLoopWhenFocus) {
403
+ _trigger(direction);
404
+ return true;
405
+ } else {
406
+ if (
407
+ currentDataIndex.value + direction >= 0 &&
408
+ currentDataIndex.value + direction < props.totalFrame
409
+ ) {
410
+ _trigger(direction);
411
+ return true;
412
+ }
413
+ }
414
+ }
415
+
416
+ //未处理方向键
417
+ props.onEdge?.({
418
+ direction: keyCode2EdgeDirection(ev.keyCode),
419
+ rect: {
420
+ x: props.layoutInfo.left,
421
+ y: props.layoutInfo.top,
422
+ width: props.layoutInfo.width,
423
+ height: props.layoutInfo.height,
424
+ },
425
+ });
426
+ return true;
427
+ };
428
+
429
+ const _onAnimationEnd = () => {};
430
+
431
+ const _onFocus = () => {
432
+ focused.value = true;
433
+ stopAutoplay();
434
+ props.onFocus?.();
435
+ };
436
+
437
+ const _onBlur = () => {
438
+ focused.value = false;
439
+ startAutoplay();
440
+ props.onBlur?.();
441
+ };
442
+
443
+ const _getAnimation = (direction, smooth, addListener) => {
444
+ let easing = props.animation.easing ? props.animation.easing : "linear";
445
+ let anim;
446
+ if (smooth) {
447
+ const speed =
448
+ ((props.vertical ? props.layoutInfo.height : props.layoutInfo.width) /
449
+ props.animation.duration) *
450
+ 1000;
451
+ anim = new Forge.TranslateFrameAnimation(
452
+ props.vertical
453
+ ? direction * (props.itemSize.height + props.itemGap)
454
+ : direction * (props.itemSize.width + props.itemGap),
455
+ 0,
456
+ speed,
457
+ !props.vertical,
458
+ props.vertical ? 0 : direction * (props.itemSize.width + props.itemGap),
459
+ props.vertical ? direction * (props.itemSize.height + props.itemGap) : 0
460
+ );
461
+ } else {
462
+ anim = new Forge.TranslateAnimation(
463
+ props.vertical ? 0 : direction * (props.itemSize.width + props.itemGap),
464
+ 0,
465
+ props.vertical ? direction * (props.itemSize.height + props.itemGap) : 0,
466
+ 0,
467
+ props.animation.duration,
468
+ Forge.Easing.str2Easing(easing)
469
+ );
470
+ }
471
+ if (addListener) {
472
+ anim.SetAnimationListener(
473
+ new Forge.AnimationListener(null, _onAnimationEnd, null)
474
+ );
475
+ }
476
+ return anim;
477
+ };
478
+
479
+ const _startAnimation = (direction, smooth = false) => {
480
+ switch (props.swipeType) {
481
+ case "translate":
482
+ let startIndex =
483
+ currentViewIndex.value -
484
+ (visibleCount.value - 1) / 2 +
485
+ (direction > 0 ? -1 : 0);
486
+ let endIndex =
487
+ currentViewIndex.value +
488
+ (visibleCount.value - 1) / 2 +
489
+ (direction > 0 ? 0 : 1);
490
+ for (let i = startIndex; i <= endIndex; ++i) {
491
+ element.value?.[
492
+ i == currentViewIndex.value
493
+ ? currentViewIndex.value
494
+ : modToRange(i, viewNum.value)
495
+ ]
496
+ ?.jsvGetProxyView(true)
497
+ .StartAnimation(
498
+ _getAnimation(direction, smooth, i == currentViewIndex.value)
499
+ );
500
+ }
501
+ break;
502
+ case "opacity":
503
+ break;
504
+ default:
505
+ break;
506
+ }
507
+ };
508
+
509
+ const _trigger = (direction) => {
510
+ if (props.totalFrame <= 1) return;
511
+ preOffset.value = offset.value;
512
+ offset.value += direction;
513
+ _startAnimation(direction > 0 ? 1 : -1, props.smoothTranslate);
514
+ };
515
+
516
+ const onBeVisible = (old_h, new_h, old_v, new_v) => {
517
+ if ((old_h && !new_h) || (old_v && !new_h)) {
518
+ stopAutoplay();
519
+ } else if ((!old_h && new_h) || (!old_v && new_h)) {
520
+ if (!focused.value) {
521
+ startAutoplay();
522
+ }
523
+ }
524
+ };
525
+
526
+ // 生命周期钩子
527
+ onMounted(() => {
528
+ if (!focused.value) {
529
+ startAutoplay();
530
+ }
531
+ });
532
+
533
+ onBeforeUnmount(() => {
534
+ stopAutoplay();
535
+ });
536
+
537
+ // 暴露方法给父组件
538
+ defineExpose({
539
+ getFocusBlockRef,
540
+ slideTo,
541
+ });
542
+ </script>
543
+
544
+ <template>
545
+ <jsv-visible-sensor
546
+ :horizonShown="0.2"
547
+ :verticalShown="0.2"
548
+ :width="layoutInfo.width"
549
+ :height="layoutInfo.height"
550
+ :enable="true"
551
+ :callback="onBeVisible"
552
+ ></jsv-visible-sensor>
553
+ <jsv-focus-block
554
+ ref="focusBlock"
555
+ :name="name"
556
+ :style="{
557
+ left: layoutInfo.left,
558
+ top: layoutInfo.top,
559
+ width: layoutInfo.width,
560
+ height: layoutInfo.height,
561
+ }"
562
+ :onAction="{
563
+ onFocus: _onFocus,
564
+ onBlur: _onBlur,
565
+ onKeyDown: _onKeyDown,
566
+ }"
567
+ >
568
+ <div
569
+ :style="{
570
+ width: layoutInfo.width,
571
+ height: layoutInfo.height,
572
+ overflow: 'hidden',
573
+ }"
574
+ >
575
+ <div
576
+ :style="{
577
+ zIndex: 0,
578
+ }"
579
+ >
580
+ <div>
581
+ <div
582
+ v-for="(item, index) in viewInfoList"
583
+ :key="index"
584
+ :style="item.style"
585
+ ref="element"
586
+ >
587
+ <!-- 为了保证slot中的页面刷新。不加这个div slot中的img标签不会更新,vue或者是dom的bug? -->
588
+ <div :key="item.dataIndex">
589
+ <slot
590
+ name="itemView"
591
+ :currentIndex="currentDataIndex"
592
+ :dataIndex="item.dataIndex"
593
+ :focused="focused"
594
+ :distanceToCenter="item.distanceToCenter"
595
+ ></slot>
596
+ </div>
597
+ <!-- <div
598
+ :style="{
599
+ top: 100,
600
+ width: 50,
601
+ height: 50,
602
+ color: '#0000ff',
603
+ fontSize: 40,
604
+ }"
605
+ >
606
+ {{ index }}
607
+ </div> -->
608
+ </div>
609
+ </div>
610
+ </div>
611
+
612
+ <div v-if="showIndicator" :style="indicatorLayout">
613
+ <div
614
+ v-for="index in indexList"
615
+ :key="index"
616
+ :style="
617
+ vertical
618
+ ? { top: indicatorDotSize * index }
619
+ : { left: indicatorDotSize * index }
620
+ "
621
+ >
622
+ <slot
623
+ name="indicatorDot"
624
+ :dataIndex="index"
625
+ :currentIndex="currentDataIndex"
626
+ :focused="focused"
627
+ >
628
+ <div
629
+ :style="{
630
+ width: dotSize,
631
+ height: dotSize,
632
+ backgroundColor:
633
+ index == currentDataIndex
634
+ ? 'rgba(50, 50, 50, 1.0)'
635
+ : 'rgba(100, 100, 100, 0.7)',
636
+ borderRadius: Math.round(dotSize / 2) + 'px',
637
+ }"
638
+ ></div>
639
+ </slot>
640
+ </div>
641
+ </div>
642
+ </div>
643
+ </jsv-focus-block>
644
+ </template>
@@ -6,5 +6,7 @@
6
6
  * @Description: file content
7
7
  */
8
8
  import JsvSwiper from "./JsvSwiper.vue";
9
+ import JsvSwiper2 from "./JsvSwiper2.vue";
10
+ import JsvSmoothSwiper from "./JsvSmoothSwiper.vue";
9
11
 
10
- export default JsvSwiper;
12
+ export { JsvSwiper, JsvSwiper2, JsvSmoothSwiper };
@@ -10,6 +10,14 @@
10
10
  * textDirection {string} 文字方向,主要考虑阿拉伯语的方向场景
11
11
  * syncDraw {string} 文字较长时,是强制同步绘制还是自动的进入异步绘制,可选"auto","sync","async"
12
12
  * 其中"async"为强制包含短文字的场景也异步绘制
13
+ * minWidth {number} 最小宽度限制,-1表示不限制。当文字内容较少时,确保组件至少占用指定宽度,
14
+ * 以此影响后续的Flex布局
15
+ * maxWidth {number} 最大宽度限制,-1表示不限制。当文字内容较多时,限制组件最大宽度,
16
+ * 当文字不足指定宽度时,此组件为文字的实际宽度,以此影响后续的Flex布局,超出部分根据textOverflow处理
17
+ * minHeight {number} 最小高度限制,-1表示不限制。当文字内容较少时,确保组件至少占用指定高度,
18
+ * 以此影响后续的Flex布局
19
+ * maxHeight {number} 最大高度限制,-1表示不限制。当文字内容较多时,限制组件最大高度,
20
+ * 当文字不足指定高度时,此组件为文字的实际高度, 以此影响后续的Flex布局,超出部分根据textOverflow处理
13
21
  * latex语法样例
14
22
  * 1. 颜色: "测试\\textcolor{#FF0000}{红色}文字"
15
23
  * 2. 加粗: "测试\\textb{加粗}文字"
@@ -43,6 +51,22 @@ const props = defineProps({
43
51
  type: String,
44
52
  default: "auto",
45
53
  },
54
+ minWidth: {
55
+ type: Number,
56
+ default: -1,
57
+ },
58
+ maxWidth: {
59
+ type: Number,
60
+ default: -1,
61
+ },
62
+ minHeight: {
63
+ type: Number,
64
+ default: -1,
65
+ },
66
+ maxHeight: {
67
+ type: Number,
68
+ default: -1,
69
+ },
46
70
  });
47
71
 
48
72
  const computeAlignItems = computed(() => {
@@ -80,10 +104,15 @@ const jsvTextLatexValue = computed(() => {
80
104
  >
81
105
  <div
82
106
  :style="{
83
- width: textWidth,
107
+ width: style.width,
108
+ height: style.height,
84
109
  JsvTextLatex: jsvTextLatexValue,
85
110
  JsvTextLineAlign: lineAlign,
86
111
  JsvTextInnerDirection: textDirection,
112
+ JsvMinWidth: minWidth,
113
+ JsvMaxWidth: maxWidth,
114
+ JsvMinHeight: minHeight,
115
+ JsvMaxHeight: maxHeight,
87
116
  }"
88
117
  :data-jsv-perf-loadtex="props.syncDraw"
89
118
  >