@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,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
declare function enableOverlapCheck(enable: boolean): void;
|
|
6
|
+
declare function getDebugSetting(): {
|
|
7
|
+
enableOverlapCheck: boolean;
|
|
8
|
+
};
|
|
9
|
+
export { enableOverlapCheck, getDebugSetting, };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export function setup(props: any, itemRender: any, locateDiv: any, renderData: any, slideDiv: any, slideDivLeft: any, slideDivTop: any, focusNode: any, pageUpdateToken: any, touchDiv: any, touchDivSize: any, rootDiv: any, templateMode: any): {
|
|
6
|
+
widgetRectInfo: WidgetRectInfo;
|
|
7
|
+
focusBlockOnFocus: (params: any) => void;
|
|
8
|
+
focusBlockOnBlur: () => void;
|
|
9
|
+
focusBlockOnKeyDown: (ev: any) => boolean;
|
|
10
|
+
focusBlockOnKeyUp: (ev: any) => boolean;
|
|
11
|
+
focusBlockOnCustomEvent: (ev: any) => boolean | undefined;
|
|
12
|
+
_onFocusableItemEdge: (edge_info: any) => void;
|
|
13
|
+
exportObject: {
|
|
14
|
+
lockSlide: () => void;
|
|
15
|
+
unlockSlide: () => void;
|
|
16
|
+
lock: (type: any) => () => void;
|
|
17
|
+
unlock: (type: any) => void;
|
|
18
|
+
refreshData: (forceUpdate: boolean, slideToFocus?: string) => void;
|
|
19
|
+
moveFocus: (direction: any) => void;
|
|
20
|
+
slideTo: (position: any, doAnim: any) => void;
|
|
21
|
+
slideToItem: (index: any, doAnim: any) => void;
|
|
22
|
+
slideToDiv: (div: any, doAnim: any) => void;
|
|
23
|
+
setFocusId: (id: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
24
|
+
setFocusByUid: (uid: any, needSlide: boolean | undefined, doAnim: boolean | undefined, extraSetting: any) => void;
|
|
25
|
+
setEnterFocusId: (id: any) => void;
|
|
26
|
+
setEnterFocusRect: (rect: any) => void;
|
|
27
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
28
|
+
getFocusBlockRef: () => any;
|
|
29
|
+
getVisibleItems: () => {
|
|
30
|
+
start: number;
|
|
31
|
+
end: number;
|
|
32
|
+
dataList: any[];
|
|
33
|
+
};
|
|
34
|
+
getCustomerDataSize: () => number;
|
|
35
|
+
getCurrentFocusIndex: () => number;
|
|
36
|
+
getTemplatePosition: (index: any) => {
|
|
37
|
+
left: any;
|
|
38
|
+
top: any;
|
|
39
|
+
width: any;
|
|
40
|
+
height: any;
|
|
41
|
+
} | null;
|
|
42
|
+
setSlideSetting: (setting: any) => void;
|
|
43
|
+
cancelDelayLoad: () => void;
|
|
44
|
+
setSensorSensitivity: (sensitivity?: number) => void;
|
|
45
|
+
getItemLayoutInfo: (index: any) => {
|
|
46
|
+
left: any;
|
|
47
|
+
top: any;
|
|
48
|
+
width: any;
|
|
49
|
+
height: any;
|
|
50
|
+
} | null;
|
|
51
|
+
tmpDisableRenderBreak: () => void;
|
|
52
|
+
getItemVisibleState: (leftTop: any, rightBottom: any) => {
|
|
53
|
+
name: any;
|
|
54
|
+
index: number;
|
|
55
|
+
visibleState: string;
|
|
56
|
+
children: any;
|
|
57
|
+
widgetHandler: any;
|
|
58
|
+
focusable: any;
|
|
59
|
+
}[];
|
|
60
|
+
getCurrentVisibleRange: () => {
|
|
61
|
+
leftTop: {
|
|
62
|
+
x: number;
|
|
63
|
+
y: number;
|
|
64
|
+
};
|
|
65
|
+
rightBottom: {
|
|
66
|
+
x: any;
|
|
67
|
+
y: any;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
cleanFocusStatus: () => void;
|
|
71
|
+
getParentWidgetHandler: () => any;
|
|
72
|
+
getName: () => any;
|
|
73
|
+
};
|
|
74
|
+
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
75
|
+
onTouchDown: (data: any, customData: any, nexusCustomData: any) => void;
|
|
76
|
+
onTouchRelease: ((touchCount: any) => void) | undefined;
|
|
77
|
+
currentFocusIndex: import("vue").Ref<number>;
|
|
78
|
+
onDispatchKeyDown: (ev: any) => boolean;
|
|
79
|
+
isFocus: import("vue").Ref<boolean>;
|
|
80
|
+
rootNativeViewId: number;
|
|
81
|
+
};
|
|
82
|
+
import { WidgetRectInfo } from "./WidgetRectInfo";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { MetroTemplate } from "../TemplateParser/MetroTemplate";
|
|
6
|
+
export interface PermanentItemInfo {
|
|
7
|
+
index: number;
|
|
8
|
+
alreadyShow: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class PageUpdater {
|
|
11
|
+
private tmpRangeSet;
|
|
12
|
+
private rangeSet;
|
|
13
|
+
private updateFunc;
|
|
14
|
+
private count;
|
|
15
|
+
private applyedRange;
|
|
16
|
+
constructor(updateFunc: (renderSet: Set<number>) => void);
|
|
17
|
+
cleanCache(): void;
|
|
18
|
+
update(template: MetroTemplate, start: number, end: number, anchorId: number, mergeTmp: boolean, permanentList: Array<PermanentItemInfo> | null, fullDisplayMode?: boolean): {
|
|
19
|
+
apply: Function;
|
|
20
|
+
applyTmp: Function;
|
|
21
|
+
recover: Function;
|
|
22
|
+
};
|
|
23
|
+
getApplyedRange(): {
|
|
24
|
+
start: number;
|
|
25
|
+
end: number;
|
|
26
|
+
};
|
|
27
|
+
private apply;
|
|
28
|
+
private applyTmp;
|
|
29
|
+
getRange(): Set<number>;
|
|
30
|
+
getTmpRange(): Set<number>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/RenderItem.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import type { Ref } from "vue";
|
|
6
|
+
import { TemplateItem } from "../TemplateParser/MetroTemplate";
|
|
7
|
+
import { SpatialNavigationNode } from "../SpatialNavigator/SpatialNavigationNode";
|
|
8
|
+
interface RenderItemStyle {
|
|
9
|
+
zIndex: number;
|
|
10
|
+
left: number;
|
|
11
|
+
top: number;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
}
|
|
15
|
+
interface ItemConfig {
|
|
16
|
+
focusZIndex: number;
|
|
17
|
+
normalZIndex: number;
|
|
18
|
+
itemSlide: number;
|
|
19
|
+
permanent: boolean;
|
|
20
|
+
showSkeleton: boolean;
|
|
21
|
+
enableLongPress: boolean;
|
|
22
|
+
bindSpatialNav: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare class RenderItem {
|
|
25
|
+
private divMountedCallback;
|
|
26
|
+
customerData: object;
|
|
27
|
+
templateInfo: TemplateItem;
|
|
28
|
+
renderStyle: RenderItemStyle;
|
|
29
|
+
itemConfig: ItemConfig;
|
|
30
|
+
mounted: {
|
|
31
|
+
value: boolean;
|
|
32
|
+
};
|
|
33
|
+
touchInit: boolean;
|
|
34
|
+
rootDiv: HTMLDivElement | undefined;
|
|
35
|
+
enableTap: boolean;
|
|
36
|
+
renderKey: Ref<number>;
|
|
37
|
+
placeHolderLayout: null;
|
|
38
|
+
rootNativeViewId: number;
|
|
39
|
+
private nativeLayoutView;
|
|
40
|
+
private customerCallbackMap;
|
|
41
|
+
private onRef;
|
|
42
|
+
private metroWidgetInfos;
|
|
43
|
+
private isFocus;
|
|
44
|
+
readonly registerObj: object;
|
|
45
|
+
readonly query: object;
|
|
46
|
+
enableFboAccelrate: boolean;
|
|
47
|
+
renderBreak: boolean;
|
|
48
|
+
private spatialNavNode;
|
|
49
|
+
constructor(templateInfo: TemplateItem, customerData: object, renderStyle: RenderItemStyle, itemConfig: ItemConfig, onRef: () => void, query: object, metroWidgetInfos: any, enableFboAccelrate: boolean, widgetRenderBreak: boolean);
|
|
50
|
+
get id(): number;
|
|
51
|
+
get index(): number;
|
|
52
|
+
getSpatialNavNode(): SpatialNavigationNode | undefined;
|
|
53
|
+
updateCustomData(newCustomData: object, newItemConfig: ItemConfig): void;
|
|
54
|
+
divRef: (ele: HTMLDivElement | undefined) => void;
|
|
55
|
+
slotRef: (ele: object | null) => void;
|
|
56
|
+
register(name: string, callback: Function): void;
|
|
57
|
+
unregister(name: string): void;
|
|
58
|
+
onGetItemVisibleState(leftTop: {
|
|
59
|
+
x: number;
|
|
60
|
+
y: number;
|
|
61
|
+
}, rightBottom: {
|
|
62
|
+
x: number;
|
|
63
|
+
y: number;
|
|
64
|
+
}): any;
|
|
65
|
+
onFocus(rect: object): boolean;
|
|
66
|
+
onBlur(): boolean;
|
|
67
|
+
onGaze(rect: object): boolean;
|
|
68
|
+
onIgnore(): boolean;
|
|
69
|
+
readonly onTap: import("vue").ComputedRef<(() => boolean) | null>;
|
|
70
|
+
private innerOnTap;
|
|
71
|
+
onClick(): boolean;
|
|
72
|
+
onLongPress(): boolean;
|
|
73
|
+
onWidgetEdge(rect: object): boolean;
|
|
74
|
+
addDivMountedListener(cbk: (div: HTMLDivElement) => void): () => void;
|
|
75
|
+
onInRenderRange(): void;
|
|
76
|
+
onOutOfRenderRange(): void;
|
|
77
|
+
private onDivMounted;
|
|
78
|
+
private onDivUnmounted;
|
|
79
|
+
}
|
|
80
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/Slide.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export interface TargetRectInfo {
|
|
6
|
+
left: number;
|
|
7
|
+
top: number;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
frameCount: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class RectCache {
|
|
13
|
+
private preRect;
|
|
14
|
+
private curRect;
|
|
15
|
+
cache(rect: TargetRectInfo): void;
|
|
16
|
+
cacheManually(): void;
|
|
17
|
+
getCurRect(): TargetRectInfo | null;
|
|
18
|
+
getPreRect(): TargetRectInfo | null;
|
|
19
|
+
updatePre(key: "left" | "top" | "width" | "height", value: number): void;
|
|
20
|
+
clean(): void;
|
|
21
|
+
}
|
|
22
|
+
export declare const getDirectionByRect: (curRect: TargetRectInfo, preRect: TargetRectInfo) => {
|
|
23
|
+
horizontal: number;
|
|
24
|
+
vertical: number;
|
|
25
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/SlotComponent.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<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
24
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
25
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
26
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
37
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
38
|
+
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;
|
|
39
|
+
};
|
|
40
|
+
$forceUpdate: () => void;
|
|
41
|
+
$nextTick: typeof import("vue").nextTick;
|
|
42
|
+
$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;
|
|
43
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
44
|
+
__isFragment?: undefined;
|
|
45
|
+
__isTeleport?: undefined;
|
|
46
|
+
__isSuspense?: undefined;
|
|
47
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
48
|
+
$slots: {
|
|
49
|
+
default: (_: {}) => any;
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/TaskManager.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
interface AnimSetting {
|
|
6
|
+
easing?: string | null;
|
|
7
|
+
onStart?: () => void;
|
|
8
|
+
onEnd?: (done: boolean) => void;
|
|
9
|
+
duration?: number;
|
|
10
|
+
speed?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class SlideAnimWrapper {
|
|
13
|
+
private frameCount;
|
|
14
|
+
private forgeAnim;
|
|
15
|
+
private element;
|
|
16
|
+
private animSetting;
|
|
17
|
+
constructor(frameCount: number, element: any, from: [number, number], to: [number, number], setting: AnimSetting);
|
|
18
|
+
start(): void;
|
|
19
|
+
removeListener(): void;
|
|
20
|
+
stop(): void;
|
|
21
|
+
getFrameCount(): number;
|
|
22
|
+
private onStart;
|
|
23
|
+
private onEnd;
|
|
24
|
+
}
|
|
25
|
+
export declare class AnimationManager {
|
|
26
|
+
private animList;
|
|
27
|
+
private frameCount;
|
|
28
|
+
startSlideAnim(element: any, from: [number, number], to: [number, number], setting: AnimSetting): () => void;
|
|
29
|
+
private tryCleanOldAnim;
|
|
30
|
+
}
|
|
31
|
+
type CancelFunc = () => {};
|
|
32
|
+
export type TaskRunner = () => CancelFunc;
|
|
33
|
+
export declare enum TaskType {
|
|
34
|
+
RESIZE_ITEM = 1,
|
|
35
|
+
SLIDE = 2,
|
|
36
|
+
ON_FOCUS_CHANGE = 3
|
|
37
|
+
}
|
|
38
|
+
export declare enum SlideTaskType {
|
|
39
|
+
SLIDE_BY_POS = 1,
|
|
40
|
+
SLIDE_BY_ITEM = 2,
|
|
41
|
+
SLIDE_BY_DIV = 3,
|
|
42
|
+
SLIDE_BY_RECT = 4,
|
|
43
|
+
SLIDE_BY_POS_NORMALIZE = 5
|
|
44
|
+
}
|
|
45
|
+
type SubType = SlideTaskType | null;
|
|
46
|
+
interface Task {
|
|
47
|
+
frameCount: number;
|
|
48
|
+
type: TaskType;
|
|
49
|
+
subType: SubType;
|
|
50
|
+
params: any;
|
|
51
|
+
}
|
|
52
|
+
export interface AllTaskList {
|
|
53
|
+
slide: Array<Task>;
|
|
54
|
+
focus: Array<Task>;
|
|
55
|
+
resize: Array<Task>;
|
|
56
|
+
}
|
|
57
|
+
export type AddTaskCallback = (taskList: AllTaskList) => void;
|
|
58
|
+
export declare class TaskManager {
|
|
59
|
+
private onAddTask;
|
|
60
|
+
private frameCount;
|
|
61
|
+
private cancellableRunnerList;
|
|
62
|
+
private allTaskList;
|
|
63
|
+
constructor(onAddTask: AddTaskCallback);
|
|
64
|
+
private cleanTaskCache;
|
|
65
|
+
addTask(type: TaskType, params: any, subtype?: SubType): void;
|
|
66
|
+
run(func: TaskRunner): void;
|
|
67
|
+
cancelAllTask(): void;
|
|
68
|
+
}
|
|
69
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/VisibleInfo.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export declare class VisibleInfo {
|
|
6
|
+
private _start;
|
|
7
|
+
range: number;
|
|
8
|
+
padding: {
|
|
9
|
+
start: number;
|
|
10
|
+
end: number;
|
|
11
|
+
};
|
|
12
|
+
private _startMax;
|
|
13
|
+
set start(value: number);
|
|
14
|
+
get start(): number;
|
|
15
|
+
get end(): number;
|
|
16
|
+
get startMax(): number;
|
|
17
|
+
get startWithPadding(): number;
|
|
18
|
+
get endWithPadding(): number;
|
|
19
|
+
copy(): VisibleInfo;
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../../utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export interface Padding {
|
|
6
|
+
left: number;
|
|
7
|
+
top: number;
|
|
8
|
+
right: number;
|
|
9
|
+
bottom: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class WidgetRectInfo {
|
|
12
|
+
private mWidth;
|
|
13
|
+
private mHeight;
|
|
14
|
+
private mPadding;
|
|
15
|
+
constructor(w: number, h: number, padding: any, errorLogger: Function);
|
|
16
|
+
get width(): number;
|
|
17
|
+
get height(): number;
|
|
18
|
+
get contentWidth(): number;
|
|
19
|
+
get contentHeight(): number;
|
|
20
|
+
get padding(): Padding;
|
|
21
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
+ @file {@link file://./../../../utils/JsViewEngineWidget/RangeModel.js}
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export class RangesModel {
|
|
6
|
+
/**
|
|
7
|
+
* 范围计算模型(用于复数范围比较)<br>
|
|
8
|
+
* 例如:范围[-10, -2] + [2, 10] 与 范围[-8,-1] + [1, 8]进行交集计算<br>
|
|
9
|
+
* 再如:范围[-10, -2] + [2, 10] 与 范围 [-8, 8]进行排除运算
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
* @constructor Forge.RangesModel
|
|
13
|
+
* @param {int} start 范围的初始起点
|
|
14
|
+
* @param {int} end 范围的初始终点
|
|
15
|
+
* */
|
|
16
|
+
constructor(start: int, end: int);
|
|
17
|
+
/**
|
|
18
|
+
* 范围数组
|
|
19
|
+
* @public
|
|
20
|
+
* @name Forge.RangeModel#Ranges
|
|
21
|
+
* @type {Forge.SingleRangeModel[]}
|
|
22
|
+
*/
|
|
23
|
+
public Ranges: Forge.SingleRangeModel[];
|
|
24
|
+
/**
|
|
25
|
+
* 范围合并
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
* @func Merge
|
|
29
|
+
* @memberof Forge.RangesModel
|
|
30
|
+
* @instance
|
|
31
|
+
* @param {Forge.SingleRangeModel} merge_from
|
|
32
|
+
* */
|
|
33
|
+
public Merge(merge_from: Forge.SingleRangeModel): void;
|
|
34
|
+
/**
|
|
35
|
+
* 范围排除
|
|
36
|
+
*
|
|
37
|
+
* @public
|
|
38
|
+
* @func Exclude
|
|
39
|
+
* @memberof Forge.RangesModel
|
|
40
|
+
* @instance
|
|
41
|
+
* @param {Forge.SingleRangeModel} exclude_range
|
|
42
|
+
* */
|
|
43
|
+
public Exclude(exclude_range: Forge.SingleRangeModel): void;
|
|
44
|
+
/**
|
|
45
|
+
* 遍历范围数组的每个位置
|
|
46
|
+
*
|
|
47
|
+
* @public
|
|
48
|
+
* @func ForEach
|
|
49
|
+
* @memberof Forge.RangeModel
|
|
50
|
+
* @instance
|
|
51
|
+
* @param {function} callback 对于每个位置的回调处理,参数(int:当前位置值)。
|
|
52
|
+
* @param {boolean} invert 是否是倒序进行遍历,默认为正序
|
|
53
|
+
* */
|
|
54
|
+
public ForEach(callback: Function, invert: boolean): void;
|
|
55
|
+
/**
|
|
56
|
+
* 判断与另一个 RangesModel 是否相交
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
* @func IsInterAct
|
|
60
|
+
* @memberof Forge.RangesModel
|
|
61
|
+
* @instance
|
|
62
|
+
* @param {Forge.RangesModel} ranges 比较对象
|
|
63
|
+
* @return {Boolean} 是否相交
|
|
64
|
+
* */
|
|
65
|
+
public IsInterAct(ranges: Forge.RangesModel): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* 排除 另一个 RangesModel
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
* @func ExcludeRanges
|
|
71
|
+
* @memberof Forge.RangesModel
|
|
72
|
+
* @instance
|
|
73
|
+
* @param {Forge.RangesModel} ranges 比较对象
|
|
74
|
+
* */
|
|
75
|
+
public ExcludeRanges(ranges: Forge.RangesModel): void;
|
|
76
|
+
IsEmpty(): boolean;
|
|
77
|
+
Clone(): RangesModel;
|
|
78
|
+
}
|
|
79
|
+
export class SingleRangeModel {
|
|
80
|
+
/**
|
|
81
|
+
* 范围计算模型(RangesModel数组中的单元模型)
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
* @constructor Forge.SingleRangeModel
|
|
85
|
+
* @param {int} start 范围的初始起点
|
|
86
|
+
* @param {int} end 范围的初始终点
|
|
87
|
+
* */
|
|
88
|
+
constructor(start: int, end: int);
|
|
89
|
+
/**
|
|
90
|
+
* 范围的起始位置
|
|
91
|
+
* @public
|
|
92
|
+
* @name Forge.SingleRangeModel#Start
|
|
93
|
+
* @type {int}
|
|
94
|
+
*/
|
|
95
|
+
public Start: int;
|
|
96
|
+
/**
|
|
97
|
+
* 范围的结束位置
|
|
98
|
+
* @public
|
|
99
|
+
* @name Forge.SingleRangeModel#End
|
|
100
|
+
* @type {int}
|
|
101
|
+
*/
|
|
102
|
+
public End: int;
|
|
103
|
+
/**
|
|
104
|
+
* 与给定的单元范围进行合并
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
* @func Merge
|
|
108
|
+
* @memberof Forge.SingleRangeModel
|
|
109
|
+
* @instance
|
|
110
|
+
* @param {Forge.SingleRangeModel} merge_from 合并对象
|
|
111
|
+
* @return {boolean} true:合并成功(有交集或者范围恰好衔接),false:合并失败
|
|
112
|
+
* */
|
|
113
|
+
public Merge(merge_from: Forge.SingleRangeModel): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* 检查是否与给定单元范围有交集
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
* @func IsInterAct
|
|
119
|
+
* @memberof Forge.SingleRangeModel
|
|
120
|
+
* @instance
|
|
121
|
+
* @param {Forge.SingleRangeModel} rang 合并对象
|
|
122
|
+
* @return {boolean} true:有交集,false:无交集
|
|
123
|
+
* */
|
|
124
|
+
public IsInterAct(range: any): boolean;
|
|
125
|
+
/**
|
|
126
|
+
* 排除指定单元范围
|
|
127
|
+
*
|
|
128
|
+
* @public
|
|
129
|
+
* @func Exclude
|
|
130
|
+
* @memberof Forge.SingleRangeModel
|
|
131
|
+
* @instance
|
|
132
|
+
* @param {Forge.SingleRangeModel} exclude 指定单元范围
|
|
133
|
+
* @return {Object} {success(boolean):是否排除成功,如无交集则为false, <br>
|
|
134
|
+
* newSplitedRange(Forge.SingleRangeModel):进行排除后,被分离出来的后半段单元范围}
|
|
135
|
+
* */
|
|
136
|
+
public Exclude(exclude: Forge.SingleRangeModel): Object;
|
|
137
|
+
/**
|
|
138
|
+
* 范围是否空区域
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
* @func IsEmpty
|
|
142
|
+
* @memberof Forge.SingleRangeModel
|
|
143
|
+
* @instance
|
|
144
|
+
* @return {boolean} true:为空区域,false:不为空
|
|
145
|
+
* */
|
|
146
|
+
public IsEmpty(): boolean;
|
|
147
|
+
/**
|
|
148
|
+
* 将单元范围清成空区域
|
|
149
|
+
*
|
|
150
|
+
* @public
|
|
151
|
+
* @func Clear
|
|
152
|
+
* @memberof Forge.SingleRangeModel
|
|
153
|
+
* @instance
|
|
154
|
+
* */
|
|
155
|
+
public Clear(): void;
|
|
156
|
+
/**
|
|
157
|
+
* 复制单元范围
|
|
158
|
+
*
|
|
159
|
+
* @public
|
|
160
|
+
* @func Clone
|
|
161
|
+
* @memberof Forge.SingleRangeModel
|
|
162
|
+
* @instance
|
|
163
|
+
* @return {Forge.SingleRangeModel} 复制出的实例
|
|
164
|
+
* */
|
|
165
|
+
public Clone(): Forge.SingleRangeModel;
|
|
166
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export class RectArea {
|
|
2
|
+
/**
|
|
3
|
+
* 区域描述信息
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @constructor Forge.RectArea
|
|
7
|
+
* @param {int} x 坐标X
|
|
8
|
+
* @param {int} y 坐标Y
|
|
9
|
+
* @param {int} width 区域的宽
|
|
10
|
+
* @param {int} height 区域的高
|
|
11
|
+
* */
|
|
12
|
+
constructor(x: int, y: int, width: int, height: int);
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
width: int;
|
|
16
|
+
height: int;
|
|
17
|
+
/**
|
|
18
|
+
* 区域信息的内容对比
|
|
19
|
+
*
|
|
20
|
+
* @public
|
|
21
|
+
* @func Equals
|
|
22
|
+
* @memberof Forge.RectArea
|
|
23
|
+
* @instance
|
|
24
|
+
* @return {boolean} 是否相等
|
|
25
|
+
* */
|
|
26
|
+
public Equals(compare_to: any): boolean;
|
|
27
|
+
}
|
|
28
|
+
export class Coordinate {
|
|
29
|
+
/**
|
|
30
|
+
* 坐标描述信息
|
|
31
|
+
*
|
|
32
|
+
* @public
|
|
33
|
+
* @constructor Forge.Coordinate
|
|
34
|
+
* @param {int} x 坐标X
|
|
35
|
+
* @param {int} y 坐标Y
|
|
36
|
+
* */
|
|
37
|
+
constructor(x: int, y: int);
|
|
38
|
+
x: int;
|
|
39
|
+
y: int;
|
|
40
|
+
}
|
|
41
|
+
export class Size {
|
|
42
|
+
constructor(w: any, h: any);
|
|
43
|
+
width: any;
|
|
44
|
+
height: any;
|
|
45
|
+
}
|
|
46
|
+
export const sRectUitls: RectUtils;
|
|
47
|
+
declare class RectUtils {
|
|
48
|
+
/**
|
|
49
|
+
* 格式化RectArea<br>
|
|
50
|
+
* 传入的size object如果已经为RectArea格式的话,直接返回<br>
|
|
51
|
+
* 如果size object如果为{width:xxx, height:xxx}格式的话,则转换成对应的RectArea再返回
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
* @func FormatRectArea
|
|
55
|
+
* @memberof Forge.RectUtils
|
|
56
|
+
* @instance
|
|
57
|
+
* @param {Object} size_object
|
|
58
|
+
* */
|
|
59
|
+
public FormatRectArea(size_object: Object): RectArea | null;
|
|
60
|
+
}
|
|
61
|
+
export {};
|