@shijiu/jsview-vue 2.2.128 → 2.2.373

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 (325) hide show
  1. package/bin/browser/BrowserApic.vue.mjs +4 -15
  2. package/bin/browser/BrowserApic2.vue.mjs +4 -15
  3. package/bin/browser/BrowserApicLib.mjs +32 -26
  4. package/bin/browser/BrowserAudio.vue.mjs +2 -10
  5. package/bin/browser/BrowserJsvFragShaderView.vue.mjs +79 -0
  6. package/bin/browser/BrowserJsvLatex.vue.mjs +39 -16
  7. package/bin/browser/BrowserPreload.vue.mjs +1 -5
  8. package/bin/browser/BrowserQrcode.vue.mjs +1 -5
  9. package/bin/browser/BrowserSpray.vue.mjs +2 -12
  10. package/bin/browser/BrowserTextureAnim.vue.mjs +2 -12
  11. package/bin/export-sfc.mjs +3 -3
  12. package/bin/jsview-vue-common.mjs +3 -3
  13. package/bin/jsview-vue.mjs +4636 -2325
  14. package/bin/types/JsViewEngineWidget/CheckType.d.ts +4 -0
  15. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +37 -33
  16. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +4 -0
  17. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +21 -6
  18. package/bin/types/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -0
  19. package/bin/types/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +14 -12
  20. package/bin/types/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +17 -6
  21. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +283 -6
  22. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +9 -3
  23. package/bin/types/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +4 -0
  24. package/bin/types/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +7 -0
  25. package/bin/types/JsViewEngineWidget/MetroWidget/Slide.d.ts +4 -0
  26. package/bin/types/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +4 -0
  27. package/bin/types/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +4 -0
  28. package/bin/types/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +4 -0
  29. package/bin/types/JsViewEngineWidget/RangeModel.d.ts +4 -0
  30. package/bin/types/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +4 -0
  31. package/bin/types/JsViewEngineWidget/TemplateParser/Fence.d.ts +4 -0
  32. package/bin/types/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +5 -0
  33. package/bin/types/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +4 -0
  34. package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +5 -1
  35. package/bin/types/JsViewEngineWidget/TemplateParser/index.d.ts +4 -0
  36. package/bin/types/JsViewEngineWidget/WidgetCommon.d.ts +4 -0
  37. package/bin/types/JsViewEngineWidget/index.d.ts +14 -1
  38. package/bin/types/JsViewPlugin/JsvAccount/JsvAccount.d.ts +4 -0
  39. package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +4 -0
  40. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +4 -0
  41. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +4 -0
  42. package/bin/types/JsViewPlugin/JsvAudio/CheckType.d.ts +4 -0
  43. package/bin/types/JsViewPlugin/JsvAudio/Events.d.ts +4 -0
  44. package/bin/types/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +4 -0
  45. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +4 -0
  46. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +4 -0
  47. package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +4 -0
  48. package/bin/types/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +4 -0
  49. package/bin/types/JsViewPlugin/JsvAudio/index.d.ts +4 -0
  50. package/bin/types/JsViewPlugin/JsvAudio/version.d.ts +5 -0
  51. package/bin/types/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +4 -0
  52. package/bin/types/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +4 -0
  53. package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +4 -0
  54. package/bin/types/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +24 -0
  55. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +4 -0
  56. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -0
  57. package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +4 -0
  58. package/bin/types/JsViewPlugin/JsvLatex/index.d.ts +5 -0
  59. package/bin/types/JsViewPlugin/JsvLatex/version.d.ts +4 -0
  60. package/bin/types/JsViewPlugin/index.d.ts +4 -0
  61. package/bin/types/JsViewVueTools/ConstSymbol.d.ts +6 -2
  62. package/bin/types/JsViewVueTools/DebugContentShellJBridge.d.ts +4 -0
  63. package/bin/types/JsViewVueTools/DebugTool.d.ts +4 -0
  64. package/bin/types/JsViewVueTools/DefaultKeyMap.d.ts +4 -0
  65. package/bin/types/JsViewVueTools/FeatureActive.d.ts +14 -0
  66. package/bin/types/JsViewVueTools/ForgeConstDefine.d.ts +4 -0
  67. package/bin/types/JsViewVueTools/ForgeHandles.d.ts +7 -3
  68. package/bin/types/JsViewVueTools/JsvDemoTester.d.ts +4 -0
  69. package/bin/types/JsViewVueTools/JsvDynamicCssStyle.d.ts +20 -1
  70. package/bin/types/JsViewVueTools/JsvDynamicKeyFrames.d.ts +21 -2
  71. package/bin/types/JsViewVueTools/JsvFederationTools.d.ts +20 -0
  72. package/bin/types/JsViewVueTools/JsvHashHistory.d.ts +4 -0
  73. package/bin/types/JsViewVueTools/JsvImpactTracer.d.ts +8 -4
  74. package/bin/types/JsViewVueTools/JsvPerformance.d.ts +9 -0
  75. package/bin/types/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
  76. package/bin/types/JsViewVueTools/JsvRefTaker.d.ts +28 -3
  77. package/bin/types/JsViewVueTools/JsvRuntimeBridge.d.ts +50 -0
  78. package/bin/types/JsViewVueTools/JsvStyleClass.d.ts +4 -0
  79. package/bin/types/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +21 -1
  80. package/bin/types/JsViewVueTools/JsvTextTools.d.ts +85 -27
  81. package/bin/types/JsViewVueTools/JsvTextureDefines.d.ts +4 -0
  82. package/bin/types/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
  83. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +4 -0
  84. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +4 -0
  85. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +4 -0
  86. package/bin/types/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +4 -0
  87. package/bin/types/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +73 -3
  88. package/bin/types/JsViewVueTools/JsvTextureStore/Store.d.ts +4 -0
  89. package/bin/types/JsViewVueTools/JsvTextureStore/Texture.d.ts +4 -0
  90. package/bin/types/JsViewVueTools/NinePatchHelper.d.ts +5 -1
  91. package/bin/types/JsViewVueTools/TextureManagerTools.d.ts +11 -0
  92. package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +4 -0
  93. package/bin/types/JsViewVueTools/index.d.ts +26 -11
  94. package/bin/types/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +4 -0
  95. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +38 -0
  96. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +4 -0
  97. package/bin/types/JsViewVueWidget/JsvActorMove/index.d.ts +4 -0
  98. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +5 -1
  99. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +28 -1
  100. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +4 -0
  101. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +5 -1
  102. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +29 -1
  103. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +4 -0
  104. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +4 -0
  105. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +4 -0
  106. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +4 -0
  107. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +4 -0
  108. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +4 -0
  109. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +4 -0
  110. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +6 -1
  111. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +4 -0
  112. package/bin/types/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +4 -0
  113. package/bin/types/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
  114. package/bin/types/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
  115. package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +4 -0
  116. package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +21 -0
  117. package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +4 -0
  118. package/bin/types/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
  119. package/bin/types/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
  120. package/bin/types/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
  121. package/bin/types/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +4 -0
  122. package/bin/types/JsViewVueWidget/JsvFilterView.vue.d.ts +19 -0
  123. package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +34 -0
  124. package/bin/types/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +106 -0
  125. package/bin/types/JsViewVueWidget/JsvFlexCell/index.d.ts +6 -2
  126. package/bin/types/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts +19 -0
  127. package/bin/types/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +60 -0
  128. package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +6 -0
  129. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +47 -17
  130. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +4 -0
  131. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +4 -0
  132. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +25 -0
  133. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +22 -0
  134. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +4 -0
  135. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +9 -5
  136. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +8 -2
  137. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +11 -7
  138. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
  139. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +6 -0
  140. package/bin/types/JsViewVueWidget/JsvGrid.vue.d.ts +73 -0
  141. package/bin/types/JsViewVueWidget/JsvHole.d.ts +17 -0
  142. package/bin/types/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +14 -34
  143. package/bin/types/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +48 -0
  144. package/bin/types/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +27 -0
  145. package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +64 -209
  146. package/bin/types/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
  147. package/bin/types/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +14 -0
  148. package/bin/types/JsViewVueWidget/JsvInput/index.d.ts +4 -0
  149. package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +20 -0
  150. package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +4 -0
  151. package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +4 -0
  152. package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +21 -0
  153. package/bin/types/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +20 -0
  154. package/bin/types/JsViewVueWidget/JsvMindMap/Constant.d.ts +4 -0
  155. package/bin/types/JsViewVueWidget/JsvMindMap/DataTree.d.ts +7 -1
  156. package/bin/types/JsViewVueWidget/JsvMindMap/Geometry.d.ts +4 -0
  157. package/bin/types/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +90 -0
  158. package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +4 -0
  159. package/bin/types/JsViewVueWidget/JsvMindMap/rtree.d.ts +4 -0
  160. package/bin/types/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +24 -0
  161. package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +31 -0
  162. package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +17 -0
  163. package/bin/types/JsViewVueWidget/JsvPosterDiv.vue.d.ts +17 -0
  164. package/bin/types/JsViewVueWidget/JsvPosterImage.vue.d.ts +18 -0
  165. package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +4 -0
  166. package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +42 -0
  167. package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +4 -0
  168. package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +19 -0
  169. package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +4 -0
  170. package/bin/types/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +25 -0
  171. package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +4 -0
  172. package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +24 -0
  173. package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
  174. package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +45 -0
  175. package/bin/types/JsViewVueWidget/JsvRipple/index.d.ts +4 -0
  176. package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +18 -0
  177. package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +65 -1
  178. package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
  179. package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
  180. package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +13 -4
  181. package/bin/types/JsViewVueWidget/JsvScrollBox/index.d.ts +6 -0
  182. package/bin/types/JsViewVueWidget/JsvSector.vue.d.ts +18 -0
  183. package/bin/types/JsViewVueWidget/JsvSoundPool.d.ts +42 -0
  184. package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +4 -0
  185. package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +40 -0
  186. package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +4 -0
  187. package/bin/types/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +4 -0
  188. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +52 -0
  189. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +16 -0
  190. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +4 -0
  191. package/bin/types/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +4 -0
  192. package/bin/types/JsViewVueWidget/JsvSpriteAnim/index.d.ts +4 -0
  193. package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +4 -0
  194. package/bin/types/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +39 -0
  195. package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +4 -0
  196. package/bin/types/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +24 -0
  197. package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +4 -0
  198. package/bin/types/JsViewVueWidget/JsvTextBox.vue.d.ts +26 -0
  199. package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +4 -0
  200. package/bin/types/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +4 -0
  201. package/bin/types/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +7 -2
  202. package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +4 -0
  203. package/bin/types/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +100 -0
  204. package/bin/types/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +25 -0
  205. package/bin/types/JsViewVueWidget/JsvVisibleSensor/index.d.ts +4 -0
  206. package/bin/types/JsViewVueWidget/index.d.ts +9 -0
  207. package/bin/types/index.d.ts +4 -0
  208. package/index.d.ts +8 -0
  209. package/package.json +1 -1
  210. package/tools/config/rollup.config.mjs +1 -0
  211. package/tools/config/toolkit.mjs +81 -0
  212. package/tools/config/tsconfig.json +1 -0
  213. package/tools/config/vite.config.ts +24 -14
  214. package/tools/jsview-vue-build.mjs +66 -21
  215. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +6 -2
  216. package/utils/JsViewEngineWidget/JsvFocus/{JsvFocusManager.js → JsvFocusManager.ts} +34 -15
  217. package/utils/JsViewEngineWidget/MetroWidget/Dispatcher.ts +20 -0
  218. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +30 -11
  219. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +54 -15
  220. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +509 -268
  221. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +11 -0
  222. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +8 -0
  223. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +20 -10
  224. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +33 -9
  225. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +2 -2
  226. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +7 -0
  227. package/utils/JsViewEngineWidget/{index.js → index.ts} +1 -1
  228. package/utils/JsViewPlugin/JsvAudio/AudioProxy.js +21 -2
  229. package/utils/JsViewPlugin/JsvAudio/version.js +1 -1
  230. package/utils/JsViewPlugin/JsvAudio/version.mjs +1 -1
  231. package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +13 -3
  232. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +27 -6
  233. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +34 -28
  234. package/utils/JsViewPlugin/JsvLatex/index.js +22 -0
  235. package/utils/JsViewVueTools/ConstSymbol.ts +2 -2
  236. package/utils/JsViewVueTools/FeatureActive.ts +84 -0
  237. package/utils/JsViewVueTools/ForgeHandles.ts +7 -3
  238. package/utils/JsViewVueTools/JsvDynamicCssStyle.js +2 -0
  239. package/utils/JsViewVueTools/JsvDynamicKeyFrames.ts +2 -0
  240. package/utils/JsViewVueTools/JsvImpactTracer.js +2 -0
  241. package/utils/JsViewVueTools/JsvPreDownloader.ts +5 -4
  242. package/utils/JsViewVueTools/JsvRefTaker.js +1 -2
  243. package/utils/JsViewVueTools/JsvRuntimeBridge.js +67 -1
  244. package/utils/JsViewVueTools/JsvStyleClass.js +2 -0
  245. package/utils/JsViewVueTools/JsvStyleSheetsDeclarer.js +2 -0
  246. package/utils/JsViewVueTools/JsvTextTools.ts +223 -0
  247. package/utils/JsViewVueTools/JsvTextureLoadTool.ts +233 -0
  248. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +4 -1
  249. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +8 -4
  250. package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +1 -0
  251. package/utils/JsViewVueTools/TextureManagerTools.ts +17 -0
  252. package/utils/JsViewVueTools/index.js +22 -19
  253. package/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue +2 -0
  254. package/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue +2 -2
  255. package/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue +13 -5
  256. package/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue +2 -2
  257. package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +15 -4
  258. package/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.js +8 -3
  259. package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +44 -0
  260. package/utils/JsViewVueWidget/JsvClipDiv/index.ts +1 -0
  261. package/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue +7 -1
  262. package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +219 -0
  263. package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +84 -0
  264. package/utils/JsViewVueWidget/JsvDriftScope/index.ts +1 -0
  265. package/utils/JsViewVueWidget/JsvFilterView.vue +2 -0
  266. package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +5 -2
  267. package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +145 -0
  268. package/utils/JsViewVueWidget/JsvFlexCell/index.js +2 -5
  269. package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +75 -0
  270. package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +293 -0
  271. package/utils/JsViewVueWidget/JsvFragShaderView/index.js +18 -0
  272. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +142 -63
  273. package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +9 -0
  274. package/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue +2 -0
  275. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +15 -6
  276. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +19 -7
  277. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +15 -11
  278. package/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.ts +120 -0
  279. package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +5 -1
  280. package/utils/JsViewVueWidget/JsvGrid.vue +2 -0
  281. package/utils/JsViewVueWidget/JsvHole.js +2 -0
  282. package/utils/JsViewVueWidget/JsvInput/Cursor.vue +49 -45
  283. package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +320 -0
  284. package/utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts +222 -0
  285. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +281 -681
  286. package/utils/JsViewVueWidget/JsvInput/SharedDefine.ts +17 -0
  287. package/utils/JsViewVueWidget/JsvInput/SystemTextTools.ts +47 -0
  288. package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +2 -0
  289. package/utils/JsViewVueWidget/JsvMarquee.vue +2 -0
  290. package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +2 -0
  291. package/utils/JsViewVueWidget/JsvMindMap/DataTree.ts +14 -1
  292. package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +277 -117
  293. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +91 -68
  294. package/utils/JsViewVueWidget/JsvNinePatch.vue +18 -1
  295. package/utils/JsViewVueWidget/JsvPieChart.vue +2 -0
  296. package/utils/JsViewVueWidget/JsvPosterDiv.vue +2 -0
  297. package/utils/JsViewVueWidget/JsvPosterImage.vue +2 -0
  298. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +2 -0
  299. package/utils/JsViewVueWidget/JsvProgressBar.vue +2 -0
  300. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +10 -11
  301. package/utils/JsViewVueWidget/JsvRadarChart.vue +2 -0
  302. package/utils/JsViewVueWidget/JsvRipple/Constant.js +2 -2
  303. package/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue +3 -1
  304. package/utils/JsViewVueWidget/JsvScaleTextBox.vue +2 -0
  305. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +266 -48
  306. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +477 -0
  307. package/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.ts +9 -0
  308. package/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.ts +13 -4
  309. package/utils/JsViewVueWidget/JsvScrollBox/index.ts +3 -0
  310. package/utils/JsViewVueWidget/JsvSector.vue +2 -0
  311. package/utils/JsViewVueWidget/JsvSoundPool.js +2 -0
  312. package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +30 -13
  313. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +2 -0
  314. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue +2 -0
  315. package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +2 -0
  316. package/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue +2 -0
  317. package/utils/JsViewVueWidget/JsvTextBox.vue +2 -4
  318. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +44 -41
  319. package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +101 -0
  320. package/utils/JsViewVueWidget/JsvVideo.vue +2 -2
  321. package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +2 -0
  322. package/utils/JsViewVueWidget/index.js +5 -0
  323. package/utils/JsViewEngineWidget/MetroWidget/Dispatcher.js +0 -19
  324. package/utils/JsViewVueTools/JsvTextTools.js +0 -89
  325. package/utils/JsViewVueWidget/JsvScrollBox/index.js +0 -2
