@shijiu/jsview-vue 2.1.482-test.0 → 2.2.128

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 (244) hide show
  1. package/bin/browser/BrowserApic.vue.mjs +2 -1
  2. package/bin/browser/BrowserApic2.vue.mjs +2 -1
  3. package/bin/browser/BrowserApicLib.mjs +2 -1
  4. package/bin/browser/BrowserQrcode.vue.mjs +3 -1
  5. package/bin/browser/BrowserTextureAnim.vue.mjs +15 -7
  6. package/bin/jsview-vue.mjs +1734 -916
  7. package/bin/types/JsViewEngineWidget/CheckType.d.ts +3 -0
  8. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +102 -0
  9. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +88 -0
  10. package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +10 -0
  11. package/bin/types/JsViewEngineWidget/MetroWidget/Const.d.ts +16 -0
  12. package/bin/types/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +14 -0
  13. package/bin/types/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +158 -0
  14. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +158 -0
  15. package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +46 -0
  16. package/bin/types/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +21 -0
  17. package/bin/types/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +46 -0
  18. package/bin/types/JsViewEngineWidget/MetroWidget/Slide.d.ts +21 -0
  19. package/bin/types/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +48 -0
  20. package/bin/types/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +16 -0
  21. package/bin/types/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +17 -0
  22. package/bin/types/JsViewEngineWidget/RangeModel.d.ts +162 -0
  23. package/bin/types/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +37 -0
  24. package/bin/types/JsViewEngineWidget/TemplateParser/Fence.d.ts +58 -0
  25. package/bin/types/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +15 -0
  26. package/bin/types/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +91 -0
  27. package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +22 -0
  28. package/bin/types/JsViewEngineWidget/TemplateParser/index.d.ts +4 -0
  29. package/bin/types/JsViewEngineWidget/WidgetCommon.d.ts +143 -0
  30. package/bin/types/JsViewEngineWidget/index.d.ts +6 -0
  31. package/bin/types/JsViewPlugin/JsvAccount/JsvAccount.d.ts +42 -0
  32. package/bin/types/JsViewPlugin/JsvAudio/AudioProxy.d.ts +2 -0
  33. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +18 -0
  34. package/bin/types/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +208 -0
  35. package/bin/types/JsViewPlugin/JsvAudio/CheckType.d.ts +2 -0
  36. package/bin/types/JsViewPlugin/JsvAudio/Events.d.ts +13 -0
  37. package/bin/types/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +18 -0
  38. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +8 -0
  39. package/bin/types/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +2 -0
  40. package/bin/types/JsViewPlugin/JsvAudio/PluginLoader.d.ts +1 -0
  41. package/bin/types/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +5 -0
  42. package/bin/types/JsViewPlugin/JsvAudio/index.d.ts +3 -0
  43. package/bin/types/JsViewPlugin/JsvAudio/version.d.ts +10 -0
  44. package/bin/types/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +1 -0
  45. package/bin/types/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +13 -0
  46. package/bin/types/JsViewPlugin/JsvLatex/Color.d.ts +1 -0
  47. package/bin/types/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +17 -0
  48. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +3 -0
  49. package/bin/types/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +2 -0
  50. package/bin/types/JsViewPlugin/JsvLatex/PluginLoader.d.ts +1 -0
  51. package/bin/types/JsViewPlugin/JsvLatex/index.d.ts +3 -0
  52. package/bin/types/JsViewPlugin/JsvLatex/version.d.ts +10 -0
  53. package/bin/types/JsViewPlugin/index.d.ts +3 -0
  54. package/bin/types/JsViewVueTools/ConstSymbol.d.ts +2 -0
  55. package/bin/types/JsViewVueTools/DebugContentShellJBridge.d.ts +6 -0
  56. package/bin/types/JsViewVueTools/DebugTool.d.ts +8 -0
  57. package/bin/types/JsViewVueTools/DefaultKeyMap.d.ts +10 -0
  58. package/bin/types/JsViewVueTools/ForgeConstDefine.d.ts +11 -0
  59. package/bin/types/JsViewVueTools/ForgeHandles.d.ts +6 -0
  60. package/bin/types/JsViewVueTools/JsvDemoTester.d.ts +2 -0
  61. package/bin/types/JsViewVueTools/JsvDynamicCssStyle.d.ts +14 -0
  62. package/bin/types/JsViewVueTools/JsvDynamicKeyFrames.d.ts +21 -0
  63. package/bin/types/JsViewVueTools/JsvHashHistory.d.ts +16 -0
  64. package/bin/types/JsViewVueTools/JsvImpactTracer.d.ts +40 -0
  65. package/bin/types/JsViewVueTools/JsvRefTaker.d.ts +27 -0
  66. package/bin/types/JsViewVueTools/JsvRuntimeBridge.d.ts +279 -0
  67. package/bin/types/JsViewVueTools/JsvStyleClass.d.ts +31 -0
  68. package/bin/types/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +15 -0
  69. package/bin/types/JsViewVueTools/JsvTextTools.d.ts +37 -0
  70. package/bin/types/JsViewVueTools/JsvTextureDefines.d.ts +6 -0
  71. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +95 -0
  72. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +15 -0
  73. package/bin/types/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +75 -0
  74. package/bin/types/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +11 -0
  75. package/bin/types/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +24 -0
  76. package/bin/types/JsViewVueTools/JsvTextureStore/Store.d.ts +10 -0
  77. package/bin/types/JsViewVueTools/JsvTextureStore/Texture.d.ts +23 -0
  78. package/bin/types/JsViewVueTools/NinePatchHelper.d.ts +21 -0
  79. package/bin/types/JsViewVueTools/TypeCheckAndSet.d.ts +2 -0
  80. package/bin/types/JsViewVueTools/index.d.ts +14 -0
  81. package/bin/types/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +31 -0
  82. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +64 -0
  83. package/bin/types/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +33 -0
  84. package/bin/types/JsViewVueWidget/JsvActorMove/index.d.ts +4 -0
  85. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
  86. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +50 -0
  87. package/bin/types/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +2 -0
  88. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
  89. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +23 -0
  90. package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +2 -0
  91. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
  92. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
  93. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
  94. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
  95. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
  96. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
  97. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +19 -0
  98. package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
  99. package/bin/types/{jsview-vue-common.d.mts → JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts} +12 -13
  100. package/bin/types/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +1 -0
  101. package/bin/types/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +13 -0
  102. package/bin/types/JsViewVueWidget/JsvConnectLine/index.d.ts +2 -0
  103. package/bin/types/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +51 -0
  104. package/bin/types/JsViewVueWidget/JsvFilterView.vue.d.ts +72 -0
  105. package/bin/types/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +72 -0
  106. package/bin/types/JsViewVueWidget/JsvFlexCell/index.d.ts +2 -0
  107. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
  108. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +65 -0
  109. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
  110. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +11 -0
  111. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +15 -0
  112. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +78 -0
  113. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +84 -0
  114. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +6 -0
  115. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +71 -0
  116. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +95 -0
  117. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +62 -0
  118. package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +12 -0
  119. package/bin/types/JsViewVueWidget/JsvGrid.vue.d.ts +168 -0
  120. package/bin/types/JsViewVueWidget/JsvHole.d.ts +2 -0
  121. package/bin/types/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +36 -0
  122. package/bin/types/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +210 -0
  123. package/bin/types/JsViewVueWidget/JsvInput/index.d.ts +4 -0
  124. package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +12 -0
  125. package/bin/types/JsViewVueWidget/JsvLine/LineManager.d.ts +1 -0
  126. package/bin/types/JsViewVueWidget/JsvLine/index.d.ts +2 -0
  127. package/bin/types/JsViewVueWidget/JsvMarquee.vue.d.ts +12 -0
  128. package/bin/types/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +83 -0
  129. package/bin/types/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
  130. package/bin/types/JsViewVueWidget/JsvMindMap/Constant.d.ts +9 -0
  131. package/bin/types/JsViewVueWidget/JsvMindMap/DataTree.d.ts +69 -0
  132. package/bin/types/JsViewVueWidget/JsvMindMap/Geometry.d.ts +68 -0
  133. package/bin/types/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +145 -0
  134. package/bin/types/JsViewVueWidget/JsvMindMap/index.d.ts +1 -0
  135. package/bin/types/JsViewVueWidget/JsvMindMap/rtree.d.ts +40 -0
  136. package/bin/types/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +69 -0
  137. package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +19 -0
  138. package/bin/types/JsViewVueWidget/JsvPieChart.vue.d.ts +9 -0
  139. package/bin/types/JsViewVueWidget/JsvPosterDiv.vue.d.ts +60 -0
  140. package/bin/types/JsViewVueWidget/JsvPosterImage.vue.d.ts +75 -0
  141. package/bin/types/JsViewVueWidget/JsvPreload/BrowserPreload.vue.d.ts +10 -0
  142. package/bin/types/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +25 -0
  143. package/bin/types/JsViewVueWidget/JsvPreload/index.d.ts +17 -0
  144. package/bin/types/JsViewVueWidget/JsvProgressBar.vue.d.ts +12 -0
  145. package/bin/types/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue.d.ts +11 -0
  146. package/bin/types/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +60 -0
  147. package/bin/types/JsViewVueWidget/JsvQrcode/index.d.ts +2 -0
  148. package/bin/types/JsViewVueWidget/JsvRadarChart.vue.d.ts +13 -0
  149. package/bin/types/JsViewVueWidget/JsvRipple/Constant.d.ts +4 -0
  150. package/bin/types/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +84 -0
  151. package/bin/types/JsViewVueWidget/JsvRipple/index.d.ts +3 -0
  152. package/bin/types/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +10 -0
  153. package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +176 -0
  154. package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +7 -0
  155. package/bin/types/JsViewVueWidget/JsvScrollBox/index.d.ts +1 -0
  156. package/bin/types/JsViewVueWidget/JsvSector.vue.d.ts +10 -0
  157. package/bin/types/JsViewVueWidget/JsvSoundPool.d.ts +84 -0
  158. package/bin/types/JsViewVueWidget/JsvSpray/BrowserSpray.vue.d.ts +25 -0
  159. package/bin/types/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +38 -0
  160. package/bin/types/JsViewVueWidget/JsvSpray/index.d.ts +2 -0
  161. package/bin/types/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +14 -0
  162. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +18 -0
  163. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +69 -0
  164. package/bin/types/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +11 -0
  165. package/bin/types/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +17 -0
  166. package/bin/types/JsViewVueWidget/JsvSpriteAnim/index.d.ts +5 -0
  167. package/bin/types/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +2 -0
  168. package/bin/types/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +209 -0
  169. package/bin/types/JsViewVueWidget/JsvSwiper/index.d.ts +2 -0
  170. package/bin/types/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +97 -0
  171. package/bin/types/JsViewVueWidget/JsvSwiper3D/index.d.ts +2 -0
  172. package/bin/types/JsViewVueWidget/JsvTextBox.vue.d.ts +75 -0
  173. package/bin/types/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue.d.ts +151 -0
  174. package/bin/types/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +2 -0
  175. package/bin/types/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +107 -0
  176. package/bin/types/JsViewVueWidget/JsvTextureAnim/index.d.ts +14 -0
  177. package/bin/types/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +84 -0
  178. package/bin/types/JsViewVueWidget/JsvVisibleSensor/index.d.ts +84 -0
  179. package/bin/types/JsViewVueWidget/index.d.ts +38 -0
  180. package/bin/types/index.d.ts +4 -0
  181. package/index.d.ts +1 -1
  182. package/package.json +1 -1
  183. package/tools/config/tsconfig.json +6 -6
  184. package/tools/jsview-vue-build.mjs +13 -4
  185. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +7 -4
  186. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +28 -6
  187. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +568 -369
  188. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +4 -3
  189. package/utils/JsViewEngineWidget/MetroWidget/Slide.ts +56 -0
  190. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +51 -10
  191. package/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.ts +10 -0
  192. package/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.ts +1 -1
  193. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +21 -21
  194. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +13 -7
  195. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +35 -45
  196. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +6 -6
  197. package/utils/JsViewEngineWidget/WidgetCommon.ts +34 -5
  198. package/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue +13 -1
  199. package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +470 -338
  200. package/utils/JsViewVueTools/ConstSymbol.ts +3 -0
  201. package/utils/JsViewVueTools/ForgeConstDefine.ts +11 -0
  202. package/utils/JsViewVueTools/JsvRuntimeBridge.js +166 -48
  203. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +62 -0
  204. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +41 -7
  205. package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +15 -1
  206. package/utils/JsViewVueTools/index.js +2 -0
  207. package/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue +6 -6
  208. package/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue +5 -6
  209. package/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.js +5 -1
  210. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.ts +1 -1
  211. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +23 -1
  212. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.ts +4 -4
  213. package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +6 -6
  214. package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +1 -1
  215. package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +43 -9
  216. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +24 -0
  217. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +58 -1
  218. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +56 -0
  219. package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +3 -0
  220. package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +6 -1
  221. package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +1 -1
  222. package/utils/JsViewVueWidget/JsvMindMap/rtree.js +1 -1
  223. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +121 -68
  224. package/utils/JsViewVueWidget/JsvNinePatch.vue +4 -1
  225. package/utils/JsViewVueWidget/JsvPosterImage.vue +22 -9
  226. package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +6 -2
  227. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +309 -0
  228. package/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.ts +15 -0
  229. package/utils/JsViewVueWidget/JsvScrollBox/index.js +2 -0
  230. package/utils/JsViewVueWidget/JsvTextBox.vue +24 -4
  231. package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +27 -9
  232. package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +2 -0
  233. package/utils/JsViewVueWidget/index.js +1 -0
  234. package/bin/types/browser/BrowserApic.vue.d.mts +0 -33
  235. package/bin/types/browser/BrowserApic2.vue.d.mts +0 -16
  236. package/bin/types/browser/BrowserApicLib.d.mts +0 -56
  237. package/bin/types/browser/BrowserAudio.vue.d.mts +0 -2
  238. package/bin/types/browser/BrowserJsvLatex.vue.d.mts +0 -55
  239. package/bin/types/browser/BrowserPreload.vue.d.mts +0 -14
  240. package/bin/types/browser/BrowserQrcode.vue.d.mts +0 -29
  241. package/bin/types/browser/BrowserSpray.vue.d.mts +0 -2
  242. package/bin/types/browser/BrowserTextureAnim.vue.d.mts +0 -2
  243. package/bin/types/export-sfc.d.mts +0 -2
  244. package/bin/types/jsview-vue.d.mts +0 -2511
