@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,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare const _default: {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
$: import("vue").ComponentInternalInstance;
|
|
8
|
+
$data: {};
|
|
9
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
10
|
+
$attrs: {
|
|
11
|
+
[x: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
$refs: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
$slots: Readonly<{
|
|
17
|
+
[name: string]: import("vue").Slot | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
20
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
21
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
22
|
+
$el: any;
|
|
23
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
24
|
+
getSpatialNavigator: () => SpatialNavigator;
|
|
25
|
+
$props: {
|
|
26
|
+
readonly xDefaultMoveType?: string | undefined;
|
|
27
|
+
readonly yDefaultMoveType?: string | undefined;
|
|
28
|
+
readonly onEdge?: Function | undefined;
|
|
29
|
+
};
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
31
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
44
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
45
|
+
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;
|
|
46
|
+
};
|
|
47
|
+
$forceUpdate: () => void;
|
|
48
|
+
$nextTick: typeof import("vue").nextTick;
|
|
49
|
+
$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;
|
|
50
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
51
|
+
getSpatialNavigator: () => SpatialNavigator;
|
|
52
|
+
$props: {
|
|
53
|
+
readonly xDefaultMoveType?: string | undefined;
|
|
54
|
+
readonly yDefaultMoveType?: string | undefined;
|
|
55
|
+
readonly onEdge?: Function | undefined;
|
|
56
|
+
};
|
|
57
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
58
|
+
__isFragment?: undefined;
|
|
59
|
+
__isTeleport?: undefined;
|
|
60
|
+
__isSuspense?: undefined;
|
|
61
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
62
|
+
getSpatialNavigator: () => SpatialNavigator;
|
|
63
|
+
$props: {
|
|
64
|
+
readonly xDefaultMoveType?: string | undefined;
|
|
65
|
+
readonly yDefaultMoveType?: string | undefined;
|
|
66
|
+
readonly onEdge?: Function | undefined;
|
|
67
|
+
};
|
|
68
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
69
|
+
$slots: {
|
|
70
|
+
default: (_: {}) => any;
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
export default _default;
|
|
74
|
+
import { SpatialNavigator } from "./SpatialNavigator";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export interface Rect {
|
|
6
|
+
left: number;
|
|
7
|
+
top: number;
|
|
8
|
+
right: number;
|
|
9
|
+
bottom: number;
|
|
10
|
+
centerX: number;
|
|
11
|
+
centerY: number;
|
|
12
|
+
}
|
|
13
|
+
export interface SpatialNavigationCandidate<T> {
|
|
14
|
+
data: T;
|
|
15
|
+
rect: Rect;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param current 当前元素
|
|
20
|
+
* @param candidates 候选元素列表
|
|
21
|
+
* @param direction 移动方向
|
|
22
|
+
* @description 寻找逻辑(以往下找为例子):
|
|
23
|
+
* 1. 先寻找主方向最近的元素(item.top - cur.bottom 为正且最小的)tagItem
|
|
24
|
+
* 2. 寻找与tagItem在主方向重叠的元素(与tagItem纵向有重叠的元素,构成一个待选行)
|
|
25
|
+
* 3. 选择待选行中的离current副方向最近的元素(x距离最小的)
|
|
26
|
+
*/
|
|
27
|
+
export declare function findNextLayerFirst<T>(current: SpatialNavigationCandidate<T>, candidates: SpatialNavigationCandidate<T>[], direction: Symbol): SpatialNavigationCandidate<T> | null;
|
|
28
|
+
export declare function findNextCandidate<T>(current: SpatialNavigationCandidate<T>, candidates: SpatialNavigationCandidate<T>[], direction: Symbol): SpatialNavigationCandidate<T> | null;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import type { Rect } from "./SpatialNavigationAlgorithm";
|
|
6
|
+
export declare class SpatialNavigationNode {
|
|
7
|
+
private getPosition;
|
|
8
|
+
getMwInfo: () => {
|
|
9
|
+
mwChain: any[];
|
|
10
|
+
itemIndex: number;
|
|
11
|
+
};
|
|
12
|
+
private mOnFocus;
|
|
13
|
+
private mOnBlur;
|
|
14
|
+
private mRect;
|
|
15
|
+
constructor(getPosition: (token: number, div: unknown) => Rect | undefined, getMwInfo: () => {
|
|
16
|
+
mwChain: any[];
|
|
17
|
+
itemIndex: number;
|
|
18
|
+
}, mOnFocus: () => void, mOnBlur: () => void);
|
|
19
|
+
onFocus(): void;
|
|
20
|
+
onBlur(): void;
|
|
21
|
+
updateRect(token: number, root: unknown): void;
|
|
22
|
+
getRect(): Rect | undefined;
|
|
23
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SpatialNavigationNode } from "./SpatialNavigationNode";
|
|
6
|
+
import type { Ref } from "vue";
|
|
7
|
+
export declare const SPATIAL_NAV_PROVIDER_NAME = "__jsv_spatialNavProvider";
|
|
8
|
+
type MoveType = "normal" | "layerFirst";
|
|
9
|
+
export interface MoveOptions {
|
|
10
|
+
xMoveType?: MoveType;
|
|
11
|
+
yMoveType?: MoveType;
|
|
12
|
+
moveType?: MoveType;
|
|
13
|
+
}
|
|
14
|
+
export declare class SpatialNavigator {
|
|
15
|
+
private nodes;
|
|
16
|
+
private currentNode;
|
|
17
|
+
private divRef;
|
|
18
|
+
private mFocusHub;
|
|
19
|
+
private mFindNextToken;
|
|
20
|
+
private mOnEdge;
|
|
21
|
+
private mXDefaultMoveType;
|
|
22
|
+
private mYDefaultMoveType;
|
|
23
|
+
constructor(divRef: Ref<unknown>, focusHub: any, onEdge: Function);
|
|
24
|
+
getDiv(): unknown;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param moveType 默认移动方式:normal(默认)、layerFirst
|
|
28
|
+
*/
|
|
29
|
+
setDefaultMoveType(xMoveType: MoveType, yMoveType: MoveType): void;
|
|
30
|
+
setFocus(node: SpatialNavigationNode): void;
|
|
31
|
+
registerNode(node: SpatialNavigationNode): void;
|
|
32
|
+
unregisterNode(node: SpatialNavigationNode): void;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param direction 移动方向
|
|
36
|
+
* @param options 移动选项
|
|
37
|
+
* @param options.xMoveType x方向移动方式:normal(默认)、layerFirst
|
|
38
|
+
* @param options.yMoveType y方向移动方式:normal(默认)、layerFirst
|
|
39
|
+
* @param options.moveType 移动方式:normal(默认)、layerFirst
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
moveTo(direction: Symbol, options?: MoveOptions): void;
|
|
43
|
+
private updateMetroWidgetFocus;
|
|
44
|
+
private findNode;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { MetroTemplate, TemplateItem, MeasureInfo } from "./MetroTemplate";
|
|
6
|
+
declare class CommonMetroTemplate extends MetroTemplate {
|
|
7
|
+
private _FenceStack;
|
|
8
|
+
private _FenceEdge;
|
|
9
|
+
private _NotOccupiedEdgeList;
|
|
10
|
+
constructor(direction: Symbol, lineMax: number, pageSize: number, layoutType: string, supportHistoryPath: boolean, errorLogger: Function);
|
|
11
|
+
calculateNeighborWhenAddStop(): void;
|
|
12
|
+
private _UpdateLastFenceEdge;
|
|
13
|
+
private _CheckIdsHasFocusable;
|
|
14
|
+
private _GetValidNeighborIndex;
|
|
15
|
+
private _FindFocusableNeighbor;
|
|
16
|
+
addItemInner(itemObj: MeasureInfo): TemplateItem;
|
|
17
|
+
/** get next item functions */
|
|
18
|
+
getNextItem(baseId: number, vOffset: number, hOffset: number, moveType: number): TemplateItem | null;
|
|
19
|
+
private _GetDirectionNearItem;
|
|
20
|
+
private getNextItemInner;
|
|
21
|
+
private _GetItemDistance;
|
|
22
|
+
private _GetTotalNeighbor;
|
|
23
|
+
private _GetNearestItem;
|
|
24
|
+
private _FindNearestByDirection;
|
|
25
|
+
private _GetNextLoopItem;
|
|
26
|
+
updateItemSize(index: number, newSize: {
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
}): void;
|
|
30
|
+
static intersects(s0: number, e0: number, s1: number, e1: number): boolean;
|
|
31
|
+
/** get visible item list functions */
|
|
32
|
+
getVisibleItemList(visibleStart: number, visibleEnd: number, _baseId: number): [number, number];
|
|
33
|
+
/** neighbor calculate functions */
|
|
34
|
+
private _TryCalculateNeighborItem;
|
|
35
|
+
private _CalculateNeighborItem;
|
|
36
|
+
private _IfBlockedByOtherNeighbor;
|
|
37
|
+
private _CheckNeighborItemMatching;
|
|
38
|
+
private _FindNearestNeighbor;
|
|
39
|
+
private _TryUpdateItemNeighbor;
|
|
40
|
+
removeItemTo(index: number): void;
|
|
41
|
+
}
|
|
42
|
+
export { CommonMetroTemplate };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/TemplateParser/Fence.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export interface GapInfo {
|
|
6
|
+
readonly GapStart: number;
|
|
7
|
+
readonly GapEnd: number;
|
|
8
|
+
}
|
|
9
|
+
declare class Fence {
|
|
10
|
+
/**
|
|
11
|
+
* MetroLayout用于计算使用区域的Fence(栅栏)
|
|
12
|
+
*
|
|
13
|
+
* @private
|
|
14
|
+
* @constructor _Fence
|
|
15
|
+
* @memberof Forge.MetroLayout
|
|
16
|
+
* @param {int} takenStartPos 栅栏使用区域的起始位置
|
|
17
|
+
* @param {int} width 栅栏使用区域的宽度
|
|
18
|
+
* @param {int} fenceWidth 栅栏的总宽度
|
|
19
|
+
* @param {int} offsetAhead 栅栏的横向位置
|
|
20
|
+
* */
|
|
21
|
+
private Gaps;
|
|
22
|
+
private FenceTotalWidth;
|
|
23
|
+
private AheadOffsetInner;
|
|
24
|
+
constructor(takenStartPos: number, width: number, fenceWidth: number, offsetAhead: number);
|
|
25
|
+
get AheadOffset(): number;
|
|
26
|
+
/**
|
|
27
|
+
* 查询栅栏是否能放下给定宽度的方块
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
* @func HasGapFor
|
|
31
|
+
* @memberof Forge.MetroLayout._Fence
|
|
32
|
+
* @instance
|
|
33
|
+
* @param {int} width
|
|
34
|
+
* @return {Object} 格式为{startPos: 栅栏空隙的起始位置},null为没有能容下的空隙。
|
|
35
|
+
* */
|
|
36
|
+
HasGapFor(width: number): GapInfo | null;
|
|
37
|
+
/**
|
|
38
|
+
* 标记栅栏空隙被占用
|
|
39
|
+
*
|
|
40
|
+
* @public
|
|
41
|
+
* @func MarkGapUsed
|
|
42
|
+
* @memberof Forge.MetroLayout._Fence
|
|
43
|
+
* @instance
|
|
44
|
+
* @param {int} startPos 占用块的起始位置
|
|
45
|
+
* @param {int} width 占用快的宽度
|
|
46
|
+
* @return {int} 剩余栅栏的个数
|
|
47
|
+
* */
|
|
48
|
+
MarkGapUsed(startPos: number, width: number): number;
|
|
49
|
+
private SplitGap;
|
|
50
|
+
/**
|
|
51
|
+
* 标记栅栏空隙被占用
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
* @func Fork
|
|
55
|
+
* @memberof Forge.MetroLayout._Fence
|
|
56
|
+
* @instance
|
|
57
|
+
* @param {int} new_ahead_offset 新栅栏的起点位置
|
|
58
|
+
* @return {Forge.MetroLayout._Fence} 复制出来的Fence
|
|
59
|
+
* */
|
|
60
|
+
Fork(new_ahead_offset: number): Fence;
|
|
61
|
+
}
|
|
62
|
+
export { Fence };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { MetroTemplate, TemplateItem, MeasureInfo } from "./MetroTemplate";
|
|
6
|
+
/** 单行/单列 */
|
|
7
|
+
declare class ListMetroTemplate extends MetroTemplate {
|
|
8
|
+
constructor(direction: Symbol, lineMax: number, pageSize: number, layoutType: string, supportHistoryPath: boolean, errorLogger: Function);
|
|
9
|
+
calculateNeighborWhenAddStop(): void;
|
|
10
|
+
addItemInner(itemObj: MeasureInfo): TemplateItem;
|
|
11
|
+
private _addTemplateItem;
|
|
12
|
+
getNextItem(baseId: number, vOffset: number, hOffset: number, moveType: number): TemplateItem | null;
|
|
13
|
+
getVisibleItemList(visibleStart: number, visibleEnd: number, baseId: number): [number, number];
|
|
14
|
+
private cleanResizeChangeItem;
|
|
15
|
+
updateItemSize(index: number, newSize: {
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
}): void;
|
|
19
|
+
removeItemTo(index: number): void;
|
|
20
|
+
}
|
|
21
|
+
export { ListMetroTemplate };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { RectCache } from "../MetroWidget/Slide";
|
|
6
|
+
export interface NeighborInfo {
|
|
7
|
+
left: Array<number>;
|
|
8
|
+
top: Array<number>;
|
|
9
|
+
bottom: Array<number>;
|
|
10
|
+
right: Array<number>;
|
|
11
|
+
}
|
|
12
|
+
interface FindNextAnchor {
|
|
13
|
+
left: number;
|
|
14
|
+
top: number;
|
|
15
|
+
right: number;
|
|
16
|
+
bottom: number;
|
|
17
|
+
}
|
|
18
|
+
export interface TemplateItem {
|
|
19
|
+
id: number;
|
|
20
|
+
index: number;
|
|
21
|
+
left: number;
|
|
22
|
+
top: number;
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
marginRight: number;
|
|
26
|
+
marginBottom: number;
|
|
27
|
+
focusable: boolean;
|
|
28
|
+
centerXPos: number;
|
|
29
|
+
centerYPos: number;
|
|
30
|
+
pageNumber: number;
|
|
31
|
+
pageHeadIndex: number;
|
|
32
|
+
neighborIndexList: NeighborInfo;
|
|
33
|
+
tmpNeighborIndexList: NeighborInfo;
|
|
34
|
+
pathHistory: {
|
|
35
|
+
left: number;
|
|
36
|
+
right: number;
|
|
37
|
+
top: number;
|
|
38
|
+
bottom: number;
|
|
39
|
+
};
|
|
40
|
+
findNextAnchor: FindNextAnchor | null;
|
|
41
|
+
layoutCache: RectCache;
|
|
42
|
+
uid?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface MeasureInfo {
|
|
45
|
+
left?: number;
|
|
46
|
+
top?: number;
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
marginRight?: number;
|
|
50
|
+
marginBottom?: number;
|
|
51
|
+
focusable?: boolean;
|
|
52
|
+
findNextAnchor?: FindNextAnchor | null;
|
|
53
|
+
itemSlide?: number;
|
|
54
|
+
permanent?: boolean;
|
|
55
|
+
zIndex?: number | object;
|
|
56
|
+
uid?: string;
|
|
57
|
+
}
|
|
58
|
+
declare abstract class MetroTemplate {
|
|
59
|
+
protected supportHistoryPath: boolean;
|
|
60
|
+
protected idsMap: Array<number>;
|
|
61
|
+
protected uidMap: Object;
|
|
62
|
+
templateList: Array<TemplateItem>;
|
|
63
|
+
readonly direction: Symbol;
|
|
64
|
+
readonly lineMax: number;
|
|
65
|
+
readonly pageSize: number;
|
|
66
|
+
readonly layoutType: string;
|
|
67
|
+
protected tailItemIndex: number;
|
|
68
|
+
private cachedLayoutRange;
|
|
69
|
+
protected errorLogger: Function;
|
|
70
|
+
private debugEnabled;
|
|
71
|
+
constructor(direction: Symbol, lineMax: number, pageSize: number, layoutType: string, supportHistoryPath: boolean, errorLogger: Function);
|
|
72
|
+
get size(): number;
|
|
73
|
+
get focusableSize(): number;
|
|
74
|
+
protected addTemplateItem(item: TemplateItem): void;
|
|
75
|
+
index2Id(index: number): number;
|
|
76
|
+
id2Index(id: number): number;
|
|
77
|
+
getItemById(id: number): TemplateItem | null;
|
|
78
|
+
getItemByIndex(index: number): TemplateItem | null;
|
|
79
|
+
getItemByUid(uid: string): TemplateItem | null;
|
|
80
|
+
abstract calculateNeighborWhenAddStop(): void;
|
|
81
|
+
abstract addItemInner(itemObj: MeasureInfo): TemplateItem;
|
|
82
|
+
/**
|
|
83
|
+
* 调试开关:开启后每次 addItem 会检查新加入的 item 与之前所有 item 的内容矩形(不含 margin)是否重叠,重叠则 errorLogger 报错。
|
|
84
|
+
*/
|
|
85
|
+
enableDebug(enable: boolean): void;
|
|
86
|
+
private debugReportOverlapIfNewItemOverlapsExisting;
|
|
87
|
+
addItem(itemObj: MeasureInfo): TemplateItem;
|
|
88
|
+
abstract getNextItem(baseId: number, hOffset: number, vOffset: number, moveType: number): TemplateItem | null;
|
|
89
|
+
abstract getVisibleItemList(visibleStart: number, visibleEnd: number, baseId: number): [number, number];
|
|
90
|
+
abstract updateItemSize(index: number, newSize: {
|
|
91
|
+
width: number;
|
|
92
|
+
height: number;
|
|
93
|
+
}): void;
|
|
94
|
+
getBoundingBoxSize(): {
|
|
95
|
+
width: number;
|
|
96
|
+
height: number;
|
|
97
|
+
};
|
|
98
|
+
getTailItemIndex(): number;
|
|
99
|
+
protected getTemplateItem(itemObj: MeasureInfo): TemplateItem;
|
|
100
|
+
private checkMeasureObject;
|
|
101
|
+
abstract removeItemTo(index: number): void;
|
|
102
|
+
}
|
|
103
|
+
export { MetroTemplate, };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { MetroTemplate, TemplateItem } from "./MetroTemplate";
|
|
6
|
+
declare class TemplateItemAdder {
|
|
7
|
+
private _MetroTemplate;
|
|
8
|
+
private _Data;
|
|
9
|
+
private _PageRange;
|
|
10
|
+
private _MeasureFunc;
|
|
11
|
+
private _CurIndex;
|
|
12
|
+
private _CurPage;
|
|
13
|
+
private _SideEffect;
|
|
14
|
+
private _Key;
|
|
15
|
+
private _ID;
|
|
16
|
+
private _OnAddDone;
|
|
17
|
+
private _ErrorLogger;
|
|
18
|
+
constructor(template_parser: MetroTemplate, data: Array<object>, measure_func: Function, page_range: number, side_effect: Function, id: number, onAddDone: Function | null | undefined, errorLogger: Function | null);
|
|
19
|
+
private addDataToTemplate;
|
|
20
|
+
tryAddItem(cur_item?: TemplateItem | null, page_num?: number, onAddDone?: Function): boolean | undefined;
|
|
21
|
+
tryAddItemByPosition(position: number, onAddDone?: Function): void;
|
|
22
|
+
tryAddItemByIndex(index: number, onAddDone?: Function): void;
|
|
23
|
+
tryAddItemById(id: number, onAddDone?: Function): void;
|
|
24
|
+
tryAddItemByUid(uid: string, onAddDone?: Function): void;
|
|
25
|
+
updateData(data: Array<object>): void;
|
|
26
|
+
removeItemTo(index: number): void;
|
|
27
|
+
}
|
|
28
|
+
export { TemplateItemAdder };
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewEngineWidget/WidgetCommon.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export declare const getCurFrameCount: () => any;
|
|
6
|
+
export declare class BaseDispatcher {
|
|
7
|
+
private _Component;
|
|
8
|
+
constructor();
|
|
9
|
+
registerComponent(component: any): void;
|
|
10
|
+
unregisterComponent(): void;
|
|
11
|
+
dispatch(event: any): void;
|
|
12
|
+
}
|
|
13
|
+
export declare const getMeasureObj: (width: number, height: number, focusable: number, hasSub: number) => {
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
focusable: number;
|
|
17
|
+
hasSub: number;
|
|
18
|
+
};
|
|
19
|
+
export declare function getPositionRelativeToView(divElement: any, targetElement: any): {
|
|
20
|
+
left: number;
|
|
21
|
+
top: number;
|
|
22
|
+
width: any;
|
|
23
|
+
height: any;
|
|
24
|
+
} | null;
|
|
25
|
+
export declare const EdgeDirection: {
|
|
26
|
+
left: symbol;
|
|
27
|
+
right: symbol;
|
|
28
|
+
top: symbol;
|
|
29
|
+
bottom: symbol;
|
|
30
|
+
opposite: (dir: Symbol) => symbol | undefined;
|
|
31
|
+
};
|
|
32
|
+
export declare const SlideStyle: {
|
|
33
|
+
seamLess: symbol;
|
|
34
|
+
wholePage: symbol;
|
|
35
|
+
seamlessFixedId: symbol;
|
|
36
|
+
startBoundaryProtect: number;
|
|
37
|
+
endBoundaryProtect: number;
|
|
38
|
+
};
|
|
39
|
+
export { VERTICAL, HORIZONTAL } from "../JsViewVueTools/ConstSymbol";
|
|
40
|
+
export declare class SlideSetting {
|
|
41
|
+
static Type: {
|
|
42
|
+
WHOLE_PAGE: number;
|
|
43
|
+
SEAMLESS: number;
|
|
44
|
+
FIX_POSITION: number;
|
|
45
|
+
};
|
|
46
|
+
static START_PROTECT: number;
|
|
47
|
+
static END_PROTECT: number;
|
|
48
|
+
readonly Type: number;
|
|
49
|
+
readonly Speed: number | null;
|
|
50
|
+
readonly Easing: string;
|
|
51
|
+
readonly BoundaryProtect: number;
|
|
52
|
+
readonly Duration: number | null;
|
|
53
|
+
protected constructor(type: number, speed: number, duration: number | null, easing: string, boundaryProtect: number);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* 整页滚动的设置
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
* @constructor WholePageSlide
|
|
60
|
+
* @extends SlideSetting
|
|
61
|
+
* @param {Object} settings 设置,结构为{
|
|
62
|
+
* speed: 滚动速度, 像素/毫秒
|
|
63
|
+
* easing: 滚动动画的easing
|
|
64
|
+
* boundaryProtect: 确定滚动位置能否小于0或者大于最大长度
|
|
65
|
+
* }
|
|
66
|
+
**/
|
|
67
|
+
export declare class WholePageSlide extends SlideSetting {
|
|
68
|
+
constructor({ speed, easing, boundaryProtect, duration, }?: {
|
|
69
|
+
speed?: number | undefined;
|
|
70
|
+
easing?: string | undefined;
|
|
71
|
+
boundaryProtect?: number | undefined;
|
|
72
|
+
duration?: null | undefined;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* 无缝滚动的设置类
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
* @constructor SeamlessSlide
|
|
80
|
+
* @extends SlideSetting
|
|
81
|
+
* @param {Object} settings 设置,结构为{
|
|
82
|
+
* startPercent: 左/上侧触发滚动的比例 0-1
|
|
83
|
+
* endPercent: 右/下侧触发滚动的比例 0-1, 从起点计数, 末尾为1.0
|
|
84
|
+
* headRange: 左/上按键触发滚动的区域比例 0-1
|
|
85
|
+
* tailRange: 右/下按键触发滚动的区域比例 0-1, 从终点计数,末尾为0
|
|
86
|
+
* startPercent/endPercent 和 headRange/tailRange 二选一
|
|
87
|
+
* headSafeArea: 保证头部item完整显示的安全区域大小
|
|
88
|
+
* tailSafeArea: 保证尾部item完整显示的安全区域大小
|
|
89
|
+
* speed: 像素/毫秒, 用于计算duration的辅助值, 因为MetroWidget每个行间可能距离不一样,
|
|
90
|
+
* 使用时根据speed, 按匀速反算duration
|
|
91
|
+
* duration: 动画时长(毫秒)。当 duration 为 number 时优先于 speed;
|
|
92
|
+
* 若为 null/不传则按 speed 计算时长
|
|
93
|
+
* easing(String): 滚动动画的easing,可不填(实现中默认为空字符串);
|
|
94
|
+
* 非匀速时推荐为 "cubic-bezier(X, X, X, X)"
|
|
95
|
+
* boundaryProtect: 确定滚动位置能否小于0或者大于最大长度,默认值为 START_PROTECT | END_PROTECT,即都开启
|
|
96
|
+
* START_PROTECT: 是否要让头部卡在边缘而不是滚动到 headRange 的位置
|
|
97
|
+
* END_PROTECT: 是否要让尾部卡在边缘而不是滚动到 tailRange 的位置
|
|
98
|
+
* 若不开启,则 slide 出来的项目可能不是完整的项目,而是以焦点元素的边缘对齐 range(head 或 tail)的百分比位置;
|
|
99
|
+
* 对齐策略为:往 head 滑动时,用起始边缘对准 headRange,往 tail 滑动时,用起始边缘对准 tailRange
|
|
100
|
+
* fixFirstPage: 默认为false, 代表第一屏不滚动, 当到第一屏边缘开始才按照正常的无缝滚动逻辑滚动,
|
|
101
|
+
若回到第一屏区域时则会把第一屏完整的滚动回来
|
|
102
|
+
* }
|
|
103
|
+
**/
|
|
104
|
+
export declare class SeamlessSlide extends SlideSetting {
|
|
105
|
+
readonly StartPercent: number;
|
|
106
|
+
readonly EndPercent: number;
|
|
107
|
+
readonly FixFirstPage: boolean;
|
|
108
|
+
readonly HeadSafeArea: number;
|
|
109
|
+
readonly TailSafeArea: number;
|
|
110
|
+
constructor({ startPercent, endPercent, headRange, tailRange, headSafeArea, tailSafeArea, speed, duration, easing, fixFirstPage, boundaryProtect, }?: {
|
|
111
|
+
startPercent?: number | undefined;
|
|
112
|
+
endPercent?: number | undefined;
|
|
113
|
+
headRange?: undefined;
|
|
114
|
+
tailRange?: undefined;
|
|
115
|
+
headSafeArea?: number | undefined;
|
|
116
|
+
tailSafeArea?: number | undefined;
|
|
117
|
+
speed?: number | undefined;
|
|
118
|
+
duration?: null | undefined;
|
|
119
|
+
easing?: string | undefined;
|
|
120
|
+
fixFirstPage?: boolean | undefined;
|
|
121
|
+
boundaryProtect?: number | undefined;
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* 固定位置滚动的设置, 滚动时当前 item 的中心会对齐固定的位置
|
|
126
|
+
*
|
|
127
|
+
* @public
|
|
128
|
+
* @constructor FixPositionSlide
|
|
129
|
+
* @extends SlideSetting
|
|
130
|
+
* @param {Object} settings 设置,结构为{
|
|
131
|
+
* fixPercent: 固定位置的比例
|
|
132
|
+
* speed: 滚动速度, 像素/毫秒
|
|
133
|
+
* easing: 滚动动画的easing
|
|
134
|
+
* boundaryProtect: 确定滚动位置能否小于0或者大于最大长度
|
|
135
|
+
* fixFirstPage: 首页不滚动
|
|
136
|
+
* align: 对齐方式 start, center, end
|
|
137
|
+
* }
|
|
138
|
+
**/
|
|
139
|
+
export declare class FixPositionSlide extends SlideSetting {
|
|
140
|
+
readonly FixPercent: number;
|
|
141
|
+
readonly FixFirstPage: boolean;
|
|
142
|
+
readonly Align: "start" | "center" | "end";
|
|
143
|
+
constructor({ fixPercent, speed, duration, easing, fixFirstPage, align, boundaryProtect, }?: {
|
|
144
|
+
fixPercent?: number;
|
|
145
|
+
speed?: number;
|
|
146
|
+
duration?: number | null;
|
|
147
|
+
easing?: string;
|
|
148
|
+
fixFirstPage?: boolean;
|
|
149
|
+
align?: "start" | "center" | "end";
|
|
150
|
+
boundaryProtect?: number;
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
export declare const FocusMoveType: {
|
|
154
|
+
NO_ADJUST: number;
|
|
155
|
+
COLUMN_LOOP: number;
|
|
156
|
+
ROW_LOOP: number;
|
|
157
|
+
COLUMN_FIND_NEAR: number;
|
|
158
|
+
ROW_FIND_NEAR: number;
|
|
159
|
+
};
|
|
160
|
+
export declare const RENDER_ITEM_BREAK_KEY = "__QcodeJsviewMetroWidgetSlot";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewEngineWidget/index.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/*!
|
|
6
|
+
* @Author: ChenChanghua
|
|
7
|
+
* @Date: 2021-06-16 10:07:20
|
|
8
|
+
* @LastEditors: ChenChanghua
|
|
9
|
+
* @LastEditTime: 2022-11-07 14:50:02
|
|
10
|
+
* @Description: file content
|
|
11
|
+
*/
|
|
12
|
+
export * from "./WidgetCommon";
|
|
13
|
+
export * from "./MetroWidget/Dispatcher";
|
|
14
|
+
export { default as SimpleWidget } from "./MetroWidget/MetroWidget.vue";
|
|
15
|
+
export { default as MetroWidget } from "./MetroWidget/MetroWidget.vue";
|
|
16
|
+
export { default as ListWidget } from "./MetroWidget/ListWidget.vue";
|
|
17
|
+
export { METRO_WIDGET, METRO_WIDGET_CONST, ONEDGE_TYPE } from "./MetroWidget/Const";
|
|
18
|
+
export { default as JsvFocusBlock } from "./JsvFocus/JsvFocusBlock.vue";
|
|
19
|
+
export { jsvCreateFocusManager, useFocusHub } from "./JsvFocus/JsvFocusManager";
|
|
20
|
+
export { default as SpatialNavProvider } from "./SpatialNavigator/SpatialNavProvider.vue";
|
|
21
|
+
export { SPATIAL_NAV_PROVIDER_NAME } from "./SpatialNavigator/SpatialNavigator";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewPlugin/JsvAccount/JsvAccount.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export default JsvAccount;
|
|
6
|
+
declare class JsvAccount {
|
|
7
|
+
/**
|
|
8
|
+
* 构造函数
|
|
9
|
+
* @param {function} callback,插件初始化结果,如果返回的结果为"success",表示成功,否则表示失败。
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
constructor(callback: Function);
|
|
13
|
+
/**
|
|
14
|
+
* 注册登陆状态变化通知函数
|
|
15
|
+
* @param {function} callback,通知函数
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
registerLoginLogoutCallback(callback: Function): void;
|
|
19
|
+
/**
|
|
20
|
+
* 注销登陆状态变化通知函数
|
|
21
|
+
* @param {function} callback,通知函数
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
unRegisterLoginLogoutCallback(callback: Function): void;
|
|
25
|
+
/**
|
|
26
|
+
* 获取账号信息
|
|
27
|
+
* @returns {string} json数据结构,账号信息
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
getAccountInfo(): string;
|
|
31
|
+
/**
|
|
32
|
+
* 打开登陆界面
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
startLoginPage(): void;
|
|
36
|
+
/**
|
|
37
|
+
* 打开用户信息界面,不可用
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
startUserDetailsPage(): void;
|
|
41
|
+
/**
|
|
42
|
+
* 打开用户中心界面,不可用
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
startUserCenterPage(): void;
|
|
46
|
+
}
|