@shijiu/jsview-vue 2.3.151-test.0 → 3.0.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 (244) hide show
  1. package/bin/browser/BrowserAudio.mjs +200 -0
  2. package/bin/browser/BrowserJsvLatex.mjs +61 -0
  3. package/bin/export-sfc.mjs +8 -9
  4. package/bin/jsview-vue-common.mjs +9 -35
  5. package/bin/jsview-vue.mjs +22246 -23643
  6. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +9 -71
  7. package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +18 -2
  8. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
  9. package/bin/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +10 -7
  10. package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +19 -178
  11. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +19 -178
  12. package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +24 -3
  13. package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
  14. package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +25 -5
  15. package/bin/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +9 -47
  16. package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
  17. package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
  18. package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
  19. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +40 -0
  20. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
  21. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
  22. package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
  23. package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +2 -1
  24. package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
  25. package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +6 -4
  26. package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
  27. package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +17 -7
  28. package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
  29. package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +140 -7
  30. package/bin/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +12 -11
  31. package/bin/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +10 -10
  32. package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +204 -17
  33. package/bin/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +2 -1
  34. package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.mts +11 -11
  35. package/bin/types/utils/JsViewPlugin/JsvAudio/version.d.ts +11 -11
  36. package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
  37. package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +75 -12
  38. package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
  39. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +88 -13
  40. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
  41. package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +5 -1
  42. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +39 -12
  43. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +120 -17
  44. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
  45. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +108 -29
  46. package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +8 -7
  47. package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +614 -0
  48. package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +36 -34
  49. package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +89 -30
  50. package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +89 -30
  51. package/bin/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +11 -11
  52. package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
  53. package/bin/types/utils/JsViewVueTools/DebugTool.d.ts +1 -1
  54. package/bin/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +7 -7
  55. package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
  56. package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
  57. package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +3 -3
  58. package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
  59. package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
  60. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
  61. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
  62. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
  63. package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +2 -0
  64. package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +76 -26
  65. package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
  66. package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
  67. package/bin/types/utils/JsViewVueTools/index.d.ts +4 -1
  68. package/bin/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +10 -98
  69. package/bin/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +10 -114
  70. package/bin/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +20 -61
  71. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +44 -13
  72. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +12 -11
  73. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +5 -5
  74. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +16 -10
  75. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +21 -17
  76. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +19 -16
  77. package/bin/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +7 -7
  78. package/bin/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +12 -66
  79. package/bin/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +73 -12
  80. package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +59 -10
  81. package/bin/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +41 -81
  82. package/bin/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +17 -100
  83. package/bin/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +13 -50
  84. package/bin/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +50 -70
  85. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +32 -68
  86. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +57 -74
  87. package/bin/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +41 -71
  88. package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +83 -14
  89. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
  90. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +79 -83
  91. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +70 -0
  92. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +20 -0
  93. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +108 -5
  94. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +88 -3
  95. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +6 -1
  96. package/bin/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +19 -18
  97. package/bin/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +34 -11
  98. package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
  99. package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +193 -6
  100. package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +54 -11
  101. package/bin/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +89 -11
  102. package/bin/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +9 -8
  103. package/bin/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +2 -2
  104. package/bin/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +170 -138
  105. package/bin/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +5 -5
  106. package/bin/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +48 -72
  107. package/bin/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +139 -20
  108. package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +56 -8
  109. package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +20 -11
  110. package/bin/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +63 -11
  111. package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +8 -7
  112. package/bin/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +95 -12
  113. package/bin/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +2 -2
  114. package/bin/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +51 -78
  115. package/bin/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +5 -4
  116. package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +84 -193
  117. package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +23 -148
  118. package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +56 -9
  119. package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +22 -67
  120. package/bin/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +44 -10
  121. package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +47 -14
  122. package/bin/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +26 -67
  123. package/bin/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +7 -6
  124. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +147 -109
  125. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +173 -16
  126. package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +216 -139
  127. package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +7 -6
  128. package/bin/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +101 -96
  129. package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +89 -74
  130. package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +21 -20
  131. package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +43 -70
  132. package/bin/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +6 -5
  133. package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +62 -82
  134. package/bin/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +95 -74
  135. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +51 -0
  136. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +105 -0
  137. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +51 -0
  138. package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +105 -0
  139. package/bin/types/utils/JsViewVueWidget/index.d.ts +5 -3
  140. package/package.json +2 -2
  141. package/tools/jsview-vue-build.mjs +13 -9
  142. package/tsconfig.json +2 -2
  143. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
  144. package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +24 -2
  145. package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
  146. package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +183 -89
  147. package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +269 -122
  148. package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +989 -357
  149. package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
  150. package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +138 -41
  151. package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +1 -0
  152. package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
  153. package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
  154. package/utils/JsViewEngineWidget/RectUtils.js +1 -1
  155. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +50 -0
  156. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
  157. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
  158. package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
  159. package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +342 -174
  160. package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
  161. package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +12 -5
  162. package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
  163. package/utils/JsViewEngineWidget/WidgetCommon.ts +17 -7
  164. package/utils/JsViewEngineWidget/index.ts +7 -2
  165. package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
  166. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
  167. package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
  168. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +54 -12
  169. package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
  170. package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +15 -2
  171. package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
  172. package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
  173. package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
  174. package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
  175. package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
  176. package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
  177. package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +60 -10
  178. package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
  179. package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
  180. package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
  181. package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
  182. package/utils/JsViewVueTools/BlobApi.ts +55 -0
  183. package/utils/JsViewVueTools/FeatureActive.ts +3 -0
  184. package/utils/JsViewVueTools/ForgeHandles.ts +3 -0
  185. package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
  186. package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
  187. package/utils/JsViewVueTools/JsvRuntimeBridge.js +25 -18
  188. package/utils/JsViewVueTools/JsvTextTools.ts +9 -1
  189. package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
  190. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
  191. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
  192. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
  193. package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +16 -1
  194. package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +154 -69
  195. package/utils/JsViewVueTools/JsvTextureStore/Store.ts +1 -1
  196. package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
  197. package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
  198. package/utils/JsViewVueTools/index.js +3 -1
  199. package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
  200. package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +1 -1
  201. package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +11 -2
  202. package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +1 -1
  203. package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
  204. package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
  205. package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
  206. package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +23 -11
  207. package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +242 -25
  208. package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +1 -1
  209. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +11 -5
  210. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +118 -6
  211. package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +56 -14
  212. package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +2 -1
  213. package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
  214. package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
  215. package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
  216. package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
  217. package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
  218. package/utils/JsViewVueWidget/JsvNinePatch.vue +13 -8
  219. package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
  220. package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +32 -29
  221. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
  222. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +25 -3
  223. package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +0 -3
  224. package/utils/JsViewVueWidget/JsvSector.vue +66 -28
  225. package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
  226. package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
  227. package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
  228. package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
  229. package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
  230. package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
  231. package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
  232. package/utils/JsViewVueWidget/index.js +6 -2
  233. package/bin/browser/BrowserAudio.vue.mjs +0 -258
  234. package/bin/browser/BrowserJsvLatex.vue.mjs +0 -145
  235. package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.ts +0 -10
  236. package/bin/types/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.d.ts +0 -7
  237. package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +0 -78
  238. package/bin/types/utils/JsViewVueWidget/JsvPosterDiv.vue.d.ts +0 -63
  239. package/bin/types/utils/JsViewVueWidget/JsvPosterImage.vue.d.ts +0 -78
  240. package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
  241. package/utils/JsViewVueTools/JsvTextureStore/DominantColor/GetDominantColor.ts +0 -36
  242. package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
  243. package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
  244. /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
