@shijiu/jsview-vue 2.1.482-test.0 → 2.2.128

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/BrowserApic.vue.mjs +2 -1
  2. package/bin/browser/BrowserApic2.vue.mjs +2 -1
  3. package/bin/browser/BrowserApicLib.mjs +2 -1
  4. package/bin/browser/BrowserQrcode.vue.mjs +3 -1
  5. package/bin/browser/BrowserTextureAnim.vue.mjs +15 -7
  6. package/bin/jsview-vue.mjs +1734 -916
  7. package/bin/types/JsViewEngineWidget/CheckType.d.ts +3 -0
  8. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +102 -0
  9. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +88 -0
  10. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +10 -0
  11. package/bin/types/JsViewEngineWidget/MetroWidget/Const.d.ts +16 -0
  12. package/bin/types/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +14 -0
  13. package/bin/types/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +158 -0
  14. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +158 -0
  15. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +46 -0
  16. package/bin/types/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +21 -0
  17. package/bin/types/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +46 -0
  18. package/bin/types/JsViewEngineWidget/MetroWidget/Slide.d.ts +21 -0
  19. package/bin/types/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +48 -0
  20. package/bin/types/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +16 -0
  21. package/bin/types/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +17 -0
  22. package/bin/types/JsViewEngineWidget/RangeModel.d.ts +162 -0
  23. package/bin/types/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +37 -0
  24. package/bin/types/JsViewEngineWidget/TemplateParser/Fence.d.ts +58 -0
  25. package/bin/types/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +15 -0
  26. package/bin/types/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +91 -0
  27. package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +22 -0
  28. package/bin/types/JsViewEngineWidget/TemplateParser/index.d.ts +4 -0
  29. package/bin/types/JsViewEngineWidget/WidgetCommon.d.ts +143 -0
  30. package/bin/types/JsViewEngineWidget/index.d.ts +6 -0
  31. package/bin/types/JsViewPlugin/JsvAccount/JsvAccount.d.ts +42 -0
  32. package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +2 -0
  33. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +18 -0
  34. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +208 -0
  35. package/bin/types/JsViewPlugin/JsvAudio/CheckType.d.ts +2 -0
  36. package/bin/types/JsViewPlugin/JsvAudio/Events.d.ts +13 -0
  37. package/bin/types/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +18 -0
  38. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +8 -0
  39. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +2 -0
  40. package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +1 -0
  41. package/bin/types/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +5 -0
  42. package/bin/types/JsViewPlugin/JsvAudio/index.d.ts +3 -0
  43. package/bin/types/JsViewPlugin/JsvAudio/version.d.ts +10 -0
  44. package/bin/types/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +1 -0
  45. package/bin/types/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +13 -0
  46. package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +1 -0
  47. package/bin/types/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +17 -0
  48. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +3 -0
  49. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +2 -0
  50. package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +1 -0
  51. package/bin/types/JsViewPlugin/JsvLatex/index.d.ts +3 -0
  52. package/bin/types/JsViewPlugin/JsvLatex/version.d.ts +10 -0
  53. package/bin/types/JsViewPlugin/index.d.ts +3 -0
  54. package/bin/types/JsViewVueTools/ConstSymbol.d.ts +2 -0
  55. package/bin/types/JsViewVueTools/DebugContentShellJBridge.d.ts +6 -0
  56. package/bin/types/JsViewVueTools/DebugTool.d.ts +8 -0
  57. package/bin/types/JsViewVueTools/DefaultKeyMap.d.ts +10 -0
  58. package/bin/types/JsViewVueTools/ForgeConstDefine.d.ts +11 -0
  59. package/bin/types/JsViewVueTools/ForgeHandles.d.ts +6 -0
  60. package/bin/types/JsViewVueTools/JsvDemoTester.d.ts +2 -0
  61. package/bin/types/JsViewVueTools/JsvDynamicCssStyle.d.ts +14 -0
  62. package/bin/types/JsViewVueTools/JsvDynamicKeyFrames.d.ts +21 -0
  63. package/bin/types/JsViewVueTools/JsvHashHistory.d.ts +16 -0
  64. package/bin/types/JsViewVueTools/JsvImpactTracer.d.ts +40 -0
  65. package/bin/types/JsViewVueTools/JsvRefTaker.d.ts +27 -0
  66. package/bin/types/JsViewVueTools/JsvRuntimeBridge.d.ts +279 -0
  67. package/bin/types/JsViewVueTools/JsvStyleClass.d.ts +31 -0
  68. package/bin/types/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +15 -0
  69. package/bin/types/JsViewVueTools/JsvTextTools.d.ts +37 -0
  70. package/bin/types/JsViewVueTools/JsvTextureDefines.d.ts +6 -0
  71. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +95 -0
  72. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +15 -0
  73. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +75 -0
  74. package/bin/types/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +11 -0
  75. package/bin/types/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +24 -0
  76. package/bin/types/JsViewVueTools/JsvTextureStore/Store.d.ts +10 -0
  77. package/bin/types/JsViewVueTools/JsvTextureStore/Texture.d.ts +23 -0
  78. package/bin/types/JsViewVueTools/NinePatchHelper.d.ts +21 -0
  79. package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +2 -0
  80. package/bin/types/JsViewVueTools/index.d.ts +14 -0
  81. package/bin/types/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +31 -0
  82. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +64 -0
  83. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +33 -0
  84. package/bin/types/JsViewVueWidget/JsvActorMove/index.d.ts +4 -0
  85. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
  86. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +50 -0
  87. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +2 -0
  88. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
  89. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +23 -0
  90. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +2 -0
  91. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
  92. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
  93. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
  94. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
  95. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
  96. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
  97. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +19 -0
  98. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
  99. package/bin/types/{jsview-vue-common.d.mts → JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts} +12 -13
  100. package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +1 -0
  101. package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +13 -0
  102. package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +2 -0
  103. package/bin/types/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +51 -0
  104. package/bin/types/JsViewVueWidget/JsvFilterView.vue.d.ts +72 -0
  105. package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +72 -0
  106. package/bin/types/JsViewVueWidget/JsvFlexCell/index.d.ts +2 -0
  107. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
  108. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +65 -0
  109. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
  110. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +11 -0
  111. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +15 -0
  112. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +78 -0
  113. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +84 -0
  114. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +6 -0
  115. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +71 -0
  116. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +95 -0
  117. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +62 -0
  118. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +12 -0
  119. package/bin/types/JsViewVueWidget/JsvGrid.vue.d.ts +168 -0
  120. package/bin/types/JsViewVueWidget/JsvHole.d.ts +2 -0
  121. package/bin/types/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +36 -0
  122. package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +210 -0
  123. package/bin/types/JsViewVueWidget/JsvInput/index.d.ts +4 -0
  124. package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +12 -0
  125. package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +1 -0
  126. package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +2 -0
  127. package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +12 -0
  128. package/bin/types/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +83 -0
  129. package/bin/types/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
  130. package/bin/types/JsViewVueWidget/JsvMindMap/Constant.d.ts +9 -0
  131. package/bin/types/JsViewVueWidget/JsvMindMap/DataTree.d.ts +69 -0
  132. package/bin/types/JsViewVueWidget/JsvMindMap/Geometry.d.ts +68 -0
  133. package/bin/types/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +145 -0
  134. package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +1 -0
  135. package/bin/types/JsViewVueWidget/JsvMindMap/rtree.d.ts +40 -0
  136. package/bin/types/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +69 -0
  137. package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +19 -0
  138. package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +9 -0
  139. package/bin/types/JsViewVueWidget/JsvPosterDiv.vue.d.ts +60 -0
  140. package/bin/types/JsViewVueWidget/JsvPosterImage.vue.d.ts +75 -0
  141. package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +10 -0
  142. package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +25 -0
  143. package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +17 -0
  144. package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +12 -0
  145. package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +11 -0
  146. package/bin/types/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +60 -0
  147. package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +2 -0
  148. package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +13 -0
  149. package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
  150. package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +84 -0
  151. package/bin/types/JsViewVueWidget/JsvRipple/index.d.ts +3 -0
  152. package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +10 -0
  153. package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +176 -0
  154. package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +7 -0
  155. package/bin/types/JsViewVueWidget/JsvScrollBox/index.d.ts +1 -0
  156. package/bin/types/JsViewVueWidget/JsvSector.vue.d.ts +10 -0
  157. package/bin/types/JsViewVueWidget/JsvSoundPool.d.ts +84 -0
  158. package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +25 -0
  159. package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +38 -0
  160. package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +2 -0
  161. package/bin/types/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +14 -0
  162. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +18 -0
  163. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +69 -0
  164. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +11 -0
  165. package/bin/types/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +17 -0
  166. package/bin/types/JsViewVueWidget/JsvSpriteAnim/index.d.ts +5 -0
  167. package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +2 -0
  168. package/bin/types/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +209 -0
  169. package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +2 -0
  170. package/bin/types/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +97 -0
  171. package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +2 -0
  172. package/bin/types/JsViewVueWidget/JsvTextBox.vue.d.ts +75 -0
  173. package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +151 -0
  174. package/bin/types/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +2 -0
  175. package/bin/types/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +107 -0
  176. package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +14 -0
  177. package/bin/types/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +84 -0
  178. package/bin/types/JsViewVueWidget/JsvVisibleSensor/index.d.ts +84 -0
  179. package/bin/types/JsViewVueWidget/index.d.ts +38 -0
  180. package/bin/types/index.d.ts +4 -0
  181. package/index.d.ts +1 -1
  182. package/package.json +1 -1
  183. package/tools/config/tsconfig.json +6 -6
  184. package/tools/jsview-vue-build.mjs +13 -4
  185. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +7 -4
  186. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +28 -6
  187. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +568 -369
  188. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +4 -3
  189. package/utils/JsViewEngineWidget/MetroWidget/Slide.ts +56 -0
  190. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +51 -10
  191. package/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.ts +10 -0
  192. package/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.ts +1 -1
  193. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +21 -21
  194. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +13 -7
  195. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +35 -45
  196. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +6 -6
  197. package/utils/JsViewEngineWidget/WidgetCommon.ts +34 -5
  198. package/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue +13 -1
  199. package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +470 -338
  200. package/utils/JsViewVueTools/ConstSymbol.ts +3 -0
  201. package/utils/JsViewVueTools/ForgeConstDefine.ts +11 -0
  202. package/utils/JsViewVueTools/JsvRuntimeBridge.js +166 -48
  203. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +62 -0
  204. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +41 -7
  205. package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +15 -1
  206. package/utils/JsViewVueTools/index.js +2 -0
  207. package/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue +6 -6
  208. package/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue +5 -6
  209. package/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.js +5 -1
  210. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.ts +1 -1
  211. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +23 -1
  212. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.ts +4 -4
  213. package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +6 -6
  214. package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +1 -1
  215. package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +43 -9
  216. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +24 -0
  217. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +58 -1
  218. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +56 -0
  219. package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +3 -0
  220. package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +6 -1
  221. package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +1 -1
  222. package/utils/JsViewVueWidget/JsvMindMap/rtree.js +1 -1
  223. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +121 -68
  224. package/utils/JsViewVueWidget/JsvNinePatch.vue +4 -1
  225. package/utils/JsViewVueWidget/JsvPosterImage.vue +22 -9
  226. package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +6 -2
  227. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +309 -0
  228. package/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.ts +15 -0
  229. package/utils/JsViewVueWidget/JsvScrollBox/index.js +2 -0
  230. package/utils/JsViewVueWidget/JsvTextBox.vue +24 -4
  231. package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +27 -9
  232. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +2 -0
  233. package/utils/JsViewVueWidget/index.js +1 -0
  234. package/bin/types/browser/BrowserApic.vue.d.mts +0 -33
  235. package/bin/types/browser/BrowserApic2.vue.d.mts +0 -16
  236. package/bin/types/browser/BrowserApicLib.d.mts +0 -56
  237. package/bin/types/browser/BrowserAudio.vue.d.mts +0 -2
  238. package/bin/types/browser/BrowserJsvLatex.vue.d.mts +0 -55
  239. package/bin/types/browser/BrowserPreload.vue.d.mts +0 -14
  240. package/bin/types/browser/BrowserQrcode.vue.d.mts +0 -29
  241. package/bin/types/browser/BrowserSpray.vue.d.mts +0 -2
  242. package/bin/types/browser/BrowserTextureAnim.vue.d.mts +0 -2
  243. package/bin/types/export-sfc.d.mts +0 -2
  244. package/bin/types/jsview-vue.d.mts +0 -2511