@@ -1,2 +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
+
1
18
  export default JsvTransparentDiv;
2
19
  import JsvTransparentDiv from "./JsvNativeSharedDiv.vue";
@@ -1,36 +1,16 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- left: {
3
- type: NumberConstructor;
4
- default: number;
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 left?: number | undefined;
10
+ readonly top?: number | undefined;
11
+ readonly height?: number | undefined;
12
+ readonly width?: number | undefined;
13
+ readonly color?: string | undefined;
5
14
  };
6
- top: {
7
- type: NumberConstructor;
8
- default: number;
9
- };
10
- width: NumberConstructor;
11
- height: NumberConstructor;
12
- color: StringConstructor;
13
- }, {
14
- intervalToken: number;
15
- visible: import("vue").Ref<boolean>;
16
- }, any, {}, {
17
- _cleanInterval(): void;
18
- startBlink(): void;
19
- stopBlink(show: any): void;
20
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- left: {
22
- type: NumberConstructor;
23
- default: number;
24
- };
25
- top: {
26
- type: NumberConstructor;
27
- default: number;
28
- };
29
- width: NumberConstructor;
30
- height: NumberConstructor;
31
- color: StringConstructor;
32
- }>>, {
33
- left: number;
34
- top: number;
35
- }>;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
36
16
  export default _default;