@@ -1,72 +1,10 @@
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
- [x: string]: any;
26
- };
27
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
28
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
29
- created?: ((() => void) | (() => void)[]) | undefined;
30
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
31
- mounted?: ((() => void) | (() => void)[]) | undefined;
32
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
33
- updated?: ((() => void) | (() => void)[]) | undefined;
34
- activated?: ((() => void) | (() => void)[]) | undefined;
35
- deactivated?: ((() => void) | (() => void)[]) | undefined;
36
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
37
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
38
- destroyed?: ((() => void) | (() => void)[]) | undefined;
39
- unmounted?: ((() => void) | (() => void)[]) | undefined;
40
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
41
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
42
- 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;
43
- };
44
- $forceUpdate: () => void;
45
- $nextTick: typeof import("vue").nextTick;
46
- $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;
47
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
48
- getFullName: () => Promise<any>;
49
- requestFocus: (passToChild: any) => Promise<void>;
50
- bubbleCustomEvent: (ev: any) => void;
51
- returnFocusToParent: (ev: any) => void;
52
- $props: {
53
- [x: string]: any;
54
- };
55
- }> & {} & import("vue").ComponentCustomProperties & {};
56
- __isFragment?: undefined;
57
- __isTeleport?: undefined;
58
- __isSuspense?: undefined;
59
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
60
- getFullName: () => Promise<any>;
61
- requestFocus: (passToChild: any) => Promise<void>;
62
- bubbleCustomEvent: (ev: any) => void;
63
- returnFocusToParent: (ev: any) => void;
64
- $props: {
65
- [x: string]: any;
66
- };
67
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
68
- $slots: {
69
- default: (_: {}) => any;
70
- };
71
- });
1
+ declare const _default: typeof __VLS_export;
72
2
  export default _default;
