@shijiu/jsview-vue 2.2.373 → 2.2.426-test.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 (308) hide show
  1. package/bin/jsview-vue.mjs +333 -487
  2. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/CheckType.d.ts +0 -4
  3. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusBlock.vue.d.ts +0 -34
  4. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/JsvFocus/JsvFocusHub.d.ts +0 -4
  5. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +12 -0
  6. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Const.d.ts +0 -4
  7. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Dispatcher.d.ts +0 -4
  8. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/ListWidget.vue.d.ts +0 -8
  9. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +161 -0
  10. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/MetroWidgetSetup.d.ts +0 -4
  11. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/PageUpdater.d.ts +0 -4
  12. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/RenderItem.d.ts +0 -4
  13. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/Slide.d.ts +0 -4
  14. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/SlotComponent.vue.d.ts +0 -4
  15. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +64 -0
  16. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
  17. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/VisibleInfo.d.ts +0 -4
  18. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/MetroWidget/WidgetRectInfo.d.ts +0 -4
  19. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/RangeModel.d.ts +0 -4
  20. package/bin/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
  21. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/CommonMetroTemplate.d.ts +0 -4
  22. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/Fence.d.ts +2 -6
  23. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/ListMetroTemplate.d.ts +0 -4
  24. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/MetroTemplate.d.ts +3 -7
  25. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/TemplateItemAdder.d.ts +0 -4
  26. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/TemplateParser/index.d.ts +0 -4
  27. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/WidgetCommon.d.ts +0 -4
  28. package/bin/types/{JsViewEngineWidget → utils/JsViewEngineWidget}/index.d.ts +0 -4
  29. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAccount/JsvAccount.d.ts +0 -4
  30. package/bin/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +2 -0
  31. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +0 -4
  32. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +4 -8
  33. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/CheckType.d.ts +0 -4
  34. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/Events.d.ts +0 -4
  35. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudio.vue.d.ts +4 -8
  36. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioBridgeProxy.d.ts +0 -4
  37. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/JsvAudioProxy.vue.d.ts +0 -4
  38. package/bin/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +1 -0
  39. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/ScreenLockManager.d.ts +0 -4
  40. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvAudio/index.d.ts +0 -4
  41. package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +13 -0
  42. package/bin/types/{JsViewPlugin/JsvLatex → utils/JsViewPlugin/JsvAudio}/version.d.ts +0 -4
  43. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserDomBuilder.d.ts +0 -4
  44. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/BrowserJsvLatex.vue.d.ts +4 -8
  45. package/bin/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +1 -0
  46. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatex.vue.d.ts +4 -28
  47. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +3 -0
  48. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/JsvLatexProxy.vue.d.ts +0 -4
  49. package/bin/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +1 -0
  50. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/JsvLatex/index.d.ts +0 -4
  51. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +13 -0
  52. package/bin/types/{JsViewPlugin/JsvAudio → utils/JsViewPlugin/JsvLatex}/version.d.ts +0 -5
  53. package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer-0.9.vue.d.ts +45 -0
  54. package/bin/types/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue.d.ts +597 -0
  55. package/bin/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
  56. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +420 -0
  57. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +57 -0
  58. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +588 -0
  59. package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +358 -0
  60. package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +358 -0
  61. package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
  62. package/bin/types/{JsViewPlugin → utils/JsViewPlugin}/index.d.ts +0 -4
  63. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ConstSymbol.d.ts +0 -4
  64. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugContentShellJBridge.d.ts +0 -4
  65. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DebugTool.d.ts +0 -4
  66. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/DefaultKeyMap.d.ts +0 -4
  67. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/FeatureActive.d.ts +0 -4
  68. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeConstDefine.d.ts +0 -4
  69. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/ForgeHandles.d.ts +0 -4
  70. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDemoTester.d.ts +0 -4
  71. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicCssStyle.d.ts +0 -17
  72. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvDynamicKeyFrames.d.ts +0 -17
  73. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvFederationTools.d.ts +0 -4
  74. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvHashHistory.d.ts +0 -4
  75. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvImpactTracer.d.ts +0 -4
  76. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPerformance.d.ts +0 -4
  77. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvPreDownloader.d.ts +0 -21
  78. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRefTaker.d.ts +0 -26
  79. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvRuntimeBridge.d.ts +0 -8
  80. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleClass.d.ts +0 -4
  81. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvStyleSheetsDeclarer.d.ts +0 -18
  82. package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +61 -0
  83. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureDefines.d.ts +0 -4
  84. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureLoadTool.d.ts +0 -4
  85. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +0 -4
  86. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/CommandList.d.ts +0 -4
  87. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CanvasTexture/Path.d.ts +0 -4
  88. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +0 -4
  89. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/JsvTextureStore.d.ts +0 -22
  90. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Store.d.ts +0 -4
  91. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/JsvTextureStore/Texture.d.ts +0 -4
  92. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/NinePatchHelper.d.ts +0 -4
  93. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/TextureManagerTools.d.ts +0 -4
  94. package/bin/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +3 -0
  95. package/bin/types/{JsViewVueTools → utils/JsViewVueTools}/index.d.ts +0 -5
  96. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/ActorControlBase.d.ts +0 -4
  97. package/bin/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +64 -0
  98. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/JsvActorMoveControl.d.ts +0 -4
  99. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvActorMove/index.d.ts +0 -4
  100. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/BrowserApic.vue.d.ts +1 -5
  101. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic/JsvApic.vue.d.ts +0 -20
  102. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +2 -0
  103. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +1 -5
  104. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +23 -0
  105. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +2 -0
  106. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +0 -4
  107. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +0 -4
  108. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/GifData.d.ts +0 -4
  109. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +0 -4
  110. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +0 -4
  111. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +0 -4
  112. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/Viewer.d.ts +0 -4
  113. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvBrowserApicLib/WebpData.d.ts +0 -4
  114. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvApic/JsvCommonLoopToolBase.d.ts +0 -4
  115. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvClipDiv/JsvClipDiv.vue.d.ts +0 -4
  116. package/bin/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +1 -0
  117. package/bin/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +1 -0
  118. package/bin/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +13 -0
  119. package/bin/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +2 -0
  120. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDragBox/JsvDragBox.vue.d.ts +0 -25
  121. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvDriftScope/JsvDriftScope.vue.d.ts +0 -4
  122. package/bin/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +1 -0
  123. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvEnableRenderBreak.vue.d.ts +0 -4
  124. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFilterView.vue.d.ts +3 -22
  125. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +72 -0
  126. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +75 -0
  127. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFlexCell/index.d.ts +0 -4
  128. package/bin/types/{JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts → utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts} +1 -5
  129. package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +1 -0
  130. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorControl.d.ts +0 -4
  131. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/CallbackManager.d.ts +0 -4
  132. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ForgeTypeDefine.d.ts +0 -4
  133. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +9 -34
  134. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +3 -25
  135. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +7 -0
  136. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/NexusNode.d.ts +0 -4
  137. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetAction.d.ts +0 -4
  138. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetCondition.d.ts +0 -4
  139. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SetState.d.ts +0 -4
  140. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/SyncLinkManager.d.ts +0 -4
  141. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/index.d.ts +0 -4
  142. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvGrid.vue.d.ts +0 -73
  143. package/bin/types/utils/JsViewVueWidget/JsvHole.d.ts +2 -0
  144. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/Cursor.vue.d.ts +1 -5
  145. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/EditViewOperator.d.ts +2 -5
  146. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/EditVisibleArea.d.ts +4 -5
  147. package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +12 -0
  148. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/SharedDefine.d.ts +0 -4
  149. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/SystemTextTools.d.ts +7 -5
  150. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvInput/index.d.ts +0 -4
  151. package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +12 -0
  152. package/bin/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +1 -0
  153. package/bin/types/utils/JsViewVueWidget/JsvLine/index.d.ts +2 -0
  154. package/bin/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +12 -0
  155. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMaskClipDiv.vue.d.ts +0 -22
  156. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Constant.d.ts +0 -4
  157. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/DataTree.d.ts +0 -4
  158. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/Geometry.d.ts +2 -6
  159. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/JsvMindMap.vue.d.ts +9 -92
  160. package/bin/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +1 -0
  161. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/rtree.d.ts +0 -4
  162. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvNativeSharedDiv.vue.d.ts +0 -18
  163. package/bin/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +21 -0
  164. package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +9 -0
  165. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterDiv.vue.d.ts +0 -17
  166. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvPosterImage.vue.d.ts +0 -18
  167. package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +25 -0
  168. package/bin/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +2 -0
  169. package/bin/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +12 -0
  170. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvQrcode/JsvQrcode.vue.d.ts +1 -26
  171. package/bin/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +13 -0
  172. package/bin/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
  173. package/bin/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +84 -0
  174. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvRipple/index.d.ts +0 -4
  175. package/bin/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +10 -0
  176. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollBox.vue.d.ts +0 -4
  177. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/JsvScrollFollow.vue.d.ts +0 -4
  178. package/bin/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +4 -0
  179. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/ScrollSymbol.d.ts +0 -4
  180. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvScrollBox/index.d.ts +0 -4
  181. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSector.vue.d.ts +0 -18
  182. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSoundPool.d.ts +0 -42
  183. package/bin/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +38 -0
  184. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/FrameBuidler.d.ts +0 -4
  185. package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +18 -0
  186. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +0 -16
  187. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/JsvSpriteTools.d.ts +0 -4
  188. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/SpriteController.d.ts +0 -4
  189. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSpriteAnim/index.d.ts +0 -4
  190. package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +2 -0
  191. package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
  192. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper/JsvSwiper.vue.d.ts +1 -40
  193. package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +2 -0
  194. package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
  195. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvSwiper3D/JsvSwiper.vue.d.ts +3 -27
  196. package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +2 -0
  197. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextBox.vue.d.ts +0 -26
  198. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/CommonType.d.ts +0 -4
  199. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTextureAnim/JsvTextureAnim.vue.d.ts +2 -7
  200. package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +4 -0
  201. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvTouchModeSwitcher.vue.d.ts +3 -28
  202. package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
  203. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +6 -31
  204. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvVisibleSensor/index.d.ts +6 -10
  205. package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/index.d.ts +2 -6
  206. package/bin/types/{index.d.ts → utils/index.d.ts} +0 -4
  207. package/index.d.ts +2 -2
  208. package/package.json +1 -1
  209. package/tools/jsview-vue-build.mjs +3 -2
  210. package/tsconfig.json +27 -0
  211. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.ts +3 -22
  212. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +19 -33
  213. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -1
  214. package/utils/JsViewEngineWidget/TemplateParser/Fence.ts +2 -2
  215. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +2 -4
  216. package/utils/JsViewPlugin/JsvAudio/version.js +1 -1
  217. package/utils/JsViewPlugin/JsvAudio/version.mjs +1 -1
  218. package/utils/JsViewVueTools/JsvHashHistory.js +26 -29
  219. package/utils/JsViewVueTools/JsvRuntimeBridge.js +70 -70
  220. package/utils/JsViewVueTools/JsvTextTools.ts +63 -130
  221. package/utils/JsViewVueTools/TypeCheckAndSet.ts +66 -0
  222. package/utils/JsViewVueTools/index.js +1 -1
  223. package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +9 -14
  224. package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +4 -1
  225. package/utils/JsViewVueWidget/JsvFragShaderView/index.js +2 -9
  226. package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +47 -14
  227. package/utils/JsViewVueWidget/JsvInput/EditVisibleArea.ts +43 -10
  228. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +22 -9
  229. package/utils/JsViewVueWidget/JsvInput/SystemTextTools.ts +41 -27
  230. package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +3 -48
  231. package/utils/JsViewVueWidget/JsvPosterImage.vue +1 -2
  232. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +21 -44
  233. package/utils/JsViewVueWidget/JsvPreload/index.js +2 -13
  234. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
  235. package/utils/JsViewVueWidget/JsvSoundPool.js +3 -7
  236. package/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue +17 -14
  237. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +0 -5
  238. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +70 -75
  239. package/utils/JsViewVueWidget/JsvTextureAnim/index.js +2 -9
  240. package/utils/JsViewVueWidget/index.js +2 -2
  241. package/bin/browser/BrowserJsvFragShaderView.vue.mjs +0 -79
  242. package/bin/browser/BrowserPreload.vue.mjs +0 -139
  243. package/bin/browser/BrowserQrcode.vue.mjs +0 -176
  244. package/bin/browser/BrowserSpray.vue.mjs +0 -56
  245. package/bin/browser/BrowserTextureAnim.vue.mjs +0 -322
  246. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +0 -25
  247. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +0 -435
  248. package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +0 -6
  249. package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +0 -5
  250. package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +0 -5
  251. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +0 -7
  252. package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +0 -5
  253. package/bin/types/JsViewVueTools/JsvTextTools.d.ts +0 -95
  254. package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +0 -6
  255. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +0 -102
  256. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +0 -6
  257. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +0 -51
  258. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +0 -6
  259. package/bin/types/JsViewVueWidget/JsvClipDiv/index.d.ts +0 -5
  260. package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +0 -5
  261. package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +0 -34
  262. package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +0 -6
  263. package/bin/types/JsViewVueWidget/JsvDriftScope/index.d.ts +0 -5
  264. package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +0 -106
  265. package/bin/types/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +0 -106
  266. package/bin/types/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +0 -60
  267. package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +0 -6
  268. package/bin/types/JsViewVueWidget/JsvHole.d.ts +0 -19
  269. package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +0 -65
  270. package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +0 -32
  271. package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +0 -5
  272. package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +0 -6
  273. package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +0 -33
  274. package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +0 -5
  275. package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +0 -50
  276. package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +0 -26
  277. package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +0 -14
  278. package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +0 -67
  279. package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +0 -21
  280. package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +0 -31
  281. package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +0 -15
  282. package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +0 -6
  283. package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +0 -37
  284. package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +0 -8
  285. package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +0 -129
  286. package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +0 -28
  287. package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +0 -8
  288. package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +0 -29
  289. package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +0 -78
  290. package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +0 -6
  291. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +0 -70
  292. package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +0 -6
  293. package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +0 -6
  294. package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +0 -6
  295. package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +0 -155
  296. package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +0 -18
  297. package/tools/config/tsconfig.json +0 -16
  298. package/utils/JsViewVueTools/TypeCheckAndSet.js +0 -27
  299. package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +0 -75
  300. package/utils/JsViewVueWidget/JsvPreload/BrowserPreload.vue +0 -144
  301. package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +0 -189
  302. package/utils/JsViewVueWidget/JsvQrcode/index.js +0 -18
  303. package/utils/JsViewVueWidget/JsvSpray/BrowserSpray.vue +0 -55
  304. package/utils/JsViewVueWidget/JsvSpray/index.js +0 -17
  305. package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +0 -359
  306. /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActionRefObject.d.ts +0 -0
  307. /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvFreeMoveActor/ActorState.d.ts +0 -0
  308. /package/bin/types/{JsViewVueWidget → utils/JsViewVueWidget}/JsvMindMap/CommonType.d.ts +0 -0
