@shijiu/jsview-vue 2.3.151-test.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 (432) hide show
  1. package/bin/browser/BrowserJsvLatex.vue.mjs +9 -90
  2. package/bin/jsview-vue.mjs +5964 -1833
  3. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +18 -2
  4. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
  5. package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +225 -0
  6. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +225 -0
  7. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +5 -0
  8. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +25 -2
  9. package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
  10. package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +25 -5
  11. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
  12. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
  13. package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
  14. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +70 -0
  15. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
  16. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
  17. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
  18. package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +3 -3
  19. package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
  20. package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +12 -4
  21. package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
  22. package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +17 -7
  23. package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
  24. package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
  25. package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
  26. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +3 -0
  27. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
  28. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -1
  29. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +29 -2
  30. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +107 -4
  31. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
  32. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +94 -18
  33. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
  34. package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +24 -23
  35. package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +77 -20
  36. package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +77 -20
  37. package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
  38. package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
  39. package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
  40. package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +10 -3
  41. package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
  42. package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
  43. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
  44. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
  45. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
  46. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +2 -0
  47. package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +76 -26
  48. package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
  49. package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
  50. package/bin/types/utils/JsViewVueTools/index.d.ts +3 -1
  51. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +12 -22
  52. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +12 -22
  53. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +101 -0
  54. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +61 -0
  55. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +58 -0
  56. package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +1 -0
  57. package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +1 -0
  58. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
  59. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +2 -1
  60. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
  61. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +2 -1
  62. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +3 -1
  63. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +55 -12
  64. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +178 -35
  65. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +119 -17
  66. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +9 -3
  67. package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
  68. package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +22 -1
  69. package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +1 -1
  70. package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +2 -0
  71. package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +5 -2
  72. package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
  73. package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +39 -1
  74. package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +1 -0
  75. package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +15 -3
  76. package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +22 -96
  77. package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +6 -0
  78. package/bin/types/utils/JsViewVueWidget/{JsvPosterDiv.vue.d.ts → TypesDiv/JsvPosterDiv.vue.d.ts} +9 -0
  79. package/bin/types/utils/JsViewVueWidget/{JsvPosterImage.vue.d.ts → TypesDiv/JsvPosterImage.vue.d.ts} +15 -3
  80. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +72 -0
  81. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +90 -0
  82. package/bin/types/utils/JsViewVueWidget/index.d.ts +6 -3
  83. package/dist/types/utils/JsViewEngineWidget/CheckType.d.ts +7 -0
  84. package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +106 -0
  85. package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +128 -0
  86. package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +25 -0
  87. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +23 -0
  88. package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +12 -0
  89. package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugTools.d.ts +9 -0
  90. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +16 -0
  91. package/dist/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +412 -0
  92. package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +751 -0
  93. package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +9 -0
  94. package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +82 -0
  95. package/dist/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +31 -0
  96. package/dist/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +80 -0
  97. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Slide.d.ts +25 -0
  98. package/dist/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +52 -0
  99. package/dist/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +69 -0
  100. package/dist/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
  101. package/dist/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +6 -0
  102. package/dist/types/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +20 -0
  103. package/dist/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +21 -0
  104. package/dist/types/utils/JsViewEngineWidget/RangeModel.d.ts +166 -0
  105. package/dist/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
  106. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +74 -0
  107. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +28 -0
  108. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +23 -0
  109. package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +46 -0
  110. package/dist/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +42 -0
  111. package/dist/types/utils/JsViewEngineWidget/TemplateParser/Fence.d.ts +62 -0
  112. package/dist/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +21 -0
  113. package/dist/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +103 -0
  114. package/dist/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +28 -0
  115. package/dist/types/utils/JsViewEngineWidget/TemplateParser/index.d.ts +8 -0
  116. package/dist/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +160 -0
  117. package/dist/types/utils/JsViewEngineWidget/index.d.ts +21 -0
  118. package/dist/types/utils/JsViewPlugin/JsvAccount/JsvAccount.d.ts +46 -0
  119. package/dist/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +6 -0
  120. package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +22 -0
  121. package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +212 -0
  122. package/dist/types/utils/JsViewPlugin/JsvAudio/CheckType.d.ts +6 -0
  123. package/dist/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +17 -0
  124. package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +22 -0
  125. package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +12 -0
  126. package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +6 -0
  127. package/dist/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +5 -0
  128. package/dist/types/utils/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +9 -0
  129. package/dist/types/utils/JsViewPlugin/JsvAudio/index.d.ts +7 -0
  130. package/dist/types/utils/JsViewPlugin/JsvAudio/version.d.mts +14 -0
  131. package/{bin/types/utils/JsViewPlugin/JsvLatex → dist/types/utils/JsViewPlugin/JsvAudio}/version.d.ts +5 -0
  132. package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -0
  133. package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +17 -0
  134. package/dist/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +5 -0
  135. package/dist/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +18 -0
  136. package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +46 -0
  137. package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +8 -0
  138. package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +9 -0
  139. package/dist/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +5 -0
  140. package/dist/types/utils/JsViewPlugin/JsvLatex/index.d.ts +8 -0
  141. package/dist/types/utils/JsViewPlugin/JsvLatex/version.d.mts +40 -0
  142. package/dist/types/utils/JsViewPlugin/JsvPlayer/AckEventDefine.d.ts +10 -0
  143. package/dist/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
  144. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +523 -0
  145. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +119 -0
  146. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +664 -0
  147. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-0.9.vue.d.ts +45 -0
  148. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
  149. package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue.d.ts +597 -0
  150. package/dist/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +415 -0
  151. package/dist/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +415 -0
  152. package/dist/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
  153. package/dist/types/utils/JsViewPlugin/index.d.ts +7 -0
  154. package/dist/types/utils/JsViewVueTools/BlobApi.d.ts +42 -0
  155. package/dist/types/utils/JsViewVueTools/ConstSymbol.d.ts +6 -0
  156. package/dist/types/utils/JsViewVueTools/DebugContentShellJBridge.d.ts +10 -0
  157. package/dist/types/utils/JsViewVueTools/DebugTool.d.ts +12 -0
  158. package/dist/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +14 -0
  159. package/dist/types/utils/JsViewVueTools/FeatureActive.d.ts +15 -0
  160. package/dist/types/utils/JsViewVueTools/ForgeConstDefine.d.ts +15 -0
  161. package/dist/types/utils/JsViewVueTools/ForgeHandles.d.ts +11 -0
  162. package/dist/types/utils/JsViewVueTools/JsvDynamicCssStyle.d.ts +33 -0
  163. package/dist/types/utils/JsViewVueTools/JsvDynamicKeyFrames.d.ts +40 -0
  164. package/dist/types/utils/JsViewVueTools/JsvFederationTools.d.ts +20 -0
  165. package/dist/types/utils/JsViewVueTools/JsvHashHistory.d.ts +20 -0
  166. package/dist/types/utils/JsViewVueTools/JsvImpactTracer.d.ts +44 -0
  167. package/dist/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +10 -0
  168. package/dist/types/utils/JsViewVueTools/JsvPerformance.d.ts +9 -0
  169. package/dist/types/utils/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
  170. package/dist/types/utils/JsViewVueTools/JsvRefTaker.d.ts +52 -0
  171. package/dist/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +378 -0
  172. package/dist/types/utils/JsViewVueTools/JsvStyleClass.d.ts +35 -0
  173. package/dist/types/utils/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +35 -0
  174. package/dist/types/utils/JsViewVueTools/JsvTextTools.d.ts +66 -0
  175. package/dist/types/utils/JsViewVueTools/JsvTextureDefines.d.ts +10 -0
  176. package/dist/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
  177. package/dist/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +47 -0
  178. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +99 -0
  179. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +20 -0
  180. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +58 -0
  181. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +113 -0
  182. package/dist/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +17 -0
  183. package/dist/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +170 -0
  184. package/dist/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +16 -0
  185. package/dist/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +31 -0
  186. package/dist/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +53 -0
  187. package/dist/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +6 -0
  188. package/dist/types/utils/JsViewVueTools/NinePatchHelper.d.ts +25 -0
  189. package/dist/types/utils/JsViewVueTools/TextureManagerTools.d.ts +11 -0
  190. package/dist/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +7 -0
  191. package/dist/types/utils/JsViewVueTools/index.d.ts +29 -0
  192. package/dist/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +124 -0
  193. package/dist/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +148 -0
  194. package/dist/types/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +35 -0
  195. package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +102 -0
  196. package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +37 -0
  197. package/dist/types/utils/JsViewVueWidget/JsvActorMove/index.d.ts +8 -0
  198. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
  199. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +77 -0
  200. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +54 -0
  201. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
  202. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +44 -0
  203. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +17 -0
  204. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
  205. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
  206. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
  207. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
  208. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
  209. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
  210. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +20 -0
  211. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
  212. package/dist/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +26 -0
  213. package/dist/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
  214. package/dist/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
  215. package/dist/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +5 -0
  216. package/dist/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +34 -0
  217. package/dist/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +6 -0
  218. package/dist/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +33 -0
  219. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +105 -0
  220. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +65 -0
  221. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +62 -0
  222. package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +5 -0
  223. package/dist/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
  224. package/dist/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
  225. package/dist/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
  226. package/dist/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +61 -0
  227. package/dist/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +91 -0
  228. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +106 -0
  229. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +100 -0
  230. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +108 -0
  231. package/dist/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +7 -0
  232. package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +63 -0
  233. package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +5 -0
  234. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
  235. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +228 -0
  236. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
  237. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +16 -0
  238. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
  239. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +20 -0
  240. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +106 -0
  241. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +107 -0
  242. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +11 -0
  243. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +12 -0
  244. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +118 -0
  245. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +244 -0
  246. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +169 -0
  247. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
  248. package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +24 -0
  249. package/dist/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +241 -0
  250. package/dist/types/utils/JsViewVueWidget/JsvHole.d.ts +19 -0
  251. package/dist/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +16 -0
  252. package/dist/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +52 -0
  253. package/dist/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +30 -0
  254. package/dist/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +98 -0
  255. package/dist/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
  256. package/dist/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +20 -0
  257. package/dist/types/utils/JsViewVueWidget/JsvInput/index.d.ts +8 -0
  258. package/dist/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +32 -0
  259. package/dist/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +5 -0
  260. package/dist/types/utils/JsViewVueWidget/JsvLine/index.d.ts +6 -0
  261. package/dist/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +33 -0
  262. package/dist/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +101 -0
  263. package/dist/types/utils/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
  264. package/dist/types/utils/JsViewVueWidget/JsvMindMap/Constant.d.ts +13 -0
  265. package/dist/types/utils/JsViewVueWidget/JsvMindMap/DataTree.d.ts +75 -0
  266. package/dist/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +72 -0
  267. package/dist/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +235 -0
  268. package/dist/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +5 -0
  269. package/dist/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +44 -0
  270. package/dist/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +93 -0
  271. package/dist/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +55 -0
  272. package/dist/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +30 -0
  273. package/dist/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +68 -0
  274. package/dist/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +6 -0
  275. package/dist/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +31 -0
  276. package/dist/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +85 -0
  277. package/dist/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +37 -0
  278. package/dist/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +8 -0
  279. package/dist/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +129 -0
  280. package/dist/types/utils/JsViewVueWidget/JsvRipple/index.d.ts +7 -0
  281. package/dist/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +28 -0
  282. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +278 -0
  283. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
  284. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
  285. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +16 -0
  286. package/dist/types/utils/JsViewVueWidget/JsvScrollBox/index.d.ts +7 -0
  287. package/dist/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +30 -0
  288. package/dist/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +76 -0
  289. package/dist/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +114 -0
  290. package/dist/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +58 -0
  291. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +18 -0
  292. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +70 -0
  293. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +85 -0
  294. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +15 -0
  295. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +21 -0
  296. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/index.d.ts +9 -0
  297. package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +6 -0
  298. package/dist/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
  299. package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +141 -0
  300. package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +248 -0
  301. package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +181 -0
  302. package/dist/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +8 -0
  303. package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
  304. package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +121 -0
  305. package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +6 -0
  306. package/dist/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +121 -0
  307. package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +6 -0
  308. package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +38 -0
  309. package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +8 -0
  310. package/dist/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +109 -0
  311. package/dist/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
  312. package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +109 -0
  313. package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +88 -0
  314. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +94 -0
  315. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +115 -0
  316. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +94 -0
  317. package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +115 -0
  318. package/dist/types/utils/JsViewVueWidget/index.d.ts +53 -0
  319. package/dist/types/utils/index.d.ts +8 -0
  320. package/dist/utils/browser/BrowserAudio.vue.mjs +258 -0
  321. package/dist/utils/browser/BrowserJsvLatex.vue.mjs +64 -0
  322. package/dist/utils/export-sfc.mjs +12 -0
  323. package/dist/utils/index.mjs +29000 -0
  324. package/dist/utils/jsview-vue-common.mjs +39 -0
  325. package/package.json +1 -1
  326. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
  327. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +24 -2
  328. package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
  329. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +193 -89
  330. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +325 -155
  331. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts +15 -0
  332. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +1035 -370
  333. package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
  334. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +138 -41
  335. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -0
  336. package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
  337. package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
  338. package/utils/JsViewEngineWidget/RectUtils.js +1 -1
  339. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +62 -0
  340. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
  341. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
  342. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
  343. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +329 -230
  344. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
  345. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +54 -5
  346. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
  347. package/utils/JsViewEngineWidget/WidgetCommon.ts +17 -7
  348. package/utils/JsViewEngineWidget/index.ts +7 -2
  349. package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
  350. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
  351. package/utils/JsViewPlugin/JsvLatex/Color.ts +104 -39
  352. package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
  353. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +71 -17
  354. package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
  355. package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +14 -2
  356. package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
  357. package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
  358. package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
  359. package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
  360. package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
  361. package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
  362. package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +60 -10
  363. package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
  364. package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
  365. package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
  366. package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
  367. package/utils/JsViewVueTools/BlobApi.ts +55 -0
  368. package/utils/JsViewVueTools/FeatureActive.ts +3 -0
  369. package/utils/JsViewVueTools/ForgeHandles.ts +3 -0
  370. package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
  371. package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
  372. package/utils/JsViewVueTools/JsvRuntimeBridge.js +40 -19
  373. package/utils/JsViewVueTools/JsvTextTools.ts +9 -1
  374. package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
  375. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
  376. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
  377. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
  378. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +16 -1
  379. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +154 -69
  380. package/utils/JsViewVueTools/JsvTextureStore/Store.ts +1 -1
  381. package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
  382. package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
  383. package/utils/JsViewVueTools/index.js +3 -1
  384. package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
  385. package/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.ts +212 -0
  386. package/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.ts +146 -0
  387. package/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.ts +748 -0
  388. package/utils/JsViewVueWidget/JsvDomRenderer/index.ts +1 -0
  389. package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +10 -1
  390. package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
  391. package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
  392. package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
  393. package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +23 -11
  394. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +269 -26
  395. package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +2 -1
  396. package/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.ts +24 -0
  397. package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +3 -0
  398. package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +5 -1
  399. package/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.ts +10 -2
  400. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +223 -100
  401. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +245 -64
  402. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +95 -29
  403. package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +27 -5
  404. package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
  405. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +29 -2
  406. package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
  407. package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
  408. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
  409. package/utils/JsViewVueWidget/JsvNinePatch.vue +22 -12
  410. package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
  411. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +32 -29
  412. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
  413. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +56 -25
  414. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +11 -11
  415. package/utils/JsViewVueWidget/JsvSector.vue +66 -28
  416. package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
  417. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +315 -305
  418. package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
  419. package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
  420. package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
  421. package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
  422. package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
  423. package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
  424. package/utils/JsViewVueWidget/index.js +7 -2
  425. package/bin/types/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.d.ts +0 -7
  426. package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
  427. package/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.ts +0 -36
  428. package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
  429. package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
  430. /package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +0 -0
  431. /package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue.d.ts → JsvFreeMoveActor.vue.d.ts} +0 -0
  432. /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
