@shijiu/jsview-vue 2.3.0 → 2.3.728-alpha.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.
- package/bin/browser/BrowserAudio.vue.mjs +4 -1
- package/bin/browser/BrowserJsvLatex.vue.mjs +9 -90
- package/bin/jsview-vue.mjs +13913 -8048
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +39 -3
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +5 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +25 -2
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +28 -4
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +70 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +5 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +12 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
- package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +27 -14
- package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +3 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +29 -2
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +107 -4
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +94 -18
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +24 -23
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +77 -20
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +77 -20
- package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
- package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/ForgeHandles.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
- package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +44 -1
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +5 -3
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +88 -25
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +4 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/index.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +11 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +101 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +61 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +58 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +55 -12
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +178 -35
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +119 -17
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +9 -3
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +22 -1
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +5 -2
- package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +39 -1
- package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +26 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +112 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +142 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +15 -3
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +22 -96
- package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +6 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterDiv.vue.d.ts → TypesDiv/JsvPosterDiv.vue.d.ts} +9 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterImage.vue.d.ts → TypesDiv/JsvPosterImage.vue.d.ts} +15 -3
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +90 -0
- package/bin/types/utils/JsViewVueWidget/index.d.ts +8 -4
- package/dist/types/utils/JsViewEngineWidget/CheckType.d.ts +7 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +106 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +128 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +12 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugTools.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +16 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +412 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +751 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +82 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +31 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +80 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Slide.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +52 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +69 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +6 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +20 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/RangeModel.d.ts +166 -0
- package/dist/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +74 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +46 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +42 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/Fence.d.ts +62 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +103 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/index.d.ts +8 -0
- package/dist/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +160 -0
- package/dist/types/utils/JsViewEngineWidget/index.d.ts +21 -0
- package/dist/types/utils/JsViewPlugin/JsvAccount/JsvAccount.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +212 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/CheckType.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +12 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/index.d.ts +7 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/version.d.mts +14 -0
- package/{bin/types/utils/JsViewPlugin/JsvLatex → dist/types/utils/JsViewPlugin/JsvAudio}/version.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +18 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/index.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/version.d.mts +40 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/AckEventDefine.d.ts +10 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +523 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +119 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +664 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-0.9.vue.d.ts +45 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue.d.ts +597 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
- package/dist/types/utils/JsViewPlugin/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/BlobApi.d.ts +42 -0
- package/dist/types/utils/JsViewVueTools/ConstSymbol.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/DebugContentShellJBridge.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/DebugTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +14 -0
- package/dist/types/utils/JsViewVueTools/FeatureActive.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeConstDefine.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeHandles.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicCssStyle.d.ts +33 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicKeyFrames.d.ts +40 -0
- package/dist/types/utils/JsViewVueTools/JsvFederationTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvHashHistory.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvImpactTracer.d.ts +44 -0
- package/dist/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvPerformance.d.ts +9 -0
- package/dist/types/utils/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
- package/dist/types/utils/JsViewVueTools/JsvRefTaker.d.ts +52 -0
- package/dist/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +378 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleClass.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvTextTools.d.ts +66 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureDefines.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +47 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +99 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +58 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +113 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +17 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +170 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +16 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +31 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +53 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/NinePatchHelper.d.ts +25 -0
- package/dist/types/utils/JsViewVueTools/TextureManagerTools.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/index.d.ts +29 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +124 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +148 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +35 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +102 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +77 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +54 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +26 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +34 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +105 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +65 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +62 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +61 -0
- package/dist/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +91 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +100 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +63 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +228 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +107 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +11 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +118 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +244 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +169 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +24 -0
- package/dist/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +241 -0
- package/dist/types/utils/JsViewVueWidget/JsvHole.d.ts +19 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +52 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +98 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +32 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +101 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Constant.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/DataTree.d.ts +75 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +72 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +235 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +93 -0
- package/dist/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +55 -0
- package/dist/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +68 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +31 -0
- package/dist/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +129 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +28 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +278 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +76 -0
- package/dist/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +114 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +58 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +18 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +70 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +21 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/index.d.ts +9 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +141 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +248 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +181 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +38 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +88 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/index.d.ts +53 -0
- package/dist/types/utils/index.d.ts +8 -0
- package/dist/utils/browser/BrowserAudio.vue.mjs +258 -0
- package/dist/utils/browser/BrowserJsvLatex.vue.mjs +64 -0
- package/dist/utils/export-sfc.mjs +12 -0
- package/dist/utils/index.mjs +29000 -0
- package/dist/utils/jsview-vue-common.mjs +39 -0
- package/package.json +1 -1
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +51 -3
- package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +193 -89
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +347 -145
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts +15 -0
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +1603 -588
- package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +146 -38
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +39 -26
- package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
- package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
- package/utils/JsViewEngineWidget/RectUtils.js +1 -1
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +62 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +434 -264
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +54 -5
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
- package/utils/JsViewEngineWidget/WidgetCommon.ts +29 -7
- package/utils/JsViewEngineWidget/index.ts +7 -2
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue +4 -0
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue +13 -13
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
- package/utils/JsViewPlugin/JsvLatex/Color.ts +104 -39
- package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +71 -17
- package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +14 -2
- package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
- package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
- package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
- package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
- package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
- package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +61 -11
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
- package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
- package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
- package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
- package/utils/JsViewVueTools/BlobApi.ts +55 -0
- package/utils/JsViewVueTools/FeatureActive.ts +5 -1
- package/utils/JsViewVueTools/ForgeHandles.ts +8 -2
- package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +125 -8
- package/utils/JsViewVueTools/JsvTextTools.ts +12 -2
- package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +30 -12
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +157 -51
- package/utils/JsViewVueTools/JsvTextureStore/Store.ts +33 -21
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +56 -41
- package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
- package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
- package/utils/JsViewVueTools/index.js +3 -1
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
- package/utils/JsViewVueWidget/JsvDashPath.vue +150 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.ts +212 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.ts +146 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.ts +748 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +10 -1
- package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue +3 -1
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +24 -8
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +269 -26
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +2 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.ts +24 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +3 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +5 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.ts +10 -2
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +223 -100
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +245 -64
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +95 -29
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +27 -5
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
- package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
- package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
- package/utils/JsViewVueWidget/JsvNinePatch.vue +22 -12
- package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +34 -31
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +56 -25
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +11 -11
- package/utils/JsViewVueWidget/JsvSector.vue +66 -28
- package/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue +108 -0
- package/utils/JsViewVueWidget/JsvSoundPool.js +75 -12
- package/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue +543 -0
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +3 -3
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue +644 -0
- package/utils/JsViewVueWidget/JsvSwiper/index.js +3 -1
- package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +315 -299
- package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
- package/utils/JsViewVueWidget/index.js +9 -3
- package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
- package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
- /package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +0 -0
- /package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue.d.ts → JsvFreeMoveActor.vue.d.ts} +0 -0
- /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
|
@@ -0,0 +1,751 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【界面概述】
|
|
9
|
+
* 展示MetroWidget控件的用法
|
|
10
|
+
*
|
|
11
|
+
* 【控件介绍】
|
|
12
|
+
* MetroWidget:
|
|
13
|
+
* props:
|
|
14
|
+
* top {int} 控件的y,默认为0
|
|
15
|
+
* left {int} 控件的x, 默认为0
|
|
16
|
+
* width {int} (必选)控件的宽
|
|
17
|
+
* height {int} (必选)控件的高
|
|
18
|
+
* layoutType {String} 布局的类型, 目前支持 "relative"(默认)|"absolute", relative为自动布局,
|
|
19
|
+
absolute为依据measures中给的top, left布局
|
|
20
|
+
*
|
|
21
|
+
* name {string} 用于设置焦点的名称
|
|
22
|
+
* padding {object} 控件内边距,默认为{left: 0, right: 0, top: 0, bottom: 0},
|
|
23
|
+
用于压缩滚动判定区域(可视区域), 以达到扩大Clip区域,解决放大的焦点元素被Clip掉的问题
|
|
24
|
+
* direction {enum} (必选)控件方向 HORIZONTAL/VERTICAL, 子格子的延展方向, vertical代表一行一行来排布纵向无限延展, horizontal为一列列排横向无限
|
|
25
|
+
* focusMoveType {int} 焦点移动的模式, 可通过 | 运算进行组合. 这些常量在FocusMoveType对象中, 需要import { FocusMoveType } from 'jsview'
|
|
26
|
+
NO_ADJUST: 无特殊处理
|
|
27
|
+
COLUMN_LOOP: 到达列首/尾后跳转到上/下一列, 只在direction=水平时生效
|
|
28
|
+
ROW_LOOP: 到达行首/尾后跳转到上/下一行, 只在direction=竖直时生效
|
|
29
|
+
COLUMN_FIND_NEAR: 一列中没有下一个元素时是否跳转到相邻列, 只在direction=水平时生效
|
|
30
|
+
ROW_FIND_NEAR: 一行中没有下一个元素时是否跳转到相邻行, 只在direction=竖直时生效
|
|
31
|
+
* keepTraceRange { number } 可视区域前后多少屏的item在移出可视范围后不释放(默认移出可视区域的item会被释放)
|
|
32
|
+
* initFocusId {int} 初始焦点,默认为0
|
|
33
|
+
* slideSetting {SlideSetting} 页面滑动的设置, 滚动的判定区域是MetroWidget的宽高去除padding后的区域,
|
|
34
|
+
目前SlideSetting有三个子类, 具体见如下
|
|
35
|
+
WholePageSlide
|
|
36
|
+
@description 整页滚动的设置类
|
|
37
|
+
@constructor {Object} {speed, easing, boundProtect}
|
|
38
|
+
SeamlessSlide
|
|
39
|
+
@description 无缝滚动的设置类
|
|
40
|
+
@constructor {Object} {
|
|
41
|
+
* startPercent: 左/上侧触发滚动的比例 0-1
|
|
42
|
+
* endPercent: 右/下侧触发滚动的比例 0-1, 从起点计数, 末尾为1.0
|
|
43
|
+
* headRange: 左/上按键触发滚动的区域比例 0-1
|
|
44
|
+
* tailRange: 右/下按键触发滚动的区域比例 0-1 从终点计数,末尾为0
|
|
45
|
+
startPercent/endPercent 和 headRange/tailRange 二选一
|
|
46
|
+
* speed: 滚动速度, 像素/毫秒
|
|
47
|
+
* 用于计算duration的辅助值, 因为MetroWidget每个行间可能距离不一样;
|
|
48
|
+
* 当 duration 未显式指定时, 会根据speed按匀速反算duration
|
|
49
|
+
* duration: 动画时长(毫秒)。当 duration 为 number 时优先于 speed;
|
|
50
|
+
* 若为 null/不传则按 speed 计算时长
|
|
51
|
+
* easing(String): 滚动动画的easing,可不填(实现中默认为空字符串);
|
|
52
|
+
* 非匀速时推荐为 "cubic-bezier(X, X, X, X)"
|
|
53
|
+
* boundaryProtect: 确定滚动位置能否小于0或者大于最大长度, 默认值为 START_PROTECT | END_PROTECT, 即都开启
|
|
54
|
+
START_PROTECT: 是否要让头部卡在边缘而不是滚动到headRange的位置
|
|
55
|
+
END_PROTECT: 是否要让尾部卡在边缘而不是滚动到tailRange的位置
|
|
56
|
+
若不开启, 则slide出来的项目可能不是完整的项目, 而是以焦点元素的边缘对齐range(head或者tail)的百分比位置
|
|
57
|
+
对齐其百分比值的方案为, 往head滑动时, 用起始边缘对准headRange, 往tail滑动时, 也是用起始边缘对准tailRange
|
|
58
|
+
* fixFirstPage: 默认为false, 代表第一屏不滚动, 当到第一屏边缘开始才按照正常的无缝滚动逻辑滚动,
|
|
59
|
+
若回到第一屏区域时则会把第一屏完整的滚动回来
|
|
60
|
+
* }
|
|
61
|
+
FixPositionSlide(废弃)
|
|
62
|
+
@description 固定位置滚动的设置类
|
|
63
|
+
@constructor {Object} {fixPercent, speed, easing, boundProtect}
|
|
64
|
+
* itemConfig {Function (item) => {takeOverSlide: true}} 返回item的配置信息
|
|
65
|
+
* enableItemRenderBreak {boolean} 这个骨架图的开关, 默认为false
|
|
66
|
+
开启后,
|
|
67
|
+
1. MetroWidget首次展示时, 所有item均以骨架图绘制
|
|
68
|
+
2. 用户输入事件(例如按键输入)可打断正在进行的item描画解析,
|
|
69
|
+
处于打断状态时, 剩余未绘制的item不会绘制其内容而是显示这个位置的骨架图
|
|
70
|
+
* placeHolderSetting {Object} item描画可打断时, 显示的占位符
|
|
71
|
+
{
|
|
72
|
+
backgroundColor: 纯色占位符
|
|
73
|
+
focusBackgroundColor: 获焦时的颜色
|
|
74
|
+
borderRadius: 占位符圆角设置
|
|
75
|
+
gap: 占位符之间的gap
|
|
76
|
+
logoUrl: 占位符logo的url
|
|
77
|
+
logoWidth: 占位符logo的宽度
|
|
78
|
+
logoHeight: 占位符logo的高度
|
|
79
|
+
}
|
|
80
|
+
* sendFocusRectEvent {boolean} item获焦时在焦点树上冒泡一个事件, MetroWidget接收到事件时会触发滚动操作, 一般用于嵌套
|
|
81
|
+
时的滚动
|
|
82
|
+
|
|
83
|
+
* data {array} 数据列表
|
|
84
|
+
* provideData {function} 获取数据的回调, 与data二选一
|
|
85
|
+
* measures {function} (必选)返回item的模板信息的回调,
|
|
86
|
+
* @params item {object} data中的数据
|
|
87
|
+
* @return 模板信息,
|
|
88
|
+
{
|
|
89
|
+
left {int}: 绝对布局时的left,
|
|
90
|
+
top {int}: 绝对布局时的top,
|
|
91
|
+
width {int}: item的宽,
|
|
92
|
+
height {int}: item的高,
|
|
93
|
+
focusable {boolean}: item是否可以获得焦点,
|
|
94
|
+
marginBottom {int}: item的下方margin,
|
|
95
|
+
marginRight {int}: item的右方margin,
|
|
96
|
+
findNextAnchor {object}: 自定义上下左右四条边寻找临近item的基准位置,值为0-1 {left: 0.5, right: 0.5, top: 0.5, bottom: 0.5}
|
|
97
|
+
itemSlide {number}: item的滚动控制, 可选值为:
|
|
98
|
+
METRO_WIDGET_CONST.ITEM_SLIDE.DISABLE 不滚动
|
|
99
|
+
METRO_WIDGET_CONST.ITEM_SLIDE.ACT_ITEM_FOCUS 按照SlideSetting滚动
|
|
100
|
+
METRO_WIDGET_CONST.ITEM_SLIDE.ACT_FOCUS_RECT_EVENT 按照子组件发送的focusRect事件滚动
|
|
101
|
+
zIndex {int | object}: item的zIndex, 为object时可以分别设置{focus: 0, normal: 0}, 为number时则同时设置获焦和不获焦的zIndex,
|
|
102
|
+
uid {string}: item的uid, 可以通过uid来设置焦点
|
|
103
|
+
permanent {boolean}: 离开可视范围后, 是否保留
|
|
104
|
+
enableTap {boolean}: 是否接受触控tap, 需要触控模式时设为true
|
|
105
|
+
showSkeleton {boolean}: 打断描画时, 是否显示为骨架图, 默认为true
|
|
106
|
+
enableLongPress {boolean}: item是否支持长按, 默认值为props.enableLongPress
|
|
107
|
+
placeHolderLayout{{left: number, top: number, width: number, height: number, logoWidth: number, logoHeight: number}}:
|
|
108
|
+
占位符的布局微调:
|
|
109
|
+
left: 占位符的left偏移量, 可不填, 默认等于格子布局的左上角位置(0px)
|
|
110
|
+
top: 占位符的top偏移量, 可不填, 默认等于格子布局的左上角位置(0px)
|
|
111
|
+
width: 占位符的width, 可不填, 默认等于格子布局的宽度(和placeHolderLayout平级的width设定)
|
|
112
|
+
height: 占位符的height, 可不填, 默认等于格子布局的高度(和placeHolderLayout平级的height设定)
|
|
113
|
+
logoWidth: 占位符的logoWidth偏移量, 可不填, 默认等于props.placeHolderSetting的LogoWidth
|
|
114
|
+
logoHeight: 占位符的logoHeight偏移量, 可不填, 默认等于props.placeHolderSetting的LogoHeight
|
|
115
|
+
bindSpatialNav {boolean}: 是否绑定空间导航, 默认值为false
|
|
116
|
+
}
|
|
117
|
+
*
|
|
118
|
+
* onFocus {function} 控件获取焦点的回调
|
|
119
|
+
* onBlur {function} 控件失去焦点的回调
|
|
120
|
+
* onEdge {function} 焦点移动到边缘时的回调
|
|
121
|
+
* @params {object} edgeInfo {
|
|
122
|
+
"direction": {EdgeDirection}边缘方向,
|
|
123
|
+
"rect": 到达边缘时的区域{x: 0, y: 0, width: 0,height: 0}
|
|
124
|
+
}
|
|
125
|
+
onScroll {function} 滚动时的回调, 此为异步回调, 可以进行refreshData, slideTo, updateItemSize等操作
|
|
126
|
+
(visibleStart, visibleRange, totalSize) => {}
|
|
127
|
+
visibleStart: 可视区域的起点
|
|
128
|
+
visibleRange: 可视区域大小(不含padding)
|
|
129
|
+
totalSize: 所有item的总长
|
|
130
|
+
syncOnScroll {function} 滚动时同步的回调,只用来触发与自身无关的操作,不要调用自身的refreshData, slideTo, updateItemSize等方法
|
|
131
|
+
(visibleStart, visibleRange, totalSize) => {}
|
|
132
|
+
visibleStart: 可视区域的起点
|
|
133
|
+
visibleRange: 可视区域大小(不含padding)
|
|
134
|
+
totalSize: 所有item的总长
|
|
135
|
+
* onFocusRectChange {() => void} 焦点区域变化的回调
|
|
136
|
+
* onAllItemResizeDone {() => void} 所有item resize完成的回调
|
|
137
|
+
* onFocusChange {(id: number) => void} 焦点变化的回调
|
|
138
|
+
* loadAll {boolean} 加载不显示的view,触控场景使用
|
|
139
|
+
* flingPageWidth {number} Fling 手势分页宽度(像素),-1 表示使用默认策略
|
|
140
|
+
* flingPageEdge {number} Fling 边缘触发区域比例(0-1),默认 1/4
|
|
141
|
+
* disableClip {boolean} 取消显示范围的clipView
|
|
142
|
+
* touchFlag {int} 触控的开关, 0:关闭, 1:打开. 打开后支持drag, fling; item的tap则由measuresObject的enableTap控制
|
|
143
|
+
* mouseFlag {int} 鼠标滚轮的开关, 0:关闭, 1:打开. 打开后支持鼠标滚轮滚动
|
|
144
|
+
* mouseConfig {Object} 鼠标配置, 仅在mouseFlag为1时生效
|
|
145
|
+
{
|
|
146
|
+
wheelRate: {number} 鼠标滚轮滚动速度, 默认值为10
|
|
147
|
+
}
|
|
148
|
+
* enableLongPress {boolean} 支持长按, 长按模式下, onkeyup时触发onclick, 长按触发后, onclik不触发
|
|
149
|
+
* enableDebug {boolean} 显示debug用的item框
|
|
150
|
+
* renderAcc {boolean} 是否使用Fbo加速渲染
|
|
151
|
+
* fullDisplayMode {boolean} 是否全屏显示
|
|
152
|
+
* onSizeChange {function} 尺寸变化时的回调, 仅在fullDisplayMode为true时生效
|
|
153
|
+
* onTouchFocus {function} 有触控的时候回调
|
|
154
|
+
* onMouseEnter {function} 鼠标进入的时候回调
|
|
155
|
+
* onMouseLeave {function} 鼠标离开的时候回调
|
|
156
|
+
|
|
157
|
+
* methods:
|
|
158
|
+
getFocusBlockRef 获取此MetroWidget的 jsv-focus-block句柄,可以使用requestFocus完成获焦
|
|
159
|
+
|
|
160
|
+
slideTo
|
|
161
|
+
@description 滚动到指定位置
|
|
162
|
+
@params {int} position 滚动目标位置
|
|
163
|
+
@params {boolean} doAnim 是否做动画
|
|
164
|
+
slideToItem
|
|
165
|
+
@description 滚动到指定item
|
|
166
|
+
@params {int} index 目标item的index, 注意与item的id区别, id是可获焦item的序号
|
|
167
|
+
@params {boolean} doAnim 是否做动画
|
|
168
|
+
slideToDiv
|
|
169
|
+
@description 滚动到指定div, div必需是MetroWidget的子
|
|
170
|
+
@params {object} div 目标div
|
|
171
|
+
@params {boolean} doAnim 是否做动画
|
|
172
|
+
setEnterFocusId
|
|
173
|
+
@description 设置落焦时的焦点
|
|
174
|
+
@params {int} id 落焦时的焦点id
|
|
175
|
+
setEnterFocusRect
|
|
176
|
+
@description 设置落焦时的焦点查找去区域
|
|
177
|
+
@params {Object} rectInfo 焦点移入时的区域,MetroWidget 将会根据此区域寻找最近的item
|
|
178
|
+
{
|
|
179
|
+
direction: {EdgeDirection}
|
|
180
|
+
rect: {
|
|
181
|
+
x: {int},
|
|
182
|
+
y: {int},
|
|
183
|
+
width: {int},
|
|
184
|
+
height: {int}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
setFocusId
|
|
188
|
+
@description 设置焦点
|
|
189
|
+
@params {int} id 焦点id
|
|
190
|
+
@params {boolean} needSlide 是否需要滚动
|
|
191
|
+
@params {boolean} doAnim 滚动时是否做动画
|
|
192
|
+
@params {object} extraSetting 额外的参数设置
|
|
193
|
+
{
|
|
194
|
+
lockChildSlideEvent: {boolean} 设置焦点时忽略子发过来的滚动事件
|
|
195
|
+
}
|
|
196
|
+
setFocusByUid
|
|
197
|
+
@description 通过uid设置焦点
|
|
198
|
+
@params {int} id 焦点id
|
|
199
|
+
@params {boolean} needSlide 是否需要滚动
|
|
200
|
+
@params {boolean} doAnim 滚动时是否做动画
|
|
201
|
+
@params {object} extraSetting 额外的参数设置
|
|
202
|
+
{
|
|
203
|
+
lockChildSlideEvent: {boolean} 设置焦点时忽略子发过来的滚动事件
|
|
204
|
+
}
|
|
205
|
+
refreshData
|
|
206
|
+
@description 刷新数据, 只有存在provideData时才会生效
|
|
207
|
+
当refresh时,根据下面的数据对比规则找出变化的数据
|
|
208
|
+
refresh时的对比逻辑:
|
|
209
|
+
1. 对比array里的object是否是同一个对象
|
|
210
|
+
2. 对比array里的jsvKey字段, 若一致则认为该数据未改变,即使object不相同
|
|
211
|
+
发现array中存在数据变化时,会如下的场景进行处理
|
|
212
|
+
场景1: array内部的数据变化了,无论末尾有没有增加: 变化的项目会重新触发measure,
|
|
213
|
+
若measure返回尺寸变化则调用所有项目measure重做布局
|
|
214
|
+
若measure返回尺寸未变化,则仅对变化项目的div进行key的调整来触发item的remount
|
|
215
|
+
场景2: array内部未变化,仅array末尾新增内容: 对末尾内容的项目做measure,布局进行追加处理,原布局内容保持(节省性能)
|
|
216
|
+
特别说明: jsvKey的使用方法提示
|
|
217
|
+
1. 用lastModify设置jsvKey,并将所有的item设置成同一个jsvKey,后续局部更新项目的jsvKey代表的lastModify
|
|
218
|
+
2. 后台运营对于素材是只新增不改动的策略时,用素材的id来命名jsvKey,array中间位置素材变化的时候,
|
|
219
|
+
更换jsvKey,以达到局部更新的目的,防止全体更新,从而提高响应的性能
|
|
220
|
+
|
|
221
|
+
@params {boolean} forceUpdate 是否强制刷新
|
|
222
|
+
getVisibleItems
|
|
223
|
+
@description 获取可视item的列表信息
|
|
224
|
+
@return {start: 开始的index, end: 结束的index, dataList: 可视item的数据列表}
|
|
225
|
+
lock
|
|
226
|
+
@description 设置内部的锁
|
|
227
|
+
@params {int} type 锁的类型, 通过|来实现多个类型的复合
|
|
228
|
+
SLIDE: 滚动动画锁
|
|
229
|
+
CHILD_SLIDE_EVENT: 子组件发送的滚动事件锁
|
|
230
|
+
ON_KEY_DOWN: 按键锁
|
|
231
|
+
@return {function} 解锁的函数
|
|
232
|
+
unlock
|
|
233
|
+
@description 解锁
|
|
234
|
+
@params {int} type 参考lock的type参数
|
|
235
|
+
moveFocus
|
|
236
|
+
@description 移动焦点
|
|
237
|
+
@params {int | string | EdgeDirection} 可传三种类型的值:
|
|
238
|
+
1. 方向键的数值 37|38|39|40,
|
|
239
|
+
2. 字符串 left|top|right|bottom,
|
|
240
|
+
3. EdgeDirection
|
|
241
|
+
getCustomerDataSize
|
|
242
|
+
@description 获取用户数据长度
|
|
243
|
+
getCurrentFocusIndex
|
|
244
|
+
@description 获取当前获焦item的index
|
|
245
|
+
setZIndex
|
|
246
|
+
@description 设置item的zIndex
|
|
247
|
+
@params {int} index: item的index
|
|
248
|
+
@params {int} blurZIndex: blur状态下的zIndex
|
|
249
|
+
@params {int} focusZIndex: focus状态下的zIndex, 缺省时采用blurZIndex相同的值
|
|
250
|
+
getTemplatePosition
|
|
251
|
+
@description 获取item的template位置
|
|
252
|
+
@params {int} index: item的index
|
|
253
|
+
@return {object} {left: number, top: number, width: number, height: number,}
|
|
254
|
+
lockSlide
|
|
255
|
+
@description 锁定滚动
|
|
256
|
+
unlockSlide
|
|
257
|
+
@description 取消锁定
|
|
258
|
+
setSlideSetting
|
|
259
|
+
@description 设置slideSetting
|
|
260
|
+
@params { SlideSetting | null } setting 滚动设置, 为null时使用props.slideSetting
|
|
261
|
+
cancelDelayLoad
|
|
262
|
+
@description 取消延迟加载首屏以外内容
|
|
263
|
+
setSensorSensitivity
|
|
264
|
+
@description 触控模式下, 设置运动回调敏感度, 每移动多少像素进行回调,适当放大(推荐10以上)可以极大减小对js回调过多引起的性能降低
|
|
265
|
+
@params {number} sensitivity 敏感度, 等于0时关闭触控的移动监听
|
|
266
|
+
getItemLayoutInfo
|
|
267
|
+
@description 获取 item 的布局位置信息, index对应的item不存在时, 返回null
|
|
268
|
+
@params {number} index item 的 index
|
|
269
|
+
@return {object} {left: number, top: number, width: number, height: number} | null
|
|
270
|
+
tmpDisableRenderBreak
|
|
271
|
+
@description 临时设置是否打断描画, 一般用于防止刷新数据导致闪烁
|
|
272
|
+
cleanFocusStatus
|
|
273
|
+
@description 清除焦点状态
|
|
274
|
+
getItemVisibleState
|
|
275
|
+
@description 获取 item 的可见状态
|
|
276
|
+
@params {object} leftTop 左上角坐标
|
|
277
|
+
@params {object} rightBottom 右下角坐标
|
|
278
|
+
@return {array} 可见状态列表
|
|
279
|
+
getParentWidgetHandler
|
|
280
|
+
@description 获取父MetroWidget的handler对象
|
|
281
|
+
@return {object} 父MetroWidget对象
|
|
282
|
+
slots:
|
|
283
|
+
renderItem: 该slot用于描画MetroWidget的item内容
|
|
284
|
+
slotProps: {
|
|
285
|
+
data: {Object} 当前item的数据
|
|
286
|
+
query: {Object} 获取一些额外信息的对象
|
|
287
|
+
{
|
|
288
|
+
id: {int} item的id,
|
|
289
|
+
position: {Function} (index : int) => {left: 0, top: 0, width: 0, height: 0}
|
|
290
|
+
获取 item 相对 MetroWidget 左上角坐标
|
|
291
|
+
templatePosition: {Function} (index : int) => {left: 0, top: 0, width: 0, height: 0}
|
|
292
|
+
获取 item 的布局坐标, 一般用于自定义滚动
|
|
293
|
+
getCurrentFocusId: {Function} () => {id: 0, index: 0}
|
|
294
|
+
获取当前焦点信息,id 为在可获得焦点元素列表中的索引,index 为在所有元素列表中的索引
|
|
295
|
+
slideTo: {Function} (targetPosition : int, doAnim : Boolean) => void
|
|
296
|
+
滚动到指定位置,注意这个位置是 item 的布局坐标,另外当某些item需要接管滚动时,itemConfig中takeOverSlide要为true。
|
|
297
|
+
updateItemSize: {(index: number, newSize: {width: number, height: number}, animInfo: {anchor: number, duration: number, onEnd: Function}) => void} 更新item的尺寸, 目前仅在list模式下可用.
|
|
298
|
+
params:
|
|
299
|
+
index: 更新item的index,
|
|
300
|
+
newSize: 新的尺寸
|
|
301
|
+
animInfo: 动画设置
|
|
302
|
+
anchor: 缩放锚点
|
|
303
|
+
duration: 动画时长(毫秒)
|
|
304
|
+
onEnd: 动画结束回调
|
|
305
|
+
widgetHandler: {Object} 获取MetroWidget的handler对象
|
|
306
|
+
}
|
|
307
|
+
onAction: {Object} 单元格内控件需要通过onAction.register方法向MetroWidget注册 item 的回调, 回调函数有:
|
|
308
|
+
onFocus: {Function} widget获焦状态下, item获焦的回调
|
|
309
|
+
onBlur: {Function} widget获焦状态下, item失焦的回调
|
|
310
|
+
onGaze: {Function} item获焦的回调, 无论widget是否为获焦状态, 此时该item绘制的zIndex会高于其他item, 可盖住其他item
|
|
311
|
+
onIgnore: {Function} itemh失焦的回调, 无论widget是否为获焦状态, 此时item从高zIndex降回原值, 继续遵照index变化越高zIndex越高的顺序
|
|
312
|
+
onClick: {Function} item点击的回调
|
|
313
|
+
onWidgetEdge: {Function} 到达边缘的回调
|
|
314
|
+
onLongPress: {Function} item长按的回调
|
|
315
|
+
onItemEdge: {Function} 若单元格内另有可接管按键的控件(如MetroWidget),该控件到达边缘需要通知MetroWidget时的回调
|
|
316
|
+
}
|
|
317
|
+
background: 该slot描画在item后, 一般用于描画需要跟随MetroWidget滚动的内容
|
|
318
|
+
foreground: 该slot描画在item前, 一般用于描画需要跟随MetroWidget滚动的内容
|
|
319
|
+
* 【技巧说明】
|
|
320
|
+
* Q: 如何进行布局,定制每个格的尺寸?
|
|
321
|
+
* A: 首先选定一个布局的方式,一列列地横向布局(HROIZONTAL)还是一行行地纵向(VERTICAL)布局,设置给属性direction
|
|
322
|
+
* 然后将单元格尺寸反馈器(函数)设置到measures中,进行布局时,组件会回调measures函数获得每个单元格的尺寸,
|
|
323
|
+
* 当一列放满单元格后(如果是纵向布局,则是一行放满后),自动换列去布局下一列。
|
|
324
|
+
*
|
|
325
|
+
* Q: 单元格的普通状态,焦点状态,失焦状态如何渲染?
|
|
326
|
+
* A: 在单元的空间中通过往onAction注册的onFocus,onBlur控制显示
|
|
327
|
+
*
|
|
328
|
+
* Q: 控件中的导航处理(上下左右,OK键)需要什么响应的开发?
|
|
329
|
+
* A: 上下左右键已经由控件接管,不需要开发者而外处理,上下左右键会触发翻页时间,翻页的形式由属性slideStyle来定制。
|
|
330
|
+
* 另外,通过OnClick属性可以注册按键回调函数,来处理用户的OK键动作。
|
|
331
|
+
*
|
|
332
|
+
* Q: 边缘格获取焦点放大后显示不全?
|
|
333
|
+
* A: 设置padding,注意item的排布范围是控件的宽高减去对应的padding
|
|
334
|
+
*
|
|
335
|
+
* Q: 焦点怎么移出控件?
|
|
336
|
+
* A: 当焦点移动到控件边缘时,会调用onEdge回调。在回调中通过参数传递的值来决定焦点转移的行为
|
|
337
|
+
*
|
|
338
|
+
* Q: item内是可获焦的元素时该如何处理?
|
|
339
|
+
* A: 焦点处理: item内的元素需要在注册的onFocus和onBlue回调中管理焦点. 即在onFocus时把焦点设置到内部的可获焦节点;
|
|
340
|
+
onBlur时将焦点给回父MetroWidget, 注意此时是焦点树上的子节点往父节点切换, 此时为了把子节点blur掉,
|
|
341
|
+
requestFocus函数需要传递一个false参数
|
|
342
|
+
* Q: 如何校验元素重复导致的问题
|
|
343
|
+
* A: 通过MetroWidgetDebugger.enableOverlapCheck(true)来开启元素重复校验,开启后每次addItem会检查新加入的item与之前所有item的内容矩形(不含margin)是否重叠,重叠则errorLogger报错。导入方式为import { MetroWidgetDebugger } from "jsview";
|
|
344
|
+
* 注意点:
|
|
345
|
+
* 1. MetroWidget中存在一些处理依赖vue的callback执行顺序, 因此涉及更改MetroWidget状态的处理不要在watchPostEffect中调用
|
|
346
|
+
*/
|
|
347
|
+
|
|
348
|
+
declare const _default: {
|
|
349
|
+
new (...args: any[]): {
|
|
350
|
+
$: import("vue").ComponentInternalInstance;
|
|
351
|
+
$data: {};
|
|
352
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
353
|
+
$attrs: {
|
|
354
|
+
[x: string]: unknown;
|
|
355
|
+
};
|
|
356
|
+
$refs: {
|
|
357
|
+
[x: string]: unknown;
|
|
358
|
+
};
|
|
359
|
+
$slots: Readonly<{
|
|
360
|
+
[name: string]: import("vue").Slot | undefined;
|
|
361
|
+
}>;
|
|
362
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
363
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
364
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
365
|
+
$el: any;
|
|
366
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
367
|
+
lockSlide: () => void;
|
|
368
|
+
unlockSlide: () => void;
|
|
369
|
+
lock: (type: any) => () => void;
|
|
370
|
+
unlock: (type: any) => void;
|
|
371
|
+
refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
|
|
372
|
+
moveFocus: (direction: any) => void;
|
|
373
|
+
slideTo: (position: any, doAnim: any) => void;
|
|
374
|
+
slideToItem: (index: any, doAnim: any) => void;
|
|
375
|
+
slideToDiv: (div: any, doAnim: any) => void;
|
|
376
|
+
setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
377
|
+
setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
378
|
+
setEnterFocusId: (id: any) => void;
|
|
379
|
+
setEnterFocusRect: (rect: any) => void;
|
|
380
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
381
|
+
getFocusBlockRef: () => any;
|
|
382
|
+
getVisibleItems: () => {
|
|
383
|
+
start: number;
|
|
384
|
+
end: number;
|
|
385
|
+
dataList: any[];
|
|
386
|
+
};
|
|
387
|
+
getCustomerDataSize: () => number;
|
|
388
|
+
getCurrentFocusIndex: () => number;
|
|
389
|
+
getTemplatePosition: (index: any) => {
|
|
390
|
+
left: any;
|
|
391
|
+
top: any;
|
|
392
|
+
width: any;
|
|
393
|
+
height: any;
|
|
394
|
+
} | null;
|
|
395
|
+
setSlideSetting: (setting: any) => void;
|
|
396
|
+
cancelDelayLoad: () => void;
|
|
397
|
+
setSensorSensitivity: (sensitivity?: number) => void;
|
|
398
|
+
getItemLayoutInfo: (index: any) => {
|
|
399
|
+
left: any;
|
|
400
|
+
top: any;
|
|
401
|
+
width: any;
|
|
402
|
+
height: any;
|
|
403
|
+
} | null;
|
|
404
|
+
tmpDisableRenderBreak: () => void;
|
|
405
|
+
getItemVisibleState: (leftTop: any, rightBottom: any) => {
|
|
406
|
+
name: any;
|
|
407
|
+
index: number;
|
|
408
|
+
visibleState: string;
|
|
409
|
+
children: any;
|
|
410
|
+
widgetHandler: {
|
|
411
|
+
lockSlide: () => void;
|
|
412
|
+
unlockSlide: () => void;
|
|
413
|
+
lock: (type: any) => () => void;
|
|
414
|
+
unlock: (type: any) => void;
|
|
415
|
+
refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
|
|
416
|
+
moveFocus: (direction: any) => void;
|
|
417
|
+
slideTo: (position: any, doAnim: any) => void;
|
|
418
|
+
slideToItem: (index: any, doAnim: any) => void;
|
|
419
|
+
slideToDiv: (div: any, doAnim: any) => void;
|
|
420
|
+
setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
421
|
+
setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
422
|
+
setEnterFocusId: (id: any) => void;
|
|
423
|
+
setEnterFocusRect: (rect: any) => void;
|
|
424
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
425
|
+
getFocusBlockRef: () => any;
|
|
426
|
+
getVisibleItems: () => {
|
|
427
|
+
start: number;
|
|
428
|
+
end: number;
|
|
429
|
+
dataList: any[];
|
|
430
|
+
};
|
|
431
|
+
getCustomerDataSize: () => number;
|
|
432
|
+
getCurrentFocusIndex: () => number;
|
|
433
|
+
getTemplatePosition: (index: any) => {
|
|
434
|
+
left: any;
|
|
435
|
+
top: any;
|
|
436
|
+
width: any;
|
|
437
|
+
height: any;
|
|
438
|
+
} | null;
|
|
439
|
+
setSlideSetting: (setting: any) => void;
|
|
440
|
+
cancelDelayLoad: () => void;
|
|
441
|
+
setSensorSensitivity: (sensitivity?: number) => void;
|
|
442
|
+
getItemLayoutInfo: (index: any) => {
|
|
443
|
+
left: any;
|
|
444
|
+
top: any;
|
|
445
|
+
width: any;
|
|
446
|
+
height: any;
|
|
447
|
+
} | null;
|
|
448
|
+
tmpDisableRenderBreak: () => void;
|
|
449
|
+
getItemVisibleState: any;
|
|
450
|
+
getCurrentVisibleRange: () => {
|
|
451
|
+
leftTop: {
|
|
452
|
+
x: number;
|
|
453
|
+
y: number;
|
|
454
|
+
};
|
|
455
|
+
rightBottom: {
|
|
456
|
+
x: any;
|
|
457
|
+
y: any;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
cleanFocusStatus: () => void;
|
|
461
|
+
getParentWidgetHandler: () => any;
|
|
462
|
+
getName: () => any;
|
|
463
|
+
};
|
|
464
|
+
focusable: any;
|
|
465
|
+
}[];
|
|
466
|
+
getCurrentVisibleRange: () => {
|
|
467
|
+
leftTop: {
|
|
468
|
+
x: number;
|
|
469
|
+
y: number;
|
|
470
|
+
};
|
|
471
|
+
rightBottom: {
|
|
472
|
+
x: any;
|
|
473
|
+
y: any;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
cleanFocusStatus: () => void;
|
|
477
|
+
getParentWidgetHandler: () => any;
|
|
478
|
+
getName: () => any;
|
|
479
|
+
$props: {
|
|
480
|
+
[x: string]: any;
|
|
481
|
+
};
|
|
482
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
483
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
484
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
485
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
486
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
487
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
488
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
489
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
490
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
491
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
492
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
493
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
494
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
495
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
496
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
497
|
+
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;
|
|
498
|
+
};
|
|
499
|
+
$forceUpdate: () => void;
|
|
500
|
+
$nextTick: typeof import("vue").nextTick;
|
|
501
|
+
$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;
|
|
502
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
503
|
+
lockSlide: () => void;
|
|
504
|
+
unlockSlide: () => void;
|
|
505
|
+
lock: (type: any) => () => void;
|
|
506
|
+
unlock: (type: any) => void;
|
|
507
|
+
refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
|
|
508
|
+
moveFocus: (direction: any) => void;
|
|
509
|
+
slideTo: (position: any, doAnim: any) => void;
|
|
510
|
+
slideToItem: (index: any, doAnim: any) => void;
|
|
511
|
+
slideToDiv: (div: any, doAnim: any) => void;
|
|
512
|
+
setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
513
|
+
setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
514
|
+
setEnterFocusId: (id: any) => void;
|
|
515
|
+
setEnterFocusRect: (rect: any) => void;
|
|
516
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
517
|
+
getFocusBlockRef: () => any;
|
|
518
|
+
getVisibleItems: () => {
|
|
519
|
+
start: number;
|
|
520
|
+
end: number;
|
|
521
|
+
dataList: any[];
|
|
522
|
+
};
|
|
523
|
+
getCustomerDataSize: () => number;
|
|
524
|
+
getCurrentFocusIndex: () => number;
|
|
525
|
+
getTemplatePosition: (index: any) => {
|
|
526
|
+
left: any;
|
|
527
|
+
top: any;
|
|
528
|
+
width: any;
|
|
529
|
+
height: any;
|
|
530
|
+
} | null;
|
|
531
|
+
setSlideSetting: (setting: any) => void;
|
|
532
|
+
cancelDelayLoad: () => void;
|
|
533
|
+
setSensorSensitivity: (sensitivity?: number) => void;
|
|
534
|
+
getItemLayoutInfo: (index: any) => {
|
|
535
|
+
left: any;
|
|
536
|
+
top: any;
|
|
537
|
+
width: any;
|
|
538
|
+
height: any;
|
|
539
|
+
} | null;
|
|
540
|
+
tmpDisableRenderBreak: () => void;
|
|
541
|
+
getItemVisibleState: (leftTop: any, rightBottom: any) => {
|
|
542
|
+
name: any;
|
|
543
|
+
index: number;
|
|
544
|
+
visibleState: string;
|
|
545
|
+
children: any;
|
|
546
|
+
widgetHandler: {
|
|
547
|
+
lockSlide: () => void;
|
|
548
|
+
unlockSlide: () => void;
|
|
549
|
+
lock: (type: any) => () => void;
|
|
550
|
+
unlock: (type: any) => void;
|
|
551
|
+
refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
|
|
552
|
+
moveFocus: (direction: any) => void;
|
|
553
|
+
slideTo: (position: any, doAnim: any) => void;
|
|
554
|
+
slideToItem: (index: any, doAnim: any) => void;
|
|
555
|
+
slideToDiv: (div: any, doAnim: any) => void;
|
|
556
|
+
setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
557
|
+
setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
558
|
+
setEnterFocusId: (id: any) => void;
|
|
559
|
+
setEnterFocusRect: (rect: any) => void;
|
|
560
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
561
|
+
getFocusBlockRef: () => any;
|
|
562
|
+
getVisibleItems: () => {
|
|
563
|
+
start: number;
|
|
564
|
+
end: number;
|
|
565
|
+
dataList: any[];
|
|
566
|
+
};
|
|
567
|
+
getCustomerDataSize: () => number;
|
|
568
|
+
getCurrentFocusIndex: () => number;
|
|
569
|
+
getTemplatePosition: (index: any) => {
|
|
570
|
+
left: any;
|
|
571
|
+
top: any;
|
|
572
|
+
width: any;
|
|
573
|
+
height: any;
|
|
574
|
+
} | null;
|
|
575
|
+
setSlideSetting: (setting: any) => void;
|
|
576
|
+
cancelDelayLoad: () => void;
|
|
577
|
+
setSensorSensitivity: (sensitivity?: number) => void;
|
|
578
|
+
getItemLayoutInfo: (index: any) => {
|
|
579
|
+
left: any;
|
|
580
|
+
top: any;
|
|
581
|
+
width: any;
|
|
582
|
+
height: any;
|
|
583
|
+
} | null;
|
|
584
|
+
tmpDisableRenderBreak: () => void;
|
|
585
|
+
getItemVisibleState: any;
|
|
586
|
+
getCurrentVisibleRange: () => {
|
|
587
|
+
leftTop: {
|
|
588
|
+
x: number;
|
|
589
|
+
y: number;
|
|
590
|
+
};
|
|
591
|
+
rightBottom: {
|
|
592
|
+
x: any;
|
|
593
|
+
y: any;
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
cleanFocusStatus: () => void;
|
|
597
|
+
getParentWidgetHandler: () => any;
|
|
598
|
+
getName: () => any;
|
|
599
|
+
};
|
|
600
|
+
focusable: any;
|
|
601
|
+
}[];
|
|
602
|
+
getCurrentVisibleRange: () => {
|
|
603
|
+
leftTop: {
|
|
604
|
+
x: number;
|
|
605
|
+
y: number;
|
|
606
|
+
};
|
|
607
|
+
rightBottom: {
|
|
608
|
+
x: any;
|
|
609
|
+
y: any;
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
cleanFocusStatus: () => void;
|
|
613
|
+
getParentWidgetHandler: () => any;
|
|
614
|
+
getName: () => any;
|
|
615
|
+
$props: {
|
|
616
|
+
[x: string]: any;
|
|
617
|
+
};
|
|
618
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
619
|
+
__isFragment?: undefined;
|
|
620
|
+
__isTeleport?: undefined;
|
|
621
|
+
__isSuspense?: undefined;
|
|
622
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
623
|
+
lockSlide: () => void;
|
|
624
|
+
unlockSlide: () => void;
|
|
625
|
+
lock: (type: any) => () => void;
|
|
626
|
+
unlock: (type: any) => void;
|
|
627
|
+
refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
|
|
628
|
+
moveFocus: (direction: any) => void;
|
|
629
|
+
slideTo: (position: any, doAnim: any) => void;
|
|
630
|
+
slideToItem: (index: any, doAnim: any) => void;
|
|
631
|
+
slideToDiv: (div: any, doAnim: any) => void;
|
|
632
|
+
setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
633
|
+
setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
634
|
+
setEnterFocusId: (id: any) => void;
|
|
635
|
+
setEnterFocusRect: (rect: any) => void;
|
|
636
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
637
|
+
getFocusBlockRef: () => any;
|
|
638
|
+
getVisibleItems: () => {
|
|
639
|
+
start: number;
|
|
640
|
+
end: number;
|
|
641
|
+
dataList: any[];
|
|
642
|
+
};
|
|
643
|
+
getCustomerDataSize: () => number;
|
|
644
|
+
getCurrentFocusIndex: () => number;
|
|
645
|
+
getTemplatePosition: (index: any) => {
|
|
646
|
+
left: any;
|
|
647
|
+
top: any;
|
|
648
|
+
width: any;
|
|
649
|
+
height: any;
|
|
650
|
+
} | null;
|
|
651
|
+
setSlideSetting: (setting: any) => void;
|
|
652
|
+
cancelDelayLoad: () => void;
|
|
653
|
+
setSensorSensitivity: (sensitivity?: number) => void;
|
|
654
|
+
getItemLayoutInfo: (index: any) => {
|
|
655
|
+
left: any;
|
|
656
|
+
top: any;
|
|
657
|
+
width: any;
|
|
658
|
+
height: any;
|
|
659
|
+
} | null;
|
|
660
|
+
tmpDisableRenderBreak: () => void;
|
|
661
|
+
getItemVisibleState: (leftTop: any, rightBottom: any) => {
|
|
662
|
+
name: any;
|
|
663
|
+
index: number;
|
|
664
|
+
visibleState: string;
|
|
665
|
+
children: any;
|
|
666
|
+
widgetHandler: {
|
|
667
|
+
lockSlide: () => void;
|
|
668
|
+
unlockSlide: () => void;
|
|
669
|
+
lock: (type: any) => () => void;
|
|
670
|
+
unlock: (type: any) => void;
|
|
671
|
+
refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
|
|
672
|
+
moveFocus: (direction: any) => void;
|
|
673
|
+
slideTo: (position: any, doAnim: any) => void;
|
|
674
|
+
slideToItem: (index: any, doAnim: any) => void;
|
|
675
|
+
slideToDiv: (div: any, doAnim: any) => void;
|
|
676
|
+
setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
677
|
+
setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
678
|
+
setEnterFocusId: (id: any) => void;
|
|
679
|
+
setEnterFocusRect: (rect: any) => void;
|
|
680
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
681
|
+
getFocusBlockRef: () => any;
|
|
682
|
+
getVisibleItems: () => {
|
|
683
|
+
start: number;
|
|
684
|
+
end: number;
|
|
685
|
+
dataList: any[];
|
|
686
|
+
};
|
|
687
|
+
getCustomerDataSize: () => number;
|
|
688
|
+
getCurrentFocusIndex: () => number;
|
|
689
|
+
getTemplatePosition: (index: any) => {
|
|
690
|
+
left: any;
|
|
691
|
+
top: any;
|
|
692
|
+
width: any;
|
|
693
|
+
height: any;
|
|
694
|
+
} | null;
|
|
695
|
+
setSlideSetting: (setting: any) => void;
|
|
696
|
+
cancelDelayLoad: () => void;
|
|
697
|
+
setSensorSensitivity: (sensitivity?: number) => void;
|
|
698
|
+
getItemLayoutInfo: (index: any) => {
|
|
699
|
+
left: any;
|
|
700
|
+
top: any;
|
|
701
|
+
width: any;
|
|
702
|
+
height: any;
|
|
703
|
+
} | null;
|
|
704
|
+
tmpDisableRenderBreak: () => void;
|
|
705
|
+
getItemVisibleState: any;
|
|
706
|
+
getCurrentVisibleRange: () => {
|
|
707
|
+
leftTop: {
|
|
708
|
+
x: number;
|
|
709
|
+
y: number;
|
|
710
|
+
};
|
|
711
|
+
rightBottom: {
|
|
712
|
+
x: any;
|
|
713
|
+
y: any;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
cleanFocusStatus: () => void;
|
|
717
|
+
getParentWidgetHandler: () => any;
|
|
718
|
+
getName: () => any;
|
|
719
|
+
};
|
|
720
|
+
focusable: any;
|
|
721
|
+
}[];
|
|
722
|
+
getCurrentVisibleRange: () => {
|
|
723
|
+
leftTop: {
|
|
724
|
+
x: number;
|
|
725
|
+
y: number;
|
|
726
|
+
};
|
|
727
|
+
rightBottom: {
|
|
728
|
+
x: any;
|
|
729
|
+
y: any;
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
cleanFocusStatus: () => void;
|
|
733
|
+
getParentWidgetHandler: () => any;
|
|
734
|
+
getName: () => any;
|
|
735
|
+
$props: {
|
|
736
|
+
[x: string]: any;
|
|
737
|
+
};
|
|
738
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
739
|
+
$slots: {
|
|
740
|
+
background: (_: {}) => any;
|
|
741
|
+
renderItem: (_: {
|
|
742
|
+
data: any;
|
|
743
|
+
onEdge: (edge_info: any) => void;
|
|
744
|
+
onAction: any;
|
|
745
|
+
query: any;
|
|
746
|
+
onItemEdge: (edge_info: any) => void;
|
|
747
|
+
}) => any;
|
|
748
|
+
foreground: (_: {}) => any;
|
|
749
|
+
};
|
|
750
|
+
});
|
|
751
|
+
export default _default;
|