@@ -0,0 +1,48 @@
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
+ export declare class EditViewOperator {
12
+ private _EditViewHandle;
13
+ private _CursorHandle;
14
+ private _EditViewId;
15
+ private _CursorResumeTimeoutToken;
16
+ private _InputType;
17
+ private _FontStyle;
18
+ private _TextLeft;
19
+ private _MaxInputLenth;
20
+ private _TextReadOnly;
21
+ private _CurrentFullText;
22
+ private _CurrentDspText;
23
+ private _CurrentDspWith;
24
+ private _CurrentCursorOffset;
25
+ private _IsFocus;
26
+ private _EditVisibleArea?;
27
+ private _OnTextChangedCallback;
28
+ private _OnCursorMoved;
29
+ private _TextOverflowFunc;
30
+ constructor(text_changed_callback: TextChangedFunc, cursor_moved: CursorMovedFunc, text_overflow?: TextOverflowFunc | undefined);
31
+ updateFocus(is_focus: boolean): void;
32
+ showSoftIme(): void;
33
+ updateInputConfig(box_width: number, box_height: number, cursor_width: number, font_style: FontStyleDefine, input_type: number, max_input_lenth: number, text_read_only: boolean): void;
34
+ generateView(): number;
35
+ setCursorRef(cursor_ref: any): void;
36
+ moveCursorOffset(moved_gap: number): boolean;
37
+ private _UpdateDispay;
38
+ onUnmounted(): void;
39
+ private _PauseCursorBlink;
40
+ private _ClearCursorResumeTimer;
41
+ private _OnTextChanged;
42
+ private _OnStatusChanged;
43
+ addText(text: string): void;
44
+ deleteText(): void;
45
+ clearText(): void;
46
+ replaceText(text: string): void;
47
+ }
48
+ export {};
@@ -0,0 +1,27 @@
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
+ constructor(area_width: number, area_height: number, cursor_width: number, font_style: FontStyleDefine, is_right_align: boolean);
17
+ getTextLeft(): number;
18
+ getCursorPosition(): number;
19
+ calculateSlide(pre_str: string, target_str: string, pre_str_dsp_width: number, target_str_dsp_width: number, // 使用外部缓存,减少本地计算
20
+ cur_index: number, moved: boolean): number;
21
+ private _updateVisibleAreaPos;
22
+ private _caculateTextLeft;
23
+ private _getLeftWithAddChar;
24
+ private _getLeftWithDelChar;
25
+ private _getLeftWithMoveRight;
26
+ private _getLeftWithMoveLeft;
27
+ }
@@ -1,210 +1,65 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- name: {
3
- type: StringConstructor;
4
- };
5
- left: {
6
- type: NumberConstructor;
7
- default: number;
8
- };
9
- top: {
10
- type: NumberConstructor;
11
- default: number;
12
- };
13
- width: {
14
- type: NumberConstructor;
15
- default: number;
16
- };
17
- height: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- type: {
22
- type: NumberConstructor;
23
- default: any;
24
- };
25
- placeholder: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- placeholderColor: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- maxLength: {
34
- type: NumberConstructor;
35
- default: number;
36
- };
37
- readonly: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- value: {
42
- type: StringConstructor;
43
- default: string;
44
- };
45
- fontStyle: {
46
- type: (ObjectConstructor | ArrayConstructor)[];
47
- default(): {
48
- textAlign: string;
49
- fontSize: number;
50
- color: string;
51
- };
52
- };
53
- cursorShow: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- cursorWidth: {
58
- type: NumberConstructor;
59
- default: number;
60
- };
61
- cursorColor: {
62
- type: StringConstructor;
63
- default: string;
64
- };
65
- onTextOverflow: {
66
- type: FunctionConstructor;
67
- };
68
- onTextChange: {
69
- type: FunctionConstructor;
70
- };
71
- onEdge: {
72
- type: FunctionConstructor;
73
- };
74
- }, {
75
- editControlView: null;
76
- editControlViewId: number;
77
- isFocus: boolean;
78
- visibleAreaCurStart: number;
79
- visibleAreaCurPos: number;
80
- visibleAreaCurEnd: number;
81
- cursorPauseTimeoutToken: number;
82
- }, {
83
- fullString: string;
84
- curOffset: number;
85
- textWidth: number;
86
- textLeft: number;
87
- }, {
88
- realText(): string;
89
- placeholderVisible(): boolean;
90
- cursorLeft(): any;
91
- cursorColorInner(): any;
92
- }, {
93
- _updateTextWidth(text: any): void;
94
- _onTextChanged(text: any, cursor_pos: any, moved: any): void;
95
- _onStatusChanged(status: any): void;
96
- _getStringWithFont(str: any): any;
97
- _getFullStringLength(str: any): any;
98
- add(string: any): void;
99
- delete(): void;
100
- clear(): void;
101
- replace(string: any): void;
102
- _calculateCursorPosition(full_str: any, cursor_offset: any): any;
103
- _getLeftWithDelChar(current_cursor_position: any, target_str: any): number;
104
- _getLeftWithMoveRight(): number;
105
- _getLeftWithMoveLeft(): number;
106
- _updateVisibleAreaCursor(offset: any): void;
107
- _getLeftWithAddChar(current_cursor_position: any, end_add: any): number;
108
- _calculateSlide(pre_str: any, target_str: any, cur_index: any, moved: any): number;
109
- onFocus(): void;
110
- onBlur(): void;
111
- clearCursorPauseTimer(): void;
112
- pauseCursorBlink(): void;
113
- onKeyDown(keyEvent: any): boolean;
114
- _GetRealText(src_str: any): any;
115
- _GetShowText(): any;
116
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
117
- name: {
118
- type: StringConstructor;
119
- };
120
- left: {
121
- type: NumberConstructor;
122
- default: number;
123
- };
124
- top: {
125
- type: NumberConstructor;
126
- default: number;
127
- };
128
- width: {
129
- type: NumberConstructor;
130
- default: number;
131
- };
132
- height: {
133
- type: NumberConstructor;
134
- default: number;
135
- };
136
- type: {
137
- type: NumberConstructor;
138
- default: any;
139
- };
140
- placeholder: {
141
- type: StringConstructor;
142
- default: string;
143
- };
144
- placeholderColor: {
145
- type: StringConstructor;
146
- default: string;
147
- };
148
- maxLength: {
149
- type: NumberConstructor;
150
- default: number;
151
- };
152
- readonly: {
153
- type: BooleanConstructor;
154
- default: boolean;
155
- };
156
- value: {
157
- type: StringConstructor;
158
- default: string;
159
- };
160
- fontStyle: {
161
- type: (ObjectConstructor | ArrayConstructor)[];
162
- default(): {
163
- textAlign: string;
164
- fontSize: number;
165
- color: string;
166
- };
167
- };
168
- cursorShow: {
169
- type: BooleanConstructor;
170
- default: boolean;
171
- };
172
- cursorWidth: {
173
- type: NumberConstructor;
174
- default: number;
175
- };
176
- cursorColor: {
177
- type: StringConstructor;
178
- default: string;
179
- };
180
- onTextOverflow: {
181
- type: FunctionConstructor;
182
- };
183
- onTextChange: {
184
- type: FunctionConstructor;
185
- };
186
- onEdge: {
187
- type: FunctionConstructor;
188
- };
189
- }>>, {
190
- type: number;
191
- height: number;
192
- width: number;
193
- left: number;
194
- top: number;
195
- fontStyle: unknown[] | Record<string, any>;
196
- value: string;
197
- readonly: boolean;
198
- placeholder: string;
199
- placeholderColor: string;
200
- maxLength: number;
201
- cursorShow: boolean;
202
- cursorWidth: number;
203
- cursorColor: string;
204
- }>;
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
+ * maxLength {number} 最大字符长度, 默认100,支持单行最大宽度为1920*2,
17
+ * fontsize为30,则字数大约为1920*2/30 = 100个左右
18
+ * readonly {bool} 属性规定输入字段是只读的, 默认false
19
+ * value {string} 输入的字符串
20
+ * fontStyle {Object} 文字的style
21
+ * cursorShow {bool} 光标是否显示,默认为true,false:光标显示
22
+ * cursorColor {string} 光标颜色 默认为文字颜色
23
+ * cursorWidth {number} 光标宽度 默认为2像素
24
+ * dispatcher {InputDispatcher} 向组件发送增删事件的对象
25
+ * branchName {string} 焦点管理所需的branchName
26
+ * onTextOverflow {function} 文字过长回调
27
+ * onEdge {function} 方向键到达边缘回调
28
+ * @oarams edge_info 边缘信息
29
+ * {
30
+ * direction: EdgeDirection,
31
+ * rect: {x: value,y: value, widht: value,height: value}
32
+ * }
33
+ * onTextChange {function} 文字改动回调
34
+ * @params string 当前文字
35
+ * onBackKey {function} 收到返回键时的决策,根据返回值决定是吞掉还是放过,
36
+ * 返回true时可以规避ime显示后有时会吐出返回键导致整体退出的问题
37
+ * @params isUp {boolean} 是down(false)还是up(true)
38
+ * @return {boolean}
39
+ *
40
+ * InputDispatcher dispatch支持事件:
41
+ * add
42
+ * delete
43
+ * clear
44
+ * public methods:
45
+ * add
46
+ * @description 添加文字
47
+ * @params {String} string 添加文字
48
+ * delete
49
+ * @description 删除文字
50
+ * clear
51
+ * @description 清空文字
52
+ */
53
+
54
+ export { InputType };
55
+ declare const _default: import("vue").DefineComponent<{}, {
56
+ add: (text: any) => void;
57
+ delete: () => void;
58
+ clear: () => void;
59
+ replace: (text: any) => void;
60
+ $props: {
61
+ [x: string]: any;
62
+ };
63
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
205
64
  export default _default;
206
- export namespace InputType {
207
- const TEXT: any;
208
- const NUMBER: any;
209
- const PASSWORD: any;
210
- }
65
+ import { InputType } from "./SharedDefine";
@@ -0,0 +1,17 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/SharedDefine.ts}
3
+ */
4
+
5
+ export declare const InputType: {
6
+ TEXT: any;
7
+ NUMBER: any;
8
+ PASSWORD: any;
9
+ };
10
+ export declare interface FontStyleDefine {
11
+ fontSize: number;
12
+ fontFamily: string;
13
+ textAlign: string;
14
+ fontStyle: string;
15
+ fontWeight: string;
16
+ }
17
+ export declare const MAX_WIDTH = 2000;
@@ -0,0 +1,14 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/SystemTextTools.ts}
3
+ */
4
+
5
+ declare interface FontStyleDefine {
6
+ fontSize: number;
7
+ fontFamily: string;
8
+ textAlign: string;
9
+ fontStyle: string;
10
+ fontWeight: string;
11
+ }
12
+ export declare function calculateCursorPosition(display_text: string, cursor_offset: number, rect_width: number, rect_height: number, line_height: number, font_style: FontStyleDefine): number;
13
+ export declare function getTextDisplayWidth(text: string, font_style: FontStyleDefine): any;
14
+ export {};
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/index.js}
3
+ */
4
+
1
5
  export default JsvInput;