@@ -0,0 +1,100 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvFullscreenAdjust: 将给定的宽高区域(一般为主屏幕),放到屏幕中心,保持横纵比
10
+ * props说明:
11
+ * childWidth: number 主屏幕的宽
12
+ * childHeight: number 主屏幕的高
13
+ * onSized: Function(width:number, height:number)
14
+ 可以通过回调知道尺寸变化后的时机,回调参数(width, height)为flex后的尺寸
15
+ * background: {string} (选填)背景图案 可选值: 绝对路径url|url(相对路径url)|#FFFFFF|rbga(255,0,0,1.0)
16
+ *
17
+ * expose说明:
18
+ * getWidth(): onSize生效时,获取元素的宽度
19
+ * getHeight(): onSize生效时,获取元素的高度
20
+ *
21
+ */
22
+
23
+ declare const _default: {
24
+ new (...args: any[]): {
25
+ $: import("vue").ComponentInternalInstance;
26
+ $data: {};
27
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
28
+ $attrs: {
29
+ [x: string]: unknown;
30
+ };
31
+ $refs: {
32
+ [x: string]: unknown;
33
+ };
34
+ $slots: Readonly<{
35
+ [name: string]: import("vue").Slot | undefined;
36
+ }>;
37
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
38
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
39
+ $emit: (event: string, ...args: any[]) => void;
40
+ $el: any;
41
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
42
+ getWidth: () => any;
43
+ getHeight: () => any;
44
+ $props: {
45
+ readonly background?: string | undefined;
46
+ readonly askSize?: boolean | undefined;
47
+ readonly onSized?: Function | undefined;
48
+ readonly childWidth?: number | undefined;
49
+ readonly childHeight?: number | undefined;
50
+ };
51
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
52
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
53
+ created?: ((() => void) | (() => void)[]) | undefined;
54
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
55
+ mounted?: ((() => void) | (() => void)[]) | undefined;
56
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
57
+ updated?: ((() => void) | (() => void)[]) | undefined;
58
+ activated?: ((() => void) | (() => void)[]) | undefined;
59
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
60
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
61
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
62
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
63
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
64
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
65
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
66
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
67
+ };
68
+ $forceUpdate: () => void;
69
+ $nextTick: typeof import("vue").nextTick;
70
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
71
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
72
+ getWidth: () => any;
73
+ getHeight: () => any;
74
+ $props: {
75
+ readonly background?: string | undefined;
76
+ readonly askSize?: boolean | undefined;
77
+ readonly onSized?: Function | undefined;
78
+ readonly childWidth?: number | undefined;
79
+ readonly childHeight?: number | undefined;
80
+ };
81
+ }> & {} & import("vue").ComponentCustomProperties & {};
82
+ __isFragment?: undefined;
83
+ __isTeleport?: undefined;
84
+ __isSuspense?: undefined;
85
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
86
+ getWidth: () => any;
87
+ getHeight: () => any;
88
+ $props: {
89
+ readonly background?: string | undefined;
90
+ readonly askSize?: boolean | undefined;
91
+ readonly onSized?: Function | undefined;
92
+ readonly childWidth?: number | undefined;
93
+ readonly childHeight?: number | undefined;
94
+ };
95
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
96
+ $slots: {
97
+ default: (_: {}) => any;
98
+ };
99
+ });
100
+ export default _default;
@@ -0,0 +1,108 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvScreenFlex: 包装成一个支持flex属性的div, 背景图片等同于objectFit:cover的模式
10
+ * props说明:
11
+ * style: 不能设置top/left/height/width, 这些信息自动来自屏幕的宽高
12
+ * 主要用于设置flex的属性,目前支持属性如下:
13
+ * flexDirection: row|row-reverse|column|column-reverse 默认row, 决定主轴为行还是列,正向还是反向
14
+ * flexWrap: nowrap|wrap 默认nowrap, 主轴方向是否换行
15
+ * justifyContent: flex-start|flex-end|center 默认flex-start
16
+ * 主轴对齐方式(与direction相关决定start为左还是右)
17
+ * alignItems: flex-start|flex-end|center|stretch 默认center
18
+ * 副轴方向单行内的对齐方式,例如主轴为行时,项目在每行中竖直方向的对齐
19
+ * alignContent: flex-start|flex-end|center 默认flex-start
20
+ * 副轴方向多行内容总体的对齐方式,例如主轴为行时,项目在每行中竖直方向的对齐
21
+ * 特别注意: 这些属性会引起位置对齐问题, 所以会自动去掉: "overflow:hidden"
22
+ * askSize: boolean 设置会跟进flex的尺寸变化,设置后可通过getWidth/getHeight拿到尺寸,但会降低性能
23
+ * onSized: Function(width:number, height:number)
24
+ 比askSize更进一步,可以通过回调知道尺寸变化后的时机,回调参数(width, height)为flex后的尺寸* background: {string} (选填)背景图案 可选值: 绝对路径url|url(相对路径url)|#FFFFFF|rbga(255,0,0,1.0)
25
+ background: {string} (选填)背景图片url或者背景颜色 可选值: #FFFFFF|rbga(255,0,0,1.0)
26
+ 背景图会被按照objectFit:cover的形式显示
27
+ *
28
+ * expose说明:
29
+ * getWidth(): 当askSize或者onSize生效时,获取元素的宽度
30
+ * getHeight(): 当askSize或者onSize生效时,获取元素的高度
31
+ *
32
+ */
33
+
34
+ declare const _default: {
35
+ new (...args: any[]): {
36
+ $: import("vue").ComponentInternalInstance;
37
+ $data: {};
38
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
39
+ $attrs: {
40
+ [x: string]: unknown;
41
+ };
42
+ $refs: {
43
+ [x: string]: unknown;
44
+ };
45
+ $slots: Readonly<{
46
+ [name: string]: import("vue").Slot | undefined;
47
+ }>;
48
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
49
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
50
+ $emit: (event: string, ...args: any[]) => void;
51
+ $el: any;
52
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
53
+ getWidth: () => any;
54
+ getHeight: () => any;
55
+ $props: {
56
+ readonly background?: string | undefined;
57
+ readonly askSize?: boolean | undefined;
58
+ readonly onSized?: Function | undefined;
59
+ readonly style?: Record<string, any> | undefined;
60
+ };
61
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
62
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
63
+ created?: ((() => void) | (() => void)[]) | undefined;
64
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
65
+ mounted?: ((() => void) | (() => void)[]) | undefined;
66
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
67
+ updated?: ((() => void) | (() => void)[]) | undefined;
68
+ activated?: ((() => void) | (() => void)[]) | undefined;
69
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
70
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
71
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
72
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
73
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
74
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
76
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
77
+ };
78
+ $forceUpdate: () => void;
79
+ $nextTick: typeof import("vue").nextTick;
80
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
81
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
82
+ getWidth: () => any;
83
+ getHeight: () => any;
84
+ $props: {
85
+ readonly background?: string | undefined;
86
+ readonly askSize?: boolean | undefined;
87
+ readonly onSized?: Function | undefined;
88
+ readonly style?: Record<string, any> | undefined;
89
+ };
90
+ }> & {} & import("vue").ComponentCustomProperties & {};
91
+ __isFragment?: undefined;
92
+ __isTeleport?: undefined;
93
+ __isSuspense?: undefined;
94
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
95
+ getWidth: () => any;
96
+ getHeight: () => any;
97
+ $props: {
98
+ readonly background?: string | undefined;
99
+ readonly askSize?: boolean | undefined;
100
+ readonly onSized?: Function | undefined;
101
+ readonly style?: Record<string, any> | undefined;
102
+ };
103
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
104
+ $slots: {
105
+ default: (_: {}) => any;
106
+ };
107
+ });
108
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFlexCell/index.js}
3
+ */
4
+
5
+ export { default as JsvFlexDiv } from "./JsvFlexDiv.vue";
6
+ export { default as JsvScreenFlex } from "./JsvScreenFlex.vue";
7
+ export { default as JsvFullScrAdjust } from "./JsvFullScrAdjust.vue";
@@ -0,0 +1,63 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * [模块 export 内容]
9
+ * JsvFragShaderView:自定义Fragment shader的组件
10
+ * props说明:
11
+ * @prop {Object} style (必填)left, top, width, height
12
+ * @prop {String} shaderStr (必填)shader的函数体
13
+ * @prop {int} duration 动画时长
14
+ * @prop {boolean} autoplay 自动播放
15
+ * @prop {Array} uniforms uniform参数, [{ name: string, value: number }]
16
+ * @prop {Array} textures texture参数, [{ name: string, resource: string }]
17
+ * @prop {() => void} onStart 动画开始回调
18
+ * @prop {boolean} reverseAnimate 是否反向动画
19
+ * @prop {(int,boolean) => void} onEnd
20
+ * 动画结束回调,
21
+ * 返回值1号 int: 回到参数为动画的序列号,和startAnim的返回值匹配
22
+ * 返回值2号 boolean: true: 动画正常结束,false:动画因为cancel而结束
23
+ * methods:
24
+ * @method startAnim
25
+ * @description 开始动画
26
+ * @param {int} duration: 动画时长, 默认为props.duration
27
+ * @param {()=>void} onTimeout: 如果到达duration的时长,动画因为资源问题还没开始动画的时会回调此函数
28
+ * @return {int} 所开动画的序列号,用于和onEnd收到的值匹配
29
+ * @method stopAnim
30
+ * @description 停止动画
31
+ * shader函数体说明:
32
+ * 参考网站: https://www.shadertoy.com
33
+ * 主函数:
34
+ * void mainImage( out vec4 fragColor, in vec2 fragCoord )
35
+ * @params {vec4} fragColor: 输出的片元颜色
36
+ * @params {vec2} fragCoord: 片元坐标, 左下角为原点, 往右为x正, 往上为y正
37
+ * 可用的uniform:
38
+ * iResolution: {vec3} view的大小, vec3(width, height, 0)
39
+ * iTime: {float} 动画时间
40
+ * iDuration: {float} 动画总时间
41
+ * 注意事项:
42
+ * * 盒子端使用OpenGL ES 2.0版本, 而网站 https://www.shadertoy.com 上使用WebGL, glsl支持的函数和操作符有区别.
43
+ * * 由于坐标系的差异, texture()采样函数需要替换为jsvTexture2D()
44
+ * * 盒子端的精度有限, 可能会出现精度导致的计算错误
45
+ */
46
+
47
+ declare const _default: import("vue").DefineComponent<{}, {
48
+ startAnim: (alt_duration: any, on_timeout_func: any, reverse?: boolean) => number;
49
+ stopAnim: () => void;
50
+ $props: {
51
+ readonly style?: Record<string, any> | undefined;
52
+ readonly duration?: number | undefined;
53
+ readonly autoplay?: boolean | undefined;
54
+ readonly reverseAnimate?: boolean | undefined;
55
+ readonly shaderStr?: string | undefined;
56
+ readonly loadComfirmed?: boolean | undefined;
57
+ readonly onEnd?: Function | undefined;
58
+ readonly onStart?: Function | undefined;
59
+ readonly uniforms?: unknown[] | undefined;
60
+ readonly textures?: unknown[] | undefined;
61
+ };
62
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
63
+ export default _default;
@@ -0,0 +1,5 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFragShaderView/index.js}
3
+ */
4
+
5
+ export { default } from "./JsvFragShaderView.vue";
@@ -0,0 +1,4 @@
1
+ export default class ActionRefObject {
2
+ token: number;
3
+ used: boolean;
4
+ }
@@ -0,0 +1,228 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts}
3
+ */
4
+
5
+ import ConditionPackBuilder from "./SetCondition";
6
+ import ActionPackBuilder from "./SetAction";
7
+ import StatePackBuilder from "./SetState";
8
+ import CallbackManager from "./CallbackManager";
9
+ import { NexusNode } from "./NexusNode";
10
+ interface CmdListCreator {
11
+ (builders: BuilderFactory): Array<Object>;
12
+ }
13
+ interface ConditionConfig {
14
+ group?: number;
15
+ multiTimes?: boolean;
16
+ specName?: string | null;
17
+ shoudRenderBreak?: boolean;
18
+ }
19
+ interface ActionConfig {
20
+ xySpeedKeeps?: number;
21
+ xyAccKeeps?: number;
22
+ nexusRecv?: NexusNode | null;
23
+ }
24
+ declare class BuilderFactory {
25
+ private _SharedQuickConditionPackBuilder;
26
+ private _SharedQuickActionPackBuilder;
27
+ private _StatePackBuilder;
28
+ private _Callbacks;
29
+ private _SelfNexusRecv;
30
+ private _OwnerControl;
31
+ constructor(owner: ActorControl, callbackManager: CallbackManager, selfNexusRecv: NexusNode);
32
+ /**
33
+ * Condition
34
+ * 获取创建 Condition指令 的工厂对象
35
+ * 用法示例:
36
+ * actorControl.run((cmds)=>[ // cmds: 即为 BuilderFactory 的实例
37
+ * cmds.condition(...).条件指令(...).then([ // 条件指令: 例如 wallPosition()
38
+ * cmds.condition(...).其他条件指令(...), // 其他condition创建
39
+ * (actorState)=>{
40
+ * // 条件满足时预设的指令集
41
+ * console.log(
42
+ * "condition triggered",
43
+ * actorState.xPos, actorState.yPos,
44
+ * actorState.xSpd, actorState.ySpd,
45
+ * actorState.xAcc, actorState.yAcc);
46
+ * },
47
+ * ... // 其他command
48
+ * ]),
49
+ * ... // 其他command
50
+ * ]);
51
+ *
52
+ * ConditionPack对应支持 .then(cmdPackList), 可传入同 Run 的处理队列
53
+ * cmdPackList中是新的由 action(), state(), condition(), (actorState)=>{} 组成的指令集
54
+ * 其中(actorState)=>{} 是 condition().xxxx.then() 中独有的指令类型, 用于对接此condition触发后, 进行js端的回调
55
+ * actorState {
56
+ * xPos: number, // 当前drawX的值
57
+ * yPos: number, // 当前drawY的值
58
+ * xSpd: number, // 当前SpeedX的值
59
+ * ySpd: number, // 当前SpeedY的值
60
+ * xAcc: number, // 当前AccelerationX的值
61
+ * yAcc: number, // 当前AccelerationY的值
62
+ * }
63
+ *
64
+ * 创建condition时, 会记录当时的 baseOffset 坐标, 其设定值在进行比较时会转换成baseX和baseY坐标, 然后进行比较
65
+ * 所以不同担心div的style.top, style.left改变后, condition设置的条件中的坐标会发生偏移导致需要重新设置
66
+ * 比如: wallPosition(), boxPosition() 这种要常驻的condition
67
+ *
68
+ * boxPosition 用法示例(边界框与背景div尺寸一致):
69
+ * // div1 背景: (0, 0) -> (400, 400)
70
+ * cmds.condition({ multiTimes: true })
71
+ * .boxPosition(0, 0, 400, 400)
72
+ * .then([cmds.action().stopMoving(true)]);
73
+ *
74
+ * // div2 背景: (0, 0) -> (200, 200)
75
+ * cmds.condition({ multiTimes: true })
76
+ * .boxPosition(0, 0, 200, 200)
77
+ * .then([cmds.action().stopMoving(true)]);
78
+ *
79
+ * condition创建时, 可以用group和specName进行归类, 以便于后续按需清理, 例如:
80
+ * wallPosition()在一启动的时候有, 后续就没有了, 而还有其他condition存在, 不能使用state().clearConditions()全清理
81
+ *
82
+ * action指令内部也可能自己创建一些associated condition, 这些condition会被action执行完成后自动回收, 不需要通过state指令主动清理
83
+ *
84
+ * 可用方法见 @file://./SetCondition.ts 的 ConditionPackBuilder 类
85
+ * @param {int | ConditionConfig} configOrGroup 可选参数,默认为0, 有效值为0~3, 对应默认组, 1组, 2组, 3组, 便于remove时,按组进行清理, 单个Anim中唯一, Anim之间可重名
86
+ * 也可以传入一个Object, 包含 group, multiTimes, specName, shoudRenderBreak 四个属性
87
+ * @param {boolean} multiTimes 可选参数,默认为false, 是否要多次执行,
88
+ * 若为单次, 当group未设定时自动作废,当group设定时,不作废但改为deactive状态
89
+ * @param {string} specName 可选参数,默认null, 命名condition, 单个Anim中唯一, Anim之间可重名, 用于指定名字进行active/deactive动作的场景
90
+ * @param {boolean} shoudRenderBreak 可选参数,默认false, 关联的回调是否会发起RenderBreak
91
+ * @return {ConditionPackBuilder} Condition指令的工厂对象
92
+ */
93
+ condition(configOrGroup?: ConditionConfig | number, multiTimes?: boolean, specName?: string | null, shoudRenderBreak?: boolean): ConditionPackBuilder;
94
+ /**
95
+ * Action
96
+ * 获取创建 Action指令 的工厂对象
97
+ *
98
+ * 用法示例:
99
+ * actorControl.run((cmds)=>[ // cmds: 即为 BuilderFactory 的实例
100
+ * cmds.action(...).动作指令(...), // 动作指令: 例如 teleportOffset()
101
+ * ... // 其他command
102
+ * ]);
103
+ *
104
+ * Action主要是改变speed和accelerate的值,在Action指令中还包含一些综合指令, 例如:
105
+ * brakeToPosition: 通过内部创建一些associated condition来实现减速并停止到目标位置
106
+ * setSpdAndAccel: 同时设置速度和加速度,并提供拐点回调(用于抛物线处理)
107
+ *
108
+ * Action有个重要个规则: 一个FreeMoveActor中, 一个时间只会激活一条Action指令,
109
+ * 当下一条Action指令激活时, 会默认自动重置因为上一条Action而改变的SpeedX/Y(重置为0), AccelerationX/Y(重置为0), 以及其associated condition
110
+ * 但也可以进行主动保持, 通过 xySpeedKeeps 和 xyAccKeeps 参数控制
111
+ *
112
+ * 可用方法见 @file://./SetAction.ts 的 ActionPackBuilder 类
113
+ *
114
+ * @param {int | ActionConfig} configOrSpeedKeeps xy轴上的速度是否保持(与新Action不冲突的才会被保留),
115
+ * x轴保持为1, y轴保持为2,可"与或"让两个轴都保持
116
+ * 也可以传入一个Object, 包含 xySpeedKeeps, xyAccKeeps, nexusRecv 三个属性
117
+ * @param {int} xyAccKeeps xy轴上的加速度是否保持(与新Action不冲突的才会被保留),
118
+ * x轴保持为1, y轴保持为2,可"与或"让两个轴都保持
119
+ * @param {NexusNode} nexusRecv 此动作发出的 nexusEvent 的接受者
120
+ * @return {ActionPackBuilder} Action指令的工厂对象
121
+ */
122
+ action(configOrSpeedKeeps?: ActionConfig | number, xyAccKeeps?: number, nexusRecv?: NexusNode): ActionPackBuilder;
123
+ /**
124
+ * State
125
+ * 获取创建 State指令 的工厂对象
126
+ *
127
+ * 用法示例:
128
+ * actorControl.run((cmds)=>[ // cmds: 即为 BuilderFactory 的实例
129
+ * cmds.state(...).状态指令(...), // 状态指令: 例如 clearConditions()
130
+ * ... // 其他command
131
+ * ]);
132
+ *
133
+ * 在下一帧运行前的设置值,例如清理condition, 或者在下一帧运动的前调整启动运动的位置
134
+ * 可用方法见 @file://./SetState.ts 的 StatePackBuilder 类
135
+ * @return {StatePackBuilder} State指令的工厂对象
136
+ */
137
+ state(): StatePackBuilder;
138
+ }
139
+ declare class ActorControl {
140
+ private _BindView;
141
+ private _BindAnim;
142
+ private _Callbacks;
143
+ private _SelfNexusRecv;
144
+ private _SizeMode;
145
+ private _CondCycleStartList;
146
+ private _CondCycleEndList;
147
+ private _Builders;
148
+ constructor();
149
+ /**
150
+ * 内部API
151
+ *
152
+ * asSizeMode
153
+ */
154
+ asSizeMode(): void;
155
+ /**
156
+ * 内部API
157
+ *
158
+ * bindForgeView
159
+ * 为普通的div创建ActorControl控制
160
+ *
161
+ * @param {any} bindView forgeView实例
162
+ * @param {boolean} instantActive 是否立即激活动画
163
+ */
164
+ bindForgeView(bindView: any, instantActive: boolean): void;
165
+ /**
166
+ * run 创建并执行编排好的指令队列
167
+ *
168
+ * 用法为
169
+ * actorControl.run((cmds)=>[ // 指令队列
170
+ * cmds.state(...).状态指令(...),
171
+ * cmds.action(...).动作指令(...),
172
+ * cmds.condition(...).条件指令(...).then([
173
+ * // 条件满足时预设的指令集队列
174
+ * cmds.condition(...).其他条件指令(...),
175
+ * (actorState)=>{
176
+ * console.log(
177
+ * "condition triggered",
178
+ * actorState.xPos, actorState.yPos,
179
+ * actorState.xSpd, actorState.ySpd,
180
+ * actorState.xAcc, actorState.yAcc);
181
+ * },
182
+ * ...
183
+ * ]),
184
+ * ...
185
+ * ]);
186
+ *
187
+ * @param {CmdListCreator} commandsCreator
188
+ * 命令指令队列创建回调
189
+ * 此回调返回值为一个数组,数组内容内容来自 Condition(), State(), Action()
190
+ * 这些工厂类创建的Command pack
191
+ */
192
+ run(commandsCreator: CmdListCreator | undefined): void;
193
+ _WrappedRun(cmdPackList: Array<Object>): void;
194
+ /**
195
+ * 内部API
196
+ *
197
+ * getBindedAnim
198
+ */
199
+ getBindedAnim(): any;
200
+ /**
201
+ * 内部API
202
+ *
203
+ * getBindedView
204
+ */
205
+ getBindedView(): any;
206
+ /**
207
+ * addCondCycleListener
208
+ * 追加 cond cycle listener,可以根据start和end来进行callback时序排序
209
+ *
210
+ * 应对场景为, 在condition的 (ActorState)=>{} 回调中,
211
+ * 当一帧中condition的多个回调发生时(可能复数的condition被触发,也可能是一个condition有多个回调), 协调这些回调的处理逻辑的场景
212
+ *
213
+ * @param {Function} startCycleCallback 开始执行一帧的js回调(condition的callback)
214
+ * @param {Function} endCycleCallback 执行一帧的js回调完毕
215
+ */
216
+ addCondCycleListener(startCycleCallback: Function, endCycleCallback: Function): void;
217
+ /**
218
+ * removeCondCycleListener
219
+ * 移除由 addCondCycleListener 加入的回调
220
+ *
221
+ * @param {Function} startCycleCallback 开始执行一帧的js回调(condition的callback)
222
+ * @param {Function} endCycleCallback 执行一帧的js回调完毕
223
+ */
224
+ removeCondCycleListener(startCycleCallback: Function, endCycleCallback: Function): void;
225
+ _OnEchoEvent(retJson: string): void;
226
+ _EnsureAnim(): void;
227
+ }
228
+ export default ActorControl;
@@ -0,0 +1,6 @@
1
+ export default class ActorState {
2
+ xPos: number;
3
+ yPos: number;
4
+ xSpd: number;
5
+ ySpd: number;
6
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts}
3
+ */
4
+
5
+ import type { CommandType } from "./CmdTypes";
6
+ declare class CallbackManager {
7
+ private _CallbackMap;
8
+ private _IdGen;
9
+ constructor();
10
+ private addCallback;
11
+ clearCallback(): void;
12
+ expiredIds(ids: Array<string>): void;
13
+ invokeCallback(id: string, actorState: Object, customDataStr: string | null | undefined, nexusCustomDataStr: string | null | undefined): void;
14
+ buildCallbackCmd(func: Function): CommandType;
15
+ }
16
+ export default CallbackManager;
@@ -0,0 +1,16 @@
1
+ export interface CommandType {
2
+ typ: number;
3
+ set?: {};
4
+ }
5
+ export interface ConditionPackType {
6
+ subt: number;
7
+ react?: number;
8
+ cmds?: Array<CommandType>;
9
+ cmdPacks?: Array<CommandPackType>;
10
+ }
11
+ export interface CommandPackType {
12
+ t: number;
13
+ cmd?: CommandType;
14
+ cmds?: Array<CommandType> | null;
15
+ then?: Function;
16
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts}
3
+ */
4
+
5
+ declare const ActEventDefine: {
6
+ ActFinish: any;
7
+ SpeedRevertX: any;
8
+ SpeedRevertY: any;
9
+ ActReject: any;
10
+ };
11
+ declare const GroupType_ActionAssoc: number;
12
+ declare const ConditionSetBuilder: any;
13
+ declare const StateCmdBuilder: any;
14
+ declare const ActionCmdBuilder: any;
15
+ declare const CmdPackBuilder: any;
16
+ declare const FreeMoveAnimClass: any;
17
+ declare const RunFreeMoveCmdPacks: Function;
18
+ declare const FireGlobalNexus: Function;
19
+ declare const FinishRenderBreak: Function;
20
+ export { GroupType_ActionAssoc, ActEventDefine, ConditionSetBuilder, ActionCmdBuilder, StateCmdBuilder, CmdPackBuilder, FreeMoveAnimClass, RunFreeMoveCmdPacks, FireGlobalNexus, FinishRenderBreak };