@@ -0,0 +1,23 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ onRef: {
3
+ type: FunctionConstructor;
4
+ default: () => void;
5
+ };
6
+ useTexture: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ onRef: {
12
+ type: FunctionConstructor;
13
+ default: () => void;
14
+ };
15
+ useTexture: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>>, {
20
+ onRef: Function;
21
+ useTexture: boolean;
22
+ }>;
23
+ export default _default;
@@ -1,28 +1,3 @@
1
- /**
2
- + @file {@link file://./../../../../utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue}
3
- */
4
-
5
- /**
6
- * @file
7
- *
8
- * 【模块 export 内容】
9
- * JsvVisibleSensor: 可视区域监控器
10
- * props说明:
11
- * horizonShown {number} (可选, 可响应式, 默认1.0完全露出)横轴百分比区域完全显示时(左边或右边完全露出,仅中间段判断会失效),
12
- * 横轴切换到显示状态,否则为不可视状态
13
- * verticalShown {number} (可选, 可响应式)纵轴百分比区域完全显示时(上边或下边完全露出,仅中间段判断会失效),
14
- * 纵轴切换到显示状态,否则为不可视状态
15
- * left {number} (可选, 可响应式)可视检测区域的left
16
- * top {number} (可选, 可响应式)可视检测区域的top
17
- * width {number} (可选, 可响应式)可视检测区域的width
18
- * height {number} (可选, 可响应式)可视检测区域的height
19
- *
20
- * container {div reference} (可选, 可响应式)子区域参照,若为null,则认为检测可视区域为全屏幕
21
- *
22
- * callback {function} (必须, 可响应式)可视变化时的回调处理, 参数
23
- * (old_horizantal_visible, new_horizantal_visible, old_vertical_visible, new_vertical_visible)
24
- */
25
-
26
1
  declare const _default: {
27
2
  new (...args: any[]): {
28
3
  $: import("vue").ComponentInternalInstance;
@@ -46,11 +21,11 @@ declare const _default: {
46
21
  readonly left?: number | undefined;
47
22
  readonly top?: number | undefined;
48
23
  readonly enable?: boolean | undefined;
49
- readonly height?: number | undefined;
50
24
  readonly width?: number | undefined;
51
- readonly container?: Record<string, any> | undefined;
25
+ readonly height?: number | undefined;
52
26
  readonly horizonShown?: number | undefined;
53
27
  readonly verticalShown?: number | undefined;
28
+ readonly container?: Record<string, any> | undefined;
54
29
  readonly callback?: Function | undefined;
55
30
  };
56
31
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
@@ -78,11 +53,11 @@ declare const _default: {
78
53
  readonly left?: number | undefined;
79
54
  readonly top?: number | undefined;
80
55
  readonly enable?: boolean | undefined;
81
- readonly height?: number | undefined;
82
56
  readonly width?: number | undefined;
83
- readonly container?: Record<string, any> | undefined;
57
+ readonly height?: number | undefined;
84
58
  readonly horizonShown?: number | undefined;
85
59
  readonly verticalShown?: number | undefined;
60
+ readonly container?: Record<string, any> | undefined;
86
61
  readonly callback?: Function | undefined;
87
62
  };
88
63
  }> & {} & import("vue").ComponentCustomProperties & {};
@@ -94,11 +69,11 @@ declare const _default: {
94
69
  readonly left?: number | undefined;
95
70
  readonly top?: number | undefined;
96
71
  readonly enable?: boolean | undefined;
97
- readonly height?: number | undefined;
98
72
  readonly width?: number | undefined;
99
- readonly container?: Record<string, any> | undefined;
73
+ readonly height?: number | undefined;
100
74
  readonly horizonShown?: number | undefined;
101
75
  readonly verticalShown?: number | undefined;
76
+ readonly container?: Record<string, any> | undefined;
102
77
  readonly callback?: Function | undefined;
103
78
  };
104
79
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -1,7 +1,3 @@
1
- /**
2
- + @file {@link file://./../../../../utils/JsViewVueWidget/JsvVisibleSensor/index.js}
3
- */
4
-
5
1
  declare const _default: {
6
2
  new (...args: any[]): {
7
3
  $: import("vue").ComponentInternalInstance;
@@ -25,11 +21,11 @@ declare const _default: {
25
21
  readonly left?: number | undefined;
26
22
  readonly top?: number | undefined;
27
23
  readonly enable?: boolean | undefined;
28
- readonly height?: number | undefined;
29
24
  readonly width?: number | undefined;
30
- readonly container?: Record<string, any> | undefined;
25
+ readonly height?: number | undefined;
31
26
  readonly horizonShown?: number | undefined;
32
27
  readonly verticalShown?: number | undefined;
28
+ readonly container?: Record<string, any> | undefined;
33
29
  readonly callback?: Function | undefined;
34
30
  };
35
31
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
@@ -57,11 +53,11 @@ declare const _default: {
57
53
  readonly left?: number | undefined;
58
54
  readonly top?: number | undefined;
59
55
  readonly enable?: boolean | undefined;
60
- readonly height?: number | undefined;
61
56
  readonly width?: number | undefined;
62
- readonly container?: Record<string, any> | undefined;
57
+ readonly height?: number | undefined;
63
58
  readonly horizonShown?: number | undefined;
64
59
  readonly verticalShown?: number | undefined;
60
+ readonly container?: Record<string, any> | undefined;
65
61
  readonly callback?: Function | undefined;
66
62
  };
67
63
  }> & {} & import("vue").ComponentCustomProperties & {};
@@ -73,11 +69,11 @@ declare const _default: {
73
69
  readonly left?: number | undefined;
74
70
  readonly top?: number | undefined;
75
71
  readonly enable?: boolean | undefined;
76
- readonly height?: number | undefined;
77
72
  readonly width?: number | undefined;
78
- readonly container?: Record<string, any> | undefined;
73
+ readonly height?: number | undefined;
79
74
  readonly horizonShown?: number | undefined;
80
75
  readonly verticalShown?: number | undefined;
76
+ readonly container?: Record<string, any> | undefined;
81
77
  readonly callback?: Function | undefined;
82
78
  };
83
79
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -1,7 +1,3 @@
1
- /**
2
- + @file {@link file://./../../../utils/JsViewVueWidget/index.js}
3
- */
4
-
5
1
  export * from "./JsvFreeMoveActor";
6
2
  export * from "./JsvFlexCell";
7
3
  export * from "./JsvSpriteAnim";
@@ -10,8 +6,8 @@ export * from "./JsvClipDiv";
10
6
  export * from "./JsvDriftScope";
11
7
  export { default as JsvApic } from "./JsvApic/JsvApic";
12
8
  export { default as JsvApic2 } from "./JsvApic/JsvApic2";
13
- export { default as JsvQrcode } from "./JsvQrcode";
14
- export { default as JsvSpray } from "./JsvSpray";
9
+ export { default as JsvQrcode } from "./JsvQrcode/JsvQrcode.vue";
10
+ export { default as JsvSpray } from "./JsvSpray/JsvSpray.vue";
15
11
  export { default as JsvSwiper } from "./JsvSwiper";
16
12
  export { default as JsvSwiper3D } from "./JsvSwiper3D";
17
13
  export { default as JsvVisibleSensor } from "./JsvVisibleSensor";
@@ -1,7 +1,3 @@
1
- /**
2
- + @file {@link file://./../../utils/index.js}
3
- */
4
-
5
1
  export * from "./JsViewEngineWidget";
6
2
  export * from "./JsViewPlugin";
7
3
  export * from "./JsViewVueTools";
package/index.d.ts CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  export {
6
6
  MetroWidget
7
- } from "./bin/types/index";
7
+ } from "./bin/types/utils/index";
8
8
 
9
9
  // 二选一 "./bin" 用于执行打包的js,"./utils" 用于调试
10
- export * from "./bin/types/index";
10
+ export * from "./bin/types/utils/index";
11
11
  // export * from "./utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shijiu/jsview-vue",
3
- "version": "2.2.373",
3
+ "version": "2.2.426-test.0",
4
4
  "license": "MIT",
5
5
  "repository": "system/jsview-framework",
6
6
  "author": "mengxk",
@@ -99,11 +99,12 @@ async function main(argv)
99
99
 
100
100
  if(!argv.withoutNpmInstall || fs.existsSync(npmInstalledFlag) == false) {
101
101
  const registry = getNpmRegistry();
102
+ const jsviewPostInstall = `${options.jsviewVueDir}/node_modules/@shijiu/jsview/tools/jsview-post-install.mjs`;
102
103
  fs.rmSync(`${options.jsviewVueDir}/node_modules`, { recursive: true, force: true });
103
104
  batchCommand = [
104
105
  `npm install --registry=${registry}`,
105
106
  `npm install --registry=${registry} --force --no-save ${noSavePackages}`,
106
- `node ${options.jsviewVueDir}/node_modules/@shijiu/jsview/tools/jsview-post-install.mjs --framework=vue`,
107
+ `node ${jsviewPostInstall} --framework=vue --skip-check-npmcmd`,
107
108
  ];
108
109
  }
109
110
  batchCommand = [
@@ -122,7 +123,7 @@ async function main(argv)
122
123
 
123
124
  if(!argv.withoutTsDeclare) {
124
125
  batchCommand = [
125
- `${options.jsviewVueDir}/node_modules/.bin/vue-tsc --project ${options.jsviewVueDir}/tools/config/tsconfig.json`,
126
+ `${options.jsviewVueDir}/node_modules/.bin/vue-tsc --project ${options.jsviewVueDir}/tsconfig.json`,
126
127
  ];
127
128
  fs.rmSync(options.jsviewVueBinTypesDir, { recursive: true, force: true });
128
129
  for(const command of batchCommand) {
package/tsconfig.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "allowJs": true,
4
+ // "checkJs": true,
5
+ "declaration": true,
6
+ "declarationDir": "bin/types",
7
+ "emitDeclarationOnly": true,
8
+ "module": "es2022",
9
+ "moduleResolution": "node",
10
+ "strict": true,
11
+ "target": "es2022",
12
+ "composite": true,
13
+ "useDefineForClassFields": true,
14
+ "jsx": "preserve",
15
+ "resolveJsonModule": true,
16
+ "isolatedModules": true,
17
+ "esModuleInterop": true,
18
+ "lib": ["esnext", "dom"],
19
+ "skipLibCheck": true,
20
+ "experimentalDecorators": true,
21
+ "tsBuildInfoFile": "node_modules/.cache/tsconfig.tsbuildinfo"
22
+ },
23
+ "include": [
24
+ "utils",
25
+ "utils/index.js"
26
+ ],
27
+ }
@@ -25,11 +25,8 @@ export class JsvFocusManager {
25
25
  // #aliasMap = {}
26
26
  private $_appMount: any = undefined;
27
27
  private $_topFDiv: any = undefined;
28
- private $_autoSearchFocus: boolean = false;
29
28
 
30
- constructor(config: any) {
31
- this.$_autoSearchFocus = config.autoSearchFocus;
32
- }
29
+ constructor() { }
33
30
 
34
31
  install(app: any, ...options: any) {
35
32
  console.log("JsvFocusManager install");
@@ -101,7 +98,6 @@ export class JsvFocusManager {
101
98
  $_hookMount(app: any, rootNodeId: any) {
102
99
  rootNodeId = rootNodeId.replace("#", "");
103
100
  this.$_topFDiv = (document as any).jsvInitFDivRoot(rootNodeId);
104
- this.$_topFDiv.enableAutoSearchFocus(this.$_autoSearchFocus);
105
101
  this.$_appMount = app.mount.bind(app);
106
102
 
107
103
  return this.$_doAppMount.bind(this);
@@ -119,23 +115,8 @@ export class JsvFocusManager {
119
115
  }
120
116
  }
121
117
 
122
- /**
123
- * 创建 JsView 焦点管理器
124
- *
125
- * @param {Object} config: 对象设置,子参数有{
126
- * autoSearchFocus{boolean}: 是否开启自动寻焦,默认为false(兼容旧代码)
127
- * }
128
- * @return JsvFocusManager
129
- */
130
- function jsvCreateFocusManager(config: Object | null = null) {
131
- let defualt_config = {
132
- autoSearchFocus: false
133
- };
134
-
135
- return new JsvFocusManager({
136
- ...defualt_config,
137
- ...config
138
- });
118
+ function jsvCreateFocusManager() {
119
+ return new JsvFocusManager();
139
120
  }
140
121
 
141
122
  export { jsvCreateFocusManager, useFocusHub };
@@ -301,14 +301,12 @@ export const setup = (
301
301
  let direction = undefined;
302
302
 
303
303
  let validSlideTask = false;
304
- let forceSlide = false;
305
304
  if (allTask.slide.length > 0) {
306
305
  validSlideTask = true;
307
306
  //有滚动时, 取消延时加载
308
307
  tryCancelDelayLoad();
309
308
  let slideTask = lastOfArray(allTask.slide);
310
309
  slideDoAnim = slideTask.params.doAnim;
311
- forceSlide = slideTask.params.force;
312
310
  switch (slideTask.subType) {
313
311
  case SlideTaskType.SLIDE_BY_DIV: {
314
312
  const div = slideTask.params.div;
@@ -475,7 +473,7 @@ export const setup = (
475
473
  }
476
474
 
477
475
  //处理滚动动画
478
- if (forceSlide || needSlide) {
476
+ if (needSlide) {
479
477
  let animInfo = undefined;
480
478
  if (slideDoAnim) {
481
479
  animInfo = {
@@ -816,7 +814,7 @@ export const setup = (
816
814
  }
817
815
  };
818
816
 
819
- const slideToItemInner = (index, doAnim, direction = undefined, preItem = undefined, force = false) => {
817
+ const slideToItemInner = (index, doAnim, direction = undefined, preItem = undefined) => {
820
818
  taskManager.addTask(
821
819
  TaskType.SLIDE,
822
820
  {
@@ -824,7 +822,6 @@ export const setup = (
824
822
  doAnim,
825
823
  direction,
826
824
  preItem,
827
- force,
828
825
  },
829
826
  SlideTaskType.SLIDE_BY_ITEM);
830
827
  };
@@ -847,23 +844,22 @@ export const setup = (
847
844
  SlideTaskType.SLIDE_BY_DIV);
848
845
  }
849
846
  }
850
- const slideToRectInner = (rect, doAnim, direction, force) => {
851
- if (rect && typeof rect.left == "number" && typeof rect.top == "number" && typeof rect.width == "number" && typeof rect.height == "number") {
847
+ const slideToRect = (rect, doAnim, direction = undefined) => {
848
+ if (rect
849
+ && typeof rect.left == 'number'
850
+ && typeof rect.top == 'number'
851
+ && typeof rect.width == 'number'
852
+ && typeof rect.height == 'number') {
852
853
  taskManager.addTask(
853
854
  TaskType.SLIDE,
854
855
  {
855
856
  rect,
856
857
  doAnim,
857
858
  direction,
858
- force
859
859
  },
860
- SlideTaskType.SLIDE_BY_RECT
861
- );
860
+ SlideTaskType.SLIDE_BY_RECT);
862
861
  }
863
862
  }
864
- const slideToRect = (rect, doAnim, direction = undefined) => {
865
- slideToRectInner(rect, doAnim, direction, false);
866
- }
867
863
 
868
864
  function ifLayoutChange(type, oldMeasureItem, newMeasureItem) {
869
865
  let changed = newMeasureItem.width !== oldMeasureItem.width
@@ -887,14 +883,13 @@ export const setup = (
887
883
  return;
888
884
  }
889
885
  try {
890
- let newData = toRaw(props.provideData()).concat();
886
+ let newData = toRaw(props.provideData());
891
887
  if (newData instanceof Array) {
892
888
  let maxSameIndex = -1;
893
889
  let layoutChange = false;
894
890
  let onlyDataChangeList = [];
895
- let targetFocusId = focusId
896
891
  if (focusId >= newData.length) {
897
- targetFocusId = newData.length - 1
892
+ _changeFocusId(newData.length - 1, false)
898
893
  }
899
894
 
900
895
  if (!forceUpdate) {
@@ -936,7 +931,7 @@ export const setup = (
936
931
  }
937
932
  }
938
933
 
939
- dataList = newData;
934
+ dataList = newData.concat();
940
935
  if (forceUpdate || layoutChange) {
941
936
  //需要更新布局
942
937
  pageUpdateToken.value++;
@@ -962,16 +957,16 @@ export const setup = (
962
957
  if (props.onScroll) {
963
958
  templateItemAdder.tryAddItemByIndex(dataList.length - 1);
964
959
  } else {
965
- templateItemAdder.tryAddItemById(targetFocusId);
960
+ templateItemAdder.tryAddItemById(focusId);
966
961
  }
967
962
  } else {
968
- if (maxSameIndex < newData.length - 1) {
963
+ if (maxSameIndex < newData.length) {
969
964
  //追加数据
970
965
  templateItemAdder.updateData(newData);
971
966
  if (props.onScroll) {
972
967
  templateItemAdder.tryAddItemByIndex(dataList.length - 1);
973
968
  } else {
974
- templateItemAdder.tryAddItemById(targetFocusId);
969
+ templateItemAdder.tryAddItemById(focusId);
975
970
  }
976
971
  }
977
972
 
@@ -989,15 +984,6 @@ export const setup = (
989
984
  }
990
985
  }
991
986
 
992
- if (targetFocusId != focusId) {
993
- //重置所有的滚动信息
994
- _changeFocusId(targetFocusId, false);
995
- visibleInfo = visibleInfo.copy();
996
- visibleInfo.start = 0;
997
- visibleInfo._startMax = 0;
998
- slideDivLeft.value = 0;
999
- slideDivTop.value = 0;
1000
- }
1001
987
  const updater = pageUpdater.update(
1002
988
  metroTemplate,
1003
989
  visibleInfo.startWithPadding - innerKeepTraceRange * pageRange,
@@ -1010,9 +996,9 @@ export const setup = (
1010
996
  onItemFocus(getItemById(focusId), null);
1011
997
  let targetRect = mRectCache.getCurRect() ?? mRectCache.getPreRect();
1012
998
  if (targetRect) {
1013
- slideToRectInner(targetRect, false, 0, true);
999
+ slideToRect(targetRect, false);
1014
1000
  } else {
1015
- slideToItemInner(id2Index(focusId), false, 0, 0, true);
1001
+ slideToItem(id2Index(focusId), false);
1016
1002
  }
1017
1003
  //template和slideDivStyle均确定后再次重设box condition
1018
1004
  updateTouchBoxCondition();
@@ -2442,9 +2428,9 @@ export const setup = (
2442
2428
  : { start: widgetRectInfo.padding.left, end: widgetRectInfo.padding.right };
2443
2429
 
2444
2430
  if (props.provideData) {
2445
- dataList = toRaw(props.provideData())?.concat();
2431
+ dataList = toRaw(props.provideData());
2446
2432
  } else if (props.data) {
2447
- dataList = toRaw(props.data)?.concat();
2433
+ dataList = toRaw(props.data);
2448
2434
  }
2449
2435
 
2450
2436
  templateItemAdder = new TemplateItemAdder(
@@ -1,4 +1,4 @@
1
- import { Forge } from "@shijiu/jsview/dom/jsv-forge-define";
1
+ import { Forge } from "@shijiu/jsview/dom/jsv-forge-define.mjs";
2
2
 
3
3
  interface AnimSetting {
4
4
  easing?: string | null;
@@ -1,4 +1,4 @@
1
- interface GapInfo {
1
+ export interface GapInfo {
2
2
  readonly GapStart: number,
3
3
  readonly GapEnd: number,
4
4
  }
@@ -132,4 +132,4 @@ class Fence {
132
132
  return newFence;
133
133
  }
134
134
  }
135
- export { Fence, GapInfo }
135
+ export { Fence }
@@ -137,7 +137,7 @@ interface FindNextAnchor {
137
137
  bottom: number,
138
138
  }
139
139
 
140
- interface TemplateItem {
140
+ export interface TemplateItem {
141
141
  id: number,
142
142
  index: number,
143
143
  left: number,
@@ -165,7 +165,7 @@ interface TemplateItem {
165
165
  uid?: string,
166
166
  }
167
167
 
168
- interface MeasureInfo {
168
+ export interface MeasureInfo {
169
169
  left?: number,
170
170
  top?: number,
171
171
  width: number,
@@ -386,7 +386,5 @@ abstract class MetroTemplate {
386
386
  }
387
387
 
388
388
  export {
389
- MeasureInfo,
390
389
  MetroTemplate,
391
- TemplateItem,
392
390
  }
@@ -16,7 +16,7 @@ let PluginInfo = {
16
16
  listener: "top.JsvAudioPluginLoadResult", //插件加载结果回调
17
17
  listener2: "top.JsvAudioPluginStatus",
18
18
  // debug:true,
19
- md5: "5ab9bfbec33034a6a26df7c1187b3c8f"
19
+ // md5:"baafc8ea737adcad5443f44cc0112498"
20
20
  };
21
21
 
22
22
  // 不要用export default,update-env脚本不能解析
@@ -16,7 +16,7 @@ let PluginInfo = {
16
16
  listener: "top.JsvAudioPluginLoadResult", //插件加载结果回调
17
17
  listener2: "top.JsvAudioPluginStatus",
18
18
  // debug:true,
19
- md5: "5ab9bfbec33034a6a26df7c1187b3c8f" // 插件的md5, 此信息是内网场景回使用,一定要对齐md5
19
+ // md5:"baafc8ea737adcad5443f44cc0112498"
20
20
  };
21
21
 
22
22
  // 不要用export default,update-env脚本不能解析
@@ -1,12 +1,9 @@
1
- import { createMemoryHistory, createWebHashHistory } from "vue-router";
1
+ import { createMemoryHistory, /*createWebHashHistory*/ } from "vue-router";
2
+ // import { urlCheckSet } from "./TypeCheckAndSet.ts";
2
3
 
3
4
  class JsvHashHistory {
4
5
  constructor(base) {
5
- if(window.jsvIsBrowserDebug) {
6
- this.#history = createWebHashHistory(base)
7
- } else {
8
- this.#history = this.#createMockHashHistory(base);
9
- }
6
+ this.#history = this.#createMockHashHistory(base);
10
7
  }
11
8
 
12
9
  get location() {
@@ -32,7 +29,7 @@ class JsvHashHistory {
32
29
  replace(to, data) {
33
30
  this.#history.replace(to, data);
34
31
  this.#updateLocation(this.#history.location);
35
- }
32
+ }
36
33
 
37
34
  push(to, data) {
38
35
  this.#history.push(to, data);
@@ -53,16 +50,16 @@ class JsvHashHistory {
53
50
  // base = location.host ? base || location.pathname + location.search : '';
54
51
  base = (location.host || location.protocol === 'file:') ? base || location.pathname + location.search : '';
55
52
  if (!base.includes('#'))
56
- base += '#';
53
+ base += '#';
57
54
  if (!base.endsWith('#/') && !base.endsWith('#')) {
58
- console.warn(`A hash base must end with a "#":\n"${base}" should be "${base.replace(/#.*$/, '#')}".`);
55
+ console.warn(`A hash base must end with a "#":\n"${base}" should be "${base.replace(/#.*$/, '#')}".`);
59
56
  }
60
57
 
61
58
  this.baseURL = window.location.origin + base;
62
59
 
63
60
  const history = createMemoryHistory(base)
64
61
  const initHash = this.#getInitHash();
65
- if(initHash) {
62
+ if (initHash) {
66
63
  // 已设置hash,替换到hash页面
67
64
  const replaceTo = {
68
65
  path: initHash.substring(1), // 去除#
@@ -70,9 +67,9 @@ class JsvHashHistory {
70
67
  }
71
68
 
72
69
  const queryIdx = initHash.indexOf('?');
73
- if(queryIdx >= 0) {
70
+ if (queryIdx >= 0) {
74
71
  replaceTo.path = replaceTo.path.substring(0, queryIdx - 1),
75
- replaceTo.query = this.#convertUrlParams(initHash.substring(queryIdx));
72
+ replaceTo.query = this.#convertUrlParams(initHash.substring(queryIdx));
76
73
  }
77
74
  history.replace(replaceTo);
78
75
  } else {
@@ -87,35 +84,35 @@ class JsvHashHistory {
87
84
  let initHash;
88
85
 
89
86
  // 抓取history hash在启动过程中的变更, 用于warmUp/warmLoad不一致的情况。
90
- if (window.JsView.takeNativeHashChange) {
91
- initHash = window.JsView.takeNativeHashChange({
92
- //this.push(new_hash.substring(1)); // 去除#
93
- });
94
- if (initHash != null) {
95
- // 将新hash融入window.location中
96
- console.log("History: found init hash change to:" + initHash);
97
- } else {
98
- initHash = window.location.hash;
99
- }
87
+ initHash = window.JsvCoreApi.takeNativeHashChange((new_hash) => {
88
+ // TODO:暂不实现
89
+ //this.push(new_hash.substring(1)); // 去除#
90
+ });
91
+ if (initHash != null) {
92
+ // 将新hash融入window.location中
93
+ console.log("History: found init hash change to:" + initHash);
94
+ } else {
95
+ initHash = window.location.hash;
100
96
  }
101
97
 
102
98
  return initHash;
103
99
  }
104
100
 
105
101
  #updateLocation(location) {
106
- if(!window.jsvIsBrowserDebug) {
107
- const url = new window.JsView.Dom.UrlRef(
108
- location ? this.baseURL + location : this.baseURL,
109
- true
110
- )
102
+ const url = new URL(location ? this.baseURL + location : this.baseURL);
103
+ if (window.location.applyUrlInfo) {
104
+ // 对于window.location为独立定义的场景
111
105
  window.location.applyUrlInfo(url);
106
+ } else {
107
+ // 更新系统的location显示和history状态
108
+ window.history.pushState(null, '', url.href);
112
109
  }
113
110
  }
114
111
 
115
112
  #convertUrlParams(value) {
116
113
  // 去除问号
117
114
  const questionMarkIdx = value.indexOf('?');
118
- if(questionMarkIdx >= 0) {
115
+ if (questionMarkIdx >= 0) {
119
116
  value = value.substr(questionMarkIdx + 1);
120
117
  }
121
118
 
@@ -124,7 +121,7 @@ class JsvHashHistory {
124
121
  var result = {};
125
122
 
126
123
  // 遍历参数并解析键值对
127
- for(const param of paramArray) {
124
+ for (const param of paramArray) {
128
125
  const [key, value] = param.split('=');
129
126
 
130
127
  // 如果键已存在,则将值转换为数组