@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,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue?vue&type=script&setup=true&lang.ts}
3
+ */
4
+
1
5
  declare const _default: {
2
6
  new (...args: any[]): {
3
7
  $: import("vue").ComponentInternalInstance;
@@ -6,6 +10,9 @@ declare const _default: {
6
10
  mode: symbol;
7
11
  initPercent: number;
8
12
  enableFling: boolean;
13
+ linkName: string;
14
+ syncWith: string;
15
+ syncType: symbol;
9
16
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
10
17
  style: {
11
18
  type: ObjectConstructor;
@@ -31,7 +38,19 @@ declare const _default: {
31
38
  type: BooleanConstructor;
32
39
  default: boolean;
33
40
  };
34
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "mode" | "initPercent" | "enableFling">;
41
+ linkName: {
42
+ type: StringConstructor;
43
+ default: null;
44
+ };
45
+ syncWith: {
46
+ type: StringConstructor;
47
+ default: null;
48
+ };
49
+ syncType: {
50
+ type: SymbolConstructor;
51
+ default: symbol;
52
+ };
53
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "mode" | "initPercent" | "enableFling" | "linkName" | "syncWith" | "syncType">;
35
54
  $attrs: {
36
55
  [x: string]: unknown;
37
56
  };
@@ -70,13 +89,29 @@ declare const _default: {
70
89
  type: BooleanConstructor;
71
90
  default: boolean;
72
91
  };
92
+ linkName: {
93
+ type: StringConstructor;
94
+ default: null;
95
+ };
96
+ syncWith: {
97
+ type: StringConstructor;
98
+ default: null;
99
+ };
100
+ syncType: {
101
+ type: SymbolConstructor;
102
+ default: symbol;
103
+ };
73
104
  }>>, {
74
105
  setSensor: (callback: Function, sensitivity: number) => void;
75
106
  updatePercent: (percent: number) => void;
107
+ currentPercent: () => number;
76
108
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
77
109
  mode: symbol;
78
110
  initPercent: number;
79
111
  enableFling: boolean;
112
+ linkName: string;
113
+ syncWith: string;
114
+ syncType: symbol;
80
115
  }, {}, string> & {
81
116
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
82
117
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -122,9 +157,22 @@ declare const _default: {
122
157
  type: BooleanConstructor;
123
158
  default: boolean;
124
159
  };
160
+ linkName: {
161
+ type: StringConstructor;
162
+ default: null;
163
+ };
164
+ syncWith: {
165
+ type: StringConstructor;
166
+ default: null;
167
+ };
168
+ syncType: {
169
+ type: SymbolConstructor;
170
+ default: symbol;
171
+ };
125
172
  }>> & import("vue").ShallowUnwrapRef<{
126
173
  setSensor: (callback: Function, sensitivity: number) => void;
127
174
  updatePercent: (percent: number) => void;
175
+ currentPercent: () => number;
128
176
  }> & {} & import("vue").ComponentCustomProperties & {};
129
177
  __isFragment?: undefined;
130
178
  __isTeleport?: undefined;
@@ -154,13 +202,29 @@ declare const _default: {
154
202
  type: BooleanConstructor;
155
203
  default: boolean;
156
204
  };
205
+ linkName: {
206
+ type: StringConstructor;
207
+ default: null;
208
+ };
209
+ syncWith: {
210
+ type: StringConstructor;
211
+ default: null;
212
+ };
213
+ syncType: {
214
+ type: SymbolConstructor;
215
+ default: symbol;
216
+ };
157
217
  }>>, {
158
218
  setSensor: (callback: Function, sensitivity: number) => void;
159
219
  updatePercent: (percent: number) => void;
220
+ currentPercent: () => number;
160
221
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
161
222
  mode: symbol;
162
223
  initPercent: number;
163
224
  enableFling: boolean;
225
+ linkName: string;
226
+ syncWith: string;
227
+ syncType: symbol;
164
228
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
165
229
  $slots: {
166
230
  FixedBox: (_: {
@@ -0,0 +1,157 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue?vue&type=script&setup=true&lang.ts}
3
+ */
4
+
5
+ declare const _default: {
6
+ new (...args: any[]): {
7
+ $: import("vue").ComponentInternalInstance;
8
+ $data: {};
9
+ $props: Partial<{
10
+ syncType: symbol;
11
+ varLeft: number | object;
12
+ varTop: number | object;
13
+ varWidth: number | object;
14
+ varHeight: number | object;
15
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ proxyType: symbol;
17
+ proxyProps?: Object | undefined;
18
+ varLeft?: number | object | undefined;
19
+ varTop?: number | object | undefined;
20
+ varWidth?: number | object | undefined;
21
+ varHeight?: number | object | undefined;
22
+ syncWith: string;
23
+ syncType?: symbol | undefined;
24
+ }>, {
25
+ varMode: symbol;
26
+ varLeft: number;
27
+ varTop: number;
28
+ varWidth: number;
29
+ varHeight: number;
30
+ syncType: symbol;
31
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "syncType" | "varLeft" | "varTop" | "varWidth" | "varHeight">;
32
+ $attrs: {
33
+ [x: string]: unknown;
34
+ };
35
+ $refs: {
36
+ [x: string]: unknown;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: import("vue").Slot | undefined;
40
+ }>;
41
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
42
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
43
+ $emit: (event: string, ...args: any[]) => void;
44
+ $el: any;
45
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
46
+ proxyType: symbol;
47
+ proxyProps?: Object | undefined;
48
+ varLeft?: number | object | undefined;
49
+ varTop?: number | object | undefined;
50
+ varWidth?: number | object | undefined;
51
+ varHeight?: number | object | undefined;
52
+ syncWith: string;
53
+ syncType?: symbol | undefined;
54
+ }>, {
55
+ varMode: symbol;
56
+ varLeft: number;
57
+ varTop: number;
58
+ varWidth: number;
59
+ varHeight: number;
60
+ syncType: symbol;
61
+ }>>>, {
62
+ setSensor: (callback: Function, sensitivity: number) => void;
63
+ currentPercent: () => number;
64
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
65
+ syncType: symbol;
66
+ varLeft: number | object;
67
+ varTop: number | object;
68
+ varWidth: number | object;
69
+ varHeight: number | object;
70
+ }, {}, string> & {
71
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
72
+ created?: ((() => void) | (() => void)[]) | undefined;
73
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
74
+ mounted?: ((() => void) | (() => void)[]) | undefined;
75
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
76
+ updated?: ((() => void) | (() => void)[]) | undefined;
77
+ activated?: ((() => void) | (() => void)[]) | undefined;
78
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
79
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
80
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
81
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
82
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
83
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
84
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
85
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
86
+ };
87
+ $forceUpdate: () => void;
88
+ $nextTick: typeof import("vue").nextTick;
89
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
90
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
91
+ proxyType: symbol;
92
+ proxyProps?: Object | undefined;
93
+ varLeft?: number | object | undefined;
94
+ varTop?: number | object | undefined;
95
+ varWidth?: number | object | undefined;
96
+ varHeight?: number | object | undefined;
97
+ syncWith: string;
98
+ syncType?: symbol | undefined;
99
+ }>, {
100
+ varMode: symbol;
101
+ varLeft: number;
102
+ varTop: number;
103
+ varWidth: number;
104
+ varHeight: number;
105
+ syncType: symbol;
106
+ }>>> & import("vue").ShallowUnwrapRef<{
107
+ setSensor: (callback: Function, sensitivity: number) => void;
108
+ currentPercent: () => number;
109
+ }> & {} & import("vue").ComponentCustomProperties & {};
110
+ __isFragment?: undefined;
111
+ __isTeleport?: undefined;
112
+ __isSuspense?: undefined;
113
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
114
+ proxyType: symbol;
115
+ proxyProps?: Object | undefined;
116
+ varLeft?: number | object | undefined;
117
+ varTop?: number | object | undefined;
118
+ varWidth?: number | object | undefined;
119
+ varHeight?: number | object | undefined;
120
+ syncWith: string;
121
+ syncType?: symbol | undefined;
122
+ }>, {
123
+ varMode: symbol;
124
+ varLeft: number;
125
+ varTop: number;
126
+ varWidth: number;
127
+ varHeight: number;
128
+ syncType: symbol;
129
+ }>>>, {
130
+ setSensor: (callback: Function, sensitivity: number) => void;
131
+ currentPercent: () => number;
132
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
133
+ syncType: symbol;
134
+ varLeft: number | object;
135
+ varTop: number | object;
136
+ varWidth: number | object;
137
+ varHeight: number | object;
138
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
139
+ $slots: {
140
+ default: (_: {}) => any;
141
+ };
142
+ });
143
+ export default _default;
144
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
145
+ type __VLS_TypePropsToRuntimeProps<T> = {
146
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
147
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
148
+ } : {
149
+ type: import('vue').PropType<T[K]>;
150
+ required: true;
151
+ };
152
+ };
153
+ type __VLS_WithDefaults<P, D> = {
154
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
155
+ default: D[K];
156
+ } : P[K];
157
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.ts}
3
+ */
4
+
5
+ declare const ScrollInnerStyle: {
6
+ UpdatePercentNexusCode: number;
7
+ };
8
+ export { ScrollInnerStyle };
@@ -1,7 +1,16 @@
1
- declare const ScrollStyle: {
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.ts}
3
+ */
4
+
5
+ declare const ScrollBoxStyle: {
2
6
  DrawerMode: symbol;
3
7
  PinMode: symbol;
4
- SyncParallel: symbol;
5
- SyncRevert: symbol;
8
+ SyncForward: symbol;
9
+ SyncReverse: symbol;
10
+ Position: symbol;
11
+ Size: symbol;
12
+ SizeDiv: symbol;
13
+ SizeClip: symbol;
14
+ JsvNinePatch: symbol;
6
15
  };
7
- export { ScrollStyle };
16
+ export { ScrollBoxStyle };
@@ -1 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvScrollBox/index.ts}
3
+ */
4
+
1
5
  export { default as JsvScrollBox } from "./JsvScrollBox.vue";
6
+ export { default as JsvScrollFollow } from "./JsvScrollFollow.vue";
7
+ export * from "./ScrollSymbol";
@@ -1,3 +1,21 @@
1
+ /**
2
+ + @file {@link file://./../../../utils/JsViewVueWidget/JsvSector.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvSector:Vue高阶组件,扇形图。
10
+ * props说明:
11
+ * centerPosition {Object} 圆心坐标,属性:{x,y}
12
+ * radius {Number} 半径
13
+ * animationTime {Number} 动画变化时间,单位 /秒
14
+ * config {Object} 配置信息对象,包含初始角度,扫过的角度以及颜色。属性:{startAngle,sweepAngle,color}
15
+ * extraTime {Number} 可选配置(饼图用)扇形运动额外时间
16
+ *
17
+ */
18
+
1
19
  declare const _default: import("vue").DefineComponent<{}, {
2
20
  $props: {
3
21
  readonly animationTime?: number | undefined;
@@ -1,3 +1,45 @@
1
+ /**
2
+ + @file {@link file://./../../../utils/JsViewVueWidget/JsvSoundPool.js}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvSoundPool: 面向对象的类,用于播放效果音,创建JsvSoundPool对象后通过request的回调获得AudioController句柄后进行控制
10
+ * 功能函数: (参数说明见函数本体)
11
+ * constructor(max)
12
+ * 功能: 构造JsvSoundPool,构造后需要destroy进行资源释放
13
+ * request(url, netSetting, priority, callback)
14
+ * 功能: 创建加载指定音轨(url)的控制器(AudioController),在回调中获得AudioController
15
+ * release(controller)
16
+ * 功能: 释放指定AudioController资源
17
+ * destroy()
18
+ * 功能: 释放JsvSoundPool管理的所有资源
19
+ * autoPause()
20
+ * 功能: 暂停当前Pool中所有正在播放的音轨
21
+ * autoResume()
22
+ * 功能: 播放当前Pool中所有暂停掉的音轨
23
+ * AudioController:
24
+ * 功能函数: (参数说明见函数本体)
25
+ * play()
26
+ * 功能: 播放当前音轨,与stop()配套
27
+ * pause()
28
+ * 功能: 暂停当前音轨,与resume()配套
29
+ * stop()
30
+ * 功能: 停止当前音轨,与play()配套
31
+ * resume()
32
+ * 功能: 恢复当前音轨播放,与pause()配套
33
+ * setRate(rate)
34
+ * 功能: 当前播放速率
35
+ * setVolume(leftVolume, rightVolume)
36
+ * 功能: 调整音量
37
+ * setLoop(loop)
38
+ * 功能: 设置是否进行循环和循环次数
39
+ * setPriority(priority)
40
+ * 功能: 设置播放优先级
41
+ */
42
+
1
43
  export class JsvSoundPool {
2
44
  /**
3
45
  * @param {int} max max streams
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpray/BrowserSpray.vue}
3
+ */
4
+
1
5
  declare const _default: import("vue").DefineComponent<{
2
6
  pointRes: {
3
7
  type: StringConstructor;
@@ -1,3 +1,43 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpray/JsvSpray.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvSpray:Vue高阶组件,粒子效果控件
10
+ * prop说明:
11
+ * pointRes {string} (必需)粒子图案 可选值: 绝对路径url|url(相对路径url)|#FFFFFF|rbga(255,0,0,1.0)
12
+ * sprayStyle {object} (必需)粒子效果配置
13
+ * ignoreClip {boolean} 无视clipView描画
14
+ *
15
+ * prop中的sprayStyle说明:
16
+ * type {int} (必需)喷射类型 0: 一次喷射 1: 持续喷射
17
+ * particleNum {int} (必需)粒子个数
18
+ * deltaAngle {int} (必需)粒子喷射角度范围(角度)。如设30则粒子喷射范围为div上边法向正负30度
19
+ * deltaWidth {int} (必需)粒子喷射位置宽度范围, 会在左右两侧各deltaWidth的范围内随机出现粒子
20
+ * deltaHeight {int} (必需)粒子喷射位置高度范围, 会在上下两侧各deltaHeight的范围内随机出现粒子
21
+ * pointSizeMin {int} (必需)粒子尺寸下限(像素)
22
+ * pointSizeMax {int} (必需)粒子尺寸上限(像素)
23
+ * speedMin {float} (必需)粒子速度下限
24
+ * speedMax {float} (必需)粒子速度上限
25
+ * lifeMin {int} (必需)粒子生命周期下限(ms)
26
+ * lifeMax {int} (必需)粒子生命周期上限(ms)
27
+ * accelerateX {float} (必需)水平方向加速度
28
+ * accelerateY {float} (必需)垂直方向加速度
29
+ * addNumSpeed {float} (废弃)持续喷射时,起始粒子添加速度(个/ms), 默认为0.001
30
+ * particleAddSpeed {float} 持续喷射时,起始粒子添加速度(个/ms), 默认为0.001
31
+ * enableFade {boolean} 粒子淡出开关, 默认为false
32
+ * enableShrink {boolean} 粒子缩小开关, 默认为false
33
+ * angularVelocityMin {float} 角速度最小值(角度/秒), 默认为0
34
+ * angularVelocityMax {float} 角速度最大值(角度/秒), 默认为0
35
+ * alphaMin {float} 透明度最小值, 默认为1
36
+ * alphaMax {float} 透明度最大值, 默认为1
37
+ * angleMin {float} 角度最小值(角度)
38
+ * angleMax {float} 角度最大值(角度)
39
+ */
40
+
1
41
  declare const _default: import("vue").DefineComponent<{
2
42
  pointRes: {
3
43
  type: StringConstructor;
@@ -1,2 +1,6 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpray/index.js}
3
+ */
4
+
1
5
  export default _JsvSpray;
2
6
  declare let _JsvSpray: any;
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.ts}
3
+ */
4
+
1
5
  declare class SpritePack {
2
6
  keyFrameRefName: String | null;
3
7
  clipKeyFrameName: String | null;
@@ -1,3 +1,55 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvSpriteAnim: 描画动态的精灵图(雪碧图)
10
+ * 注意: PC模拟环境中,动画执行完成如果在onAnimEnd立刻进行不显示的话,可能闪一帧残留图像,在盒子不会有这个问题
11
+ * prop说明:
12
+ * spriteInfo {object} (必需)精灵图配置信息
13
+ * { frames: [
14
+ * {
15
+ * source:{x, y, w, h}, // 切片的绘制位置,来源于美术工具导出
16
+ * target:{x, y, w, h}, // 切片在精灵图中的位置,来源于美术工具导出
17
+ * },
18
+ * ...
19
+ * ],
20
+ * meta:{w,h} // 整张精灵图的尺寸,来源于美术工具导出
21
+ * }
22
+ * viewSize {object} (可选){w:xxx, h:xxx},显示尺寸定制, 不设置则从SpriteInfo中提炼的最大子图内容显示尺寸
23
+ * 可以只只设定width或者height,另一边则自适应
24
+ * 因为精灵图的尺寸都是精灵图内容单图偏移+内容尺寸,所以定制区域后,此区域的显示内容是右下对齐的效果
25
+ * spriteFrameSize {object} (可选){w:xxxx, h:xxxx},精灵图美术编译前居中显示的图尺寸,用来纠正viewSize设定后的右下对齐成居中
26
+ * 一般可以通过JsvSpriteTools.guessOriginSize()来推测值,最好还是来源于美术提供资料
27
+ * imageUrl {string} (必需)图片地址,另外,为了减小无效的解析处理,规定只有image的URL变更时才重新解析spriteInfo
28
+ * duration {float} (动图必需)动图的时间
29
+ * onAnimEnd {function} 动图结束回调
30
+ * autostart {string} 启动动图,默认none,
31
+ * 自动启动模式:true/start:精灵图自动启动
32
+ * none:不自动启动
33
+ * loop {string或number} 动图的循环次数 infinite/数字,默认为单次
34
+ * controller {SpriteController} 控制动图start,stop的对象
35
+ *
36
+ * SpriteController/或者本组件的ref: 面向对象类,精灵图动作控制器
37
+ * 功能函数:(参数说明见函数本体)
38
+ * start()
39
+ * 功能: 启动精灵图动画
40
+ * 参数表:
41
+ * indexArray : 帧数组/"all", 展示帧的序列
42
+ * endFrame : 取值"start"/"end", 动画的结束帧内容
43
+ * duration : 单次生效, 临时覆盖prop中设置的duration
44
+ * loopSet : 单次生效, 临时覆盖prop中设置的loop, 次数或者infinite
45
+ * animateEnd : 单次回调, 另外prop的onAnimEnd仍然会触发
46
+ *
47
+ * stop()
48
+ * 功能: 停止精灵图动画,可选择静止在第一帧或最后一帧
49
+ * 参数表:
50
+ * index : 目标帧index/"start"/"end"
51
+ */
52
+
1
53
  declare const _default: import("vue").DefineComponent<{}, {
2
54
  start: (indexArray: any, endFrame: any, duration: any, loopSet: any, animateEnd: any) => void;
3
55
  stop: (index: any) => void;
@@ -1,3 +1,19 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvSpriteLoader: 雪碧图资源加载器
10
+ * prop说明:
11
+ * imageUrl: http打头的远程图片加载器
12
+ * configUrl: http打头的远程configUrl文件
13
+ * onConfigReady: config文件下载完成后的回调(data, PromiseResolve)
14
+ * noNeedResource: 是否需要等待imageUrl和json记载完毕后再激活子内容, 默认为false, 可设置为true
15
+ */
16
+
1
17
  declare const _default: {
2
18
  new (...args: any[]): {
3
19
  $: import("vue").ComponentInternalInstance;
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.ts}
3
+ */
4
+
1
5
  declare let JsvSpriteTools: {
2
6
  /**
3
7
  * guessOriginSize
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.js}
3
+ */
4
+
1
5
  export class SpriteController {
2
6
  _SpriteImage: any;
3
7
  Used: boolean;
@@ -1,3 +1,7 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/index.js}
3
+ */
4
+
1
5
  import JsvSpriteAnim from "./JsvSpriteAnim.vue";
2
6
  import JsvSpriteLoader from "./JsvSpriteLoader.vue";
3
7
  import { SpriteController } from "./SpriteController.js";
@@ -1,2 +1,6 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.ts}
3
+ */
4
+
1
5
  declare const getsAnimationToken: () => number;
2
6
  export { getsAnimationToken };
@@ -1,3 +1,42 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvSwiper:Vue高阶组件,图片轮播组件
10
+ * props说明:
11
+ * showIndicator {boolean} 是否显示指示点,默认显示
12
+ * dotSize {int} 指示点大小,默认为10px
13
+ * dotGap {int} 指示点之间间隔,默认为10px
14
+ * indicatorPos {int} 指示点位置, 横向时为距顶端的位置,默认为高的80%;
15
+ 纵向时为距左端的位置,默认为宽的80%
16
+ * indicatorAlign {String} 指示面板的 align, 值为 start / middle / end,默认为middle
17
+ * totalFrame {int} (必需)item 的个数
18
+ * firstFrame {int} 初始 item 的 index,默认为0
19
+ * layoutInfo {Object} (必需)组件的大小及位置 {top: 0, left: 0, width: 0, height: 0}
20
+ * onClick {Function} 点击事件 function () {}
21
+ * onChange {Function} 滚动事件 function (index) {}
22
+ * onEdge {Function} 到达边缘事件 ({direction: EdgeDirection}) => Void
23
+ * autoplayInterval {int} 自动滚动的时间(毫秒),等于0时不自动滚动, 默认为5000
24
+ * animation {Object} 滚动动画设置 {duration: 0, easing: "linear"}
25
+ * vertical {boolean} 组件是否为纵向的,默认为 false
26
+ * name {String} 组件获得焦点的 name
27
+ * onFocus {Function} 获得焦点的回调
28
+ * onBlur {Function} 失去焦点的回调
29
+ * swipeType {String} 切换方式,目前只支持 translate,之后可能会添加 opacity 等方式
30
+ * smoothTranslate {boolean} 平滑模式动画开关
31
+ * reverseSwipe {boolean} 反转滚动方向,默认值为false. 默认滚动方向是正向, 既向index增大的方向, 反转后为反向, 既向index减小的方向
32
+ * disableLoopWhenFocus {boolean} 获焦时按键是否循环滚动
33
+ * public methods:
34
+ * slideTo
35
+ * @description 滚动到指定id
36
+ @params {int} id 目标id
37
+ @params {int} 方向, 1为正向, -1为负向
38
+ */
39
+
1
40
  declare const _default: import("vue").DefineComponent<{
2
41
  showIndicator: {
3
42
  type: BooleanConstructor;
@@ -1,2 +1,6 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSwiper/index.js}
3
+ */
4
+
1
5
  export default JsvSwiper;
2
6
  import JsvSwiper from "./JsvSwiper.vue";
@@ -1,3 +1,27 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue}
3
+ */
4
+
5
+ /**
6
+ * @file
7
+ *
8
+ * 【模块 export 内容】
9
+ * JsvSwiper3D:Vue高阶组件,图片轮播3D组件
10
+ * props说明:
11
+ * dispNumber {int} (必需) 需要展示的item 的个数
12
+ * initIndex {int} 初始 item 的 index,默认为展示个数的中间项
13
+ * layoutInfo {Object} (必需)组件的大小 {width: 0, height: 0,left:0,top:0}
14
+ * onClick {Function} 点击事件 function () {}
15
+ * onChange {Function} 滚动事件 function (index) {}
16
+ * duration {number} 动画时长 单位:秒
17
+ * name {String} 组件获得焦点的 name
18
+ * onFocus {Function} 获得焦点的回调
19
+ * onBlur {Function} 失去焦点的回调
20
+ * ItemArray {Array} (必需) 总数组{要有image属性}
21
+ * sideScale {float} 边缘缩小倍数
22
+ * initItemStyle {Object} (必需)中间最大项的style{width,height}
23
+ */
24
+
1
25
  declare const _default: {
2
26
  new (...args: any[]): {
3
27
  $: import("vue").ComponentInternalInstance;
@@ -1,2 +1,6 @@
1
+ /**
2
+ + @file {@link file://./../../../../utils/JsViewVueWidget/JsvSwiper3D/index.js}
3
+ */
4
+
1
5
  export default JsvSwiper;
2
6
  import JsvSwiper from "./JsvSwiper.vue";