3
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
+ type __VLS_WithSlots<T, S> = T & (new () => {
5
+ $slots: S;
6
+ });
7
+ declare const __VLS_base: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
8
+ type __VLS_Slots = {
9
+ default?: ((props: {}) => any) | undefined;
10
+ };
@@ -2,6 +2,15 @@ declare class JsvFocusHubApi {
2
2
  private _FocusHub;
3
3
  constructor(focusableHubRef: any);
4
4
  getOrigin(): Object;
5
+ /**
6
+ * getFocusCallToken
7
+ *
8
+ * 获取当前焦点切换SetFocus被调用的序列号, 每次setFocus调用时会递增
9
+ * 便于框架中一些自动setFocus行为识别出是否回调中App开发端已经进行了SetFocus操作, 避免重复setFocus
10
+ *
11
+ * @return {number} 当前焦点切换的序列号
12
+ */
13
+ getFocusCallToken(): number;
5
14
  /**
6
15
  * setFocus
7
16
  *
@@ -37,12 +46,19 @@ declare class JsvFocusHubApi {
37
46
  /**
38
47
  * getLastFocus
39
48
  *
40
- * 获得切到到当前焦点前的上一个焦点的name(注意, 不带NameSpace),
41
- * 注意:如果上一次的焦点已经不在dom树时, 返回null
49
+ * 获得切到到当前焦点前的上一个焦点链中离root最远的节点的焦点的name(注意, 不带NameSpace),
42
50
  *
43
51
  * @return {string} 焦点的focusName
44
52
  */
45
53
  getLastFocus(): string;
54
+ /**
55
+ * getLastFocusNear
56
+ *
57
+ * 获得切到到当前焦点前的上一个焦点链中离root最近的节点的焦点的name(注意, 不带NameSpace),
58
+ *
59
+ * @return {string} 焦点的focusName
60
+ */
61
+ getLastFocusNear(): string;
46
62
  /**
47
63
  * getDeactivedPageFocus
48
64
  *
@@ -13,4 +13,7 @@ declare const METRO_WIDGET: {
13
13
  ACT_FOCUS_RECT_EVENT: number;
14
14
  };
15
15
  };
16
- export { METRO_WIDGET, METRO_WIDGET as METRO_WIDGET_CONST, };
16
+ declare const ONEDGE_TYPE: {
17
+ SPATIAL_NAV: string;
18
+ };
19
+ export { METRO_WIDGET, METRO_WIDGET as METRO_WIDGET_CONST, ONEDGE_TYPE, };
@@ -1,8 +1,11 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- $props: {
3
- readonly width?: number | undefined;
4
- readonly height?: number | undefined;
5
- readonly sourceId?: string | undefined;
6
- };
7
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: typeof __VLS_export;
8
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ width: NumberConstructor;
5
+ height: NumberConstructor;
6
+ sourceId: StringConstructor;
7
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ width: NumberConstructor;
9
+ height: NumberConstructor;
10
+ sourceId: StringConstructor;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,179 +1,20 @@
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: (forceUpdate: boolean, slideToFocus?: string) => 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
- getTemplatePosition: (index: any) => {
43
- left: any;
44
- top: any;
45
- width: any;
46
- height: any;
47
- } | null;
48
- setSlideSetting: (setting: any) => void;
49
- cancelDelayLoad: () => void;
50
- setSensorSensitivity: (sensitivity?: number) => void;
51
- getItemLayoutInfo: (index: any) => {
52
- left: any;
53
- top: any;
54
- width: any;
55
- height: any;
56
- } | null;
57
- $props: {
58
- [x: string]: any;
59
- };
60
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
61
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
62
- created?: ((() => void) | (() => void)[]) | undefined;
63
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
64
- mounted?: ((() => void) | (() => void)[]) | undefined;
65
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
66
- updated?: ((() => void) | (() => void)[]) | undefined;
67
- activated?: ((() => void) | (() => void)[]) | undefined;
68
- deactivated?: ((() => void) | (() => void)[]) | undefined;
69
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
70
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
71
- destroyed?: ((() => void) | (() => void)[]) | undefined;
72
- unmounted?: ((() => void) | (() => void)[]) | undefined;
73
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
74
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
- 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;
76
- };
77
- $forceUpdate: () => void;
78
- $nextTick: typeof import("vue").nextTick;
79
- $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;
80
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
81
- lockSlide: () => void;
82
- unlockSlide: () => void;
83
- lock: (type: any) => () => void;
84
- unlock: (type: any) => void;
85
- refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
86
- moveFocus: (direction: any) => void;
87
- slideTo: (position: any, doAnim: any) => void;
88
- slideToItem: (index: any, doAnim: any) => void;
89
- slideToDiv: (div: any, doAnim: any) => void;
90
- setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
91
- setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
92
- setEnterFocusId: (id: any) => void;
93
- setEnterFocusRect: (rect: any) => void;
94
- setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
95
- getFocusBlockRef: () => any;
96
- getVisibleItems: () => {
97
- start: number;
98
- end: number;
99
- dataList: any[];
100
- };
101
- getCustomerDataSize: () => number;
102
- getCurrentFocusIndex: () => number;
103
- getTemplatePosition: (index: any) => {
104
- left: any;
105
- top: any;
106
- width: any;
107
- height: any;
108
- } | null;
109
- setSlideSetting: (setting: any) => void;
110
- cancelDelayLoad: () => void;
111
- setSensorSensitivity: (sensitivity?: number) => void;
112
- getItemLayoutInfo: (index: any) => {
113
- left: any;
114
- top: any;
115
- width: any;
116
- height: any;
117
- } | null;
118
- $props: {
119
- [x: string]: any;
120
- };
121
- }> & {} & import("vue").ComponentCustomProperties & {};
122
- __isFragment?: undefined;
123
- __isTeleport?: undefined;
124
- __isSuspense?: undefined;
125
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
126
- lockSlide: () => void;
127
- unlockSlide: () => void;
128
- lock: (type: any) => () => void;
129
- unlock: (type: any) => void;
130
- refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
131
- moveFocus: (direction: any) => void;
132
- slideTo: (position: any, doAnim: any) => void;
133
- slideToItem: (index: any, doAnim: any) => void;
134
- slideToDiv: (div: any, doAnim: any) => void;
135
- setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
136
- setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
137
- setEnterFocusId: (id: any) => void;
138
- setEnterFocusRect: (rect: any) => void;
139
- setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
140
- getFocusBlockRef: () => any;
141
- getVisibleItems: () => {
142
- start: number;
143
- end: number;
144
- dataList: any[];
145
- };
146
- getCustomerDataSize: () => number;
147
- getCurrentFocusIndex: () => number;
148
- getTemplatePosition: (index: any) => {
149
- left: any;
150
- top: any;
151
- width: any;
152
- height: any;
153
- } | null;
154
- setSlideSetting: (setting: any) => void;
155
- cancelDelayLoad: () => void;
156
- setSensorSensitivity: (sensitivity?: number) => void;
157
- getItemLayoutInfo: (index: any) => {
158
- left: any;
159
- top: any;
160
- width: any;
161
- height: any;
162
- } | null;
163
- $props: {
164
- [x: string]: any;
165
- };
166
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
167
- $slots: {
168
- background: (_: {}) => any;
169
- renderItem: (_: {
170
- data: any;
171
- onEdge: (edge_info: any) => void;
172
- onAction: any;
173
- query: any;
174
- onItemEdge: (edge_info: any) => void;
175
- }) => any;
176
- foreground: (_: {}) => any;
177
- };
178
- });
1
+ declare const _default: typeof __VLS_export;
179
2
  export default _default;
3
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
+ type __VLS_WithSlots<T, S> = T & (new () => {
5
+ $slots: S;
6
+ });
7
+ declare const __VLS_base: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
8
+ type __VLS_Slots = {
9
+ background?: ((props: {}) => any) | undefined;
10
+ } & {
11
+ renderItem?: ((props: {
12
+ data: any;
13
+ onEdge: (edge_info: any) => void;
14
+ onAction: any;
15
+ query: any;
16
+ onItemEdge: (edge_info: any) => void;
17
+ }) => any) | undefined;
18
+ } & {
19
+ foreground?: ((props: {}) => any) | undefined;
20
+ };
@@ -1,179 +1,20 @@
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: (forceUpdate: boolean, slideToFocus?: string) => 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
- getTemplatePosition: (index: any) => {
43
- left: any;
44
- top: any;
45
- width: any;
46
- height: any;
47
- } | null;
48
- setSlideSetting: (setting: any) => void;
49
- cancelDelayLoad: () => void;
50
- setSensorSensitivity: (sensitivity?: number) => void;
51
- getItemLayoutInfo: (index: any) => {
52
- left: any;
53
- top: any;
54
- width: any;
55
- height: any;
56
- } | null;
57
- $props: {
58
- [x: string]: any;
59
- };
60
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
61
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
62
- created?: ((() => void) | (() => void)[]) | undefined;
63
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
64
- mounted?: ((() => void) | (() => void)[]) | undefined;
65
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
66
- updated?: ((() => void) | (() => void)[]) | undefined;
67
- activated?: ((() => void) | (() => void)[]) | undefined;
68
- deactivated?: ((() => void) | (() => void)[]) | undefined;
69
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
70
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
71
- destroyed?: ((() => void) | (() => void)[]) | undefined;
72
- unmounted?: ((() => void) | (() => void)[]) | undefined;
73
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
74
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
- 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;
76
- };
77
- $forceUpdate: () => void;
78
- $nextTick: typeof import("vue").nextTick;
79
- $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;
80
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
81
- lockSlide: () => void;
82
- unlockSlide: () => void;
83
- lock: (type: any) => () => void;
84
- unlock: (type: any) => void;
85
- refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
86
- moveFocus: (direction: any) => void;
87
- slideTo: (position: any, doAnim: any) => void;
88
- slideToItem: (index: any, doAnim: any) => void;
89
- slideToDiv: (div: any, doAnim: any) => void;
90
- setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
91
- setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
92
- setEnterFocusId: (id: any) => void;
93
- setEnterFocusRect: (rect: any) => void;
94
- setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
95
- getFocusBlockRef: () => any;
96
- getVisibleItems: () => {
97
- start: number;
98
- end: number;
99
- dataList: any[];
100
- };
101
- getCustomerDataSize: () => number;
102
- getCurrentFocusIndex: () => number;
103
- getTemplatePosition: (index: any) => {
104
- left: any;
105
- top: any;
106
- width: any;
107
- height: any;
108
- } | null;
109
- setSlideSetting: (setting: any) => void;
110
- cancelDelayLoad: () => void;
111
- setSensorSensitivity: (sensitivity?: number) => void;
112
- getItemLayoutInfo: (index: any) => {
113
- left: any;
114
- top: any;
115
- width: any;
116
- height: any;
117
- } | null;
118
- $props: {
119
- [x: string]: any;
120
- };
121
- }> & {} & import("vue").ComponentCustomProperties & {};
122
- __isFragment?: undefined;
123
- __isTeleport?: undefined;
124
- __isSuspense?: undefined;
125
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
126
- lockSlide: () => void;
127
- unlockSlide: () => void;
128
- lock: (type: any) => () => void;
129
- unlock: (type: any) => void;
130
- refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
131
- moveFocus: (direction: any) => void;
132
- slideTo: (position: any, doAnim: any) => void;
133
- slideToItem: (index: any, doAnim: any) => void;
134
- slideToDiv: (div: any, doAnim: any) => void;
135
- setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
136
- setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
137
- setEnterFocusId: (id: any) => void;
138
- setEnterFocusRect: (rect: any) => void;
139
- setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
140
- getFocusBlockRef: () => any;
141
- getVisibleItems: () => {
142
- start: number;
143
- end: number;
144
- dataList: any[];
145
- };
146
- getCustomerDataSize: () => number;
147
- getCurrentFocusIndex: () => number;
148
- getTemplatePosition: (index: any) => {
149
- left: any;
150
- top: any;
151
- width: any;
152
- height: any;
153
- } | null;
154
- setSlideSetting: (setting: any) => void;
155
- cancelDelayLoad: () => void;
156
- setSensorSensitivity: (sensitivity?: number) => void;
157
- getItemLayoutInfo: (index: any) => {
158
- left: any;
159
- top: any;
160
- width: any;
161
- height: any;
162
- } | null;
163
- $props: {
164
- [x: string]: any;
165
- };
166
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
167
- $slots: {
168
- background: (_: {}) => any;
169
- renderItem: (_: {
170
- data: any;
171
- onEdge: (edge_info: any) => void;
172
- onAction: any;
173
- query: any;
174
- onItemEdge: (edge_info: any) => void;
175
- }) => any;
176
- foreground: (_: {}) => any;
177
- };
178
- });
1
+ declare const _default: typeof __VLS_export;
179
2
  export default _default;
3
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
+ type __VLS_WithSlots<T, S> = T & (new () => {
5
+ $slots: S;
6
+ });
7
+ declare const __VLS_base: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
8
+ type __VLS_Slots = {
9
+ background?: ((props: {}) => any) | undefined;
10
+ } & {
11
+ renderItem?: ((props: {
12
+ data: any;
13
+ onEdge: (edge_info: any) => void;
14
+ onAction: any;
15
+ query: any;
16
+ onItemEdge: (edge_info: any) => void;
17
+ }) => any) | undefined;
18
+ } & {
19
+ foreground?: ((props: {}) => any) | undefined;
20
+ };
@@ -1,4 +1,4 @@
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): {
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, rootDiv: any, templateMode: any): {
2
2
  widgetRectInfo: WidgetRectInfo;
3
3
  focusBlockOnFocus: (params: any) => void;
4
4
  focusBlockOnBlur: () => void;
@@ -44,12 +44,33 @@ export function setup(props: any, itemRender: any, locateDiv: any, renderData: a
44
44
  width: any;
45
45
  height: any;
46
46
  } | null;
47
+ tmpDisableRenderBreak: () => void;
48
+ getItemVisibleState: (leftTop: any, rightBottom: any) => {
49
+ name: any;
50
+ index: number;
51
+ visibleState: string;
52
+ children: any;
53
+ widgetHandler: /*elided*/ any;
54
+ }[];
55
+ getCurrentVisibleRange: () => {
56
+ leftTop: {
57
+ x: number;
58
+ y: number;
59
+ };
60
+ rightBottom: {
61
+ x: any;
62
+ y: any;
63
+ };
64
+ };
65
+ cleanFocusStatus: () => void;
66
+ getName: () => any;
47
67
  };