@@ -3,11 +3,15 @@
3
3
  */
4
4
 
5
5
  /*
6
- * JsvTextBox:Vue高阶组件,文字的垂直对齐方式显示控件
6
+ * JsvTextBox:Vue高阶组件,用于文字绘制要精细调整的场景,
7
+ * 注意: 其中Jsv打头的属性为内部属性,不要在组件外直接使用,规避后续调整时进行变名等调整导致使用不了。
7
8
  * props说明:
8
9
  * verticalAlign {string} 垂直对齐方式 (必需) top、middle、bottom
9
10
  * style {object} 样式(必需)
10
11
  * enableLatex {bool} 是否启用Latex文字描画模式
12
+ * textDirection {string} 文字方向,主要考虑阿拉伯语的方向场景
13
+ * syncDraw {string} 文字较长时,是强制同步绘制还是自动的进入异步绘制,可选"auto","sync","async"
14
+ * 其中"async"为强制包含短文字的场景也异步绘制
11
15
  * latex语法样例
12
16
  * 1. 颜色: "测试\\textcolor{#FF0000}{红色}文字"
13
17
  * 2. 加粗: "测试\\textb{加粗}文字"
@@ -33,11 +37,14 @@ const props = defineProps({
33
37
  default: "middle",
34
38
  },
35
39
  enableLatex: Boolean,
36
- className: String,
37
40
  textDirection: {
38
41
  type: String,
39
42
  default: "unset",
40
43
  },
44
+ syncDraw: {
45
+ type: String,
46
+ default: "auto",
47
+ },
41
48
  });
42
49
 
43
50
  const computeAlignItems = computed(() => {
@@ -51,6 +58,18 @@ const computeAlignItems = computed(() => {
51
58
  return "center";
52
59
  }
53
60
  });
61
+
62
+ const textWidth = computed(() => {
63
+ let w = props.style?.width;
64
+ if (typeof w == "undefined") {
65
+ w = 0;
66
+ }
67
+ return w;
68
+ });
69
+
70
+ const jsvTextLatexValue = computed(() => {
71
+ return props.enableLatex ? 1 : 0;
72
+ });
54
73
  </script>
55
74
 
56
75
  <template>
@@ -63,11 +82,12 @@ const computeAlignItems = computed(() => {
63
82
  >
64
83
  <div
65
84
  :style="{
66
- width: props.style.width,
67
- JsvTextLatex: enableLatex ? 1 : 0,
85
+ width: textWidth,
86
+ JsvTextLatex: jsvTextLatexValue,
68
87
  JsvTextLineAlign: lineAlign,
69
88
  JsvTextInnerDirection: textDirection,
70
89
  }"
90
+ :data-jsv-perf-loadtex="props.syncDraw"
71
91
  >
72
92
  <slot />
73
93
  </div>
@@ -5,6 +5,12 @@
5
5
  * @Description: file content
6
6
  -->
7
7
  <script>
8
+ // Forge共享数据引用,在Browser处理中window引用,规避Browser触发vite循环引用bug
9
+ const forgeTextureManager = window.JsvCode.ForgeHandles.TextureManager;
10
+ const renderDocument = window.JsvCode.Dom.RenderDocument
11
+ ? window.JsvCode.Dom.RenderDocument
12
+ : window.JsvCode.Dom.BrowserDocument;
13
+
8
14
  const DECORATE_BORDER_RADIUS = "BroderRaidus";
9
15
  const DECORATE_NINEPATCH_ALPHA_MIX = "NinePatchAlphaMix";
10
16
  const TexAlignAnchor = {
@@ -176,13 +182,25 @@ export default {
176
182
  );
177
183
  console.log("get mask style");
178
184
  const transitionTime = this.decorate.animTime;
185
+
186
+ let decorate_url = this.decorate.url;
187
+ // 加入对 jsvtexturestore 模式的支持
188
+ // 特别注意: chromiumn 102版本上,当jsvtexturestore对应内容首次加载时不能显示,此divstyle变化后才能显示
189
+ if (
190
+ this.decorate.url &&
191
+ this.decorate.url.startsWith("jsvtexturestore:")
192
+ ) {
193
+ let view_texture = forgeTextureManager.GetImage2(this.decorate.url);
194
+ decorate_url = `url(${view_texture.Source})`;
195
+ }
196
+
179
197
  return {
180
198
  left: this.left + "px",
181
199
  top: this.top + "px",
182
200
  width: this.width + "px",
183
201
  height: this.height + "px",
184
202
  transition: `left ${transitionTime}s, top ${transitionTime}s, width ${transitionTime}s, height ${transitionTime}s`,
185
- webkitMaskBoxImageSource: this.decorate.url,
203
+ webkitMaskBoxImageSource: decorate_url,
186
204
  webkitMaskBoxImageSlice: slideWidth,
187
205
  webkitMaskBoxImageWidth:
188
206
  Math.ceil(
@@ -246,11 +264,11 @@ export default {
246
264
  },
247
265
 
248
266
  insertKeyframe(animDefine) {
249
- const index = document.styleSheets[0].cssRules.length;
250
- document.styleSheets[0].insertRule(animDefine, index);
267
+ const index = renderDocument.styleSheets[0].cssRules.length;
268
+ renderDocument.styleSheets[0].insertRule(animDefine, index);
251
269
  },
252
270
  removeKeyframe(animName) {
253
- const styleSheetRef = document.styleSheets[0];
271
+ const styleSheetRef = renderDocument.styleSheets[0];
254
272
  const cssRulesRef = styleSheetRef.cssRules;
255
273
  // 对CssRules进行删除操作,倒序轮询
256
274
  for (let i = cssRulesRef.length - 1; i >= 0; i--) {
@@ -264,24 +282,24 @@ export default {
264
282
  mounted() {
265
283
  if (this.animation) {
266
284
  //此控件直接操作dom因此不走JsvDynamicKeyframes, 直接通过dom添加keyframes
267
- this.insertKeyframe("@keyframes " + this.animName + " " + this.animation)
285
+ this.insertKeyframe("@keyframes " + this.animName + " " + this.animation);
268
286
  }
269
287
 
270
288
  this.$refs.root.jsvGetProxyView().RegisterOnProxyReady(() => {
271
289
  const root = this.$refs.root.jsvGetProxyView().HtmlGetElement();
272
290
  //绕过 jsview 对document 的 hook
273
- this.clipDiv = window.originDocument.createElement("div");
291
+ this.clipDiv = renderDocument.createElement("div");
274
292
  Object.assign(this.clipDiv.style, this.maskStyle);
275
293
 
276
294
  const textureLayout = this.textureLayout;
277
- this.animDiv = window.originDocument.createElement("div");
295
+ this.animDiv = renderDocument.createElement("div");
278
296
  Object.assign(this.animDiv.style, textureLayout);
279
297
  this.animDiv.onanimationend = () => {
280
298
  this.animDiv.style.animation = null;
281
299
  this.onAnimationEnd?.();
282
300
  };
283
301
 
284
- this.imgDiv = window.originDocument.createElement("div");
302
+ this.imgDiv = renderDocument.createElement("div");
285
303
  this.imgDiv.style.width = textureLayout.width;
286
304
  this.imgDiv.style.height = textureLayout.height;
287
305
  this.imgDiv.style.backgroundImage = `url(${this.src})`;
@@ -338,4 +356,4 @@ export default {
338
356
 
339
357
  <template>
340
358
  <div ref="root"></div>
341
- </template>
359
+ </template>
@@ -337,6 +337,7 @@ export default {
337
337
  1
338
338
  );
339
339
  this.forgeAnimation.EnableDelay(this.delay).SetRepeat(this.repeat);
340
+ this.forgeAnimation.Enable(Forge.AnimationEnable.ReleaseAfterEndCallback);
340
341
  this.forgeAnimation.SetAnimationListener(
341
342
  new Forge.AnimationListener(null, this._onAnimationEnd, null)
342
343
  );
@@ -373,6 +374,7 @@ export default {
373
374
  1
374
375
  );
375
376
  this.forgeAnimation.EnableDelay(this.delay).SetRepeat(this.repeat);
377
+ this.forgeAnimation.Enable(Forge.AnimationEnable.ReleaseAfterEndCallback);
376
378
  this.forgeAnimation.SetAnimationListener(
377
379
  new Forge.AnimationListener(null, this._onAnimationEnd, null)
378
380
  );
@@ -57,3 +57,4 @@ export {
57
57
  }
58
58
  export { default as JsvEnableRenderBreak } from "./JsvEnableRenderBreak.vue";
59
59
  export { JsvMindMap } from "./JsvMindMap"
60
+ export * from "./JsvScrollBox"
@@ -1,33 +0,0 @@
1
- export { _sfc_main as default };
2
- declare namespace _sfc_main {
3
- const __name: string;
4
- namespace props {
5
- const src: StringConstructor;
6
- const style: ObjectConstructor;
7
- namespace autoPlay {
8
- export const type: BooleanConstructor;
9
- const _default: boolean;
10
- export { _default as default };
11
- }
12
- namespace loopType {
13
- const type_1: NumberConstructor;
14
- export { type_1 as type };
15
- const _default_1: number;
16
- export { _default_1 as default };
17
- }
18
- namespace loopInfo {
19
- const type_2: ArrayConstructor;
20
- export { type_2 as type };
21
- function _default_2(): number[][];
22
- export { _default_2 as default };
23
- }
24
- const onStart: FunctionConstructor;
25
- const onEnd: FunctionConstructor;
26
- const onLoad: FunctionConstructor;
27
- }
28
- function setup(__props: any, { expose }: {
29
- expose: any;
30
- }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
- [key: string]: any;
32
- }>;
33
- }
@@ -1,16 +0,0 @@
1
- export { _sfc_main as default };
2
- declare namespace _sfc_main {
3
- const __name: string;
4
- namespace props {
5
- const src: StringConstructor;
6
- const style: ObjectConstructor;
7
- const onStart: FunctionConstructor;
8
- const onEnd: FunctionConstructor;
9
- const onLoad: FunctionConstructor;
10
- }
11
- function setup(__props: any, { expose }: {
12
- expose: any;
13
- }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
- [key: string]: any;
15
- }>;
16
- }
@@ -1,56 +0,0 @@
1
- declare class GifData extends ApicDataBase {
2
- toImage(frame_index: any, canvas: any, canvas_ctx: any): any;
3
- }
4
- declare class Viewer {
5
- constructor(apic_data: any, canvas: any, listener: any);
6
- _ApicData: any;
7
- _Canvas: any;
8
- _Context: any;
9
- _Listener: any;
10
- _TimeoutId: number;
11
- _EndState: number;
12
- _createLoopTool(loop_type: any, loop_info: any): void;
13
- _LoopTool: PartLoopTool | NormalLoopTool | SingleLoopTool | undefined;
14
- stop(): void;
15
- play(loopType: any, loopInfo: any, endState?: number): void;
16
- renderLoop(): void;
17
- renderFrame(frame_index: any): any;
18
- }
19
- declare class WebpData extends ApicDataBase {
20
- toImage(frame_index: any, canvas: any, canvas_ctx: any): any;
21
- }
22
- declare class ApicDataBase {
23
- constructor(arrayBuffer: any);
24
- LoopCount: number;
25
- FrameCount: number;
26
- Width: number;
27
- Height: number;
28
- _Canvas: any;
29
- _Context: any;
30
- _DecodedData: any;
31
- decode(arrayBuffer: any): void;
32
- toImage(frameIndex: any, canvas: any, canvasCtx: any): void;
33
- }
34
- declare class PartLoopTool extends LoopToolBase {
35
- constructor(info_list: any);
36
- mLoopPeriod: number;
37
- mCurLoopStartFrame: number;
38
- mCurLoopEndFrame: number;
39
- mCurLoopNum: number;
40
- mCurLoopCount: number;
41
- mLoopInfo: any;
42
- mValid: boolean | undefined;
43
- updateLoop(): boolean;
44
- }
45
- declare class NormalLoopTool extends LoopToolBase {
46
- constructor(loop_type: any, loop_num: any);
47
- mLoopType: any;
48
- mLoopCount: number;
49
- mValid: boolean | undefined;
50
- }
51
- declare class SingleLoopTool extends LoopToolBase {
52
- constructor(index: any);
53
- mTargetIndex: any;
54
- }
55
- import { a as LoopToolBase } from "../jsview-vue-common.mjs";
56
- export { GifData as G, Viewer as V, WebpData as W };
@@ -1,2 +0,0 @@
1
- export { BrowserAudio as default };
2
- declare const BrowserAudio: any;
@@ -1,55 +0,0 @@
1
- export { _sfc_main as default };
2
- declare namespace _sfc_main {
3
- const __name: string;
4
- namespace props {
5
- namespace latexStr {
6
- const type: StringConstructor;
7
- const required: boolean;
8
- }
9
- namespace width {
10
- const type_1: NumberConstructor;
11
- export { type_1 as type };
12
- const required_1: boolean;
13
- export { required_1 as required };
14
- }
15
- namespace height {
16
- const type_2: NumberConstructor;
17
- export { type_2 as type };
18
- const _default: number;
19
- export { _default as default };
20
- }
21
- namespace fontSize {
22
- const type_3: NumberConstructor;
23
- export { type_3 as type };
24
- const _default_1: number;
25
- export { _default_1 as default };
26
- }
27
- namespace lineSpace {
28
- const type_4: NumberConstructor;
29
- export { type_4 as type };
30
- const _default_2: number;
31
- export { _default_2 as default };
32
- }
33
- namespace color {
34
- const type_5: StringConstructor;
35
- export { type_5 as type };
36
- const _default_3: string;
37
- export { _default_3 as default };
38
- }
39
- namespace left {
40
- const type_6: NumberConstructor;
41
- export { type_6 as type };
42
- const _default_4: number;
43
- export { _default_4 as default };
44
- }
45
- namespace top {
46
- const type_7: NumberConstructor;
47
- export { type_7 as type };
48
- const _default_5: number;
49
- export { _default_5 as default };
50
- }
51
- }
52
- function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
- [key: string]: any;
54
- }>;
55
- }
@@ -1,14 +0,0 @@
1
- export { _sfc_main as default };
2
- declare namespace _sfc_main {
3
- const __name: string;
4
- namespace props {
5
- const preloadList: ArrayConstructor;
6
- const downloadList: ArrayConstructor;
7
- const onPreloadDone: FunctionConstructor;
8
- const onDownloadDone: FunctionConstructor;
9
- const onPreloading: FunctionConstructor;
10
- }
11
- function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
- [key: string]: any;
13
- }>;
14
- }
@@ -1,29 +0,0 @@
1
- export { _sfc_main as default };
2
- declare namespace _sfc_main {
3
- const __name: string;
4
- namespace props {
5
- const value: StringConstructor;
6
- const size: NumberConstructor;
7
- namespace fgColor {
8
- export const type: StringConstructor;
9
- const _default: string;
10
- export { _default as default };
11
- }
12
- namespace bgColor {
13
- const type_1: StringConstructor;
14
- export { type_1 as type };
15
- const _default_1: string;
16
- export { _default_1 as default };
17
- }
18
- namespace level {
19
- const type_2: StringConstructor;
20
- export { type_2 as type };
21
- const _default_2: string;
22
- export { _default_2 as default };
23
- }
24
- const imageSettings: ObjectConstructor;
25
- }
26
- function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
- [key: string]: any;
28
- }>;
29
- }
@@ -1,2 +0,0 @@
1
- export { BrowserSpray as default };
2
- declare const BrowserSpray: any;
@@ -1,2 +0,0 @@
1
- export { BrowserTextureAnim as default };
2
- declare const BrowserTextureAnim: any;
@@ -1,2 +0,0 @@
1
- export { _export_sfc as _ };
2
- declare function _export_sfc(sfc: any, props: any): any;