@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,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/SharedDefine.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export declare const InputType: {
|
|
6
|
+
TEXT: any;
|
|
7
|
+
NUMBER: any;
|
|
8
|
+
PASSWORD: any;
|
|
9
|
+
};
|
|
10
|
+
export declare interface FontStyleDefine {
|
|
11
|
+
fontSize: number;
|
|
12
|
+
fontFamily: string;
|
|
13
|
+
textAlign: string;
|
|
14
|
+
fontStyle: string;
|
|
15
|
+
fontWeight: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const MAX_WIDTH = 2000;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvInput/SystemTextTools.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare interface FontStyleDefine {
|
|
6
|
+
fontSize: number;
|
|
7
|
+
fontFamily: string;
|
|
8
|
+
textAlign: string;
|
|
9
|
+
fontStyle: string;
|
|
10
|
+
fontWeight: string;
|
|
11
|
+
}
|
|
12
|
+
export interface CursorResult {
|
|
13
|
+
x: number;
|
|
14
|
+
cachedId: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function calculateCursorPosition(display_text: string, cursor_offset: number, rect_width: number, rect_height: number, line_height: number, font_style: FontStyleDefine): CursorResult;
|
|
17
|
+
export declare function calculateCursorPositionCached(cursor_offset: number, cached_id: number): number;
|
|
18
|
+
export declare function recycleCursorMeasureCache(cached_id: any): void;
|
|
19
|
+
export declare function getTextDisplayWidth(text: string, font_style: FontStyleDefine): any;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvLine/JsvLine.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvLine:Vue高阶组件,用于划线。支持横线、竖线和斜线。
|
|
10
|
+
* props说明:(注意:全部属性非响应式, 需要变更时用 key 来触发重绘)
|
|
11
|
+
* startPos {Object} (必填) 起始位置,属性:x,y
|
|
12
|
+
* endPos {Object} (必填) 结束位置, 属性:x,y
|
|
13
|
+
* lineWidth {Number} (必填) 线条的粗细程度
|
|
14
|
+
* appear {String} 线条的出现方式 fadeIn 淡入 / fadeOut 淡出
|
|
15
|
+
* backgroundImage {String} 背景图片
|
|
16
|
+
* backgroundColor {String} 背景颜色,默认值:白色#FFFFFF
|
|
17
|
+
* borderRadius {Number} 圆角半径
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
22
|
+
$props: {
|
|
23
|
+
readonly borderRadius?: number | undefined;
|
|
24
|
+
readonly backgroundColor?: string | undefined;
|
|
25
|
+
readonly backgroundImage?: string | undefined;
|
|
26
|
+
readonly lineWidth?: number | undefined;
|
|
27
|
+
readonly startPos?: Record<string, any> | undefined;
|
|
28
|
+
readonly endPos?: Record<string, any> | undefined;
|
|
29
|
+
readonly appear?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvMarquee.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* 【模块 export 内容】
|
|
9
|
+
* JsvMarquee:Vue高阶组件,文字跑马灯
|
|
10
|
+
* props说明:
|
|
11
|
+
* text {String} 文字内容
|
|
12
|
+
* style {Object} 样式
|
|
13
|
+
* slideSpeed {int} 滚动速度 px/s, 默认60
|
|
14
|
+
* slideDirection{String} 滚动方向 ste(start to end)/ets(end to start)/ltr/rtl
|
|
15
|
+
* forceSlide {boolean} 短文字是否滚动,默认false
|
|
16
|
+
* timeGap {int} 每次完整移动的时间间隔 单位:ms
|
|
17
|
+
* textGap {int} 两屏之间的文字宽度间隔。
|
|
18
|
+
* 说明
|
|
19
|
+
* JsvMarquee会识别阿拉伯字符自动设置direction
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
23
|
+
$props: {
|
|
24
|
+
readonly style?: Record<string, any> | undefined;
|
|
25
|
+
readonly text?: string | undefined;
|
|
26
|
+
readonly slideSpeed?: number | undefined;
|
|
27
|
+
readonly slideDirection?: string | undefined;
|
|
28
|
+
readonly forceSlide?: boolean | undefined;
|
|
29
|
+
readonly timeGap?: number | undefined;
|
|
30
|
+
readonly textGap?: number | undefined;
|
|
31
|
+
};
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewVueWidget/JsvMaskClipDiv.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* JsvMaskClipDiv:蒙版遮罩处理组件
|
|
10
|
+
* props说明:
|
|
11
|
+
* style {Object} 布局样式(必需),样式对象内容为{left:0, top:0, width:xxx, height:xxx},
|
|
12
|
+
* maskSrc {string/URL} 蒙版图片,可为URL字符串,或者通过import进来的图片引用
|
|
13
|
+
* viewSrc {string/URL} 被遮罩的图片,可为URL字符串,或者通过import进来的图片引用
|
|
14
|
+
* maskTop {double} 蒙版相对于被遮罩图片的左上角Y定位,单位为百分比(Y坐标 / 被遮罩图片的高)
|
|
15
|
+
* maskLeft {double} 蒙版相对于被遮罩图片的左上角X定位,单位为百分比(X坐标 / 被遮罩图片的宽)
|
|
16
|
+
* maskWidth {double} 蒙版相对于被遮罩图片宽度的百分比(蒙版的宽度 / 被遮罩图片的宽)
|
|
17
|
+
* maskHeight{double} 蒙版相对于被遮罩图片高度的百分比(蒙版的高度 / 被遮罩图片的宽)
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
declare const _default: import("vue").DefineComponent<{
|
|
22
|
+
class: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
style: {
|
|
26
|
+
type: (ObjectConstructor | ArrayConstructor)[];
|
|
27
|
+
};
|
|
28
|
+
maskSrc: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
};
|
|
31
|
+
viewSrc: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
};
|
|
34
|
+
maskTop: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
maskBottom: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
};
|
|
40
|
+
maskLeft: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
};
|
|
43
|
+
maskRight: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
};
|
|
46
|
+
maskWidth: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
};
|
|
49
|
+
maskHeight: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
innerView: null;
|
|
54
|
+
innerViewId: number;
|
|
55
|
+
styleDetail: null;
|
|
56
|
+
cache: {
|
|
57
|
+
viewSrc: null;
|
|
58
|
+
maskSrc: null;
|
|
59
|
+
maskTop: number;
|
|
60
|
+
maskLeft: number;
|
|
61
|
+
maskWidth: number;
|
|
62
|
+
maskHeight: number;
|
|
63
|
+
styleList: null;
|
|
64
|
+
};
|
|
65
|
+
}, any, {}, {
|
|
66
|
+
_drawClip(canvas: any, clip_image: any, clip_ready: any, bg_image: any, bg_ready: any): void;
|
|
67
|
+
updateMainTexturePosition(): void;
|
|
68
|
+
_updateInnerView(): void;
|
|
69
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
class: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
};
|
|
73
|
+
style: {
|
|
74
|
+
type: (ObjectConstructor | ArrayConstructor)[];
|
|
75
|
+
};
|
|
76
|
+
maskSrc: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
viewSrc: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
};
|
|
82
|
+
maskTop: {
|
|
83
|
+
type: NumberConstructor;
|
|
84
|
+
};
|
|
85
|
+
maskBottom: {
|
|
86
|
+
type: NumberConstructor;
|
|
87
|
+
};
|
|
88
|
+
maskLeft: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
};
|
|
91
|
+
maskRight: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
};
|
|
94
|
+
maskWidth: {
|
|
95
|
+
type: NumberConstructor;
|
|
96
|
+
};
|
|
97
|
+
maskHeight: {
|
|
98
|
+
type: NumberConstructor;
|
|
99
|
+
};
|
|
100
|
+
}>>, {}>;
|
|
101
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Direction = "left" | "top" | "right" | "bottom";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/Constant.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export declare const LEFT = "left";
|
|
6
|
+
export declare const TOP = "top";
|
|
7
|
+
export declare const RIGHT = "right";
|
|
8
|
+
export declare const BOTTOM = "bottom";
|
|
9
|
+
export declare const LEFT_BIT = 1;
|
|
10
|
+
export declare const TOP_BIT = 2;
|
|
11
|
+
export declare const RIGHT_BIT = 4;
|
|
12
|
+
export declare const BOTTOM_BIT = 8;
|
|
13
|
+
export declare function dirStrToBit(dir: string): number;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/DataTree.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { Rect } from "./Geometry";
|
|
6
|
+
import { Direction } from "./CommonType";
|
|
7
|
+
type MoveType = "star" | "layer" | "inherit";
|
|
8
|
+
export declare class DataNode {
|
|
9
|
+
idToken: number;
|
|
10
|
+
private static readonly DEFAULT_MOVE_TYPE;
|
|
11
|
+
parent: DataNode | null;
|
|
12
|
+
children: Array<DataNode>;
|
|
13
|
+
rect: Rect;
|
|
14
|
+
depth: number;
|
|
15
|
+
customerData: any;
|
|
16
|
+
customerId: string;
|
|
17
|
+
moveType: MoveType;
|
|
18
|
+
private lineList;
|
|
19
|
+
private moveInfoCache;
|
|
20
|
+
constructor(rect: Rect, depth: number, id: string, data: any, moveType?: MoveType, enableTap?: boolean);
|
|
21
|
+
get minX(): number;
|
|
22
|
+
get maxX(): number;
|
|
23
|
+
get minY(): number;
|
|
24
|
+
get maxY(): number;
|
|
25
|
+
addLine(lineObj: any): void;
|
|
26
|
+
getLineList(): any[];
|
|
27
|
+
getParentDir(): Direction | null;
|
|
28
|
+
insert(r: DataNode): void;
|
|
29
|
+
find(equalFunc: Function): DataNode | null;
|
|
30
|
+
/**
|
|
31
|
+
* 获取子tree的所有节点的列表(包含此节点)
|
|
32
|
+
*/
|
|
33
|
+
all(): DataNode[];
|
|
34
|
+
/**
|
|
35
|
+
* 寻找指定方向的node
|
|
36
|
+
* 移动逻辑说明:
|
|
37
|
+
* moveType代表本节点和其子节点之间的移动方式
|
|
38
|
+
* star:
|
|
39
|
+
*/
|
|
40
|
+
findNode(direction: Direction): symbol | DataNode | null;
|
|
41
|
+
private calculateMoveInfo;
|
|
42
|
+
private getLayoutChildDir;
|
|
43
|
+
private findListCommonDir;
|
|
44
|
+
/**
|
|
45
|
+
* 寻找指定方向的同级节点, 寻找逻辑:
|
|
46
|
+
* 1. 寻找该方向的最近兄弟节点, 否则就寻找父的最近兄弟节点, 直到找到节点或者到达根节点
|
|
47
|
+
* 2. 若找到的是其他子树的节点, 则往叶方向寻找与本分支同级节点最近的节点, 直到无子或者找到与本节点同级的节点为止
|
|
48
|
+
* @param direction
|
|
49
|
+
*/
|
|
50
|
+
private findNearestBrother;
|
|
51
|
+
private cleanMoveInfoCache;
|
|
52
|
+
private getMoveType;
|
|
53
|
+
/**
|
|
54
|
+
* 寻找最近的node
|
|
55
|
+
*/
|
|
56
|
+
private findNearest;
|
|
57
|
+
private findDirNearest;
|
|
58
|
+
private customerListener;
|
|
59
|
+
private mounted;
|
|
60
|
+
private focused;
|
|
61
|
+
private divRef;
|
|
62
|
+
private lineStyle;
|
|
63
|
+
enableTap: boolean;
|
|
64
|
+
onTap: import("vue").ComputedRef<(() => void) | null>;
|
|
65
|
+
setLineStyle(style: any): void;
|
|
66
|
+
getLineStyle(): any;
|
|
67
|
+
onFocus(): void;
|
|
68
|
+
onBlur(): void;
|
|
69
|
+
onClick(): void;
|
|
70
|
+
getRegister(): {
|
|
71
|
+
register: (name: string, func: Function) => void;
|
|
72
|
+
};
|
|
73
|
+
onRef: (divRef: any) => void;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/Geometry.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { Direction } from "./CommonType";
|
|
6
|
+
export declare function opposite(dir: Direction): Direction;
|
|
7
|
+
export declare class Point {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
constructor(x: number, y: number);
|
|
11
|
+
distance(p: Point, quad?: boolean): number;
|
|
12
|
+
/**
|
|
13
|
+
* 获取两点指点的相对位置(四向划分, 以45度线为界)
|
|
14
|
+
* @param p
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
relativeTo(p: Point): "left" | "right" | "top" | "bottom";
|
|
18
|
+
clone(): Point;
|
|
19
|
+
}
|
|
20
|
+
export declare class Line {
|
|
21
|
+
p0: Point;
|
|
22
|
+
p1: Point;
|
|
23
|
+
constructor(p0: Point, p1: Point);
|
|
24
|
+
get center(): Point;
|
|
25
|
+
}
|
|
26
|
+
export declare class Rect {
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
constructor(x: number, y: number, width: number, height: number);
|
|
32
|
+
/**
|
|
33
|
+
* 计算两个矩形之间的最小距离
|
|
34
|
+
* @param rect
|
|
35
|
+
* @param quad
|
|
36
|
+
* @returns
|
|
37
|
+
*/
|
|
38
|
+
distance(rect: Rect, quad?: boolean): number;
|
|
39
|
+
/**
|
|
40
|
+
* 获取两个矩形的相对位置
|
|
41
|
+
* @param rect 自身相对于rect的位置
|
|
42
|
+
* @returns
|
|
43
|
+
*/
|
|
44
|
+
relativeTo(rect: Rect, eightDirInfo?: {
|
|
45
|
+
value: number;
|
|
46
|
+
} | null): "left" | "right" | "top" | "bottom";
|
|
47
|
+
getEdge(dir: Direction): Line;
|
|
48
|
+
containPoint(point: Point): boolean;
|
|
49
|
+
containRect(rect: Rect): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* 获取矩形中离点最近的点
|
|
52
|
+
* @param point
|
|
53
|
+
*/
|
|
54
|
+
getClosestPoint(point: Point): Point;
|
|
55
|
+
get topLeft(): Point;
|
|
56
|
+
get topRight(): Point;
|
|
57
|
+
get bottomLeft(): Point;
|
|
58
|
+
get bottomRight(): Point;
|
|
59
|
+
get center(): Point;
|
|
60
|
+
get leftEdge(): Line;
|
|
61
|
+
get topEdge(): Line;
|
|
62
|
+
get rightEdge(): Line;
|
|
63
|
+
get bottomEdge(): Line;
|
|
64
|
+
get left(): number;
|
|
65
|
+
get top(): number;
|
|
66
|
+
get right(): number;
|
|
67
|
+
get bottom(): number;
|
|
68
|
+
get minX(): number;
|
|
69
|
+
get maxX(): number;
|
|
70
|
+
get minY(): number;
|
|
71
|
+
get maxY(): number;
|
|
72
|
+
}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file
|
|
7
|
+
*
|
|
8
|
+
* [界面概述]
|
|
9
|
+
* 思维导图控件
|
|
10
|
+
*
|
|
11
|
+
* [控件介绍]
|
|
12
|
+
* JsvMindMap:
|
|
13
|
+
* props:
|
|
14
|
+
* name: {string} 焦点name
|
|
15
|
+
* provideData: {function} 提供数据的函数
|
|
16
|
+
* width: {number} 组件宽
|
|
17
|
+
* height: {number} 组件高
|
|
18
|
+
* formatNode: {function} 接受数据, 返回标准格式节点信息的函数
|
|
19
|
+
* {
|
|
20
|
+
* left: number, left(必需)
|
|
21
|
+
* top: number, top(必需)
|
|
22
|
+
* width: number, width(必需)
|
|
23
|
+
* height: number, height(必需)
|
|
24
|
+
* id: string, 节点的唯一id(必需)
|
|
25
|
+
* childrenList: Array<any>, 子数据列表
|
|
26
|
+
* moveType: "star" | "layer" | "inherit", 节点布局类型(可选)
|
|
27
|
+
* lineStyle: object 此节点线的style
|
|
28
|
+
* {
|
|
29
|
+
* lineWidth: number, 线宽
|
|
30
|
+
* backgroundColor: string, 线的颜色(与backgroundImage互斥)
|
|
31
|
+
* backgroundImage: string, 线的图片(与backgroundColor互斥)
|
|
32
|
+
* borderRadius: string | number, 线的圆角设置
|
|
33
|
+
* }
|
|
34
|
+
* enableTap: boolean, 是否支持点击
|
|
35
|
+
* }
|
|
36
|
+
* left: {number} 组件left
|
|
37
|
+
* top: {number} 组件top
|
|
38
|
+
* slideAnim: {object} 滚动动画设置, { duration: number, easing?: string }, duration为毫秒
|
|
39
|
+
* onEdge: {function} 到达边缘回调
|
|
40
|
+
* focusRectPadding: {number} 焦点区域内边距
|
|
41
|
+
* renderRectMargin: {number} 描画区域外边距
|
|
42
|
+
* methods:
|
|
43
|
+
* getCurFocusNode
|
|
44
|
+
* @description 获取当前焦点的数据
|
|
45
|
+
* @return {object} 当前焦点节点的数据
|
|
46
|
+
* getCurFocusId
|
|
47
|
+
* @description 获取当前焦点的id
|
|
48
|
+
* @return {string} 当前节点的id
|
|
49
|
+
* getCurVisibleRect
|
|
50
|
+
* @description 获取当前的可视区域
|
|
51
|
+
* @return {object} 可视区域{x: number, y: number, width: number, height: number}
|
|
52
|
+
* slideTo
|
|
53
|
+
* @description 滚动到指定位置
|
|
54
|
+
* @params {int} x x坐标
|
|
55
|
+
* @params {int} y y坐标
|
|
56
|
+
* @params {object} animInfo 动画设置, 为null时不做动画. {duration: number, easing: string, onEnd: function}
|
|
57
|
+
* setFocusTo
|
|
58
|
+
* @description 设置焦点
|
|
59
|
+
* @params {string} id 目标节点的id
|
|
60
|
+
* @params {boolean} needSlide 是否需要滚动
|
|
61
|
+
* @params {object} animInfo 滚动动画设置
|
|
62
|
+
* moveInItem
|
|
63
|
+
* @description 把指定节点移入焦点区域
|
|
64
|
+
* @params {string} id 目标节点的id
|
|
65
|
+
* @params {object} animInfo 动画信息
|
|
66
|
+
* moveFocus
|
|
67
|
+
* @description 往指定方向移动焦点
|
|
68
|
+
* @params {string} direction 移动方向 "left" | "top" | "right" | "bottom"
|
|
69
|
+
* getEntireTreeBoundingSize
|
|
70
|
+
* @description 获取整个树的包围框宽高
|
|
71
|
+
* @return {object} 宽高 {width: number, height: number}
|
|
72
|
+
* refreshData
|
|
73
|
+
* @description 刷新数据
|
|
74
|
+
* setSensor {(callback: ({left: number, top: number}) => void, sensitivity: number) => void}
|
|
75
|
+
* 设置运动后触发的回调, sensitivity为回调敏感度, 每移动多少像素进行回调,适当放大(推荐10以上)可以极大减小对js回调过多引起的性能降低
|
|
76
|
+
*
|
|
77
|
+
* [额外说明]
|
|
78
|
+
* 1. 焦点移动逻辑
|
|
79
|
+
* 每个节点首先有个父方向, 若父节点是star模式, 则父方向由父节点相对位置决定, 若父节点是layer模式, 则父方向为父节点子方向的反向
|
|
80
|
+
* layer模式的节点, 有一个子方向, 其子方向是所有子所在的一侧方向(只有上下左右四侧), 若无子, 则父方向的反向为子方向. 确定了父方向和子方向后, 剩余两个方向则寻找该方向最近的兄弟节点, 若无则寻找最近分支上最近的同级或者叶节点
|
|
81
|
+
* star模式的节点, 除了父方向, 剩余三个方向均寻找相应方向的最近子节点, 若未找到则按layer寻找兄弟节点相同的逻辑寻找同级节点
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
declare const _default: {
|
|
85
|
+
new (...args: any[]): {
|
|
86
|
+
$: import("vue").ComponentInternalInstance;
|
|
87
|
+
$data: {};
|
|
88
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
89
|
+
$attrs: {
|
|
90
|
+
[x: string]: unknown;
|
|
91
|
+
};
|
|
92
|
+
$refs: {
|
|
93
|
+
[x: string]: unknown;
|
|
94
|
+
};
|
|
95
|
+
$slots: Readonly<{
|
|
96
|
+
[name: string]: import("vue").Slot | undefined;
|
|
97
|
+
}>;
|
|
98
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
99
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
100
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
101
|
+
$el: any;
|
|
102
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
103
|
+
getCurFocusNode: () => any;
|
|
104
|
+
getCurFocusId: () => number;
|
|
105
|
+
getCurVisibleRect: () => Rect;
|
|
106
|
+
slideTo: (x: int, y: int, animInfo: object) => void;
|
|
107
|
+
setFocusTo: (id: string, needSlide: boolean | undefined, animInfo: object) => void;
|
|
108
|
+
moveInItem: (id: string, animInfo: object) => void;
|
|
109
|
+
moveFocus: (direction: string) => void;
|
|
110
|
+
getEntireTreeBoundingSize: () => {
|
|
111
|
+
width: number;
|
|
112
|
+
height: number;
|
|
113
|
+
};
|
|
114
|
+
refreshData: () => void;
|
|
115
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
116
|
+
$props: {
|
|
117
|
+
readonly name?: string | undefined;
|
|
118
|
+
readonly top?: number | undefined;
|
|
119
|
+
readonly left?: number | undefined;
|
|
120
|
+
readonly width?: number | undefined;
|
|
121
|
+
readonly height?: number | undefined;
|
|
122
|
+
readonly provideData?: Function | undefined;
|
|
123
|
+
readonly touchFlag?: number | undefined;
|
|
124
|
+
readonly formatNode?: Function | undefined;
|
|
125
|
+
readonly focusRectPadding?: number | undefined;
|
|
126
|
+
readonly renderRectMargin?: number | undefined;
|
|
127
|
+
readonly onEdge?: Function | undefined;
|
|
128
|
+
readonly slideAnim?: Record<string, any> | undefined;
|
|
129
|
+
};
|
|
130
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
131
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
132
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
133
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
134
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
135
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
136
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
137
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
138
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
139
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
140
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
141
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
142
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
143
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
144
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
145
|
+
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;
|
|
146
|
+
};
|
|
147
|
+
$forceUpdate: () => void;
|
|
148
|
+
$nextTick: typeof import("vue").nextTick;
|
|
149
|
+
$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;
|
|
150
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{
|
|
151
|
+
getCurFocusNode: () => any;
|
|
152
|
+
getCurFocusId: () => number;
|
|
153
|
+
getCurVisibleRect: () => Rect;
|
|
154
|
+
slideTo: (x: int, y: int, animInfo: object) => void;
|
|
155
|
+
setFocusTo: (id: string, needSlide: boolean | undefined, animInfo: object) => void;
|
|
156
|
+
moveInItem: (id: string, animInfo: object) => void;
|
|
157
|
+
moveFocus: (direction: string) => void;
|
|
158
|
+
getEntireTreeBoundingSize: () => {
|
|
159
|
+
width: number;
|
|
160
|
+
height: number;
|
|
161
|
+
};
|
|
162
|
+
refreshData: () => void;
|
|
163
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
164
|
+
$props: {
|
|
165
|
+
readonly name?: string | undefined;
|
|
166
|
+
readonly top?: number | undefined;
|
|
167
|
+
readonly left?: number | undefined;
|
|
168
|
+
readonly width?: number | undefined;
|
|
169
|
+
readonly height?: number | undefined;
|
|
170
|
+
readonly provideData?: Function | undefined;
|
|
171
|
+
readonly touchFlag?: number | undefined;
|
|
172
|
+
readonly formatNode?: Function | undefined;
|
|
173
|
+
readonly focusRectPadding?: number | undefined;
|
|
174
|
+
readonly renderRectMargin?: number | undefined;
|
|
175
|
+
readonly onEdge?: Function | undefined;
|
|
176
|
+
readonly slideAnim?: Record<string, any> | undefined;
|
|
177
|
+
};
|
|
178
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
179
|
+
__isFragment?: undefined;
|
|
180
|
+
__isTeleport?: undefined;
|
|
181
|
+
__isSuspense?: undefined;
|
|
182
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
183
|
+
getCurFocusNode: () => any;
|
|
184
|
+
getCurFocusId: () => number;
|
|
185
|
+
getCurVisibleRect: () => Rect;
|
|
186
|
+
slideTo: (x: int, y: int, animInfo: object) => void;
|
|
187
|
+
setFocusTo: (id: string, needSlide: boolean | undefined, animInfo: object) => void;
|
|
188
|
+
moveInItem: (id: string, animInfo: object) => void;
|
|
189
|
+
moveFocus: (direction: string) => void;
|
|
190
|
+
getEntireTreeBoundingSize: () => {
|
|
191
|
+
width: number;
|
|
192
|
+
height: number;
|
|
193
|
+
};
|
|
194
|
+
refreshData: () => void;
|
|
195
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
196
|
+
$props: {
|
|
197
|
+
readonly name?: string | undefined;
|
|
198
|
+
readonly top?: number | undefined;
|
|
199
|
+
readonly left?: number | undefined;
|
|
200
|
+
readonly width?: number | undefined;
|
|
201
|
+
readonly height?: number | undefined;
|
|
202
|
+
readonly provideData?: Function | undefined;
|
|
203
|
+
readonly touchFlag?: number | undefined;
|
|
204
|
+
readonly formatNode?: Function | undefined;
|
|
205
|
+
readonly focusRectPadding?: number | undefined;
|
|
206
|
+
readonly renderRectMargin?: number | undefined;
|
|
207
|
+
readonly onEdge?: Function | undefined;
|
|
208
|
+
readonly slideAnim?: Record<string, any> | undefined;
|
|
209
|
+
};
|
|
210
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
211
|
+
$slots: {
|
|
212
|
+
background: (_: {}) => any;
|
|
213
|
+
default: (_: {
|
|
214
|
+
data: any;
|
|
215
|
+
handler: {
|
|
216
|
+
getCurFocusNode: () => any;
|
|
217
|
+
getCurFocusId: () => number;
|
|
218
|
+
getCurVisibleRect: () => Rect;
|
|
219
|
+
slideTo: (x: int, y: int, animInfo: object) => void;
|
|
220
|
+
setFocusTo: (id: string, needSlide: boolean | undefined, animInfo: object) => void;
|
|
221
|
+
moveInItem: (id: string, animInfo: object) => void;
|
|
222
|
+
moveFocus: (direction: string) => void;
|
|
223
|
+
getEntireTreeBoundingSize: () => {
|
|
224
|
+
width: number;
|
|
225
|
+
height: number;
|
|
226
|
+
};
|
|
227
|
+
refreshData: () => void;
|
|
228
|
+
setSensor: (callback: any, sensitivity?: number) => void;
|
|
229
|
+
};
|
|
230
|
+
onAction: any;
|
|
231
|
+
}) => any;
|
|
232
|
+
};
|
|
233
|
+
});
|
|
234
|
+
export default _default;
|
|
235
|
+
import { Rect } from "./Geometry";
|