2
6
  export { InputType };
3
7
  import JsvInput from "./JsvInput.vue";
@@ -1,3 +1,23 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvLine/JsvLine.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvLine:Vue高阶组件,用于划线。支持横线、竖线和斜线。
10
+ * props说明:(注意:全部属性非响应式, 需要变更时用 key 来触发重绘)
11
+ * startPos {Object} (必填) 起始位置,属性:x,y
12
+ * endPos {Object} (必填) 结束位置, 属性:x,y
13
+ * lineWidth {Number} (必填) 线条的粗细程度
14
+ * appear {String} 线条的出现方式 fadeIn 淡入 / fadeOut 淡出
15
+ * backgroundImage {String} 背景图片
16
+ * backgroundColor {String} 背景颜色,默认值:白色#FFFFFF
17
+ * borderRadius {Number} 圆角半径
18
+ *
19
+ */
20
+
1
21
  declare const _default: import("vue").DefineComponent<{}, {
2
22
  $props: {
3
23
  readonly backgroundColor?: string | undefined;
@@ -1 +1,5 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvLine/LineManager.js}
3
+ */
4
+
1
5
  export function createTexture(lineWidth: any, color: any): any;
@@ -1,2 +1,6 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvLine/index.js}
3
+ */
4
+
1
5
  export default JsvLine;
