@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,169 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts}
3
+ */
4
+
5
+ import { NexusNode } from "./NexusNode";
6
+ import ActorControl from "./ActorControl";
7
+ import type { CommandPackType } from "./CmdTypes";
8
+ /**
9
+ * state().XXXXX 可用的API说明
10
+ * 标注"内部API"的API, 应用开发时一定!!不要使用, 因为后续版本可能调整导致失效
11
+ */
12
+ declare class StatePackBuilder {
13
+ constructor();
14
+ /**
15
+ * clearConditions
16
+ * 清理所有已经设置的condition,
17
+ * condition如果不清理则伴随着FreeMoveActor的生命周期一直存在
18
+ */
19
+ clearAllConditions(): CommandPackType;
20
+ /**
21
+ * removeConditionByGroup
22
+ * 清理指定组的condition,
23
+ * group 和 @file://./ActorControl.ts 中condition()函数声明的group对应
24
+ * condition如果不清理则伴随着FreeMoveActor的生命周期一直存在
25
+ */
26
+ removeConditionByGroup(group: number): CommandPackType;
27
+ /**
28
+ * removeConditionByGroup
29
+ * 清理指定名字的condition
30
+ * specName 和 @file://./ActorControl.ts 中condition()函数声明的specName对应
31
+ * condition如果不清理则伴随着FreeMoveActor的生命周期一直存在
32
+ */
33
+ removeConditionByName(specName: String): CommandPackType;
34
+ /**
35
+ * activeCondition
36
+ * 重新激活对应group或者specName的condition
37
+ * group和specName和 @file://./ActorControl.ts 中condition()函数声明的group或specName对应
38
+ *
39
+ * 一个condition处于非激活有两种可能,
40
+ * 1. 允许触发一次的condition已经完成触发
41
+ * 见 @file://./ActorControl.ts 中condition()函数声明的multiTimes == 1的设置即为一次触发
42
+ * 2. 被 deactiveCondition()关闭过的condition
43
+ *
44
+ * @param {int} groupType (可选)对应condition的groupType, 与specName二选一
45
+ * @param {String} specName (可选)对应condition的specName, 与groupId二选一, 当groupId为 undefined 或 -1 时生效
46
+ */
47
+ activeCondition(groupType: number | undefined, specName: String | undefined): CommandPackType;
48
+ /**
49
+ * deactiveCondition
50
+ * 停止对应group或者specName的condition
51
+ *
52
+ * @param {int} groupType (可选)对应condition的groupType, 与specName二选一
53
+ * @param {String} specName (可选)对应condition的specName, 与groupId二选一, 当groupId为 undefined 或 -1 时生效
54
+ */
55
+ deactiveCondition(groupType: number | undefined, specName: String | undefined): CommandPackType;
56
+ /**
57
+ * setStartPos 立刻将actor运动起始点设置到目标位置, 作为下一个Action执行时的位置起点
58
+ * 若没有新的Action执行, 则这个位置改变不会有任何效果
59
+ * 注意1: 只影响当speed/accel不为0时的下一帧的运动起始位置,
60
+ * 当speed/accel为0状态下要移动物体请用 Action.teleportTo
61
+ * 注意2: 此为state设置,下一帧直接以此state开始,所以不会触发任何positionCondition的cross条件
62
+ * 需要condition触发时,请用 Action.teleportTo
63
+ * 参数说明:
64
+ * targetX (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
65
+ * targetY (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
66
+ */
67
+ setStartPos(targetX: number | undefined, targetY: number | undefined): CommandPackType;
68
+ /**
69
+ * setStartOffsetPos 立刻将actor移动以当前位置相对位移的位置, 作为下一个Action执行时的位置起点
70
+ * 用offset的方式可以解决触发condition时, drawX或drawY并不是完全和condition的坐标重合, 偏差的坐标可由offset继承
71
+ *
72
+ * 注意1: 只影响当speed/accel不为0时的下一帧的运动起始位置,
73
+ * 当speed/accel为0状态下要移动物体请用 Action.teleportOffset
74
+ * 注意2: 此为state设置,下一帧直接以此state开始,所以不会触发任何positionCondition的cross条件
75
+ * 需要condition触发时,请用 Action.teleportOffset
76
+ * 参数说明:
77
+ * targetX (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
78
+ * targetY (int) 带符号整数,目标位置,如果设置为undefined,标识不以此轴为终点
79
+ */
80
+ setStartOffsetPos(offsetX: number | undefined, offsetY: number | undefined): CommandPackType;
81
+ /**
82
+ * alignPosition
83
+ * 在condition().then()中使用,
84
+ * 并且只在position相关的condition中才会响应
85
+ * 用condition的位置来校准下次Action的StartPostion
86
+ */
87
+ alignPosition(): CommandPackType;
88
+ /**
89
+ * updateBaseOffset
90
+ * 更新本div的基准坐标, 同时立刻调整drawX, drawY, 使其相对于父dom节点的屏幕坐标保持不变
91
+ *
92
+ * @param {number} offsetX 基准坐标x偏移量, div的newStyle.left - div的originStyle.left
93
+ * @param {number} offsetY 基准坐标y偏移量, div的newStyle.top - div的originStyle.top
94
+ */
95
+ updateBaseOffset(offsetX: number, offsetY: number): CommandPackType;
96
+ /**
97
+ * 内部API
98
+ *
99
+ * 在BlockerCondition发生时,进行位置回滚处理
100
+ */
101
+ revertWithHitBlock(): CommandPackType;
102
+ /**
103
+ * 内部API
104
+ *
105
+ * setHitWallOverflow
106
+ */
107
+ setHitWallOverflow(): CommandPackType;
108
+ /**
109
+ * 内部API
110
+ *
111
+ * touchLockSwitch
112
+ */
113
+ touchLockSwitch(isLock: boolean, direction: number, unlockThreshold?: number): CommandPackType;
114
+ /**
115
+ * fireCustomNexus 发出自定义Nexus event
116
+ * @param {NexusNode} nexusRecv 由 FreeMoveFunc.newNexus() 创建, 为通讯匹配的句柄, 类似电话号
117
+ */
118
+ fireCustomNexus(nexusRecv: NexusNode): CommandPackType;
119
+ /**
120
+ * 内部API
121
+ *
122
+ * fireNexusEvent 发出Nexus event
123
+ * @param {NexusNode} nexusRecv 由 FreeMoveFunc.newNexus() 创建, 作为通讯句柄,类似电话号,在onNexusEvent监听
124
+ * @param {number} detailEventType 监听的事件类型, 类比与分机号,和onNexusEvent约定, 自定义内容要求1000以上
125
+ */
126
+ fireNexusEvent(nexusRecv: NexusNode, detailEventType: number): CommandPackType;
127
+ /**
128
+ * 内部API
129
+ *
130
+ * setTouchAttractChild
131
+ *
132
+ * 绑定一个子view中的FreeMoveDiv
133
+ * 当Touch触控到本div时,这个子div会立刻移动到手指按下的位置,并接受焦点
134
+ *
135
+ * @param {ActorControl} otherFreeMoveControl 其他FreeMoveDiv的control对象
136
+ */
137
+ setTouchAttractChild(otherFreeMoveControl: ActorControl): CommandPackType;
138
+ /**
139
+ * 内部API
140
+ *
141
+ * startMovementSync
142
+ *
143
+ * 发出进度同步信号(可以一个FreeMove绑定多个信号发生器,但目前场景估计只需要一个发生器即可)
144
+ * 计算当前freeMove的postion和运动识别区域的比值
145
+ * xPercent = (xPos - horizontalStart) / (horizontalEnd - horizontalStart)
146
+ * yPercent = (yPos - verticalStart) / (verticalEnd - verticalStart)
147
+ * x和y可以为负数,也可能>100%
148
+ *
149
+ * 当多次调用时,nexusRef相同时,则为更新运动识别区域,nexusRef不同时则为新建信号发起器
150
+ *
151
+ * @param {NexusNode} nexusRef 绑定的nexus句柄,接受者用这个句柄来进行监听
152
+ * @param {int} horizontalStart 横向运动识别区域的0%对应位置, 可以为负
153
+ * @param {int} horizontalEnd 横向运动识别区域的100%对应位置, 可以为负,可以小于start
154
+ * @param {int} verticalStart 纵向运动识别区域的0%对应位置, 可以为负
155
+ * @param {int} verticalEnd 纵向运动识别区域的100%对应位置, 可以为负,可以小于end
156
+ * @param {int} xyEnable x,y是否都触发, 0b01对应x, 0b10对应y, 可以或运算在一起
157
+ */
158
+ startMovementSync(nexusRef: NexusNode, horizontalStart: number, horizontalEnd: number, verticalStart: number, verticalEnd: number, xyEnable: number): CommandPackType;
159
+ /**
160
+ * 内部API
161
+ *
162
+ * stopMovementSync
163
+ *
164
+ * 停止由startMovementSync发起的的同步信号
165
+ * 目前阶段,为关闭所有的信号发起器
166
+ */
167
+ stopMovementSync(): CommandPackType;
168
+ }
169
+ export default StatePackBuilder;
@@ -0,0 +1,22 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.ts}
3
+ */
4
+
5
+ import { NexusNode } from "./NexusNode";
6
+ declare class SyncLinkSource {
7
+ nexusNode: NexusNode;
8
+ linkName: String;
9
+ constructor(name: string, node: NexusNode);
10
+ }
11
+ declare class SyncLinkManager {
12
+ private pendingPromiseList;
13
+ private syncSourceMap;
14
+ constructor();
15
+ SourceOnMounted(syncSource: SyncLinkSource | null): void;
16
+ SourceOnUnmounted(linkName: String): void;
17
+ WaitSourceMounted(name: String): Promise<void>;
18
+ UnListen(waitPromise: Promise<void>): void;
19
+ GetSourceNexusNode(linkName: String): NexusNode | null;
20
+ }
21
+ declare function GetSyncLinkManager(): SyncLinkManager;
22
+ export { GetSyncLinkManager, SyncLinkSource };
@@ -0,0 +1,24 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvFreeMoveActor/index.js}
3
+ */
4
+
5
+ import JsvFreeMoveActor from "./JsvFreeMoveActor.vue";
6
+ export namespace FreeMoveDef {
7
+ export { ActEventDefine };
8
+ export { KeepFlags };
9
+ }
10
+ export namespace FreeMoveApis {
11
+ export { newNexus };
12
+ export { fireGlobalNexus as fireCustomNexus };
13
+ }
14
+ import JsvEnvBlocker from "./JsvEnvBlocker.vue";
15
+ export namespace FreeMoveFunc {
16
+ export { newNexus };
17
+ export { ActControl };
18
+ export { ActControl as ActControlDebug };
19
+ export { GetSyncLinkManager };
20
+ export { SyncLinkSource };
21
+ }
22
+ import { newNexus } from "./NexusNode";
23
+ import { fireGlobalNexus } from "./NexusNode";
24
+ export { JsvFreeMoveActor, JsvFreeMoveActor as JsvFreeMoveDiv, JsvEnvBlocker };
@@ -0,0 +1,241 @@
1
+ /**
2
+ + @file {@link file://./../../../utils/JsViewVueWidget/JsvGrid.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【界面概述】
9
+ * 表格式布局控件, 页面滚动时无动画. 一般用于对页面刷新速度有要求的场景
10
+ *
11
+ * 【控件介绍】
12
+ * JsvGrid:
13
+ * props:
14
+ * left {int} 控件的left
15
+ * top {int} 控件的top
16
+ * name {String} (必选)控件的焦点Id
17
+ * provideData {function} (必选)提供数据的接口, 数据中每个item均会包装成reactive对象,出于优化性能考虑, 请简化item中的属性
18
+ * row {int} (必选)布局的行数
19
+ * column {int} (必选)布局的列数
20
+ * itemSize {Object} 格子的大小 {width: 0, height: 0}
21
+ * updateType {UpdateType} 滚动的类型, 目前有两种PageType(整页), LineType(逐行)
22
+ * initFocusId {int} 初始的焦点
23
+ * gapInfo {Object} 格子间隔设置 {row: 行间距, colum: 列间距}
24
+ * verticalUpdate {boolean} 是否纵向滚动
25
+ * columnFirst {boolean} 单页是否列优先排布
26
+ * loopUpdate {boolean} 焦点移动到边界时循环滚动
27
+ * onEdge {function} 焦点移动到边缘时的回调
28
+ * @params {object} edgeInfo {
29
+ "direction": {EdgeDirection}边缘方向,
30
+ "rect": 到达边缘时的区域{x: 0, y: 0, width: 0,height: 0}
31
+ }
32
+ * focusMoveType {int} 焦点移动的模式, 可通过 | 运算进行组合
33
+ NO_ADJUST: 无特殊处理
34
+ COLUMN_LOOP: 到达列首/尾后跳转到上/下一列, 只在水平滚动时生效
35
+ ROW_LOOP: 到达行首/尾后跳转到上/下一行, 只在竖直滚动时生效
36
+ COLUMN_FIND_NEAR: 一列中没有下一个元素时是否跳转到相邻列
37
+ ROW_FIND_NEAR: 一行中没有下一个元素时是否跳转到相邻行
38
+ * methods:
39
+ getFocusBlockRef
40
+ @description 获取focusBlock的引用
41
+ @return {boolean} focusBlock的引用
42
+ setFocusId
43
+ @description 设置焦点id
44
+ @params {int} id 焦点id
45
+ refreshData
46
+ @description 刷新数据
47
+ * 【技巧说明】
48
+ * Q: 插槽props如何使用?
49
+ * A: userData: 通过provideData返回的数据会包装成reactive对象后给插槽内的item
50
+ * widgetData: 控件内部的关于item的属性
51
+ {
52
+ dataIndex: {int} 当前格子数据的index,
53
+ gridIndex: {int} 当前格子的index,
54
+ selected: {boolean} 格子是否选中
55
+ getCurrentFocusId: {function} 获取widget的当前焦点的dataIndex
56
+ gridCoord: {{row: 0, column: 0}} 获取当前格子的行列坐标
57
+ }
58
+ * onAction: 单元格内控件需要通过onAction.register方法注册 item 的回调,回调函数有
59
+ onFocus, onBlur, onClick
60
+ *
61
+ * Q: 单元格的普通状态,焦点状态,失焦状态如何渲染?
62
+ * A: 在单元的空间中通过往onAction注册的onFocus,onBlur控制显示
63
+ *
64
+ * Q: 控件中的导航处理(上下左右,OK键)需要什么响应的开发?
65
+ * A: 上下左右键已经由控件接管,不需要开发者而外处理,上下左右键会触发翻页时间
66
+ *
67
+ * Q: 焦点怎么移出控件?
68
+ * A: 当焦点移动到控件边缘时,会调用onEdge回调。在回调中通过参数传递的值来决定焦点转移的行为
69
+ *
70
+ * Q: item内是可获焦的元素时该如何处理?
71
+ * A: 焦点处理: item内的元素需要在注册的onFocus中管理焦点. 子组件通过onKeyDown处理按键, 未处理的方向键会冒泡给JsvGrid, 从而触发格子间焦点的变换
72
+ */
73
+
74
+ declare const _default: import("vue").DefineComponent<{
75
+ left: {
76
+ type: NumberConstructor;
77
+ };
78
+ top: {
79
+ type: NumberConstructor;
80
+ };
81
+ name: {
82
+ type: StringConstructor;
83
+ };
84
+ provideData: {
85
+ type: FunctionConstructor;
86
+ require: boolean;
87
+ };
88
+ row: {
89
+ type: NumberConstructor;
90
+ require: boolean;
91
+ };
92
+ column: {
93
+ type: NumberConstructor;
94
+ require: boolean;
95
+ };
96
+ itemSize: {
97
+ type: ObjectConstructor;
98
+ require: boolean;
99
+ };
100
+ updateType: {
101
+ type: typeof UpdateType;
102
+ default(): PageType;
103
+ };
104
+ initFocusId: {
105
+ type: NumberConstructor;
106
+ default: number;
107
+ };
108
+ gapInfo: {
109
+ type: ObjectConstructor;
110
+ default(): {
111
+ row: number;
112
+ column: number;
113
+ };
114
+ };
115
+ verticalUpdate: {
116
+ type: BooleanConstructor;
117
+ };
118
+ columnFirst: {
119
+ type: BooleanConstructor;
120
+ };
121
+ onEdge: {
122
+ type: FunctionConstructor;
123
+ };
124
+ loopUpdate: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ focusMoveType: {
129
+ type: NumberConstructor;
130
+ default: number;
131
+ };
132
+ }, {
133
+ originDataList: never[];
134
+ divInfoList: never[];
135
+ startIndex: number;
136
+ dataList: never[];
137
+ dataInfo: {
138
+ endIndex: number;
139
+ };
140
+ focusDataIndex: number;
141
+ preFocusDataIndex: number;
142
+ focused: boolean;
143
+ }, any, {}, {
144
+ _getCurrentFocusId(): any;
145
+ _getDivIndex(dataIndex: any): number;
146
+ _initDivInfoList(): void;
147
+ _cleanOldData(): void;
148
+ _indexConvert(i: any): any;
149
+ _formatData(): void;
150
+ _updateData(startIndex: any): void;
151
+ _getStartIndex(targetIndex: any, direction: any): any;
152
+ _sendOnEdge(edgeDirection: any, divIndex: any): void;
153
+ _moveTo(hOffset: any, vOffset: any): void;
154
+ _onFocus(): void;
155
+ _onBlur(): void;
156
+ _onKeyDown(ev: any): boolean;
157
+ getFocusBlockRef(): any;
158
+ setFocusId(id: any): void;
159
+ refreshData(): void;
160
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
161
+ left: {
162
+ type: NumberConstructor;
163
+ };
164
+ top: {
165
+ type: NumberConstructor;
166
+ };
167
+ name: {
168
+ type: StringConstructor;
169
+ };
170
+ provideData: {
171
+ type: FunctionConstructor;
172
+ require: boolean;
173
+ };
174
+ row: {
175
+ type: NumberConstructor;
176
+ require: boolean;
177
+ };
178
+ column: {
179
+ type: NumberConstructor;
180
+ require: boolean;
181
+ };
182
+ itemSize: {
183
+ type: ObjectConstructor;
184
+ require: boolean;
185
+ };
186
+ updateType: {
187
+ type: typeof UpdateType;
188
+ default(): PageType;
189
+ };
190
+ initFocusId: {
191
+ type: NumberConstructor;
192
+ default: number;
193
+ };
194
+ gapInfo: {
195
+ type: ObjectConstructor;
196
+ default(): {
197
+ row: number;
198
+ column: number;
199
+ };
200
+ };
201
+ verticalUpdate: {
202
+ type: BooleanConstructor;
203
+ };
204
+ columnFirst: {
205
+ type: BooleanConstructor;
206
+ };
207
+ onEdge: {
208
+ type: FunctionConstructor;
209
+ };
210
+ loopUpdate: {
211
+ type: BooleanConstructor;
212
+ default: boolean;
213
+ };
214
+ focusMoveType: {
215
+ type: NumberConstructor;
216
+ default: number;
217
+ };
218
+ }>>, {
219
+ initFocusId: number;
220
+ focusMoveType: number;
221
+ updateType: UpdateType;
222
+ gapInfo: Record<string, any>;
223
+ verticalUpdate: boolean;
224
+ columnFirst: boolean;
225
+ loopUpdate: boolean;
226
+ }>;
227
+ export default _default;
228
+ export class PageType extends UpdateType {
229
+ constructor();
230
+ }
231
+ export class LineType extends UpdateType {
232
+ constructor(start: any, end: any);
233
+ start: any;
234
+ end: any;
235
+ }
236
+ import { FocusMoveType } from "../JsViewEngineWidget/WidgetCommon";
237
+ declare class UpdateType {
238
+ constructor(type: any);
239
+ type: any;
240
+ }
241
+ export { FocusMoveType };
@@ -0,0 +1,19 @@
1
+ /**
2
+ + @file {@link file://./../../../utils/JsViewVueWidget/JsvHole.js}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvHole 为video展示区域挖洞
10
+ * props说明:
11
+ * style {Object} (必须)
12
+ * {
13
+ * width {number} 宽度
14
+ * height {number} 高度
15
+ * }
16
+ */
17
+
18
+ export default JsvTransparentDiv;
19
+ import JsvTransparentDiv from "./JsvNativeSharedDiv.vue";
@@ -0,0 +1,16 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/Cursor.vue}
3
+ */
4
+
5
+ declare const _default: import("vue").DefineComponent<{}, {
6
+ startBlink: () => void;
7
+ stopBlink: (show: any) => void;
8
+ $props: {
9
+ readonly top?: number | undefined;
10
+ readonly left?: number | undefined;
11
+ readonly width?: number | undefined;
12
+ readonly height?: number | undefined;
13
+ readonly color?: string | undefined;
14
+ };
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
16
+ export default _default;
@@ -0,0 +1,52 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/EditViewOperator.ts}
3
+ */
4
+
5
+ import { FontStyleDefine } from "./SharedDefine";
6
+ export declare const CHAR_CODE_OF_0: number;
7
+ export declare const CHAR_CODE_OF_9: number;
8
+ declare type TextChangedFunc = (final_text: string, dsp_text: string) => void;
9
+ declare type CursorMovedFunc = (new_text_start_index: number, new_cursor_left: number) => void;
10
+ declare type TextOverflowFunc = (origin_text: string, new_text: string) => void;
11
+ declare type ImeActionFunc = (action: number) => void;
12
+ export declare class EditViewOperator {
13
+ private _EditViewHandle;
14
+ private _CursorHandle;
15
+ private _EditViewId;
16
+ private _CursorResumeTimeoutToken;
17
+ private _InputType;
18
+ private _FontStyle;
19
+ private _TextLeft;
20
+ private _MaxInputLenth;
21
+ private _TextReadOnly;
22
+ private _CurrentFullText;
23
+ private _CurrentDspText;
24
+ private _CurrentDspWith;
25
+ private _CurrentCursorOffset;
26
+ private _IsFocus;
27
+ private _EditVisibleArea?;
28
+ private _TextChangedCount;
29
+ private _OnTextChangedCallback;
30
+ private _OnCursorMoved;
31
+ private _TextOverflowFunc;
32
+ private _OnImeActionFunc;
33
+ constructor(text_changed_callback: TextChangedFunc, cursor_moved: CursorMovedFunc, text_overflow?: TextOverflowFunc | undefined, on_ime_action?: ImeActionFunc | undefined);
34
+ updateFocus(is_focus: boolean): void;
35
+ showSoftIme(): void;
36
+ updateInputConfig(box_width: number, box_height: number, cursor_width: number, font_style: FontStyleDefine, input_type: number, max_input_lenth: number, text_read_only: boolean, editorTextColor: string, editorBackground: string): void;
37
+ generateView(): number;
38
+ setCursorRef(cursor_ref: any): void;
39
+ moveCursorOffset(moved_gap: number): boolean;
40
+ private _UpdateDispay;
41
+ onUnmounted(): void;
42
+ private _PauseCursorBlink;
43
+ private _ClearCursorResumeTimer;
44
+ private _OnTextChanged;
45
+ private _OnStatusChanged;
46
+ private _OnEditAction;
47
+ addText(text: string): void;
48
+ deleteText(): void;
49
+ clearText(): void;
50
+ replaceText(text: string): void;
51
+ }
52
+ export {};
@@ -0,0 +1,30 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts}
3
+ */
4
+
5
+ import { FontStyleDefine } from "./SharedDefine";
6
+ export declare class EditVisibleArea {
7
+ private _AreaWidth;
8
+ private _AreaHeight;
9
+ private _IsRightAlign;
10
+ private _TextLeft;
11
+ private _CursorWidth;
12
+ private _FontStyle;
13
+ private _TextVisibleStartPos;
14
+ private _TextVisibleEndPos;
15
+ private _VisibleAreaCurPos;
16
+ private _CursorMeasureCachedId;
17
+ private _CursorMeasuredToken;
18
+ constructor(area_width: number, area_height: number, cursor_width: number, font_style: FontStyleDefine, is_right_align: boolean);
19
+ getTextLeft(): number;
20
+ getCursorPosition(): number;
21
+ releaseResource(): void;
22
+ calculateSlide(pre_str: string, target_str: string, pre_str_dsp_width: number, target_str_dsp_width: number, // 使用外部缓存,减少本地计算
23
+ cur_index: number, moved: boolean, text_info_token: number): number;
24
+ private _updateVisibleAreaPos;
25
+ private _caculateTextLeft;
26
+ private _getLeftWithAddChar;
27
+ private _getLeftWithDelChar;
28
+ private _getLeftWithMoveRight;
29
+ private _getLeftWithMoveLeft;
30
+ }
@@ -0,0 +1,98 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/JsvInput.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ * JsvInput:文字的输入控件
8
+ * @props 说明:
9
+ * left {number} 组件的x
10
+ * top {number} 组件的y
11
+ * width {number} 组件的宽
12
+ * height {number} 组件的高
13
+ * type Input.type.TEXT 若为number类型,则输入时,非number无法输入
14
+ * placeholder {string} 文字颜色值为灰色,默认值为"请输入文字"
15
+ * placeholderColor {string} 默认文字颜色,默认值为灰色
16
+ * editorBackground {string} 当ime出现时,输入框呈现的强调颜色,注意:不能为半透明色
17
+ * maxLength {number} 最大字符长度, 默认100,支持单行最大宽度为1920*2,
18
+ * fontsize为30,则字数大约为1920*2/30 = 100个左右
19
+ * readonly {bool} 属性规定输入字段是只读的, 默认false
20
+ * value {string} 输入的字符串
21
+ * fontStyle {Object} 文字的style
22
+ * cursorShow {bool} 光标是否显示,默认为true,false:光标显示
23
+ * cursorColor {string} 光标颜色 默认为文字颜色
24
+ * cursorWidth {number} 光标宽度 默认为2像素
25
+ * dispatcher {InputDispatcher} 向组件发送增删事件的对象
26
+ * branchName {string} 焦点管理所需的branchName
27
+ * onTextOverflow {function} 文字过长回调
28
+ * onEdge {function} 方向键到达边缘回调
29
+ * @oarams edge_info 边缘信息
30
+ * {
31
+ * direction: EdgeDirection,
32
+ * rect: {x: value,y: value, widht: value,height: value}
33
+ * }
34
+ * onTextChange {function} 文字改动回调
35
+ * @params string 当前文字
36
+ * onBackKey {function} 收到返回键时的决策,根据返回值决定是吞掉还是放过,
37
+ * 返回true时可以规避ime显示后有时会吐出返回键导致整体退出的问题
38
+ * @params isUp {boolean} 是down(false)还是up(true)
39
+ * @return {boolean}
40
+ * onImeAction {function} 软键盘触发 editor action 的回调
41
+ * @params action {number} Android `BaseInputConnection#performEditorAction()` 吐回的值
42
+ * 0: IME_ACTION_UNSPECIFIED
43
+ * 1: IME_ACTION_NONE
44
+ * 2: IME_ACTION_GO
45
+ * 3: IME_ACTION_SEARCH
46
+ * 4: IME_ACTION_SEND
47
+ * 5: IME_ACTION_NEXT
48
+ * 6: IME_ACTION_DONE
49
+ * 7: IME_ACTION_PREVIOUS
50
+ * enableTap {boolean} 是否启用点击事件
51
+ *
52
+ * InputDispatcher dispatch支持事件:
53
+ * add
54
+ * delete
55
+ * clear
56
+ * public methods:
57
+ * add
58
+ * @description 添加文字
59
+ * @params {String} string 添加文字
60
+ * delete
61
+ * @description 删除文字
62
+ * clear
63
+ * @description 清空文字
64
+ */
65
+
66
+ export { InputType };
67
+ declare const _default: import("vue").DefineComponent<{}, {
68
+ add: (text: any) => void;
69
+ delete: () => void;
70
+ clear: () => void;
71
+ replace: (text: any) => void;
72
+ $props: {
73
+ readonly readonly?: boolean | undefined;
74
+ readonly top?: number | undefined;
75
+ readonly left?: number | undefined;
76
+ readonly width?: number | undefined;
77
+ readonly height?: number | undefined;
78
+ readonly value?: string | undefined;
79
+ readonly fontStyle?: Record<string, any> | unknown[] | undefined;
80
+ readonly placeholder?: string | undefined;
81
+ readonly placeholderColor?: string | undefined;
82
+ readonly editorBackground?: string | undefined;
83
+ readonly maxLength?: number | undefined;
84
+ readonly cursorShow?: boolean | undefined;
85
+ readonly cursorWidth?: number | undefined;
86
+ readonly cursorColor?: string | undefined;
87
+ readonly enableTap?: boolean | undefined;
88
+ readonly name?: string | undefined;
89
+ readonly type?: number | undefined;
90
+ readonly onEdge?: Function | undefined;
91
+ readonly onTextOverflow?: Function | undefined;
92
+ readonly onTextChange?: Function | undefined;
93
+ readonly onBackKey?: Function | undefined;
94
+ readonly onImeAction?: Function | undefined;
95
+ };
96
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
97
+ export default _default;
98
+ import { InputType } from "./SharedDefine";