48
68
  setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
49
69
  onTouchDown: (data: any, customData: any, nexusCustomData: any) => void;
50
70
  onTouchRelease: ((touchCount: any) => void) | undefined;
51
- currentFocusIndex: import("vue").Ref<number>;
52
- modeForExport: import("vue").Ref<number>;
71
+ currentFocusIndex: import("vue").Ref<number, number>;
53
72
  onDispatchKeyDown: (ev: any) => boolean;
73
+ isFocus: import("vue").Ref<boolean, boolean>;
74
+ rootNativeViewId: number;
54
75
  };
55
76
  import { WidgetRectInfo } from "./WidgetRectInfo";
@@ -8,12 +8,18 @@ export declare class PageUpdater {
8
8
  private rangeSet;
9
9
  private updateFunc;
10
10
  private count;
11
+ private applyedRange;
11
12
  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
+ cleanCache(): void;
14
+ update(template: MetroTemplate, start: number, end: number, anchorId: number, mergeTmp: boolean, permanentList: Array<PermanentItemInfo> | null, fullDisplayMode?: boolean): {
13
15
  apply: Function;
14
16
  applyTmp: Function;
15
17
  recover: Function;
16
18
  };
19
+ getApplyedRange(): {
20
+ start: number;
21
+ end: number;
22
+ };
17
23
  private apply;
18
24
  private applyTmp;
19
25
  getRange(): Set<number>;