2
6
  import JsvLine from "./JsvLine.vue";
@@ -1,3 +1,24 @@
1
+ /**
2
+ + @file {@link file://./../../../utils/JsViewVueWidget/JsvMarquee.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvMarquee:Vue高阶组件,文字跑马灯
10
+ * props说明:
11
+ * text {String} 文字内容
12
+ * style {Object} 样式
13
+ * slideSpeed {int} 滚动速度 px/s, 默认60
14
+ * slideDirection{String} 滚动方向 ste(start to end)/ets(end to start)/ltr/rtl
15
+ * forceSlide {boolean} 短文字是否滚动,默认false
16
+ * timeGap {int} 每次完整移动的时间间隔 单位:ms
17
+ * textGap {int} 两屏之间的文字宽度间隔。
18
+ * 说明
19
+ * JsvMarquee会识别阿拉伯字符自动设置direction
20
+ */
21
+
1
22
  declare const _default: import("vue").DefineComponent<{}, {
2
23
  $props: {
3
24
  readonly style?: Record<string, any> | undefined;
@@ -1,3 +1,23 @@
1
+ /**
2
+ + @file {@link file://./../../../utils/JsViewVueWidget/JsvMaskClipDiv.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ *
9
+ * JsvMaskClipDiv:蒙版遮罩处理组件
10
+ * props说明:
11
+ * style {Object} 布局样式(必需),样式对象内容为{left:0, top:0, width:xxx, height:xxx},
12
+ * maskSrc {string/URL} 蒙版图片,可为URL字符串,或者通过import进来的图片引用
13
+ * viewSrc {string/URL} 被遮罩的图片,可为URL字符串,或者通过import进来的图片引用
14
+ * maskTop {double} 蒙版相对于被遮罩图片的左上角Y定位,单位为百分比(Y坐标 / 被遮罩图片的高)
15
+ * maskLeft {double} 蒙版相对于被遮罩图片的左上角X定位,单位为百分比(X坐标 / 被遮罩图片的宽)
16
+ * maskWidth {double} 蒙版相对于被遮罩图片宽度的百分比(蒙版的宽度 / 被遮罩图片的宽)
17
+ * maskHeight{double} 蒙版相对于被遮罩图片高度的百分比(蒙版的高度 / 被遮罩图片的宽)
18
+ *
19
+ */
20
+
1
21
  declare const _default: import("vue").DefineComponent<{
2
22
  class: {
3
23
  type: StringConstructor;
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/Constant.ts}
3
+ */
4
+
1
5
  export declare const LEFT = "left";
2
6
  export declare const TOP = "top";
3
7
  export declare const RIGHT = "right";
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/DataTree.ts}
3
+ */
4
+
1
5
  import { Rect } from "./Geometry";
2
6
  import { Direction } from "./CommonType";
3
7
  type MoveType = "star" | "layer" | "inherit";
@@ -13,7 +17,7 @@ export declare class DataNode {
13
17
  moveType: MoveType;
14
18
  private lineList;
15
19
  private moveInfoCache;
16
- constructor(rect: Rect, depth: number, id: string, data: any, moveType?: MoveType);
20
+ constructor(rect: Rect, depth: number, id: string, data: any, moveType?: MoveType, enableTap?: boolean);
17
21
  get minX(): number;
18
22
  get maxX(): number;
19
23
  get minY(): number;
@@ -56,6 +60,8 @@ export declare class DataNode {
56
60
  private focused;
57
61
  private divRef;
58
62
  private lineStyle;
63
+ enableTap: boolean;
64
+ onTap: import("vue").ComputedRef<(() => void) | null>;
59
65
  setLineStyle(style: any): void;
60
66
  getLineStyle(): any;
61
67
  onFocus(): void;
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/Geometry.ts}
3
+ */
4
+
1
5
  import { Direction } from "./CommonType";
2
6
  export declare function opposite(dir: Direction): Direction;
3
7
  export declare class Point {