@@ -0,0 +1,3 @@
1
+ export function checkType(value: any, type: any): boolean;
2
+ export function toRawType(value: any): string;
3
+ export function getTypeName(ctor: any): any;
@@ -0,0 +1,102 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
20
+ getFullName: () => Promise<any>;
21
+ requestFocus: (passToChild: any) => Promise<void>;
22
+ bubbleCustomEvent: (ev: any) => void;
23
+ returnFocusToParent: (ev: any) => void;
24
+ $props: {
25
+ readonly name?: string | undefined;
26
+ readonly namespace?: string | undefined;
27
+ readonly onFocus?: Function | undefined;
28
+ readonly onBlur?: Function | undefined;
29
+ readonly autoFocus?: string | undefined;
30
+ readonly onAction?: Record<string, any> | undefined;
31
+ readonly onDispatchKeyUp?: Function | undefined;
32
+ readonly onDispatchKeyDown?: Function | undefined;
33
+ readonly onKeyUp?: Function | undefined;
34
+ readonly onKeyDown?: Function | undefined;
35
+ readonly onCustomEvent?: Function | undefined;
36
+ };
37
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
38
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
39
+ created?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
41
+ mounted?: ((() => void) | (() => void)[]) | undefined;
42
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
43
+ updated?: ((() => void) | (() => void)[]) | undefined;
44
+ activated?: ((() => void) | (() => void)[]) | undefined;
45
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
46
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
47
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
48
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
49
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
50
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
52
+ 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;
53
+ };
54
+ $forceUpdate: () => void;
55
+ $nextTick: typeof import("vue").nextTick;
56
+ $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;
57
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
58
+ getFullName: () => Promise<any>;
59
+ requestFocus: (passToChild: any) => Promise<void>;
60
+ bubbleCustomEvent: (ev: any) => void;
61
+ returnFocusToParent: (ev: any) => void;
62
+ $props: {
63
+ readonly name?: string | undefined;
64
+ readonly namespace?: string | undefined;
65
+ readonly onFocus?: Function | undefined;
66
+ readonly onBlur?: Function | undefined;
67
+ readonly autoFocus?: string | undefined;
68
+ readonly onAction?: Record<string, any> | undefined;
69
+ readonly onDispatchKeyUp?: Function | undefined;
70
+ readonly onDispatchKeyDown?: Function | undefined;
71
+ readonly onKeyUp?: Function | undefined;
72
+ readonly onKeyDown?: Function | undefined;
73
+ readonly onCustomEvent?: Function | undefined;
74
+ };
75
+ }> & {} & import("vue").ComponentCustomProperties & {};
76
+ __isFragment?: undefined;
77
+ __isTeleport?: undefined;
78
+ __isSuspense?: undefined;
79
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
80
+ getFullName: () => Promise<any>;
81
+ requestFocus: (passToChild: any) => Promise<void>;
82
+ bubbleCustomEvent: (ev: any) => void;
83
+ returnFocusToParent: (ev: any) => void;
84
+ $props: {
85
+ readonly name?: string | undefined;
86
+ readonly namespace?: string | undefined;
87
+ readonly onFocus?: Function | undefined;
88
+ readonly onBlur?: Function | undefined;
89
+ readonly autoFocus?: string | undefined;
90
+ readonly onAction?: Record<string, any> | undefined;
91
+ readonly onDispatchKeyUp?: Function | undefined;
92
+ readonly onDispatchKeyDown?: Function | undefined;
93
+ readonly onKeyUp?: Function | undefined;
94
+ readonly onKeyDown?: Function | undefined;
95
+ readonly onCustomEvent?: Function | undefined;
96
+ };
97
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
98
+ $slots: {
99
+ default: (_: {}) => any;
100
+ };
101
+ });
102
+ export default _default;
@@ -0,0 +1,88 @@
1
+ declare class JsvFocusHubApi {
2
+ private _FocusHub;
3
+ constructor(focusableHubRef: any);
4
+ getOrigin(): Object;
5
+ /**
6
+ * setFocus
7
+ *
8
+ * 设置焦点,在焦点对应的 JsvFocusBlock 完成mounted之前设置的话,
9
+ * 会在JsvFocusBlock完成mounted后立即设上焦点
10
+ *
11
+ * @param {string} focusName
12
+ * 当前命名空间的名字/全局命名空间的名字。
13
+ * 当前命名空间的名字: 是指和当前节点相同命名空间的名字(首字符不为".")。
14
+ * 对于二级命名空间,可以使用 "{namespace}.{name}"的方式。
15
+ * 全局命名空间的名字: 是指通过getName()函数获取后再附加下级节点的名字。
16
+ * *请注意: 请避免手写的全局命名空间名字,防止在二次集成时可能会出现名字找不到的问题。
17
+ * @param {boolean} passToChild 保持/恢复子焦点的聚焦状态(若此焦点的子焦点为聚焦状态,
18
+ * 当本焦点从失焦状态恢复为聚焦状态时,子焦点也自动回复为聚焦状态),默认为不保持/恢复。
19
+ */
20
+ setFocus(focusName: string, passToChild?: boolean): void;
21
+ /**
22
+ * returnFocusToParent
23
+ *
24
+ * 将焦点从当前节点还给其父JsvFocusBlock节点
25
+ */
26
+ returnFocusToParent(): void;
27
+ /**
28
+ * getCurrentFocus
29
+ *
30
+ * 获取当前焦点的的 focusName 信息,用于后续的进行的 setFocus 操作
31
+ * (注意, 不带NameSpace)
32
+ *
33
+ * @return {string} 当前焦点的focusName
34
+ */
35
+ getCurrentFocus(): string;
36
+ /**
37
+ * getLastFocus
38
+ *
39
+ * 获得切到到当前焦点前的上一个焦点的name(注意, 不带NameSpace),
40
+ * 注意:如果上一次的焦点已经不在dom树时, 返回null
41
+ *
42
+ * @return {string} 焦点的focusName
43
+ */
44
+ getLastFocus(): string;
45
+ /**
46
+ * getDeactivedPageFocus
47
+ *
48
+ * 在对一个keep-alive的界面进行deactive后,为了未来将其active时恢复离开时的焦点时使用。
49
+ * 在 onDeactive 回调中调用
50
+ * 注意: 只有当一个有焦点的keep-alive倍deactive时才能获得
51
+ *
52
+ * @return {string} 焦点的focusName
53
+ */
54
+ getDeactivedPageFocus(): string;
55
+ /**
56
+ * getNameSpace
57
+ *
58
+ * 获取当前FocusHub的nameSpace
59
+ *
60
+ * @return {string} 当前FocusHub的nameSpace
61
+ */
62
+ getNameSpace(): string;
63
+ /**
64
+ * enableFocusTrace
65
+ *
66
+ * 调试API: 启用焦点变化时的回调日志,通过console.log打出,其中含产生此行为的调用堆栈
67
+ *
68
+ * @param {boolean} needCallStack 是否打印焦点变化时产生变化的api调用的堆栈,例如setFocus, unmount之类
69
+ */
70
+ enableFocusTrace(needCallStack?: boolean): void;
71
+ /**
72
+ * printAllFocusable
73
+ *
74
+ * 调试API: console.log当前 Hub 中所有的节点引用,只打印当前NameSpace的内容
75
+ */
76
+ printAllFocusable(): void;
77
+ /**
78
+ * getCurrentFocusStack
79
+ *
80
+ * 调试API: console.log当前焦点的焦点链条(从root到此节点的链条)
81
+ *
82
+ * @return {Array} 当前焦点的链条队列
83
+ */
84
+ getCurrentFocusStack(): Array<Object>;
85
+ }
86
+ declare const ROOT_HUB_PROVIDE_NAME = "__jsvFocusRootHub__";
87
+ declare const HUB_NS_PROVIDE_NAME = "__jsvFocusNameSpace__";
88
+ export { JsvFocusHubApi, ROOT_HUB_PROVIDE_NAME, HUB_NS_PROVIDE_NAME };
@@ -0,0 +1,10 @@
1
+ export class JsvFocusManager {
2
+ install(app: any, ...options: any[]): void;
3
+ getCurrentFocusStack(): any;
4
+ $_hookMount(app: any, rootNodeId: any): (rootContainer: any) => any;
5
+ $_topFDiv: undefined;
6
+ $_appMount: undefined;
7
+ $_doAppMount(rootContainer: any): any;
8
+ }
9
+ export function jsvCreateFocusManager(): JsvFocusManager;
10
+ export function useFocusHub(withNameSpace: any): any;
@@ -0,0 +1,16 @@
1
+ declare const METRO_WIDGET: {
2
+ SLIDE: number;
3
+ CHILD_SLIDE_EVENT: number;
4
+ ON_KEY_DOWN: number;
5
+ ITEM_RESIZE: {
6
+ ANCHOR: number;
7
+ WIDGET_SET: number;
8
+ CUSTOMER_SET: number;
9
+ };
10
+ ITEM_SLIDE: {
11
+ DISABLE: number;
12
+ ACT_ITEM_FOCUS: number;
13
+ ACT_FOCUS_RECT_EVENT: number;
14
+ };
15
+ };
16
+ export { METRO_WIDGET, METRO_WIDGET as METRO_WIDGET_CONST, };
@@ -0,0 +1,14 @@
1
+ export { Dispatcher as SWidgetDispatcher };
2
+ export default Dispatcher;
3
+ declare class Dispatcher extends BaseDispatcher {
4
+ }
5
+ declare namespace Dispatcher {
6
+ namespace Type {
7
+ const setFocusId: symbol;
8
+ const updateItem: symbol;
9
+ const slideToItem: symbol;
10
+ const setEnterFocusId: symbol;
11
+ const setEnterFocusRect: symbol;
12
+ }
13
+ }
14
+ import { BaseDispatcher } from "../WidgetCommon";
@@ -0,0 +1,158 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
20
+ lockSlide: () => void;
21
+ unlockSlide: () => void;
22
+ lock: (type: any) => () => void;
23
+ unlock: (type: any) => void;
24
+ refreshData: (force_update: any) => void;
25
+ moveFocus: (direction: any) => void;
26
+ slideTo: (position: any, doAnim: any) => void;
27
+ slideToItem: (index: any, doAnim: any) => void;
28
+ slideToDiv: (div: any, doAnim: any) => void;
29
+ setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
30
+ setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
31
+ setEnterFocusId: (id: any) => void;
32
+ setEnterFocusRect: (rect: any) => void;
33
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
34
+ getFocusBlockRef: () => any;
35
+ getVisibleItems: () => {
36
+ start: number;
37
+ end: number;
38
+ dataList: any[];
39
+ };
40
+ getCustomerDataSize: () => number;
41
+ getCurrentFocusIndex: () => number;
42
+ getCurMode: () => number;
43
+ getTemplatePosition: (index: any) => {
44
+ left: any;
45
+ top: any;
46
+ width: any;
47
+ height: any;
48
+ };
49
+ setSlideSetting: (setting: any) => void;
50
+ $props: {
51
+ [x: string]: any;
52
+ };
53
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
54
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
55
+ created?: ((() => void) | (() => void)[]) | undefined;
56
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
57
+ mounted?: ((() => void) | (() => void)[]) | undefined;
58
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
59
+ updated?: ((() => void) | (() => void)[]) | undefined;
60
+ activated?: ((() => void) | (() => void)[]) | undefined;
61
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
62
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
63
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
64
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
65
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
66
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
67
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
68
+ 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;
69
+ };
70
+ $forceUpdate: () => void;
71
+ $nextTick: typeof import("vue").nextTick;
72
+ $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;
73
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
74
+ lockSlide: () => void;
75
+ unlockSlide: () => void;
76
+ lock: (type: any) => () => void;
77
+ unlock: (type: any) => void;
78
+ refreshData: (force_update: any) => void;
79
+ moveFocus: (direction: any) => void;
80
+ slideTo: (position: any, doAnim: any) => void;
81
+ slideToItem: (index: any, doAnim: any) => void;
82
+ slideToDiv: (div: any, doAnim: any) => void;
83
+ setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
84
+ setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
85
+ setEnterFocusId: (id: any) => void;
86
+ setEnterFocusRect: (rect: any) => void;
87
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
88
+ getFocusBlockRef: () => any;
89
+ getVisibleItems: () => {
90
+ start: number;
91
+ end: number;
92
+ dataList: any[];
93
+ };
94
+ getCustomerDataSize: () => number;
95
+ getCurrentFocusIndex: () => number;
96
+ getCurMode: () => number;
97
+ getTemplatePosition: (index: any) => {
98
+ left: any;
99
+ top: any;
100
+ width: any;
101
+ height: any;
102
+ };
103
+ setSlideSetting: (setting: any) => void;
104
+ $props: {
105
+ [x: string]: any;
106
+ };
107
+ }> & {} & import("vue").ComponentCustomProperties & {};
108
+ __isFragment?: undefined;
109
+ __isTeleport?: undefined;
110
+ __isSuspense?: undefined;
111
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
112
+ lockSlide: () => void;
113
+ unlockSlide: () => void;
114
+ lock: (type: any) => () => void;
115
+ unlock: (type: any) => void;
116
+ refreshData: (force_update: any) => void;
117
+ moveFocus: (direction: any) => void;
118
+ slideTo: (position: any, doAnim: any) => void;
119
+ slideToItem: (index: any, doAnim: any) => void;
120
+ slideToDiv: (div: any, doAnim: any) => void;
121
+ setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
122
+ setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
123
+ setEnterFocusId: (id: any) => void;
124
+ setEnterFocusRect: (rect: any) => void;
125
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
126
+ getFocusBlockRef: () => any;
127
+ getVisibleItems: () => {
128
+ start: number;
129
+ end: number;
130
+ dataList: any[];
131
+ };
132
+ getCustomerDataSize: () => number;
133
+ getCurrentFocusIndex: () => number;
134
+ getCurMode: () => number;
135
+ getTemplatePosition: (index: any) => {
136
+ left: any;
137
+ top: any;
138
+ width: any;
139
+ height: any;
140
+ };
141
+ setSlideSetting: (setting: any) => void;
142
+ $props: {
143
+ [x: string]: any;
144
+ };
145
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
146
+ $slots: {
147
+ background: (_: {}) => any;
148
+ renderItem: (_: {
149
+ data: any;
150
+ onEdge: (edge_info: any) => void;
151
+ onAction: any;
152
+ query: any;
153
+ onItemEdge: (edge_info: any) => void;
154
+ }) => any;
155
+ foreground: (_: {}) => any;
156
+ };
157
+ });
158
+ export default _default;
@@ -0,0 +1,158 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
+ $emit: (event: string, ...args: any[]) => void;
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
20
+ lockSlide: () => void;
21
+ unlockSlide: () => void;
22
+ lock: (type: any) => () => void;
23
+ unlock: (type: any) => void;
24
+ refreshData: (force_update: any) => void;
25
+ moveFocus: (direction: any) => void;
26
+ slideTo: (position: any, doAnim: any) => void;
27
+ slideToItem: (index: any, doAnim: any) => void;
28
+ slideToDiv: (div: any, doAnim: any) => void;
29
+ setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
30
+ setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
31
+ setEnterFocusId: (id: any) => void;
32
+ setEnterFocusRect: (rect: any) => void;
33
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
34
+ getFocusBlockRef: () => any;
35
+ getVisibleItems: () => {
36
+ start: number;
37
+ end: number;
38
+ dataList: any[];
39
+ };
40
+ getCustomerDataSize: () => number;
41
+ getCurrentFocusIndex: () => number;
42
+ getCurMode: () => number;
43
+ getTemplatePosition: (index: any) => {
44
+ left: any;
45
+ top: any;
46
+ width: any;
47
+ height: any;
48
+ };
49
+ setSlideSetting: (setting: any) => void;
50
+ $props: {
51
+ [x: string]: any;
52
+ };
53
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
54
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
55
+ created?: ((() => void) | (() => void)[]) | undefined;
56
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
57
+ mounted?: ((() => void) | (() => void)[]) | undefined;
58
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
59
+ updated?: ((() => void) | (() => void)[]) | undefined;
60
+ activated?: ((() => void) | (() => void)[]) | undefined;
61
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
62
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
63
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
64
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
65
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
66
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
67
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
68
+ 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;
69
+ };
70
+ $forceUpdate: () => void;
71
+ $nextTick: typeof import("vue").nextTick;
72
+ $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;
73
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
74
+ lockSlide: () => void;
75
+ unlockSlide: () => void;
76
+ lock: (type: any) => () => void;
77
+ unlock: (type: any) => void;
78
+ refreshData: (force_update: any) => void;
79
+ moveFocus: (direction: any) => void;
80
+ slideTo: (position: any, doAnim: any) => void;
81
+ slideToItem: (index: any, doAnim: any) => void;
82
+ slideToDiv: (div: any, doAnim: any) => void;
83
+ setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
84
+ setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
85
+ setEnterFocusId: (id: any) => void;
86
+ setEnterFocusRect: (rect: any) => void;
87
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
88
+ getFocusBlockRef: () => any;
89
+ getVisibleItems: () => {
90
+ start: number;
91
+ end: number;
92
+ dataList: any[];
93
+ };
94
+ getCustomerDataSize: () => number;
95
+ getCurrentFocusIndex: () => number;
96
+ getCurMode: () => number;
97
+ getTemplatePosition: (index: any) => {
98
+ left: any;
99
+ top: any;
100
+ width: any;
101
+ height: any;
102
+ };
103
+ setSlideSetting: (setting: any) => void;
104
+ $props: {
105
+ [x: string]: any;
106
+ };
107
+ }> & {} & import("vue").ComponentCustomProperties & {};
108
+ __isFragment?: undefined;
109
+ __isTeleport?: undefined;
110
+ __isSuspense?: undefined;
111
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
112
+ lockSlide: () => void;
113
+ unlockSlide: () => void;
114
+ lock: (type: any) => () => void;
115
+ unlock: (type: any) => void;
116
+ refreshData: (force_update: any) => void;
117
+ moveFocus: (direction: any) => void;
118
+ slideTo: (position: any, doAnim: any) => void;
119
+ slideToItem: (index: any, doAnim: any) => void;
120
+ slideToDiv: (div: any, doAnim: any) => void;
121
+ setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
122
+ setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
123
+ setEnterFocusId: (id: any) => void;
124
+ setEnterFocusRect: (rect: any) => void;
125
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
126
+ getFocusBlockRef: () => any;
127
+ getVisibleItems: () => {
128
+ start: number;
129
+ end: number;
130
+ dataList: any[];
131
+ };
132
+ getCustomerDataSize: () => number;
133
+ getCurrentFocusIndex: () => number;
134
+ getCurMode: () => number;
135
+ getTemplatePosition: (index: any) => {
136
+ left: any;
137
+ top: any;
138
+ width: any;
139
+ height: any;
140
+ };
141
+ setSlideSetting: (setting: any) => void;
142
+ $props: {
143
+ [x: string]: any;
144
+ };
145
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
146
+ $slots: {
147
+ background: (_: {}) => any;
148
+ renderItem: (_: {
149
+ data: any;
150
+ onEdge: (edge_info: any) => void;
151
+ onAction: any;
152
+ query: any;
153
+ onItemEdge: (edge_info: any) => void;
154
+ }) => any;
155
+ foreground: (_: {}) => any;
156
+ };
157
+ });
158
+ export default _default;
@@ -0,0 +1,46 @@
1
+ export function setup(props: any, itemRender: any, locateDiv: any, renderData: any, slideDiv: any, slideDivLeft: any, slideDivTop: any, focusNode: any, pageUpdateToken: any, touchDiv: any, touchDivSize: any, templateMode: any): {
2
+ widgetRectInfo: WidgetRectInfo;
3
+ focusBlockOnFocus: (params: any) => void;
4
+ focusBlockOnBlur: () => void;
5
+ focusBlockOnKeyDown: (ev: any) => boolean;
6
+ focusBlockOnCustomEvent: (ev: any) => boolean | undefined;
7
+ _onFocusableItemEdge: (edge_info: any) => void;
8
+ exportObject: {
9
+ lockSlide: () => void;
10
+ unlockSlide: () => void;
11
+ lock: (type: any) => () => void;
12
+ unlock: (type: any) => void;
13
+ refreshData: (force_update: any) => void;
14
+ moveFocus: (direction: any) => void;
15
+ slideTo: (position: any, doAnim: any) => void;
16
+ slideToItem: (index: any, doAnim: any) => void;
17
+ slideToDiv: (div: any, doAnim: any) => void;
18
+ setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
19
+ setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
20
+ setEnterFocusId: (id: any) => void;
21
+ setEnterFocusRect: (rect: any) => void;
22
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
23
+ getFocusBlockRef: () => any;
24
+ getVisibleItems: () => {
25
+ start: number;
26
+ end: number;
27
+ dataList: any[];
28
+ };
29
+ getCustomerDataSize: () => number;
30
+ getCurrentFocusIndex: () => number;
31
+ getCurMode: () => number;
32
+ getTemplatePosition: (index: any) => {
33
+ left: any;
34
+ top: any;
35
+ width: any;
36
+ height: any;
37
+ };
38
+ setSlideSetting: (setting: any) => void;
39
+ };
40
+ setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
41
+ onTouchDown: (data: any, customData: any, nexusCustomData: any) => void;
42
+ onTouchRelease: (() => void) | undefined;
43
+ currentFocusIndex: import("vue").Ref<number>;
44
+ modeForExport: import("vue").Ref<number>;
45
+ };
46
+ import { WidgetRectInfo } from "./WidgetRectInfo";
@@ -0,0 +1,21 @@
1
+ import { MetroTemplate } from "../TemplateParser/MetroTemplate";
2
+ export interface PermanentItemInfo {
3
+ index: number;
4
+ alreadyShow: boolean;
5
+ }
6
+ export declare class PageUpdater {
7
+ private tmpRangeSet;
8
+ private rangeSet;
9
+ private updateFunc;
10
+ private count;
11
+ constructor(updateFunc: (renderSet: Set<number>) => void);
12
+ update(template: MetroTemplate, start: number, end: number, anchorId: number, mergeTmp: boolean, permanentList: Array<PermanentItemInfo> | null, extensionRange?: number): {
13
+ apply: Function;
14
+ applyTmp: Function;
15
+ recover: Function;
16
+ };
17
+ private apply;
18
+ private applyTmp;
19
+ getRange(): Set<number>;
20
+ getTmpRange(): Set<number>;
21
+ }